![Freescale Semiconductor FlexRay MFR4310 Скачать руководство пользователя страница 174](http://html1.mh-extra.com/html/freescale-semiconductor/flexray-mfr4310/flexray-mfr4310_reference-manual_2330597174.webp)
FlexRay Module (FLEXRAYV4)
MFR4310 Reference Manual, Rev. 2
174
Freescale Semiconductor
3.4.6.4.4
Message Preparation
The application provides the message data through the commit side. The transmission itself is executed
from the transmit side. The transfer of the message data from the commit side to the transmit side is done
by the
Internal Message Transfer
Section 3.4.6.4.5, “Internal Message Transfer
To transmit a message over the FlexRay bus, the application writes the message data into the message
buffer data field of the commit side and sets the commit bit CMT in the
Control, Status Registers (MBCCSRn)
. The physical access to the message buffer data field is described
Section 3.4.3.1, “Individual Message Buffers
, the application shall write to the message buffer data field and change the
commit bit CMT only if the transmit message buffer is in one of the states
HDis, HDisLck, or HLck
. The
application can change the state of a message buffer if it issues the appropriate commands shown in
. The state change is indicated through the MBCCSRn.EDS and MBCCSRn.LCKS status bits.
3.4.6.4.5
Internal Message Transfer
The internal message transfer transfers the message data from the commit side to the transmit side. The
internal message transfer is implemented as the swapping of the content of the
of the commit side and the transmit side. After the swapping, the commit side CMT
bit is cleared, the commit side interrupt flag MBIF is set, the transmit side CMT bit is set, and the transmit
side DVAL bit is cleared.
The conditions and the point in time when the internal message transfer is started are controlled by the
message buffer commit mode bit MCM in the
Message Buffer Configuration, Control, Status Registers
. The MCM bit configures the message buffer for the streaming commit mode or the
immediate commit mode. A detailed description is given in
. The Internal Message Transfer is triggered with the transition
IS
. Both sides of the message
buffer enter enter one of the CC
ITx
states. The internal message transfer is finished with the transition
IE
.
Streaming Commit Mode
The intention of the streaming commit mode is to ensure that each committed message is transmitted at
least once. The FlexRay module does not start the Internal Message Transfer for a message buffer as long
as the message data on the transmit side is not transmitted at least once.
The streaming commit mode is configured by clearing the message buffer commit mode bit MCM in the
Message Buffer Configuration, Control, Status Registers (MBCCSRn)
.
In this mode, the internal message transfer from the commit side to the transmit side is started for a double
transmit message buffer when all of the following conditions are fulfilled:
•
The commit side is in the idle state
•
The commit site message data is valid, MBCCSR[2n].CMT equals 1
•
The transmit side is in one of the states idle, CCSa, or CCMa
•
The transmit side contains no valid message data, MBCCSR[2n+1].CMT equals 0, or the message
data was transmitted at least once, MBCCSR[2n+1].DVAL equals 1
Содержание FlexRay MFR4310
Страница 1: ...FlexRay Communication freescale com Controllers MFR4310RM Rev 2 03 2008 MFR4310 Reference Manual...
Страница 2: ......
Страница 3: ...MFR4310 Reference Manual MFR4310RM Rev 2 03 2008...
Страница 6: ...MFR4310 Reference Manual Rev 2 6 Freescale Semiconductor...
Страница 12: ...MFR4310 Reference Manual Rev 2 12 Freescale Semiconductor Section Number Title Page...
Страница 24: ...MFR4310 Reference Manual Rev 2 24 Freescale Semiconductor Table Number Title Page...
Страница 28: ...Introduction MFR4310 Reference Manual Rev 2 28 Freescale Semiconductor...
Страница 58: ...Device Overview MFR4310 Reference Manual Rev 2 58 Freescale Semiconductor...
Страница 222: ...Dual Output Voltage Regulator VREG3V3V2 MFR4310 Reference Manual Rev 2 222 Freescale Semiconductor...
Страница 234: ...Clocks and Reset Generator CRG MFR4310 Reference Manual Rev 2 234 Freescale Semiconductor...
Страница 260: ...Package Information MFR4310 Reference Manual Rev 2 260 Freescale Semiconductor...
Страница 267: ......