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
380 of 571
NXP Semiconductors
UM10316
Chapter 22: LPC29xx LIN 0/1
All LIN message activity is initiated by the LIN master. By sending a LIN header (see
) the LIN master determines the configuration of the response. The response
can be sent either by the master or the slave.
provides a typical step-by-step description for both.
Table 318. Transmitting/receiving step by step
LIN master transmits the response
LIN master receives the response
Prepare a transmit message: provide the LIN
identifier, the data-length code DLC and, if
required, the message data to the LIN master
message buffer.
The data direction bit DD is set to LOW.
Choose a slave-not-responding timeout
condition and write the related value into the LIN
master-controller time-out register LTO, see also
Initiate the transmission by setting transmit-
request bit TR in the LIN master controller
command register LCMD.
Prepare a transmit message (LIN Header):
Provide the LIN identifier and the data-length
code DLC of the expected response to the LIN
master message Buffer.
The data direction bit DD is set to high.
A transmit-message complete interrupt signals
successful transmission of the message.
Initiate the transmission by setting transmit-
request bit TR in the LIN master-controller
command register LCMD.
The LIN master sends the LIN header. A
receive-message complete interrupt signals
successful reception of the slave response and
the message is then stored in the LIN master’s
message buffer.