38.13.6 CxTSCON

CAN Timestamp Control Register
Note:
  1. The individual bytes in this multibyte register can be accessed with the following register names:
    • CxTSCONT: Accesses the top byte TSCON[31:24]
    • CxTSCONU: Accesses the upper byte TSCON[23:16]
    • CxTSCONH: Accesses the high byte TSCON[15:8]
    • CxTSCONL: Accesses the low byte TSCON[7:0]
Name: CxTSCON
Address: 0x0114

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
      TSRESTSEOFTBCEN 
Access R/WR/WR/W 
Reset 000 
Bit 15141312111098 
       TBCPRE[9:8] 
Access R/WR/W 
Reset 00 
Bit 76543210 
 TBCPRE[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 18 – TSRES Timestamp Reset (CAN FD frames only)

ValueDescription
1 Timestamp resets at sample point of the bit following the FDF bit
0 Timestamp resets at sample point of Start-of-Frame (SOF)

Bit 17 – TSEOF Timestamp End-of-Frame (EOF)

ValueDescription
1 Timestamp when frame is taken valid (11898-1 10.7):
  • RX no error until last, but one bit of EOF
  • TX no error until the end of EOF
0 Timestamp at “beginning” of frame:
  • Classical Frame: At sample point of SOF
  • FD Frame: see TSRES bit

Bit 16 – TBCEN Time Base Counter (TBC) Enable

ValueDescription
1 Enables TBC
0 Stops and resets TBC

Bits 9:0 – TBCPRE[9:0] CAN Time Base Counter Prescaler

ValueDescription
1111111111 TBC increments every 1024 clocks
0000000000 TBC increments every 1 clock
The individual bytes in this multibyte register can be accessed with the following register names: CxTSCONT: Accesses the top byte TSCON[31:24] CxTSCONU: Accesses the upper byte TSCON[23:16] CxTSCONH: Accesses the high byte TSCON[15:8] CxTSCONL: Accesses the low byte TSCON[7:0]