CHAPTER 13 SERIAL INTERFACE UART0
User’s Manual U16899EJ2V0UD
274
(3) Baud rate generator control register 0 (BRGC0)
This register selects the base clock of serial interface UART0 and the division value of the 5-bit counter.
BRGC0 can be set by an 8-bit memory manipulation instruction.
RESET input sets this register to 1FH.
Figure 13-4. Format of Baud Rate Generator Control Register 0 (BRGC0)
Address: FF71H After reset: 1FH R/W
Symbol
7 6 5 4 3 2 1 0
BRGC0 TPS01 TPS00
0
MDL04 MDL03 MDL02 MDL01 MDL00
TPS01
TPS00
Base
clock
(f
XCLK0
) selection
Note 1
0
0
TM50
output
Note 2
0
1
f
X
/2 (5 MHz)
1
0
f
X
/2
3
(1.25 MHz)
1
1
f
X
/2
5
(312.5 kHz)
MDL04
MDL03
MDL02
MDL01
MDL00
k
Selection of 5-bit counter
output clock
0
0
×
×
×
×
Setting prohibited
0 1 0 0 0
8
f
XCLK0
/8
0 1 0 0 1
9
f
XCLK0
/9
0 1 0 1 0
10
f
XCLK0
/10
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
1 1 0 1 0
26
f
XCLK0
/26
1 1 0 1 1
27
f
XCLK0
/27
1 1 1 0 0
28
f
XCLK0
/28
1 1 1 0 1
29
f
XCLK0
/29
1 1 1 1 0
30
f
XCLK0
/30
1 1 1 1 1
31
f
XCLK0
/31
Notes 1. Be sure to set the base clock so that the following condition is satisfied.
•
V
DD
= 4.0 to 5.5 V: Base clock
≤
10 MHz
•
V
DD
= 3.3 to 4.0 V: Base clock
≤
8.38 MHz
•
V
DD
= 2.7 to 3.3 V: Base clock
≤
5 MHz
•
V
DD
= 2.5 to 2.7 V: Base clock
≤
2.5 MHz
2.
Note the following points when selecting the TM50 output as the base clock.
•
PWM mode (TMC506 = 1)
Start the operation of 8-bit timer/event counter 50 first and then set the count clock to make the duty
= 50%.
•
Mode in which the count clock is cleared and started upon a match of TM50 and CR50 (TMC506 = 0)
Start the operation of 8-bit timer/event counter 50 first and then enable the timer F/F inversion
operation (TMC501 = 1).
It is not necessary to enable the TO50 pin as a timer output pin in any mode.
Содержание MuPD78F0132H
Страница 2: ...User s Manual U16899EJ2V0UD 2 MEMO ...