CHAPTER 20 LIN-UART
LIN-UART operation modes
The LIN-UART operates in four different modes, which are determined by the MD0- and the MD1-bit of
the serial mode register (SMR). Mode 0 and 2 are used for bidirectional serial communication, mode 1 for
master/slave communication and mode 3 for LIN master/slave communication.
Table 20.1-2 Operation Mode of LIN-UART
Operation Mode
0
Normal mode
1
Multiprocessor
mode
2
Normal mode
3
LIN mode
- : Setting disabled
*: +1 is the address/data select bit (A/D) used for controlling communication in multiprocessor mode.
The MD1 and MD0 bits of the serial mode register (SMR) determine the operation mode of LIN-UART as
shown in the following table:
Table 20.1-3 Operation Mode of LIN-UART
MD1
0
0
1
1
Note:
Mode 1 operation is supported both for master or slave operation of LIN-UART in a master-slave
connection system. In Mode 3 the LIN-UART function is locked to 8N1-Format, LSB first.
If the mode is changed, LIN-UART cuts off all possible transmission or reception and awaits then new
action.
384
Data Length
No Parity
With Parity
7 or 8 bits
7 or 8 bits-+1 *
-
8
8
-
MD0
Mode
0
0
1
1
0
2
1
3
Synchronous/
Length of
Asynchronous
Stop Bit
Asynchronous
1 bit or 2 bits
Asynchronous
Synchronous
None,
1 bit,
2 bits
Asynchronous
1 bit
Type
Asynchronous (normal mode)
Asynchronous (multiprocessor mode)
Synchronous (normal mode)
Asynchronous (LIN mode)
Data Bit Format
LSB first
MSB first
LSB first
Need help?
Do you have a question about the F2MCTM-16LX and is the answer not in the manual?