DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
366 of 571
NXP Semiconductors
UM10316
Chapter 22: LPC29xx LIN 0/1
4.1 LIN master-controller mode register
The register LMODE contains the software reset control for the LIN controller.
shows the bit assignment of the LMODE register.
[1]
On reset the LIN controller is in LIN mode. Changing into UART mode is only possible when reset mode (bit
LRM) was entered in a previous command.
4.2 LIN master-controller configuration register
The LIN master-controller configuration register LCFG is used to change the length of the
sync-break field and the inter-byte space, and also contains software-enable bits for the
identifier parity and checksum calculations. Depending on the selected mode certain bits
are not writable, but all bits are always readable.
shows the bit assignment of the LCFG register.
2Ch
R/W
0000 0000h
LDATA
LIN master-controller
message buffer data A
register
30h
R/W
0000 0000h
LDATB
LIN master-controller
message buffer data B
register
34h
R/W
0000 0000h
LDATC
LIN master-controller
message buffer data C
register
38h
R/W
0000 0000h
LDATD
LIN master-controller
message buffer data D
register
Table 303. LIN master-controller register overview (base address: 0xE008 8000 (LIN0),
0xE008 9000 (LIN1))
Address
Access
Reset value
Name
Description
Reference
Table 304. LIN master-controller mode register bit description
* = reset value
Bit
Symbol
Access
Value
Description
31 to 8
reserved
R
-
Reserved; do not modify. Read as logic 0
7
MODE
R/W
LIN master/UART mode
1
the LIN controller is in UART mode
the LIN master controller is in LIN mode
6 to 1
reserved
R
-
Reserved; do not modify. Read as logic 0
0
LRM
R/W
LIN reset mode; only writable in LIN
master-controller mode
1*
the LIN master controller is in reset mode and
the current message transmission or reception
is aborted. The registers LCMD, LSTAT, LIC,
LCS, LID, LDATA, LDATB, LDATC and LDATD
get their reset value
0
the LIN master controller is in normal operation
mode