FlexRay Communication Controller (FLEXRAY)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
30-82
Freescale Semiconductor
Preliminary
The connection between the receive FIFO control registers and the set of physical message buffers is
established by the start index field SIDX in the
Receive FIFO Start Index Register (RFSIR)
, the FIFO
depth field FIFO_DEPTH in the
Receive FIFO Depth and Size Register (RFDSR)
Receive FIFO A Read Index Register (RFARIR)
Receive FIFO B Read Index Register
. The start address SADR_MBHF_1 of the first message buffer header field that belongs to the
receive FIFO in the FRM is determined according to
SADR_MBHF[1] = (RFSIR[SIDX] * 10) + SYS_MEM_BASE_ADDR
Eqn. 30-5
The start address SADR_MBHF[n] of the last message buffer header field that belongs to the receive FIFO
in the FRM is determined according to
SADR_MBHF[n] = ((RFSIR[SIDX] + RFDSR[FIFO_DEPTH]) * 10) + SYS_MEM_BASE_ADDR
Eqn. 30-6
NOTE
All message buffer header fields assigned to a receive FIFO must be a
contiguous region.
Figure 30-102. Receive FIFO Structure
RFBRIR
RFDSR[B]
RFSIR[B]
RFARIR
RFDSR[A]
RFSIR[A]
Frame Header[1]
Slot Status[1]
Data Field Offset[1]
Receive FIFO Control Register
Message Buffer Header Fields
Message Buffer Data Fields
Frame Header[n]
Slot Status[n]
Data Field Offset[n]
(min) RFDSR[ENTRY_SIZE] * 2 bytes
RFDSR[
FIFO_DEPT
H]
+
Frame Header[i]
Slot Status[i]
Data Field Offset[i]
Frame Data[n]
SADR_MBDF[n]
Frame Data[i]
SADR_MBDF[i]
Frame Data[1]
SADR_MBDF[1]
R
F
DSR[F
IFO_DEPT
H]
SADR_MBHF[n]
SADR_MBHF[i]
SADR_MBHF[1]
XB
AR