English
Language : 

PXR40RM Datasheet, PDF (700/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
FlexRay Communication Controller (FLEXRAY)
Table 22-108. Double Transmit Message Buffer State Description (Transmit Side) (continued)
State
CCTx
CCSu
MBCCSRn
EDS LCKS
1
0
1
0
Access Region
Appl. Module
Description
–
TX Message Transmission - Message buffer data transmit. Payload
data from buffer transmitted
–
SS Status Update - Message buffer status update. Update of status
flags, the slot status field, and the header index.
Note: The slot status field of the commit side is updated too, even if
the application has locked the commit side.
22.6.6.4.3 Message Buffer Transitions
Application Transitions
The application transitions that can be triggered by the application using the commands described in
Table 22-109. The application issues the commands by writing to the Message Buffer Configuration,
Control, Status Registers (MBCCSRn). Only one command can be issued with one write access. Each
command is executed immediately. If the command is ignored, it must be issued again.
Message Buffer Enable and Disable
The enable and disable commands can be issued on the transmit side only. Any enable or disable command
issued on the commit side will be ignored without notification. The transitions that will be triggered
depends on the value of the EDS bit. The enable and disable commands will affect both the commit side
and the transmit side at the same time. If the application triggers the disable transition HD while the
transmit side is in one of the states CCSa, CCSaCCITx, CCNf, CCNfCCITx, CCMa, CCMaCCITx, CCTx,
or CCSu, 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 can be issued on the commit side only. Any lock or unlock command
issued on the transmit side will be ignored and the double transmit buffer lock error flag DBL_EF in the
CHI Error Flag Register (CHIERFR) will be set. The transitions that will be triggered depends on the
current value of the LCKS bit. The lock and unlock commands will only affect the commit side. If the
application triggers the lock transition HL while the commit side is in the state CCITx, the message buffer
state will not be changed and the message buffer lock error flag LCK_EF in the CHI Error Flag Register
(CHIERFR) will be set.
Table 22-109. Double Transmit Message Buffer Host Transitions
Transition
HE
HD
HL
HU
Host Command
MBCCSR(2n+1)[EDT]:=1
MBCCSR(2n)[LCKT]:=1
Condition
Description
MBCCSR(2n+1)[EDS] = 0 Application triggers message buffer enable.
MBCCSR(2n+1)[EDS] = 1 Application triggers message buffer disable.
MBCCSR(2n)[LCKS] = 0 Application triggers message buffer lock.
MBCCSR(2n)[LCKS] = 1 Application triggers message buffer unlock.
22-116
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor