Technical Reference Manual
002-29852 Rev. *B
7.5.3.5 CXPI_CH_CMD
Description:
Command
Address:
0x40518010
Offset:
0x10
Retention:
Retained
IsDeepSleep:
No
Comment:
The register fields are retained. When a CXPI channel is disabled (CTL0.ENABLED is set to
'0'), HW sets all the register fields to '0'.
The following restrictions apply when programming the commands:
- If both TX_HEADER and RX_HEADER are set to 1'b1 together with both IFS_WAIT and
RXPIDZERO_CHECK_EN set to 1'b0, TX_HEADER will have higher precedence.
- If TX_HEADER, RX_HEADER, and (IFS_WAIT or RXPIDZERO_CHECK_EN) are all set
together, RX_HEADER will have higher priority.
- TX_RESPONSE and RX_RESPONSE are NOT mutually exclusive, but are evaluated in the
following order (of decreasing priority): TX_RESPONSE, RX_RESPONSE.
- During normal mode the CMDs below are allowed
RX_HEADER, IFS_WAIT, TX_HEADER, TX_RESPONSE, RX_RESPONSE, SLEEP (Higher
priority -> lower priority if all are set at the same time).
Note that after executing TX_HEADER, TX_RESPONSE would be higher priority compare to
RX_RESPONSE.
Note that after executing RX_HEADER or after arbitration loss while attempting to execute
TX_HEADER, RX_RESPONSE would be higher priority compare to TX_RESPONSE.
- During Standby mode the CMDs below are allowed
SLEEP, WAKE_TO_STANDBY, TX_WAKE_PULSE (Higher priority -> lower priority). Note
that WAKE_TO_STANDBY and TX_WAKE_PULSE does not have conflict in priority.
- During Sleep mode the CMDs below are allowed
WAKE_TO_STANDBY.
The use case for the combination commands to transmit/receive message frames are as
below:
TX_HEADER, RX_HEADER, RX_RESPONSE, WAIT_IFS: for master/slave in event trigger
that is performing transmit PID and follow by receiving response. For master in polling that is
performing transmit PTYPE and receive PID follow by receiving/transmitting response. For
transmitting response, SW needs to clear RX_RESPONSE and set TX_RESPONSE after
decoding PID. For master in polling that is performing transmit PID follow by receive response.
TX_HEADER, RX_HEADER, TX_RESPONSE, RX_RESPONSE, WAIT_IFS: for master/slave
in event trigger that is performing transmit PID and follow by transmit response. For master in
polling that is transmitting PID and transmit response.
RX_HEADER, RX_RESPONSE: For master/slave in event trigger that is receiving PID. This
would be use for both transmit response and receive response since SW needs to decode the
PID first before initating transmit response.
RX_HEADER, RX_RESPONSE, CTL0.RXPIDZERO_CHECK_EN: For slave in polling mode
to receive PTYPE and PID. Both transmit and receive response will use this combination as
SW needs to decode the PID first before initiating transmit response.
TX_HEADER, RX_HEADER, RX_RESPONSE, CTL0.RXPIDZERO_CHECK_EN: For slave in
polling mode to receive PTYPE and transmit PID and receive response.
TX_HEADER, RX_HEADER, TX_RESPONSE, RX_RESPONSE,
CTL0.RXPIDZERO_CHECK_EN: For slave in polling mode to receive PTYPE and transmit
PID and transmit response.
Default:
0x0
Bit-field Table
Bits
7
6
5
4
3
2
1
0
Name
None [7:6]
IFS_WAIT
[5:5]
TX_WAKE
_PULSE
[4:4]
WAKE_TO
_STANDBY
[3:3]
SLEEP [2:2]
TX
_RESPON
SE [1:1]
TX
_HEADER
[0:0]
Bits
15
14
13
12
11
10
9
8
775
2022-04-18
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers