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
374 of 571
NXP Semiconductors
UM10316
Chapter 22: LPC29xx LIN 0/1
[1]
The line-clamped interrupt RTLCEIE and the bit-error interrupt BEIE must be jointly enabled. Enabling only
one interrupt is not allowed.
4.8 LIN master-controller checksum register
The LIN master-controller checksum register LCS contains the checksum value. When
the LIN master controller is transmitting response fields this register contains the
checksum value to be transmitted onto the LIN bus: when the LIN master controller is
receiving response fields it contains the received checksum from the slave. If the software
checksum bit in the configuration register is set to logic 0 the checksum register appears
to the CPU as read-only memory. By setting the software checksum bit the checksum
register appears to the CPU as read/write memory. In this case, and before a transmission
is initiated, the software has to provide the checksum to the checksum register.
shows the bit assignment of the LCS register.
4
NRIE
R/W
Slave-not-responding error interrupt enable
1*
Results in the corresponding interrupt when the
slave response has not completed within the
configured time-out period,
3
CSIE
R/W
checksum error interrupt enable
1
Results in the corresponding interrupt when the
received checksum field does not match with
the calculated checksum
0*
2
BEIE
R/W
Bit-error interrupt enable
1
Detection of a bit error results in the
corresponding interrupt
0*
1
TIE
R/W
Transmit-message complete interrupt enable
1
Results in the corresponding interrupt when a
complete LIN message frame was transmitted,
or in cases where the data-length code is set to
logic 0 (i.e. no response fields can be expected)
0*
0
RIE
R/W
Receive-message complete interrupt enable
1
Results in the corresponding interrupt when the
last byte, the checksum field of the incoming
bit-stream, is moved from receive shift register
into the message buffer
0*
Table 310. LIN master-controller interrupt enable register bit description
…continued
* = reset value
Bit
Symbol
Access
Value
Description