
Chapter 13 FlexRay Communication Controller (FLEXRAY)
MC9S12XF - Family Reference Manual, Rev.1.19
Freescale Semiconductor
611
If the command execution block of the PE is idle, it selects the next accepted protocol command with the
highest priority from the current protocol command vector according to the protocol control command
priorities given in
Table 13-116. If the current protocol state does not allow the execution of this protocol
Rev A) the FlexRay block asserts the illegal protocol command interrupt ag IPC_IF in the
Protocol Some protocol commands may be interrupted by other commands or the detection of a fatal protocol error
as indicated by
Table 13-116. If the application issues the RESET, FREEZE, or READY command, or if
the the PE detects a fatal protocol error, some commands already stored in the command vector will be
removed from this vector.
13.7.5
Protocol Reset Command
The section considers the issues of the protocol RESET command.
The application issues the protocol reset command by writing the RESET command code to the POCCMD
immediately, the FlexRay bus ports put into their idle state, and no more data or status information is sent
to the CHI. The lack of PE signals stops all message buffer operations in the CHI. In particular, the message
buffers that are currently under internal use remain internally locked. To overcome this message buffer
internal lock situation, the application must put the protocol into the POC:default cong state. This will
release all internal message buffer locks.
Table 13-116. Protocol Control Command Priorities
Protocol Command
Priority
Interrupted By
Cleared and Terminated By
RESET
(highest) 1
none
FREEZE
2
RESET
READY
3
RESET
CONFIG_COMPLETE
3
RESET
ALL_SLOTS
4
RESET,
FREEZE,
READY,
CONFIG_COMPLET,
fatal protocol error
RESET, FREEZE, READY, CONFIG_COMPLETE,
fatal protocol error
ALLOW_COLDSTART
5
RESET
RUN
6
RESET, FREEZE,
fatal protocol error
WAKEUP
7
RESET, FREEZE,
fatal protocol error
DEFAULT_CONFIG
8
RESET, FREEZE,
fatal protocol error
CONFIG
9
RESET
HALT
(lowest) 10
RESET, FREEZE, READY, CONFIG_COMPLETE,
fatal protocol error