FlexRay Communication Controller (FLEXRAY)
22-126
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
If the FIFO fill level FLA (FLB) is 0, than the FIFOA (FIFOB) contains no valid messages and the
FIFO A Read Index Register (RFARIR)
Receive FIFO B Read Index Register (RFBRIR)
) pointing to a
message buffer with invalid content. In this case the application must not read data from the FIFO.
To access the oldest message in the FIFOA (FIFOB), the application first reads the read index RDIDX out
of the
Receive FIFO A Read Index Register (RFARIR)
Receive FIFO B Read Index Register (RFBRIR)
).
This read index points to the message buffer header field of the oldest message buffer that contains valid
received message data. The application can access the message data as described in
When the application has read the message buffer data and status information, it can update
22.6.9.8
FIFO Update
The application updates the FIFOA (FIFOB) by writing a pop count value
pc
different from 0 to the
PCA (PCB) field in the
Receive FIFO Fill Level and POP Count Register (RFFLPCR)
.
As a result of the this operation, the controller removes the oldest
pc
entries from FIFOA (FIFOB).
If the specified pop count value
pc
is greater than the current fill level
fl
provided in FLA (FAB) field, then
only
fl
entries are removed from the FIFOA (FIFOB), the remaining
fl-pc
requested pop operations are
discarded without any notification. In this case FIFOA (FIFOB) is empty after the update operation.
Receive FIFO A Read Index Register (RFARIR)
) is incremented by the number of removed items. If the read index reaches the top of
the FIFO, it wraps around to the FIFO start index defined in
Receive FIFO Start Index Register (RFSIR)
automatically.
22.6.9.8.1
FIFO Interrupt Flag Update
Th FIFO Interrupt Flag Update mode is configured, when the FIFO update mode flag MCR[FUM] is set
to 0. In this mode FIFOA (FIFOB) will be updated by 1 entry, when the interrupt flag GIFER[FAFAIF]
(GIFER[FAFBIF]) is written with 1 by the application.
If the FIFO is empty, the update request is ignored without any notification.
Receive FIFO A Read Index Register (RFARIR)
) is incremented by 1, if the FIFO was not empty. If the read index reaches the top of
the FIFO, it wraps around to the FIFO start index automatically.
22.6.9.9
FIFO Filtering
The FIFO filtering is activated after all enabled individual receive message buffers have been searched
without success for a message buffer to receive the current frame.
The controller provides three sets of FIFO filters. The FIFO filters are applied to valid non-null frames
only. The FIFO will not receive invalid or null-frames. For each FIFO filter, the pass criteria is specified
in the related section given below. Only frames that have passed all filters will be appended to the FIFO.
The FIFO filter path is depicted in
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...