302
CHAPTER 12 U-TIMER (16-bit Timer for UART Baud Rate Generation)
12.3
Description of Operation
This section explains calculation of U-TIMER baud rate and cascade mode.
■
Calculation of Baud Rate
The UART uses the underflow flip-flop (f.f. in the block diagram) of the corresponding U-TIMER
(U-TIMER0 -> UART0, U-TIMER1 -> UART1, U-TIMER2 -> UART2) as the clock source for baud
rates.
•
Asynchronous (start-stop) mode
The UART uses the U-TIMER output divided by 16.
•
CLK synchronous mode
■
Cascade Mode
Channels 0 and 1 of the U-TIMER can be used in cascade mode.
Example: When UTIMR ch0 is set to "0003
H
" and UTIMR ch1 is set to "0100
H
"
φ
n
--- UTIMR (relo
a
d v
a
l
u
e)
b
p
s
=
UCC1=0
(2n+2)
×
16
(2n+
3
)
×
16
φ
--- Peripher
a
l m
a
chine clock fre
qu
ency
(v
a
rie
s
depending on the ge
a
r)
φ
b
p
s
=
UCC1=1
M
a
xim
u
m
b
p
s
33
MHz 515625
b
p
s
n
--- UTIMR (relo
a
d v
a
l
u
e)
(
s
et n=
3
or higher n
u
m
b
er)
φ
--- Peripher
a
l m
a
chine clock fre
qu
ency
(v
a
rie
s
depending on the ge
a
r)
M
a
xim
u
m
b
p
s
33
MHz 4125000
b
p
s
φ
b
p
s
=
UCC1=0
(2n+2)
(2n+
3
)
φ
b
p
s
=
UCC1=1
01
H
00
H
03
H
02
H
01
H
02
H
01
H
00
H
03
H
02
H
03
H
02
H
01
H
00
H
03
H
00
H
01
H
02
H
03
H
0100
H
0000
H
0001
H
0002
H
00
H
UTIM ch1
f.f. ch1
f.f. ch0
UTIM ch0
φ
Summary of Contents for FR60Lite
Page 3: ......
Page 5: ......
Page 115: ...100 CHAPTER 3 CPU AND CONTROL UNITS ...
Page 127: ...112 CHAPTER 4 I O PORTS ...
Page 143: ...128 CHAPTER 5 INTERRUPT CONTROLLER ...
Page 155: ...140 CHAPTER 6 EXTERNAL INTERRUPT AND NMI CONTROLLER ...
Page 197: ...182 CHAPTER 9 PPG Programmable Pulse Generator ...
Page 337: ...322 CHAPTER 13 UART ...
Page 417: ...402 CHAPTER 16 DMAC DMA Controller ...
Page 445: ...430 CHAPTER 17 FLASH MEMORY ...
Page 451: ...436 CHAPTER 18 SERIAL PROGRAMMING CONNECTION ...
Page 493: ...478 APPENDIX F Precautions on Handling ...
Page 494: ...479 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 507: ...492 INDEX ...
Page 509: ......