English
Language : 

PXR40RM Datasheet, PDF (692/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
FlexRay Communication Controller (FLEXRAY)
The enable and disable commands issued by writing 1 to the trigger bit MBCCSRn[EDT]. The transition
that will be triggered by each of these command depends on the current value of the status bit
MBCCSRn[EDS]. If the command triggers the disable transition HD and the message buffer is in one of
the states CCBs, HLckCCBs, or CCRx, the disable transition has no effect (command is ignored) and the
message buffer state is not changed. No notification is given to the application.
Message Buffer Lock and Unlock
The lock and unlock commands issued by writing 1 to the trigger bit MBCCSRn[LCKT]. The transition
that will be triggered by each of these commands depends on the current value of the status bit
MBCCSRn[LCKS]. If the command triggers the lock transition HL while the message buffer is in the state
CCRx, the lock transition has no effect (command is ignored) and message buffer state is not changed. In
this case, the message buffer lock error flag LCK_EF in the CHI Error Flag Register (CHIERFR) is set.
Table 22-102. Receive Message Buffer Application Transitions
Transition
HE
HD
HL
HU
Host Command
MBCCSRn[EDT]:= 1
MBCCSRn[LCKT]:= 1
Condition
Description
MBCCSRn[EDS] = 0 Application triggers message buffer enable.
MBCCSRn[EDS] = 1 Application triggers message buffer disable.
MBCCSRn[LCKS] = 0 Application triggers message buffer lock.
MBCCSRn[LCKS] = 1 Application triggers message buffer unlock.
Module Transitions
The module transitions that can be triggered by the controller are described in Table 22-103. Each
transition will be triggered for certain message buffers when the related condition is fulfilled.
Table 22-103. Receive Message Buffer Module Transitions
Transition
BS
SLS
Condition
slot match and
CycleCounter match
slot start
Description
Buffer Subscribed - The message buffer filter matches next slot and cycle.
Slot Start - Start of either Static Slot or Dynamic Slot.
SNS
SSS
SU
symbol window start or
NIT start
slot start or
symbol window start or
NIT start
status updated
Symbol Window or NIT Start - Start of either Symbol Window or NIT.
Slot or Segment Start - Start of either Static Slot, Dynamic Slot, Symbol
Window, or NIT.
Status Updated - Slot Status field, message buffer status flags, header index
updated. Interrupt flag set.
Transition Priorities
The application can trigger only one transition at a time. There is no need to specify priorities among them.
As shown in Table 22-104, the module transitions have a higher priority than the application transitions.
For all states except the CCRx state, a module transition and the application lock/unlock transition HL/HU
and can be executed at the same time. The result state is reached by first applying the module transition
and subsequently the application transition to the intermediately reached state. For example, if the message
buffer is in the buffer subscribed state CCBs and the module triggers the slot start transition SLS at the
22-108
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor