FlexRay Module (FLEXRAYV4)
MFR4310 Reference Manual, Rev. 2
162 Freescale Semiconductor
The trigger bits MBCCSRn.EDT and MBCCSRn.LCKT and the interrupt enable bit MBCCSRn.MBIE are
not under access control and can be accessed from the application at any time. The status bits
MBCCSRn.EDS and MBCCSRn.LCKS are not under access control and can be accessed from the
FlexRay module at any time.
The interrupt flag MBCCSRn.MBIF is not under access control and can be accessed from the application
and the FlexRay module at any time. FlexRay module set access has higher priority.
The FlexRay module restricts its access to the regions depending on the current state of the message buffer.
The application must adhere to these restrictions to ensure data consistency. The receive message buffer
states are given in Figure 3-118. A description of the message buffer states is given in Table 3-91, which
also provides the access scheme for the access regions.
The status bits MBCCSRn.EDS and MBCCSRn.LCKS provide the application with the required status
information. The internal status information is not visible to the application.
Figure 3-118. Receive Message Buffer States
Table 3-95. Receive Message Buffer Access Region Description
Region
Access from
Region used for
Application Module
CFG read/write - Message Buffer Configuration, Message Data and Status Access
MSG read/write - Message Data, Header, and Status Access
RX - write-only Message Reception and Status Update
SR - read-only Message Buffer Search Data
Table 3-96. Receive Message Buffer States and Access
State
MBCCSRn Access from
Description
EDS LCKS Appl. Module
Idle 10āSRId
le - Message Buffer is idle.
Included in message buffer search.
HDis 0 0 CFG ā Disabled - Message Buffer under configuration.
Excluded from message buffer search.
RESET_STATE
HLck
HDisLck
HDis Idle
HLckCCBs
SU
CCBs
BS
SLS
SNS
SNS
HL
HU
HE
HD
HL
HE
HD
HU
HL
HU
CCSu
BS
CCRx
HL
HU
HLckCCRx
SLS
SSS
SSS