R01UH0136EJ0210 Rev.2.10
Page 556 of 800
Jul 31, 2012
M16C/64A Group
25. Multi-master I
2
C-bus Interface
25.3
Operations
25.3.1
Clock
Figure 25.5 shows the I
Figure 25.5
I
2
C-bus Interface Clock
25.3.1.1
fVIIC
fVIIC is determined by setting a combination of the following:
•
The frequency of peripheral clock f1
•
The PCLK0 bit in the PCLKR register
•
Bits ICK1 to ICK0 in the S3D0 register
•
Bits ICK4 to ICK2 in the S4D0 register
fVIIC stops when the ES0 bit in the S1D0 register is 0 (I
2
C interface disabled).
See Table 25.8 “I
2
C-bus System Clock Select Bits”
for details.
f1
PCLKR register
PCLK0 = 1
PCLK0 = 0
System clock select
circuit
Divide-by-m
fIIC
I
2
C-bus system clock
fVIIC
S20 register
FASTMODE = 0
FASTMODE = 1
Clock control circuit
= 5
CCR4 to CCR0
≠
5
(1)
m: 2, 4, 8, 2.5, 3, 5, 6
(selectable by bits ICK1 to ICK0 in the S3D0 register and bits ICK4 to ICK2 in the S4D0 register)
n: 3 to 31 (value set to bits CCR4 to CCR0 in the S20 register)
Note:
1. Set the CPU clock to 100 kHz or lower in standard clock mode, and 400 kHz or lower in fast-mode.
f1IIC
f2IIC
Divide-by-4
Divide-by-n
Divide-by-2
Divide-by-2
Divide-by-8
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...