|
7220 Datasheet, PDF (85/303 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
FUNCTIONAL DESCRIPTION
2.8 Multi-master I2C-BUS interface
2.8.3 START condition, STOP condition generation method
(1) START condition generation method
When the ESO bit of the I2C control register (address 00DA16) is â1,â execute a write instruction to
the I2C status register (address 00D916) to set the MST, TRX and BB bits to â1.â A START condition
will then be generated. After that, the bit counter becomes â0002â and an SCL for 1 byte is output.
The START condition generating timing and BB bit set timing are different in the standard clock mode
and the high-speed clock mode. Refer to âFigure 2.8.9â for the START condition generation timing
diagram, and âTable 2.8.2â for the START condition/STOP condition generation timing table.
(2) STOP condition generation method
When the ESO bit of the I2C control register (address 00DA16) is â1,â execute a write instruction to
the I2C status register (address 00D916) for setting the MST bit and the TRX bit to â1â and the BB
bit to â0â. A STOP condition will then be generated. The STOP condition generation timing and the
BB flag reset timing are different in the standard clock mode and the high-speed clock mode. Refer
to âFigure 2.8.10â for the STOP condition generating timing diagram, and âTable 2.8.2â for the
START condition/STOP condition generation timing table.
I2C status register
write signal
SCL
SDA
BB flag
Setup
time
Setup
time
Hold time
Set time for
BB flag
Fig. 2.8.9 START condition generation timing diagram
I2C status register
write signal
SCL
SDA
BB flag
Setup
time
Hold time
Reset time for
BB flag
Fig. 2.8.10 STOP condition generation timing diagram
Table 2.8.2 START condition/STOP condition generation timing table
Item
Standard clock mode
High-speed clock mode
Setup time
5.0 µ s (20 cycles)
2.5 µ s (10 cycles)
Hold time
5.0 µ s (20 cycles)
2.5 µ s (10 cycles)
Set/reset time for BB flag
3.0 µ s (12 cycles)
1.5 µ s (6 cycles)
Note: Absolute time at f = 4 MHz. The value in parentheses denotes the number of f cycles.
2-58
7220 Group Userâs Manual
|
▷ |