NEC mPD780065 Series Preliminary User's Manual page 198

8-bit single-chip microcontrollers
Table of Contents

Advertisement

The transmit/receive clock that is used to generate the baud rate is obtained by dividing the main system
clock.
• Transmit/receive clock generation for baud rate by using main system clock
The main system clock is divided to generate the transmit/receive clock. The baud rate generated from
the main system clock is determined according to the following formula.
[Baud rate] =
f
: Main system clock oscillation frequency
X
n: Value set via TPS00 to TPS02 (0 ≤ n ≤ 7)
For details, see Table 13-2.
k: Value set via MDL00 to MDL03 (0 ≤ k ≤ 14)
Table 13-2 shows the relationship between the 5-bit counter's source clock assigned to bits 4 to 6 (TPS00
to TPS02) of BRGC0 and the "n" value in the above formula.
Table 13-2. Relationship between 5-Bit Counter's Source Clock and "n" Value
TPS02
0
0
0
0
1
1
1
1
Remark f
: Main system clock oscillation frequency
X
198
CHAPTER 13 SERIAL INTERFACE (UART0)
f
X
[Hz]
n+1
2
(k + 16)
TPS01
TPS00
0
0
P71/ASCK0
0
1
f
/2
X
2
1
0
f
/2
X
3
1
1
f
/2
X
4
0
0
f
/2
X
5
0
1
f
/2
X
6
1
0
f
/2
X
7
1
1
f
/2
X
Preliminary User's Manual U13420EJ2V0UM00
5-Bit Counter's Source Clock Selected
n
0
1
2
3
4
5
6
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780065Mpd78f0066

Table of Contents