CHAPTER 11 SERIAL INTERFACE FUNCTION
384
User’s Manual U14359EJ4V0UM
(b) Baud rate generator control registers 0 to 2 (BRGC0 to BRGC2)
The BRGCn register is an 8-bit register that controls the baud rate (serial transfer speed) of UARTn.
These registers can be read or written in 8-bit units.
Caution
If the BRGn7 to BRGn0 bits are to be overwritten, TXEn and RXEn should be set to 0
in the ASIMn register first (n = 0 to 2).
7
6
5
4
3
2
1
0
Address
After reset
BRGC0
MDL07
MDL06
MDL05
MDL04
MDL03
MDL02
MDL01
MDL00
FFFFFA07H
FFH
BRGC1
MDL17
MDL16
MDL15
MDL14
MDL13
MDL12
MDL11
MDL10
FFFFFA17H
FFH
BRGC2
MDL27
MDL26
MDL25
MDL24
MDL23
MDL22
MDL21
MDL20
FFFFFA27H
FFH
Bit position
Bit name
Function
Specifies the 8-bit counter’s divisor value.
B R G n 7 B R G n 6 B R G n 5 B R G n 4 B R G n 3 B R G n 2 B R G n 1 B R G n 0
Divisor
value (k)
Serial clock
0
0
0
0
0
x
x
x
−
Setting
prohibited
0
0
0
0
1
0
0
0
8
f
XCLK
/8
0
0
0
0
1
0
0
1
9
f
XCLK
/9
0
0
0
0
1
0
1
0
10
f
XCLK
/10
1
1
1
1
1
0
1
0
250
f
XCLK
/250
1
1
1
1
1
0
1
1
251
f
XCLK
/251
1
1
1
1
1
1
0
0
252
f
XCLK
/252
1
1
1
1
1
1
0
1
253
f
XCLK
/253
1
1
1
1
1
1
1
0
254
f
XCLK
/254
1
1
1
1
1
1
1
1
255
f
XCLK
/255
7 to 0
BRGn7 to
BRGn0
(n = 0 to 2)
Remarks 1.
f
XCLK
: Frequency of clock selected according to TPSn3 to TPSn0 bits of CKSRn register.
2.
k: Value set according to BRGn7 to BRGn0 bits (k = 8, 9, 10, ..., 255)
3.
x: don’t care
…
…
…
…
…
…
…
…
…
…