SPRUIW9C October 2021 – March 2024 TMS320F280033 , TMS320F280034 , TMS320F280034-Q1 , TMS320F280036-Q1 , TMS320F280036C-Q1 , TMS320F280037 , TMS320F280037-Q1 , TMS320F280037C , TMS320F280037C-Q1 , TMS320F280038-Q1 , TMS320F280038C-Q1 , TMS320F280039 , TMS320F280039-Q1 , TMS320F280039C , TMS320F280039C-Q1
The following error detections are supported with an interrupt by the SCI module:
There are 16 interrupt sources in the SCI/LIN module. In SCI mode, 8 interrupts are supported, as listed in Table 30-4.
If all of these errors (PE, FE, BRKDT, OE, BE) are flagged, an interrupt for the flagged errors is generated if enabled. A message is valid for both the transmitter and the receiver, if there is no error detected until the end of the frame. Each of these flags is located in the receiver status (SCIFLR) register (Table 30-5 and Table 30-6).
Offset(1) | Interrupt | Applicable to SCI | Applicable to LIN |
---|---|---|---|
0 | No interrupt | - | - |
1 | Wakeup | Yes | Yes |
2 | Inconsistent-sync-field error (ISFE) | No | Yes |
3 | Parity error (PE) | Yes | Yes |
4 | ID | No | Yes |
5 | Physical bus error (PBE) | No | Yes |
6 | Frame error (FE) | Yes | Yes |
7 | Break detect (BRKDT) | Yes | No |
8 | Checksum error (CE) | No | Yes |
9 | Overrun error (OE) | Yes | Yes |
10 | Bit error (BE) | Yes | Yes |
11 | Receive | Yes | Yes |
12 | Transmit | Yes | Yes |
13 | No-response error (NRE) | No | Yes |
14 | Timeout after wakeup signal (150ms) | No | Yes |
15 | Timeout after three wakeup signals (1.5s) | No | Yes |
16 | Timeout (Bus Idle, 4s) | No | Yes |
SCI Flag | Register | Bit | Value After Reset(1) |
---|---|---|---|
CE | SCIFLR | 29 | 0 |
ISFE | SCIFLR | 28 | 0 |
NRE | SCIFLR | 27 | 0 |
FE | SCIFLR | 26 | 0 |
OE | SCIFLR | 25 | 0 |
PE | SCIFLR | 24 | 0 |
RXWAKE | SCIFLR | 12 | 0 |
RXRDY | SCIFLR | 9 | 0 |
BUSY | SCIFLR | 3 | 0 |
IDLE | SCIFLR | 2 | 1 |
WAKEUP | SCIFLR | 1 | 0 |
BRKDT | SCIFLR | 0 | 0 |
SCI Flag | Register | Bit | Value After Reset(1) |
---|---|---|---|
BE | SCIFLR | 31 | 0 |
PBE | SCIFLR | 30 | 0 |
TXWAKE | SCIFLR | 10 | 0 |
TXEMPTY | SCIFLR | 11 | 1 |
TXRDY | SCIFLR | 8 | 1 |