14.8.1.1 Resetting the TEF

TEF can be reset by:

  • Setting FRESET (CxTEFCON[10]) or
  • Placing the module in Configuration mode (OPMOD[2:0] = 100).

Resetting the FIFO will reset the head and tail pointers and the CxTEFSTA register. The settings in the CxTEFCON and CxTEFCON registers will not change.

Table 14-10. Transmit Event FIFO Object
WordsBitsBit 31/23/15/7Bit 30/22/14/6Bit 29/21/13/5Bit 28/20/12/4Bit 27/19/11/3Bit 26/18/10/2Bit 25/17/9/1Bit 24/16/8/0
TE031:24SID11EID[17:6]
23:16EID[12:5]
15:8EID[4:0]SID[10:8]
7:0SID[7:0]
TE131:24SEQ[22:15]
23:16SEQ[14:7]
15:8SEQ[6:0]ESI
7:0FDFBRSRTRIDEDLC[3:0]
TE231:24TXMSGTS[31:24]
23:16TXMSGTS[23:16]
15:8TXMSGTS[15:8]
7:0TXMSGTS[7:0]
bit TE0.31-30Unimplemented: Read as ‘x’
bit TE0.29SID11: In FD mode, the standard ID can be extended to 12 bit using r1.
bit TE0.28-11EID[17:0]: Extended Identifier
bit TE0.10-0SID[10:0]: Standard Identifier
bit TE1.31-9SEQ[22:0]: Sequence to keep track of transmitted messages in Transmit Event FIFO.
bit TE1.8ESI: Error Status Indicator

1 = Transmitting node is error passive.

0 = Transmitting node is error active.

bit TE1.7FDF: FD Frame; distinguishes between CAN and CAN FD formats.
bit TE1.6BRS: Bit Rate Switch; selects if data bit rate is switched.
bit TE1.5RTR: Remote Transmission Request; not used in CAN FD.
bit TE1.4IDE: Identifier Extension Flag; distinguishes between base and extended format.
bit TE1.3-0DLC[3:0]: Data Length Code
bit TE2.31-0TXMSGTS[31:0]: Transmit Message Timestamp