Datasheet

505
SAM9M10 [DATASHEET]
6355FATARM12-Mar-13
31.7.8 LIN Mode
The LIN Mode provides Master node and Slave node connectivity on a LIN bus.
The LIN (Local Interconnect Network) is a serial communication protocol which efficiently supports the control of
mechatronic nodes in distributed automotive applications.
The main properties of the LIN bus are:
Single Master/Multiple Slaves concept
Low cost silicon implementation based on common UART/SCI interface hardware, an equivalent in software, or
as a pure state machine.
Self synchronization without quartz or ceramic resonator in the slave nodes
Deterministic signal transmission
Low cost single-wire implementation
Speed up to 20 kbit/s
LIN provides cost efficient bus communication where the bandwidth and versatility of CAN are not required.
The LIN Mode enables processing LIN frames with a minimum of action from the microprocessor.
31.7.8.1 Modes of operation
The USART can act either as a LIN Master node or as a LIN Slave node.
The node configuration is chosen by setting the USART_MODE field in the USART3 Mode register (US_MR):
LIN Master Node (USART_MODE=0xA)
LIN Slave Node (USART_MODE=0xB)
In order to avoid unpredicted behavior, any change of the LIN node configuration must be followed by a software
reset of the transmitter and of the receiver (except the initial node configuration after a hardware reset). (See Sec-
tion 31.7.8.2)
31.7.8.2 Receiver and Transmitter Control
See “Receiver and Transmitter Control” on page 479.
31.7.8.3 Character Transmission
See “Transmitter Operations” on page 479.
31.7.8.4 Character Reception
See “Receiver Operations” on page 487.