
FlexRay Communication Controller (FlexRAY)
PXN20 Microcontroller Reference Manual, Rev. 1
26-114
Freescale Semiconductor
26.6.6.4
Double Transmit Message Buffer
The section provides a detailed description of the functionality of the double transmit message buffers.
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 26-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)
.
26.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 PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...