CHAPTER 15 SERIAL INTERFACE IICA
Page 448 of 920
15.4.2
Setting transfer clock by using IICWLn and IICWHn registers
(1) Setting transfer clock on master side
At this time, the optimal setting values of the IICWLn and IICWHn registers are as follows.
(The fractional parts of all setting values are rounded up.)
• When the fast mode
• When the standard mode
• When the fast mode plus
(2) Setting IICWLn and IICWHn registers on slave side
(The fractional parts of all setting values are truncated.)
• When the fast mode
IICWLn = 1.3
μ
s × f
MCK
IICWHn = (1.2
μ
s
−
t
R
−
t
F
)
×
f
MCK
• When the standard mode
IICWLn = 4.7
μ
s × f
MCK
IICWHn = (5.3
μ
s
−
t
R
−
t
F
)
×
f
MCK
• When the fast mode plus
IICWLn = 0.50
μ
s × f
MCK
IICWHn = (0.50
μ
s
−
t
R
−
t
F
)
×
f
MCK
Caution 1.The maximum operating frequency of the IICA operating clock (f
MCK
) is 20 MHz (Max.). Only
when f
CLK
exceeds 20 MHz, set bit 0 (PRSn) of IICA control register n1 (IICCTLn1) to 1.
Caution 2. Note the minimum f
CLK
operating frequency when setting the transfer clock. The minimum
f
CLK
operating frequency for serial interface IICA is determined according to the mode.
Fast mode:
f
CLK
= 3.5 MHz (MIN.)
Fast mode plus:
f
CLK
= 10 MHz (MIN.)
Normal mode:
f
CLK
= 1 MHz (MIN.)
(Remarks are listed on the next page.)
Transfer clock =
f
MCK
IICWL + IICWH + f
MCK
(t
R
+ t
F
)
(
−
t
R
−
t
F
)
×
f
MCK
IICWLn =
0.52
Transfer clock
×
f
MCK
IICWHn =
0.48
Transfer clock
(
−
t
R
−
t
F
)
×
f
MCK
IICWLn =
0.47
Transfer clock
×
f
MCK
IICWHn =
0.53
Transfer clock
(
−
t
R
−
t
F
)
×
f
MCK
IICWLn =
0.50
Transfer clock
×
f
MCK
IICWHn =
0.50
Transfer clock
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...