Rev. 1.00, 05/04, page 337 of 544
13.6 Usage
Notes
1. In master mode, if an instruction to generate a start condition is issued and then an instruction
to generate a stop condition is issued before the start condition is output to the I
2
C bus, neither
condition will be output correctly. To output the start condition followed by the stop condition,
after issuing the instruction that generates the start condition, read DR in each I
2
C bus output
pin, and check that SCL and SDA are both low. The pin states can be monitored by reading
DR even if the ICE bit is set to 1. Then issue the instruction that generates the stop condition.
Note that SCL may not yet have gone low when BBSY is cleared to 0.
2. Either of the following two conditions will start the next transfer. Pay attention to these
conditions when accessing to ICDR.
Write to ICDR when ICE = 1 and TRS = 1 (including automatic transfer from ICDRT to
ICDRS)
Read from ICDR when ICE = 1 and TRS = 0 (including automatic transfer from ICDRS to
ICDRR)
3. Table 13.8 shows the timing of SCL and SDA outputs in synchronization with the internal
clock. Timings on the bus are determined by the rise and fall times of signals affected by the
bus load capacitance, series resistance, and parallel resistance.
Table 13.8 I
2
C Bus Timing (SCL and SDA Outputs)
Item
Symbol Output
Timing
Unit Notes
SCL output cycle time
t
SCLO
28t
cyc
to 256t
cyc
ns
SCL output high pulse width
t
SCLHO
0.5t
SCLO
ns
SCL output low pulse width
t
SCLLO
0.5t
SCLO
ns
SDA output bus free time
t
BUFO
0.5t
SCLO
– 1t
cyc
ns
Start condition output hold time
t
STAHO
0.5t
SCLO
– 1t
cyc
ns
Retransmission start condition output
setup time
t
STASO
1t
SCLO
ns
Stop condition output setup time
t
STOSO
0.5t
SCLO
+ 2t
cyc
ns
Data output setup time (master)
1t
SCLLO
– 3t
cyc
Data output setup time (slave)
t
SDASO
1t
SCLL
– (6t
cyc
or 12t
cyc
*
)
ns
Data output hold time
t
SDAHO
3t
cyc
ns
See figure
22.22.
Note:
*
6t
cyc
when IICX is 0, 12t
cyc
when 1.
4. SCL and SDA inputs are sampled in synchronization with the internal clock. The AC timing
therefore depends on the system clock cycle t
cyc
, as shown in section 22, Electrical
Characteristics. Note that the I
2
C bus interface AC timing specifications will not be met with a
system clock frequency of less than 5 MHz.
Summary of Contents for H8S/2111B
Page 2: ...Rev 1 00 05 04 page ii of xxxiv...
Page 8: ...Rev 1 00 05 04 page viii of xxxiv...
Page 22: ...Rev 1 00 05 04 page xxii of xxxiv...
Page 30: ...Rev 1 00 05 04 page xxx of xxxiv...
Page 84: ...Rev 1 00 05 04 page 50 of 544...
Page 100: ...Rev 1 00 05 04 page 66 of 544...
Page 126: ...Rev 1 00 05 04 page 92 of 544...
Page 180: ...Rev 1 00 05 04 page 146 of 544...
Page 216: ...Rev 1 00 05 04 page 182 of 544...
Page 254: ...Rev 1 00 05 04 page 220 of 544...
Page 268: ...Rev 1 00 05 04 page 234 of 544...
Page 382: ...Rev 1 00 05 04 page 348 of 544...
Page 462: ...Rev 1 00 05 04 page 428 of 544...
Page 464: ...Rev 1 00 05 04 page 430 of 544...
Page 488: ...Rev 1 00 05 04 page 454 of 544...
Page 496: ...Rev 1 00 05 04 page 462 of 544...
Page 574: ...Rev 1 00 05 04 page 540 of 544...
Page 581: ......
Page 582: ...H8S 2111B Hardware Manual...