MCAN_TSCC

MCAN Timestamp Counter Configuration Register

For a description of the Timestamp Counter see Timestamp Generation.

With CAN FD, an external counter is required for timestamp generation (TSS = 2).

  0x20 32 Read/Write 0x00000000  

MCAN Timestamp Counter Configuration Register

Bit  31 30 29 28 27 26 25 24  
                   
Access                   
Reset                   
Bit  23 22 21 20 19 18 17 16  
          TCP[3:0]  
Access          R/W R/W R/W R/W  
Reset          0 0 0 0  
Bit  15 14 13 12 11 10 9 8  
                   
Access                   
Reset                   
Bit  7 6 5 4 3 2 1 0  
              TSS[1:0]  
Access              R/W R/W  
Reset              0 0  

Bits 1:0 – TSS[1:0]: Timestamp Select

Timestamp Select

ValueNameDescription
0 ALWAYS_0

Timestamp counter value always 0x0000

1 TCP_INC

Timestamp counter value incremented according to TCP

2 EXT_TIMESTAMP

External timestamp counter value used

3 ALWAYS_0

Timestamp counter value always 0x0000

Bits 19:16 – TCP[3:0]: Timestamp Counter Prescaler

Timestamp Counter Prescaler

Configures the timestamp and timeout counters time unit in multiples of CAN bit times [ 1…16 ]. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used.