Section 14 Serial Communication Interface (SCI)
Rev. 5.00 May 29, 2006 page 383 of 698
REJ09B0146-0500
14.3.10
Bit Rate Register (SCBRR)
The bit rate register (SCBRR) is an eight-bit register that, together with the baud rate generator
clock source selected by the CKS1 and CKS0 bits in SCSMR, determines the serial
transmit/receive bit rate.
The CPU can always read and write the SCBRR. The SCBRR is initialized to H'FF by a reset or in
module standby or standby mode. Each channel has independent baud rate generator control, so
different values can be set in two channels.
The SCBRR setting is calculated as follows:
Asynchronous mode: N
=
[P
φ
/(64
×
2
2n – 1
×
B)]
×
10
6
– 1
Clock synchronous mode: N
=
[P
φ
/(8
×
2
2n – 1
×
B)]
×
10
6
– 1
B:
Bit rate (bit/s)
N:
SCBRR setting for baud rate generator (0
≤
N
≤
255)
P
φ
: Operating frequency for peripheral modules (MHz)
n:
Baud rate generator clock source (n
=
0, 1, 2, 3) (for the clock sources and values of
n, see table 14.2.)
Table 14.2
SCSMR Settings
SCSMR Settings
n
Clock Source
CKS1
CKS0
0
P
φ
0
0
1
P
φ
/4
0
1
2
P
φ
/16
1
0
3
P
φ
/64
1
1
Find the bit rate error for the asynchronous mode by the following formula:
Error (%) =
(N + 1)
×
B
×
64
×
2
2n
−
1
P
φ
×
10
6
−
1
×
100
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...