53.6.46 MCAN TSU Timestamp Configuration

Name: MCAN_TSU_TSCFG
Offset: 0x164
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 TBPRE[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
      SCPTCBSTSUE 
Access R/WR/WR/W 
Reset 000 

Bits 15:8 – TBPRE[7:0] Timebase Prescaler

The value by which the oscillator frequency is divided to generate the timebase counter clock. Valid values for the timebase prescaler are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. Affects only the TSU internal timebase.

Bit 2 – SCP Select Capturing Position

ValueDescription
0 Timestamp captured at EOF
1 Timestamp captured at SOF

Bit 1 – TCBS Timebase Counter Select

No external timebase is connected. Set TBCS to 0.

ValueDescription
0 Timestamp value captured from internal timebase counter (32 bits)
1 Timestamp value captured from external timebase counter (32 bits)

Bit 0 – TSUE Timestamp Unit Enable

ValueDescription
0 TSU disabled
1 TSU enabled