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.
Words | Bits | Bit 31/23/15/7 | Bit 30/22/14/6 | Bit 29/21/13/5 | Bit 28/20/12/4 | Bit 27/19/11/3 | Bit 26/18/10/2 | Bit 25/17/9/1 | Bit 24/16/8/0 |
---|---|---|---|---|---|---|---|---|---|
TE0 | 31:24 | — | — | SID11 | EID[17:6] | ||||
23:16 | EID[12:5] | ||||||||
15:8 | EID[4:0] | SID[10:8] | |||||||
7:0 | SID[7:0] | ||||||||
TE1 | 31:24 | SEQ[22:15] | |||||||
23:16 | SEQ[14:7] | ||||||||
15:8 | SEQ[6:0] | ESI | |||||||
7:0 | FDF | BRS | RTR | IDE | DLC[3:0] | ||||
TE2 | 31:24 | TXMSGTS[31:24] | |||||||
23:16 | TXMSGTS[23:16] | ||||||||
15:8 | TXMSGTS[15:8] | ||||||||
7:0 | TXMSGTS[7:0] |
bit TE0.31-30 | Unimplemented: Read as ‘x’ |
bit TE0.29 | SID11: In FD mode, the standard ID can be extended to 12 bit using r1. |
bit TE0.28-11 | EID[17:0]: Extended Identifier |
bit TE0.10-0 | SID[10:0]: Standard Identifier |
bit TE1.31-9 | SEQ[22:0]: Sequence to keep track of transmitted messages in Transmit Event FIFO. |
bit TE1.8 | ESI: Error Status
Indicator
|
bit TE1.7 | FDF: FD Frame; distinguishes between CAN and CAN FD formats. |
bit TE1.6 | BRS: Bit Rate Switch; selects if data bit rate is switched. |
bit TE1.5 | RTR: Remote Transmission Request; not used in CAN FD. |
bit TE1.4 | IDE: Identifier Extension Flag; distinguishes between base and extended format. |
bit TE1.3-0 | DLC[3:0]: Data Length Code |
bit TE2.31-0 | TXMSGTS[31:0]: Transmit Message Timestamp |