
Chapter 13 FlexRay Communication Controller (FLEXRAY)
MC9S12XF - Family Reference Manual, Rev.1.19
610
Freescale Semiconductor
The FlexRay block uses a sequential search algorithm to determine the individual message buffer assigned
or subscribed to the next slot. This search must be nished within one FlexRay slot. The shortest FlexRay
slot is an empty dynamic slot. An empty dynamic slot is a minislot and consists of gdMinislot macroticks
with a nominal duration of gdMacrotick. The minimum duration of a corrected macrotick is
gdMacrotickmin = 39 T. This results in a minimum slot length of
Eqn. 13-27
The search engine is located in the CHI and runs on the CHI clock. It evaluates one individual message
buffer per CHI clock cycle. For internal status update and double buffer commit operations, and as a result
of the clock domain crossing jitter, an additional amount of 10 CHI clock cycles is required to ensure
correct operation. For a given number of message buffers and for a given CHI clock frequency fchi, this
results in a search duration of
Eqn. 13-28
The message buffer search must be nished within one slot which requires that
Equation 13-29 must be
fullled
Eqn. 13-29
This results in the formula given in
Equation 13-30 which determines the required minimum CHI
frequency for a given number of message buffers that are utilized.
Eqn. 13-30
The minimum CHI frequency for a selected set of relevant protocol parameters is given in
Table 13-115.13.7.4
Protocol Control Command Execution
This section considers the issues of the protocol control command execution.
The application issues any of the protocol control commands listed in the POCCMD eld of
Table 13-17result the FlexRay block sets the BSY bit while the command is transferred to the PE. When the PE has
accepted the command, the BSY ag is cleared. All commands are accepted by the PE.
The PE maintains a protocol command vector. For each command that was accepted by the PE, the PE sets
the corresponding command bit in the protocol command vector. If a command is issued while the
corresponding command bit is set, the command is not queued and is lost.
Table 13-115. Minimum fchi [MHz] examples (32 message buffers)
pdMicrotick
[ns]
gdMinislot
234567
25.0
21.54
14.35
10.77
8.61
7.18
6.16
50.0
10.73
7.18
5.39
4.31
3.59
3.08
slotmin
39 pdMicrotick gdMinislot
=
search
1
fchi
--------
# MessageBuffers
10
+
()
=
search slotmin
≤
fchi
# MessageBuffers
10
+
39 pdMicrotick gdMinislot
------------------------------------------------------------------------
≥