MB95630H Series
220
FUJITSU SEMICONDUCTOR LIMITED
MN702-00009-1v0-E
CHAPTER 14 LIN-UART
14.5 LIN-UART Baud Rate
Figure 14.5-3 Example of Using a Simple Timer by Restarting the Reload Timer
The number of machine clock cycles "cyc" after the restart in this example is obtained by the
following equation.
cyc = v - c + 1 = 100 - 90 + 1 = 11
v: Reload value, c: Reload counter value
Note:
The transmit reload counter restarts also when the LIN-UART is reset by writing "1" to the
SMR:UPCL bit.
Automatic restart (receive reload counter only)
The receive reload counter restarts when the start bit falling edge is detected in
asynchronous mode. This automatic restart function is to synchronize the receive shift
register with the received data.
●
Clear counter
When a reset occurs, the reload values in the LIN-UART baud rate generator registers 1, 0
(BGR1, BGR0) and the reload counter are cleared to "0x00", and the reload counter stops.
Although the counter value is temporarily cleared to "0x00" by the LIN-UART reset (writing
"1" to SMR:UPCL), the reload counter restarts since the reload value is kept.
If the restart setting is used (writing "1" to SMR:REST), the reload counter restarts without the
counter value being cleared to "0x00".
MCLK
Write
(M
a
chine clock)
S
MR regi
s
ter
RE
S
T
b
it
write
s
ign
a
l
Relo
a
d co
u
nter
Relo
a
d
BGR0/BGR1 regi
s
ter
re
a
d
s
ign
a
l
Regi
s
ter re
a
d v
a
l
u
e
90
: No effect on oper
a
tion
3
7
3
6
3
5 100 99 9
8
97
96
95 94
9
3
92 91 90
8
9
88 8
7