EasyManua.ls Logo

Freescale Semiconductor FlexRay MFR4310 - Protocol Reset Command

Default Icon
268 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FlexRay Module (FLEXRAYV4)
MFR4310 Reference Manual, Rev. 2
206 Freescale Semiconductor
3.7.3 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
field of the Protocol Operation Control Register (POCR). As a result, the PE stops its operation
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 config state. This
releases all internal message buffer locks.
The following sequence must be executed by the application to put the protocol into the
POC:default config state.
1. Repeatedly send Protocol Command FREEZE via Protocol Operation Control Register (POCR),
until the freeze bit FRZ in Protocol Status Register 1 (PSR1) is set.
2. Repeatedly send Protocol Command DEFAULT_CONFIG via Protocol Operation Control
Register (POCR), until the freeze bit FRZ bit in Protocol Status Register 1 (PSR1) is cleared and
the PROTSTATE field in Protocol Status Register 0 (PSR0) is set to DEFAULT_CONFIG.
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
Table 3-112. Protocol Control Command Priorities
Protocol Command Priority Interrupted By Cleared and Terminated By

Table of Contents