Renesas PCA7429G02 Informações Técnicas Página 41

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 145
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 40
38
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DECODER
and ON-SCREEN DISPLAY CONTROLLER
M37272M6/M8–XXXSP/FP, M37272MA–XXXSP
M37272E8SP/FP, M37272EFSP
MITSUBISHI MICROCOMPUTERS
Rev. 1.3
8.6.8 START/STOP Condition Detect Conditions
The START/STOP condition detect conditions are shown in
Figure 8.6.11 and Table 8.6.3. Only when the 3 conditions of Table
8.6.3 are satisfied, a START/STOP condition can be detected.
Note: When a STOP condition is detected in the slave mode
(MST = 0), an interrupt request signal “IICIRQ” is generated to the
CPU.
Fig. 8.6.11 START Condition/STOP Condition Detect Timing Dia-
gram
Standard Clock Mode
6.5 µs (26 cycles) < SCL
release time
3.25 µs (13 cycles) < Setup time
3.25 µs (13 cycles) < Hold time
High-speed Clock Mode
1.0 µs (4 cycles) < SCL
release time
0.5 µs (2 cycles) < Setup time
0.5 µs (2 cycles) < Hold time
Table 8.6.3 START Condition/STOP Condition Detect Conditions
Note: Absolute time at φ = 4 MHz. The value in parentheses denotes the num-
ber of φ cycles.
H
o
l
d
t
i
m
e
S
e
t
u
p
t
i
m
e
S
C
L
S
D
A
(
S
T
A
R
T
c
o
n
d
i
t
i
o
n
)
S
D
A
(
S
T
O
P
c
o
n
d
i
t
i
o
n
)
S
C
L
r
e
l
e
a
s
e
t
i
m
e
H
o
l
d
t
i
m
e
S
e
t
u
p
t
i
m
e
8.6.9 Address Data Communication
There are two address data communication formats, namely, 7-bit
addressing format and 10-bit addressing format. The respective ad-
dress communication formats is described below.
(1) 7-bit addressing format
To meet the 7-bit addressing format, set the 10BIT SAD bit of the I
2
C
control register (address 00F916) to “0.” The first 7-bit address data
transmitted from the master is compared with the high-order 7-bit
slave address stored in the I
2
C address register (address 00F716).
At the time of this comparison, address comparison of the RBW bit of
the I
2
C address register (address 00F716) is not made. For the data
transmission format when the 7-bit addressing format is selected,
refer to Figure 8.6.12, (1) and (2).
(2) 10-bit addressing format
To meet the 10-bit addressing format, set the 10BIT SAD bit of the
I
2
C control register (address 00F916) to “1.” An address comparison
is made between the first-byte address data transmitted from the
master and the 7-bit slave address stored in the I
2
C address register
(address 00F716). At the time of this comparison, an address com-
parison between the RBW bit of the I
2
C address register (address
00F716) and the R/W bit which is the last bit of the address data
transmitted from the master is made. In the 10-bit addressing mode,
the R/W bit which is the last bit of the address data not only specifies
the direction of communication for control data but also is processed
as an address data bit.
When the first-byte address data matches the slave address, the
AAS bit of the I
2
C status register (address 00F816) is set to “1.” After
the second-byte address data is stored into the I
2
C data shift register
(address 00F616), make an address comparison between the sec-
ond-byte data and the slave address by software. When the address
data of the 2nd bytes matches the slave address, set the RBW bit of
the I
2
C address register (address 00F716) to “1” by software. This
processing can match the 7-bit slave address and R/W data, which
are received after a RESTART condition is detected, with the value
of the I
2
C address register (address 00F716). For the data transmis-
sion format when the 10-bit addressing format is selected, refer to
Figure 8.6.12, (3) and (4).
Vista de página 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 144 145

Comentários a estes Manuais

Sem comentários