
M451
May. 4, 2018
Page
641
of
1006
Rev.2.08
M4
51
S
E
RI
E
S
T
E
CH
NICA
L RE
F
E
R
E
NC
E
M
A
NU
A
L
UART LIN Control Register (UART_LINCTL) (Only Available in UART0/UART1 Channel)
Register
Offset
R/W
Description
Reset Value
UART_LINCTL
x=0,1
U0x34
R/W
UART LIN Control Register
0x000C_0000
31
30
29
28
27
26
25
24
PID
23
22
21
20
19
18
17
16
HSEL
BSL
BRKFL
15
14
13
12
11
10
9
8
Reserved
BITERREN
RXOFF
BRKDETEN
IDPEN
SENDH
7
6
5
4
3
2
1
0
Reserved
MUTE
SLVDUEN
SLVAREN
SLVHDEN
SLVEN
Bits
Description
[31:24]
PID
LIN PID Bits
This field contains the LIN frame ID value when in LIN function mode, the frame ID parity
can be generated by software or hardware depends on IDPEN (UART_LINCTL[9]) = 1.
If the parity generated by hardware, user fill ID0~ID5, (PID [29:24] )hardware will calculate
P0 (PID[30]) and P1 (PID[31]), otherwise user must filled frame ID and parity in this field.
Note1:
User can fill any 8-bit value to this field and the bit 24 indicates ID0 (LSB first).
Note2:
This field can be used for LIN master mode or slave mode.
[23:22]
HSEL
LIN Header Select
00 = The LIN header includes “break field”.
01 = The
LIN header includes “break field” and “sync field”.
10 = The LIN header includes “break field”, “sync field” and “frame ID field”.
11 = Reserved.
Note:
This bit is used to master mode for LIN to send header field (SENDH
(UART_LINCTL [8]) = 1) or used to slave to indicates exit from mute mode condition
(MUTE (UART_LINCTL[4] = 1).
[21:20]
BSL
LIN Break/Sync Delimiter Length
00 = The LIN break/sync delimiter length is 1-bit time.
01 = The LIN break/sync delimiter length is 2-bit time.
10 = The LIN break/sync delimiter length is 3-bit time.
11 = The LIN break/sync delimiter length is 4-bit time.
Note:
This bit used for LIN master to sending header field.
[19:16]
BRKFL
LIN Break Field Length
This field indicates a 4-bit LIN TX break field count.
Note1:
These registers are shadow registers of BRKFL, User can read/write it by setting
BRKFL (UART_ALTCTL[3:0]) or BRKFL (UART_LINCTL[19:16]).
Note2:
This break field length is BRKFL + 1.
Note3:
According to LIN spec, the reset value is 12 (break field length = 13).
[15:13]
Reserved
Reserved.