SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-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 37-5.
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 37-6 and Table 37-7).
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 |