38.13.4 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
Offset: 0x0114

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
       TSEOFTBCEN 
Access R/WR/W 
Reset 00 
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 17 – TSEOF Timestamp End-of-Frame (EOF)

ValueDescription
1 Timestamp when frame is taken valid :
  • RX no error until last, but one bit of EOF
  • TX no error until the end of EOF
0 Timestamp at “beginning” of frame, at sample point of SOF

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]