ST72361xx-Auto
Table 68.
1.
When initializing LDIV, the LPFR register must be written first. Then, the write to the
LPR register will effectively update LDIV and so the clock generation.
2.
In LIN slave mode, if the LPR[7:0] register is equal to 00h, the transceiver and receiver
input clocks are switched off.
Examples of LDIV coding:
Example 1:
LPR = 27d and LPFR = 12d
This leads to:
Mantissa (LDIV) = 27d
Fraction (LDIV) = 12/16 = 0.75d
Therefore LDIV = 27.75d
Example 2:
LDIV = 25.62d
This leads to:
LPFR = rounded(16*0.62d) = rounded(9.92d) = 10d = Ah
LPR = mantissa (25.620d) = 25d = 1Bh
Example 3:
LDIV = 25.99d
This leads to:
LPFR = rounded(16*0.99d) = rounded(15.84d) = 16d
The carry must be propagated to the mantissa:
LPR = mantissa (25.99) + 1 = 26d = 1Ch
LINSCI serial communication interface (LIN master/slave)
LDIV fraction
LPFR[3:0]
0h
1h
...
Eh
Fh
Doc ID 12468 Rev 3
Fraction (LDIV)
0
1/16
...
14/16
15/16
189/279
Need help?
Do you have a question about the ST72361 Auto Series and is the answer not in the manual?