SCI Interrupts
1244
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Serial Communication Interface (SCI)/ Local Interconnect Network (LIN)
Module
25.3.4 Error Interrupts
The following error detection are supported with Interrupt by the SCI module:
•
Parity errors (PE)
•
Frame errors (FE)
•
Break Detect errors (BRKDT)
•
Overrun errors (OE)
•
Bit errors (BE)
If all of these errors (PE, FE, BRKDT, OE, BE) are flagged, an interrupt for the flagged errors will be
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.
There are 16 interrupt sources in the SCI/LIN module, In SCI mode 8 interrupts are supported, as seen in
.
(1)
Offset 1 is the highest priority. Offset 16 is the lowest priority.
Table 25-4. SCI/LIN Interrupts
Offset
(1)
Interrupt
Applicable to SCI
Applicable to LIN
0
No interrupt
1
Wakeup
Yes
Yes
2
Inconsistent-synch-field error
No
Yes
3
Parity error
Yes
Yes
4
ID
No
Yes
5
Physical bus error
No
Yes
6
Frame error
Yes
Yes
7
Break detect
Yes
No
8
Checksum error
No
Yes
9
Overrun error
Yes
Yes
10
Bit error
Yes
Yes
11
Receive
Yes
Yes
12
Transmit
Yes
Yes
13
No-response error
No
Yes
14
Timeout after wakeup signal (150 ms)
No
Yes
15
Timeout after three wakeup signals (1.5 s)
No
Yes
16
Timeout (Bus Idle, 4s)
No
Yes