CHAPTER 14 ASYNCHRONOUS SERIAL INTERFACE (UART)
User’s Manual U16896EJ2V0UD
426
(2) Baud rate generator control register n (BRGCn)
The BRGCn register is an 8-bit register that controls the baud rate (serial transfer speed) of UARTn.
This register can be read or written in 8-bit units.
Reset sets this register to FFH.
Caution If the MDLn7 to MDLn0 bits are to be overwritten, the ASIMn.TXEn and ASIMn.RXEn bits
should be cleared to 0 first.
7
MDLn7
BRGCn
(n = 0, 1)
6
MDLn6
5
MDLn5
4
MDLn4
3
MDLn3
2
MDLn2
1
MDLn1
0
MDLn0
After reset: FFH R/W Address: BRGC0 FFFFFA07H, BRGC1 FFFFFA17H
MDLn7 MDLn6 MDLn5 MDLn4 MDLn3 MDLn2 MDLn1 MDLn0 Set value
(k)
Serial clock
0 0 0 0 0
×
×
×
–
Setting
prohibited
0 0 0 0 1 0 0 0
8
f
UCLK
/8
0 0 0 0 1 0 0 1
9
f
UCLK
/9
0 0 0 0 1 0 1 0
10 f
UCLK
/10
…
…
…
…
…
…
…
…
…
…
1 1 1 1 1 0 1 0
250 f
UCLK
/250
1 1 1 1 1 0 1 1
251 f
UCLK
/251
1 1 1 1 1 1 0 0
252 f
UCLK
/252
1 1 1 1 1 1 0 1
253 f
UCLK
/253
1 1 1 1 1 1 1 0
254 f
UCLK
/254
1 1 1 1 1 1 1 1
255 f
UCLK
/255
Remarks 1.
f
UCLK
: Frequency [Hz] of base clock selected by CKSR0.TPSn3 to CKSR0.TPSn0 bits
2.
k: Value set by MDLn7 to MDLn0 bits (k = 8, 9, 10, ..., 255)
3.
The baud rate is the output clock for the 8-bit counter divided by 2.
4.
×
: don’t care