Introduction and Features
1229
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Serial Communication Interface (SCI)/ Local Interconnect Network (LIN)
Module
25.1 Introduction and Features
The SCI/LIN module can be programmed to work either as an SCI or as a LIN. The core of the module is
an SCI. The SCI’s hardware features are augmented to achieve LIN compatibility.
The SCI module is a universal asynchronous receiver-transmitter that implements the standard nonreturn
to zero format. The SCI can be used to communicate, for example, through an RS-232 port or over a K-
line.
The LIN standard is based on the SCI (UART) serial data link format. The communication concept is
single-master/multiple-slave with a message identification for multi-cast transmission between any network
nodes.
Throughout the chapter Compatibility Mode refers to SCI Mode functionary of SCI/LIN Module. The initial
part of the chapter explains about the SCI functionality and later part about the LIN functionality. Though
the register are common for LIN and SCI, the register descriptions has notes to identify the register / bit
usage in different modes.
25.1.1 SCI Features
The following are the features of the SCI module:
•
Standard universal asynchronous receiver-transmitter (UART) communication
•
Supports full- or half-duplex operation
•
Standard nonreturn to zero (NRZ) format
•
Double-buffered receive and transmit functions in compatibility mode
•
Supports two individually enabled interrupt lines: level 0 and level 1
•
Configurable frame format of 3 to 13 bits per character based on the following:
–
Data word length programmable from one to eight bits
–
Additional address bit in address-bit mode
–
Parity programmable for zero or one parity bit, odd or even parity
–
Stop programmable for one or two stop bits
•
Asynchronous or isosynchronous communication modes
•
Two multiprocessor communication formats allow communication between more than two devices
•
Sleep mode is available to free CPU resources during multiprocessor communication and then wake
up to receive an incoming message
•
The 24-bit programmable baud rate supports 2
24
different baud rates provide high accuracy baud rate
selection
•
At 100MHz Peripheral Clock, 3.125 Mbits/s is the Max Baud Rate achievable
•
Capability to use Direct Memory Access (DMA) for transmit and receive data
•
Five error flags and Seven status flags provide detailed information regarding SCI events
•
Two external pins: LINRX and LINTX
•
Multi-buffered receive and transmit units
NOTE:
SCI/LIN module does not support UART hardware flow control. This feature can be
implemented in software using a general purpose I/O pin.