66.6.9 MCAN Timeout Counter Configuration Register

This register can only be written if the bits CCE and INIT are set in MCAN CC Control Register.

For a description of the Timeout Counter, see Timeout Counter.

Name: MCAN_TOCC
Offset: 0x28
Reset: 0xFFFF0000
Property: Read/Write

Bit 3130292827262524 
 TOP[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 
Bit 2322212019181716 
 TOP[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
      TOS[1:0]ETOC 
Access R/WR/WR/W 
Reset 000 

Bits 31:16 – TOP[15:0] Timeout Period

Start value of the Timeout Counter (down-counter). Configures the Timeout Period.

Bits 2:1 – TOS[1:0] Timeout Select

When operating in Continuous mode, a write to MCAN_TOCV presets the counter to the value configured by MCAN_TOCC.TOP and continues down-counting. When the Timeout Counter is controlled by one of the FIFOs, an empty FIFO presets the counter to the value configured by MCAN_TOCC.TOP. Down-counting is started when the first FIFO element is stored.

ValueNameDescription
0 CONTINUOUS

Continuous operation.

1 TX_EV_TIMEOUT

Timeout controlled by Tx Event FIFO.

2 RX0_EV_TIMEOUT

Timeout controlled by Receive FIFO 0.

3 RX1_EV_TIMEOUT

Timeout controlled by Receive FIFO 1.

Bit 0 – ETOC Enable Timeout Counter

0 (NO_TIMEOUT): Timeout Counter disabled.

1 (TOS_CONTROLLED): Timeout Counter enabled.

For use of timeout function with CAN FD, see Timeout Counter.