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
368 of 571
NXP Semiconductors
UM10316
Chapter 22: LPC29xx LIN 0/1
4.4 LIN master-controller fractional baud rate generator register
The LIN master-controller fractional baud rate generator register LFBRG stores the divisor
in 16-bit binary format and the fraction in 4-bit binary format for the programmable baud-
rate generator. The output frequency of the baud-rate generator is 16 times the baud rate.
The input frequency of the baud generator is the BASE_IVNSS_CLK frequency (branch
clock CLK_IVNSS_LIN*) f
CLK(LIN)
divided by the divisor plus fraction value. In LIN
master-controller mode this register is only writable in reset mode.
The baud rate can be calculated with the following formula:
Example:
System clock frequency = 16 MHz, baudrate = 19.2 kBd
The value for this example of the fractional baud-rate generator register is LFBRG = 0001
0034h.
shows the bit assignment of the LFBRG register.
0
TR
R/W
Transmit request
1
Transmission of a complete LIN message will be
initiated. This bit is cleared automatically
0*
Table 306. LIN master-controller command register register bit description
…continued
* = reset value
Bit
Symbol
Access
Value
Description
Table 307. LIN master-controller fractional baud-rate generator register bit description
* = reset value
Bit
Symbol
Access
Value
Description
31 to 20 reserved
R
-
Reserved; do not modify. Read as logic 0
baudrate
t
CLK
_LIN
16
INT
×
FRAC
+
--------------------------------------------
=
INT
52
34h
=
=
FRAC
0.083333
16
1
≈
•
=
INT
FRAC
16
----------------
+
⎝
⎠
⎛
⎞
Fclk sys
(
)
16
baudrate
•
-----------------------------------
16 000 000
,
,
16
19 200
,
•
------------------------------
52.08333
=
=
=