
FlexRay Communication Controller (FlexRay)
MPC5644A Microcontroller Reference Manual, Rev. 6
1582
Freescale Semiconductor
33.6.9.2
FIFO configuration
The FIFOs can be configured for two different locations of the system memory base address via the FIFO
address mode bit FAM in the
Module Configuration Register (FR_MCR)
33.6.9.2.1
Single system memory base address mode
This mode is configured, when the FIFO address mode flag FR_MCR[FAM] is set to 0. In this mode, the
location of the system memory base address for the FIFO buffers is
.
33.6.9.2.2
Dual system memory base address mode
This mode is configured, when the FIFO address mode flag FR_MCR[FAM] is set to 1. In this mode, the
location of the system memory base address for the FIFO buffers is
Receive FIFO System Memory Base
Address Register (FR_RFSYMBADR)
The FIFO control and configuration data are given in
Section 33.6.3.7, Receive FIFO control and
The configuration of the FIFOs consists of two steps.
1. The first step is the allocation of the required amount of memory for the FlexRay memory area.
This includes the allocation of the message buffer header area and the allocation of the message
buffer data fields. For more details see
Section 33.6.4, FlexRay memory area layout”
.
2. The second step is the programming of the configuration data register while the PE is in
POC:config
.
The following steps configure the layout of the FIFO:
•
Configure the FIFO update and address modes in
Module Configuration Register (FR_MCR)
•
Configure the FIFO system memory base address
•
Configure the
Receive FIFO Start Index Register (FR_RFSIR)
with the first message buffer header
index that belongs to the FIFO
•
Configure the
Receive FIFO Depth and Size Register (RFDSR)
•
Configure the
Receive FIFO Depth and Size Register (RFDSR)
•
Configure the FIFO filters
33.6.9.3
FIFO periodic timer
The FIFO periodic timer is used to generate an FIFO almost-full interrupt at certain point in time, if the
almost-full watermark is not reached, but the FIFO is not empty. This can be used to prevent frames from
get stuck in the FIFO for a long time.
The FIFO periodic timer is configured via the
Receive FIFO Periodic Timer Register (FR_RFPTR)
periodic timer duration FR_RFPTR[PTD] is configured to 0x0000, the periodic timer is continuously
expired. If the periodic timer duration FR_RFPTR[PTD] is configured to 0x3FFF, the periodic timer never
expires. If the periodic timer is configured to a value
ptd,
greater than 0x0000 and smaller 0x3FFF, the
periodic timer expires and is restarted at the start of every communication cycle, and expires and is
restarted after
ptd
macroticks have been elapsed.
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...