EasyManua.ls Logo

Freescale Semiconductor FlexRay MFR4310 - Table 3-97. Receive Message Buffer Application Transitions

Default Icon
268 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FlexRay Module (FLEXRAYV4)
MFR4310 Reference Manual, Rev. 2
Freescale Semiconductor 163
3.4.6.3.1 Message Buffer Transitions
Application Transitions
The application transitions that can be triggered by the application using the commands described in
Table 3-97. 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.
The enable and disable commands issued by writing 1 to the trigger bit MBCCSRn.EDT. The transition
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.
The lock and unlock commands issued by writing 1 to the trigger bit MBCCSRn.LCKT. The transition
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.
HDisLck 0 1 CFG Disabled and Locked - Message Buffer under configuration.
Excluded from message buffer search.
HLck 1 1 MSG L
ocked - Applications access to data, control, and status.
Included in message buffer search.
CCBs 10––Buffer Subscribed - Message buffer subscribed for reception. Filter
matches next (slot, cycle, channel) tuple.
HLckCCBs 1 1 MSG Locked and Buffer Subscribed - Applications access to data,
control, and status. Message buffer subscribed for reception.
CCRx 10––Message R
eceive - Message data received into related shadow
buffer.
HLckCCRx 1 1 MSG Locked and Message Receive - Applications access to data,
control, and status. Message data received into related shadow
buffer.
CCSu 1 0 RX Status Update - Message buffer status update. Update of status
flags, the slot status field, and the header index.
Table 3-97. 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 3-96. Receive Message Buffer States and Access (Continued)
State
MBCCSRn Access from
Description
EDS LCKS Appl. Module

Table of Contents