Timestamp Counter Configuration
This register is write-restricted and only writable if bit fields CCCR.CCE = 1 and CCCR.INIT = 1.
Name:
TSCC
Offset:
0x20
Reset:
0x00000000
Access:
Write-restricted
Bit3130292827262524
Access
Reset
Bit2322212019181716
TCP[3:0]
AccessR/WR/WR/WR/W
Reset0000
Bit15141312111098
Access
Reset
Bit76543210
TSS[1:0]
AccessR/WR/W
Reset00

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

Timestamp Counter Prescaler

Note: With CAN FD an external counter is required for timestamp generation (TSS = 0x2).
ValueDescription
0x0 - 0xF 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.

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

Timestamp Select

This field defines the timestamp counter selection.
ValueNameDescription
0x0 or 0x3 ZERO Timestamp counter value always 0x0000.
0x1 INC Timestamp counter value incremented by TCP.
0x2 EXT External timestamp counter value used.