Bit Rate Register (Brr) - Renesas H8SX/1650 Hardware Manual

Renesas 32-bit cisc microcomputer h8sx family / h8sx/1600 series
Table of Contents

Advertisement

13.3.9

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 and
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 N Setting in BRR and Bit Rate B
Mode
Asynchronous mode
Clocked synchronous mode
Smart card interface mode
[Legend]
B:
Bit rate (bit/s)
BRR setting for baud rate generator (0 ≤ N ≤ 255)
N:
Pφ:
Operating frequency (MHz)
n and S: Determined by the SMR settings shown in the following table.
SMR Setting
CKS1
CKS0
0
0
0
1
1
0
1
1
Table 13.3 shows sample N settings in BRR in normal asynchronous mode. Table 13.4 shows the
maximum bit rate settable for each operating frequency. Tables 13.6 and 13.8 show sample N
settings in BRR in clocked synchronous mode and smart card interface mode, respectively. In
smart card interface mode, the number of basic clock cycles S in a 1-bit data transfer time can be
selected. For details, see section 13.7.4, Receive Data Sampling Timing and Reception Margin.
Tables 13.5 and 13.7 show the maximum bit rates with external clock input.
Section 13 Serial Communication Interface (SCI)
Bit Rate
6
Pφ × 10
− 1
N =
2n – 1
64 × 2
× B
6
Pφ × 10
− 1
N =
2n – 1
8 × 2
× B
6
Pφ × 10
− 1
N =
2n + 1
S × 2
× B
n
BCP1
0
0
1
0
2
1
3
1
Error
Pφ × 10
Error (%) = {
2n – 1
B × 64 × 2
Pφ × 10
{
Error (%) =
2n + 1
B × S × 2
SMR Setting
BCP0
0
1
0
1
Rev.2.00 Jun. 28, 2007 Page 471 of 666
6
– 1 } × 100
× (N + 1)
6
}
– 1 × 100
× (N + 1)
S
32
64
372
256
REJ09B0311-0200

Advertisement

Table of Contents
loading

This manual is also suitable for:

R5s61650cH8sx/1650c

Table of Contents