![Freescale Semiconductor FlexRay MFR4310 Скачать руководство пользователя страница 157](http://html1.mh-extra.com/html/freescale-semiconductor/flexray-mfr4310/flexray-mfr4310_reference-manual_2330597157.webp)
FlexRay Module (FLEXRAYV4)
MFR4310 Reference Manual, Rev. 2
Freescale Semiconductor
157
3.4.6.2.4
Transmit Message Setup
To transmit a message over the FlexRay bus, the application writes the message data into the message
buffer data field and sets the commit bit CMT in the
Message Buffer Configuration, Control, Status
. The physical access to the message buffer data field is described in
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, HLck,
HLckCCSa, HLckCCMa, or HLckCCMa.
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.
If the transmit message buffer enters one of the states
HDis, HDisLck, HLck, HLckCCSa, HLckCCMa,
or HLckCCMa
the MBCCSRn.DVAL flag is negated.
3.4.6.2.5
Message Transmission
As a result of the message buffer search described in
Section 3.4.7, “Individual Message Buffer Search
”,
the FlexRay module triggers the message available transition
MA
for up to two transmit message buffers.
This changes the message buffer state from
Idle
to
CCMa
and the message buffers can be used for message
transmission in the next slot.
The FlexRay module transmits a message from a message buffer if both of the following two conditions
are fulfilled at the start of the transmission slot:
•
The message buffer is in the message available state
CCMa
•
The message data remains valid, MBCCSRn.CMT equals 1
In this case, the FlexRay module triggers the
TX
transition and changes the message buffer state to
CCTx
.
A transmit message buffer timing and state change diagram for message transmission is given in
. In this example, the message buffer with message buffer number n is
Idle
at the start of the
search slot, matches the slot and cycle number of the next slot, and message buffer data are valid,
MBCCSRn.CMT equals 1.
module internal
Idle, HLck
MA > SA
Message Available > Slot Assigned
CCMa
TX > STS
TX > DSS
Transmission Slot Start > Static Slot Start
Transmission Slot Start > Dynamic Slot Start
Table 3-94. Single Transmit Message Buffer Transition Priorities
State
Priorities
Description
Содержание 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: ......