Module Operation
1232
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
FlexRay Module
Table 26-6. State Transitions of Communication Controller Overall State Machine
T#
Condition
From
To
1
Hardware reset
All States
DEFAULT_CONFIG
2
Command CONFIG, SUCC1.CMD(3-0) = 0001
DEFAULT_CONFIG
CONFIG
3
Unlock sequence followed by command MONITOR_MODE,
SUCC1.CMD(3-0) = 1011
CONFIG
MONITOR_MODE
4
Command CONFIG, SUCC1.CMD(3-0) = 0001
MONITOR_MODE
CONFIG
5
Unlock sequence followed by command READY, SUCC1.CMD(3-0) =
0010
CONFIG
READY
6
Command CONFIG, SUCC1.CMD(3-0) = 0001
READY
CONFIG
7
Command WAKEUP, SUCC1.CMD(3-0) = 0011
READY
WAKEUP
8
Complete, non-aborted transmission of wakeup pattern OR received
WUP OR received frame header OR command READY,
SUCC1.CMD(3-0) = 0010
WAKEUP
READY
9
Command RUN, SUCC1.CMD(3-0) = 0100
READY
STARTUP
10
Successful startup
STARTUP
NORMAL_ACTIVE
11
Clock correction failed counter reached “maximum without clock
correction passive” limit configured by SUCC3.WCP(3-0)
NORMAL_ACTIVE
NORMAL_PASSIVE
12
Number of valid correction terms reached the Passive to Active limit
configured by SUCC1.PTA(4-0)
NORMAL_PASSIVE
NORMAL_ACTIVE
13
Command READY, SUCC1.CMD(3-0) = 0010
STARTUP,
NORMAL_ACTIVE,NORMAL
_PASSIVE
READY
14
Clock Correction Failed counter reached “maximum without clock
correction fatal” limit configured by SUCC3.WCF(3-0) AND bit
SUCC1.HCSE set to 1 OR command HALT, SUCC1.CMD(3-0) = 0110
NORMAL_ACTIVE
HALT
15
Clock Correction Failed counter reached “maximum without clock
correction fatal” limit configured by SUCC3.WCF(3-0) AND bit
SUCC1.HCSE set to 1 OR command HALT, SUCC1.CMD(3-0) = 0110
NORMAL_PASSIVE
HALT
16
Command FREEZE, SUCC1.CMD(3-0) = 0111
All States
HALT
17
Command CONFIG, SUCC1.CMD(3-0) = 0001
HALT
DEFAULT_CONFIG
26.2.6.2 DEFAULT_CONFIG State
In DEFAULT_CONFIG state, the communication controller is stopped. All configuration registers are
accessible and the pins to the physical layer are in their inactive state.
The communication controller enters this state:
•
When leaving hardware reset
•
When exiting from HALT state
To leave DEFAULT_CONFIG state the host has to write SUCC1.CMD(3-0) = 0001. The communication
controller then transits to CONFIG state.
26.2.6.3 CONFIG State
In CONFIG state, the communication controller is stopped. All configuration registers are accessible and
the pins to the physical layer are in their inactive state. This state is used to initialize the communication
controller configuration.
The communication controller enters this state:
•
When exiting from DEFAULT_CONFIG state
•
When exiting from MONITOR_MODE or READY state
When the state has been entered by HALT and DEFAULT_CONFIG state, the host can analyze status
information and configuration. Before leaving CONFIG state the host has to assure that the configuration
is fault-free.