NUC970 Technical Reference Manual
Publication Release Date: Dec. 15, 2015
- 469 -
Revision V1.30
NUC97
0
T
E
CHNIC
A
L
RE
F
E
RE
N
CE
MA
NUA
L
UART n LIN Control Register (UAn_LIN_CTL)
Register
Offset
R/W
Description
Reset Value
UAn_LIN_CTL
n=0,1,2,3,4,5,6,
7,8,9,10
U0x034 R/W
UART n LIN Control Register
0x000C_0000
31
30
29
28
27
26
25
24
LIN_PID
23
22
21
20
19
18
17
16
LIN_HEAD_SEL
LIN_BS_LEN
LIN_BKFL
15
14
13
12
11
10
9
8
LIN_LBDL
Reserved
BIT_ERR_EN
LIN_RX_DIS
LIN_BKDET_
EN
LIN_IDPEN
LIN_SHD
7
6
5
4
3
2
1
0
Reserved
LIN_MUTE_EN LINS_DUM_EN LINS_ARS_EN LINS_HDET_EN
LINS_EN
Bits
Description
[31:24]
LIN_PID
This Field Contains the LIN Frame ID Value in LIN Function Mode, the Frame ID Parity
Can Be Generated by Software or Hardware Depending on UA_LIN_CTL [LIN_IDPEN]
If the parity generated by hardware (LIN_IDPEN(UA_LIN_CTL[9]) = 1), user fill ID0~ID5,
hardware will calculi P0 and P1, 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]
LIN_HEAD_SEL
LIN Header Selection
00 = LIN header includes “break field”.
01 = LIN header includes “break field” and “sync field”.
10 = LIN header includes “break field”, “sync field” and “frame ID field”.
11 = LIN header includes “break field”, “sync field” and “frame ID field”, but this mode only
supports Receiver mode, not support transmitter mode. This mode difference with mode
“10”; in this mode, the receiver will receive ID field (not check the
LIN_PID(UA_LIN_CTL[31:24]) register) and when received ID field the LINS_HDET_F will
be asserted (if LINS_HDET_EN(UA_LIN_CTL[1]) be set).
Note:
This bit is used to master mode for LIN to sending header field (LIN_SHD = 1) or used
to slave to indicates wake-up condition from mute mode (LIN_MUTE_EN(UA_LIN_CTL[4])).