NEC UPD789426 Series User Manual page 242

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(c) Baud rate generator control register 20 (BRGC20)
BRGC20 is set with an 8-bit memory manipulation instruction.
RESET input sets BRGC20 to 00H.
Symbol
7
6
BRGC20
TPS203
TPS202
TPS203
TPS202
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
Other than above
Caution When writing to BRGC20 during a communication operation, the baud rate generator
output is disrupted and communications cannot be performed normally. Be sure not
to write to BRGC20 during a communication operation.
Remarks 1. f
2. n:
3. The parenthesized values apply to operation at f
If the internal clock is used as the serial clock for 3-wire serial I/O mode, set bits TPS200 to TPS203 to
set the frequency of the serial clock. To obtain the frequency to be set, use the following expression.
When an external clock is used, setting BRGC20 is not necessary.
Serial clock frequency =
f
: Main system clock oscillation frequency
X
n: Values determined by the settings of TPS200 to TPS203 as shown in the above table (1 ≤ n
≤ 8)
CHAPTER 12 SERIAL INTERFACE 20
5
4
3
TPS201
TPS200
0
TPS201
TPS200
0
0
f
/2
(2.5 MHz)
X
2
0
1
f
/2
(1.25 MHz)
X
3
1
0
f
/2
(625 kHz)
X
4
1
1
f
/2
(313 kHz)
X
5
0
0
f
/2
(156 kHz)
X
6
0
1
f
/2
(78.1 kHz)
X
7
1
0
f
/2
(39.1 kHz)
X
8
1
1
f
/2
(19.5 kHz)
X
Setting prohibited
: Main system clock oscillation frequency
X
Values determined by the settings of TPS200 to TPS203 (1 ≤ n ≤ 8)
f
X
[Hz]
n + 1
2
User's Manual U15075EJ2V1UD
2
1
0
0
0
0
Selection of source clock for baud rate generator
= 5.0 MHz.
X
Address
After reset
R/W
FF73H
00H
R/W
n
1
2
3
4
5
6
7
8
243

Advertisement

Table of Contents
loading

Table of Contents