English
Language : 

PXS20RM Datasheet, PDF (867/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
FlexRay Communication Controller
The application enables or disables the generation of the MTS on either channel by setting or clearing the
MTE control bit in the MTS A Configuration Register (FR_MTSACFR) or MTS B Configuration Register
(MTSBCFR). If an MTS is to be transmitted in a certain communication cycle, the application must set
the MTE control bit during the static segment of the preceding communication cycle.
The MTS is transmitted over channel A in the communication cycle with number CYCCNT, if
Equation 26-20, Equation 26-21, and Equation 26-21 are fulfilled.
FR_PSR0PROTSTATE = POC:normal active
Eqn. 26-19
FR_MTSACRFMTE = 1
Eqn. 26-20
CYCCNT & FR_MTSACFRCYCCNTMSK = FR_MTSACFRCYCCNTVAL & FR_MTSACFRCYCCENqTnM. 2S6K-2 1
The MTS is transmitted over channel B in the communication cycle with number CYCCNT, if
Equation 26-19, Equation 26-22, and Equation 26-23 are fulfilled.
FR_MTSBCRFMTE = 1
Eqn. 26-22
CYCCNT & FR_MTSBCFRCYCCNTMSK = FR_MTSBCFRCYCCNTVAL & FR_MTSBCFRCYCCENqTnM. 2S6K-23
26.6.14 Key Slot Transmission
26.6.14.1 Key Slot Assignment
A key slot is assigned to the CC if the key_slot_id field in the Protocol Configuration Register 18
(FR_PCR18) is configured with a value greater than 0 and less or equal to number_of_static_slots in
Protocol Configuration Register 2 (FR_PCR2), otherwise no key slot is assigned.
26.6.14.2 Key Slot Transmission in POC:startup
If a key slot is assigned and the CC is in the POC:startup state, startup null frames will be transmitted as
specified by FlexRay Communications System Protocol Specification, Version 2.1 Rev A.
26.6.14.3 Key Slot Transmission in POC:normal active
If a key slot is assigned and the CC is in POC:normal active, a frame of the type as shown in Table 26-125
is transmitted. If a transmit message buffer is configured for the key slot and a valid message is available,
a message frame is transmitted (see Section 26.6.6.2.5, Message Transmission). If no transmit message
buffer is configured for the key slot or no valid message is available, a null frame is transmitted (see
Section 26.6.6.2.6, Null Frame Transmission).
Freescale Semiconductor
PXS20 Microcontroller Reference Manual, Rev. 1
26-155