
FlexRay Communication Controller (FLEXRAY)
22-108
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
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.
Module Transitions
The module transitions that can be triggered by the controller are described in
. Each
transition will be triggered for certain message buffers when the related condition is fulfilled.
Transition Priorities
The application can trigger only one transition at a time. There is no need to specify priorities among them.
, 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
Table 22-102. Receive Message Buffer Application Transitions
Transition
Host Command
Condition
Description
HE
MBCCSRn[EDT]:= 1
MBCCSRn[EDS] = 0 Application triggers message buffer enable.
HD
MBCCSRn[EDS] = 1 Application triggers message buffer disable.
HL
MBCCSRn[LCKT]:= 1
MBCCSRn[LCKS] = 0 Application triggers message buffer lock.
HU
MBCCSRn[LCKS] = 1 Application triggers message buffer unlock.
Table 22-103. Receive Message Buffer Module Transitions
Transition
Condition
Description
BS
slot match and
CycleCounter match
Buffer Subscribed - The message buffer filter matches next slot and cycle.
SLS
slot start
Slot Start - Start of either Static Slot or Dynamic Slot.
SNS
symbol window start or
NIT start
Symbol Window or NIT Start - Start of either Symbol Window or NIT.
SSS
slot start or
symbol window start or
NIT start
Slot or Segment Start - Start of either Static Slot, Dynamic Slot, Symbol
Window, or NIT.
SU
status updated
Status Updated - Slot Status field, message buffer status flags, header index
updated. Interrupt flag set.
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...