CHAPTER 13 SERIAL INTERFACE 20
User’s Manual U13045EJ2V0UM00
191
(c) Baud rate generator control register 20 (BRGC20)
BRGC20 is set with an 8-bit memory manipulation instruction.
RESET input clears BRGC20 to 00H.
Cautions 1. When writing to BRGC20 is performed during a communication operation, the baud
rate generator output is disrupted and communication cannot be performed normally.
Be sure not to write to BRGC20 during communication operation.
2. Be sure not to select n = 1 during an operation at f
X
= 5.0 MHz because n = 1 exceeds
the baud rate limit.
3. When the external input clock is selected, set port mode register 2 (PM2) in input mode.
Remarks
1. f
X
: System clock oscillation frequency (ceramic/crystal oscillation)
2. n: Values specified by TPS200 to TPS203 (1
≤
n
≤
8)
3. Values in parentheses apply to operation with f
X
= 5.0 MHz.
If the internal clock is used as the serial clock for the 3-wire serial I/O mode, set the TPS200 to TPS203
bits to set the frequency of the serial clock. To obtain the frequency to be set, use the following formula.
When the serial clock is input from off-chip, setting BRGC20 is not necessary.
Serial clock frequency = [Hz]
f
X
: System clock oscillation frequency (ceramic/crystal oscillation)
n: Values in the above table specified by the setting in TPS200 to TPS203 (1
≤
n
≤
8)
f
x
2
n + 1
TPS203
0
0
0
0
0
0
0
0
TPS203 TPS202 TPS201 TPS200
0
0
0
0
BRGC20
R/W
FF73H
00H
R/W
7
6
5
4
3
2
1
0
TPS202
0
0
0
0
1
1
1
1
f
X
/2
f
X
/2
2
f
X
/2
3
f
X
/2
4
f
X
/2
5
f
X
/2
6
f
X
/2
7
f
X
/2
8
(2.5 MHz)
(1.25 MHz)
(625 kHz)
(313 kHz)
(156 kHz)
(78.1 kHz)
(39.1 kHz)
(19.5 kHz)
TPS201
0
0
1
1
0
0
1
1
TPS200
0
1
0
1
0
1
0
1
n
1
2
3
4
5
6
7
8
Setting prohibited
Symbol
Address
After reset
3-bit counter source clock selection
Other than above
Summary of Contents for mPD789101
Page 2: ...2 User s Manual U13045EJ2V0UM00 MEMO...
Page 10: ...10 User s Manual U13045EJ2V0UM00 MEMO...
Page 16: ...User s Manual U13045EJ2V0UM00 16 MEMO...
Page 46: ...User s Manual U13045EJ2V0UM00 46 MEMO...
Page 72: ...72 User s Manual U13045EJ2V0UM00 MEMO...
Page 86: ...User s Manual U13045EJ2V0UM00 86 MEMO...
Page 94: ...User s Manual U13045EJ2V0UM00 94 MEMO...
Page 102: ...User s Manual U13045EJ2V0UM00 102 MEMO...
Page 128: ...User s Manual U13045EJ2V0UM00 128 MEMO...
Page 148: ...User s Manual U13045EJ2V0UM00 148 MEMO...
Page 162: ...User s Manual U13045EJ2V0UM00 162 MEMO...
Page 218: ...User s Manual U13045EJ2V0UM00 218 MEMO...
Page 238: ...User s Manual U13045EJ2V0UM00 238 MEMO...
Page 240: ...User s Manual U13045EJ2V0UM00 240 MEMO...
Page 256: ...User s Manual U13045EJ2V0UM00 256 MEMO...
Page 258: ...258 User s Manual U13045EJ2V0UM00 MEMO...