FlexRay Communication Controller (FLEXRAY)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
30-147
Preliminary
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 finished 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
gdMacrotick
min
= 39 µ
μ
T. This results in a minimum slot length of
Eqn. 30-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 f
chi
, this
results in a search duration of
Eqn. 30-28
The message buffer search must be finished within one slot which requires that
must be
fulfilled
Eqn. 30-29
This results in the formula given in
which determines the required minimum CHI
frequency for a given number of message buffers that are utilized.
Eqn. 30-30
The minimum CHI frequency for a selected set of relevant protocol parameters is given in
30.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 field of
by writing the command to the POCCMD field of the
Protocol Operation Control Register (POCR)
result the FlexRay block sets the BSY bit while the command is transferred to the PE. When the PE has
accepted the command, the BSY flag 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 30-114. Minimum f
chi
[MHz] Examples (64 Message Buffers)
pdMicrotick
[ns]
gdMinislot
2
3
4
5
6
7
25.0
37.94
25.30
18.98
15.18
12.65
10.84
50.0
18.98
12.65
9.45
7.59
6.33
5.43
Δ
slotmin
39
pdMicrotick gdMinislot
⋅
⋅
=
Δ
search
1
f
chi
--------
# MessageBuffers
10
+
(
)
⋅
=
Δ
search
Δ
slotmin
≤
f
chi
# MessageBuffers
10
+
39
pdMicrotick gdMinislot
⋅
⋅
------------------------------------------------------------------------
≥