|
SH7764 Datasheet, PDF (570/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series | |||
|
◁ |
Section 15 Serial Communication Interface with FIFO (SCIF)
⢠Clock synchronous mode:
N=
Pch à 106 â 1
8 Ã 22n-1 Ã B
B:
Bit rate (bits/s)
N:
SCBRR setting for baud rate generator (0 ⤠N ⤠255)
(The setting must satisfy the electrical characteristics.)
Pch: Operating frequency for peripheral clock (MHz)
n:
Baud rate generator clock source (n = 0, 1, 2, 3) (for the clock sources and values of n,
see table 15.4.)
Table 15.4 SCSMR Settings
n
Clock Source
0
Pch
1
Pch/4
2
Pch/16
3
Pch/64
CKS[1]
0
0
1
1
SCSMR Settings
CKS[0]
0
1
0
1
The bit rate error in asynchronous mode is given by the following formula:
When baud rate generator operates in normal mode (the BGDM bit of SCEMR is 0):
Error (%) =
Pch à 106
â 1 Ã 100 (Operation on a base clock with a frequency of
(N + 1) Ã B Ã 64 Ã 22n-1
16 times the bit rate)
Error (%) =
Pch à 106
â1
(N + 1) Ã B Ã 32Ã 22n-1
à 100
(Operation on a base clock with a frequency of
8 times the bit rate)
When baud rate generator operates in double speed mode (the BGDM bit of SCEMR is 1):
Error (%) =
Pch à 106
â1
(N + 1) Ã B Ã 32Ã 22n-1
à 100
(Operation on a base clock with a frequency of
16 times the bit rate)
Error (%) =
Pch à 106
â1
(N + 1) Ã B Ã 16Ã 22n-1
à 100
(Operation on a base clock with a frequency of
8 times the bit rate)
Rev. 1.00 Nov. 22, 2007 Page 514 of 1692
REJ09B0360-0100
|
▷ |