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
365 of 571
NXP Semiconductors
UM10316
Chapter 22: LPC29xx LIN 0/1
The wake-up interrupt service routine should be written so that the wake-up response
frame from the LIN Master is not sent immediately. To give a slave-ready time the LIN
master has to wait for about 100 ms before sending the wake-up response frame
(according to the LIN specification, see
), or at least for the time defined in the
slave’s node-capability file.
3.6 Slave-not-responding error and the LIN master time-out register
The LIN master time-out register defines the maximum number of bit times (T
Bit
) that may
elapse until the responses from all LIN slaves to the master have been completed. The
time-out starts as soon as the LIN header is transmitted (the value of the time-out register
is decremented with every bit time) and a slave response is expected. When enabled, the
slave-not-responding error interrupt NRI is asserted as soon as the time-out limit is
exceeded.
4.
LIN register overview
The LIN master-controller registers are shown in
The LIN master-controller registers have an offset to the base address LIN RegBase
which can be found in the memory map (see
).
Table 303. LIN master-controller register overview (base address: 0xE008 8000 (LIN0),
0xE008 9000 (LIN1))
Address
Access
Reset value
Name
Description
Reference
LIN master-controller common registers
00h
R/W
01h
LMODE
LIN master-controller mode
register
04h
R/W
00h
LCFG
LIN master-controller
configuration register
08h
R/W
00h
LCMD
LIN master-controller
command register
0Ch
R/W
0 0001h
LFBRG
LIN master-controller
fractional baud-rate
generator register
10h
R
342h
LSTAT
LIN master-controller
status register
14h
R
000h
LIC
LIN master-controller
interrupt and capture
register
18h
R/W
10h
LIE
LIN master-controller
interrupt-enable register
1Ch
R
-
reserved
Reserved for future
expansion
-
20h
R/W
00h
LCS
LIN master-controller
checksum register
24h
R/W
00h
LTO
LIN master-controller
time-out register
28h
R/W
000 0000h
LID
LIN master-controller
message buffer identifier
register