Rev. 3.0, 10/02, page 375 of 686
13.3.10
Bit Rate Register (BRR)
BRR is an 8-bit register that adjusts the bit rate. As the SCI performs baud rate generator control
independently for each channel, different bit rates can be set for each channel. Table 13.2 shows
the relationships between the N setting in BRR and bit rate B for normal asynchronous mode,
clocked synchronous mode, and Smart Card interface mode. The initial value of BRR is H'FF, and
it can be read from or written to by the CPU at all times.
Table 13.2
Relationships between The N Setting in BRR and Bit Rate B
Mode
ABCS
Bit Rate
Error
0
B =
64 2
2n-1
(N + 1)
10
6
Error (%) = | – 1 | 100
B 64 2
2n-1
(N + 1)
10
6
Asynchronous
mode
1
B =
32 2
2n-1
(N + 1)
10
6
Error (%) = | – 1 | 100
B 32 2
2n-1
(N + 1)
10
6
Clocked
synchronous
mode
X
B =
8 2
2n-1
(N + 1)
10
6
Note:
B: Bit rate (bps)
N: BRR setting for baud rate generator (0
≤
N
≤
255)
ø: Operating frequency (MHz)
n and S: Determined by the SMR settings shown in the following tables.
SMR Setting
CKS1
CKS0
Clock
Source
n
0
0
Ø
0
0
1
Ø/4
1
1
0
Ø/16
2
1
1
Ø/64
3
Table 13.3 shows sample N settings in BRR in normal asynchronous mode. Table 13.4 shows the
maximum bit rate for each frequency in normal asynchronous mode. Table 13.6 shows sample N
settings in BRR in clocked synchronous mode. Tables 13.5 and 13.7 show the maximum bit rates
with external clock input.
When the ABCS bit in SCI_0's serial extended mode register 0 (SEMR0) is set to 1 in
asynchronous mode, the maximum bit rates are twice those shown in tables 13.4 and 13.5.
Summary of Contents for H8S/2215 Series
Page 4: ...Rev 3 0 10 02 page iv of lviii ...
Page 6: ...Rev 3 0 10 02 page vi of lviii ...
Page 28: ...Rev 3 0 10 02 page xxviii of lviii ...
Page 122: ...Rev 3 0 10 02 page 64 of 686 ...
Page 132: ...Rev 3 0 10 02 page 74 of 686 ...
Page 156: ...Rev 3 0 10 02 page 98 of 686 ...
Page 198: ...Rev 3 0 10 02 page 140 of 686 ...
Page 320: ...Rev 3 0 10 02 page 262 of 686 ...
Page 384: ...Rev 3 0 10 02 page 326 of 686 ...
Page 474: ...Rev 3 0 10 02 page 416 of 686 ...
Page 608: ...Rev 3 0 10 02 page 550 of 686 ...
Page 614: ...Rev 3 0 10 02 page 556 of 686 ...
Page 650: ...Rev 3 0 10 02 page 592 of 686 ...
Page 652: ...Rev 3 0 10 02 page 594 of 686 ...
Page 680: ...Rev 3 0 10 02 page 622 of 686 ...
Page 732: ...Rev 3 0 10 02 page 674 of 686 ...
Page 740: ...Rev 3 0 10 02 page 682 of 686 ...