FlexRay Module Registers
1361
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
FlexRay Module
Table 26-107. SUC Configuration Register 1 (SUCC1) Field Descriptions (continued)
Bit
Field
Value
Description
3-0
CMD
The controller host interface command vector. The host may write any controller host interface
command at any time, but certain commands are enabled only in certain POC states. If a
command is not enabled, it will not be executed, the controller host interface command vector
CMD will be reset to 0000 = command_not_accepted, and flag CNA in the error interrupt
register will be set to 1. In case the previous controller host interface (CHI) command has not
yet completed, EIR.CCL is set to 1 together with EIR.CNA; the CHI command needs to be
repeated. Except for HALT state, a POC state change command applied while the
communication controller is already in the requested POC state neither causes a state change
nor will EIR.CNA be set.
0
command_not_accepted
1h
CONFIG
2h
READY
3h
WAKEUP
4h
RUN
5h
ALL_SLOTS
6h
HALT
7h
FREEZE
8h
SEND_MTS
9h
ALLOW_COLDSTART
Ah
RESET_STATUS_INDICATORS
Bh
MONITOR_MODE
Ch
CLEAR_RAMS
Dh-Eh
Reserved
Fh
LOOPBACK MODE
Controller Host Interface Command Vector:
The following gives more information about the controller host interface commands.
•
Reading CMD shows whether the last controller host interface command was accepted.
•
The actual POC state is monitored by POCS in the communication controller status vector
•
In most cases the Host must check SUCC1.PBSY before writing a new CHI command.
command_not_accepted
CMD is reset to 0000 due to one of the following conditions:
•
Illegal command applied by the host
•
Host applied command to leave CONFIG state without preceding configuration lock key
•
Host applied new command while execution of the previous host command has not completed
•
Host writes command_not_accepted
When CMD is reset to 0000 due to an unaccepted command, bit CNA in the error interrupt register is set,
and, if enabled, an interrupt is generated. Commands which are not accepted are not executed.
CONFIG
Go to POC state CONFIG when called in POC states DEFAULT_CONFIG, READY, or in
MONITOR_MODE. When called in HALT state the communication controller transits to POC state
DEFAULT_CONFIG. When called in any other state, CMD will be reset to 0000 =
command_not_accepted.
READY
Go to POC state READY when called in POC states CONFIG, NORMAL_ACTIVE, NORMAL_PASSIVE,
STARTUP, or WAKEUP. When called in any other state, CMD will be reset to 0000 =
command_not_accepted.