FlexRay Communication Controller (FLEXRAY)
22-112
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
Double transmit message buffers are used by the application to provide the controller with the message
data to be transmitted over the FlexRay Bus. The controller uses this message buffer to provide
information to the application about the transmission process, and status information about the slot in
which message data was transmitted.
In contrast to the single transmit message buffers, the application can provide new transmission data while
the transmission of the previously provided message data is running. This scheme is called double
buffering and can be considered as a FIFO of depth 2.
Double transmit message buffers are implemented by combining two individual message buffers that form
the two sides of an double transmit message buffer. One side is called the
commit side
and will be accessed
by the application to provide the message data. The other side is called the
transmit side
and is used by the
controller to transmit the message data to the FlexRay bus. The two sides are located in adjacent individual
message buffers. The message buffer that implements the commit side has an even message buffer number
2n. The transmit side message buffer follows the commit side message buffer and has the message buffer
number 2n+1. The basic structure and data flow of a double transmit message buffer is given in
.
Figure 22-130. Double Transmit Buffer Structure and Data Flow
NOTE
Both the commit and the transmit side must be configured with identical
values except for the
Message Buffer Index Registers (MBIDXRn)
.
22.6.6.4.1
Access Regions
To certain message buffer fields, both the application and the controller have access. To ensure data
consistency, a message buffer locking scheme is implemented, which controls the exclusive access to the
data, control, and status bits of the message buffer.
The access scheme for double transmit message buffers is depicted in
. The given regions
represent fields that can be accessed from both the application and the controller and, thus, require access
restrictions. A description of the regions is given in
Commit Side
Transmit Side
Application
FlexRay Bus
MB# 2n
MB# 2n+1
Internal Message
Transfer
message data
message data
message data
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...