
SH7751 Group, SH7751R Group
Section 16 Serial Communication Interface with FIFO (SCIF)
R01UH0457EJ0301 Rev. 3.01
Page 689 of 1128
Sep 24, 2013
The SCBRR2 setting is found from the following equation.
Asynchronous mode:
N =
×
10
6
– 1
64
×
2
2n – 1
×
B
Pck
Where B: Bit rate (bits/s)
N: SCBRR2 setting for baud rate generator (0
≤
N
≤
255)
Pck: Peripheral module operating frequency (MHz)
n:
Baud rate generator input clock (n = 0 to 3)
(See the table below for the relation between n and the clock.)
SCSMR2
Setting
n Clock
CKS1
CKS0
0 Pck 0
0
1 Pck/4
0
1
2 Pck/16
1
0
3 Pck/64
1
1
The bit rate error in asynchronous mode is found from the following equation:
Error (
%
) =
– 1
×
100
Pck
×
10
6
(N + 1)
×
B
×
64
×
2
2n – 1
16.2.9
FIFO Control Register (SCFCR2)
Bit:
15 14 13 12 11 10 9 8
— — — — —
RSTRG2 RSTRG1
RSTRG0
Initial
value:
0 0 0 0 0 0 0 0
R/W:
R R R R R
R/W
R/W
R/W
Bit:
7 6 5 4 3 2 1 0
RTRG1 RTRG0 TTRG1 TTRG0 MCE TFRST RFRST LOOP
Initial
value:
0 0 0 0 0 0 0 0
R/W:
R/W R/W R/W R/W R/W R/W R/W R/W