48.6.9 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).
| Name: | MCAN_TSCC |
| Offset: | 0x20 |
| Reset: | 0x00000000 |
| Property: | Read/Write |
| 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 19:16 – TCP[3:0] 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.
Bits 1:0 – TSS[1:0] Timestamp Select
| Value | Name | Description |
|---|---|---|
| 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 |
