Download Print this page

Advertisement

18.6

Usage Notes

1. In master mode, if an instruction to generate a start condition is immediately followed by an
instruction to generate a stop condition, neither condition will be output correctly. To output
consecutive start and stop conditions*, after issuing the instruction that generates the start
condition, read the relevant DR registers of I
both low. If the ICE bit is set to 1, pin state can be monitored by reading DR register. Then
issue the instruction that generates the stop condition. Note that SCL may not yet have gone
low when BBSY is cleared to 0.
Note: * An illegal procedure in the I
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 18.11 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.
2
Table 18.11 I
C Bus Timing (SCL and SDA Outputs)
Item
SCL output cycle time
SCL output high pulse width
SCL output low pulse width
SDA output bus free time
Start condition output hold time
Retransmission start condition output
setup time
Stop condition output setup time
Data output setup time (master)
Data output setup time (slave)
Data output hold time
Note:
* 6 t
when IICXn is 0, 12 t
cyc
2
C bus output pins, check that SCL and SDA are
2
C bus specification.
Symbol Output Timing
t
28 t
to 512 t
SCLO
cyc
t
0.5 t
SCLHO
SCLO
t
0.5 t
SCLLO
SCLO
t
0.5 t
BUFO
SCLO
t
0.5 t
STAHO
SCLO
t
1 t
STASO
SCLO
t
0.5 t
STOSO
SCLO
t
1 t
SDASO
SCLLO
1 t
SCLLO
t
3 t
SDAHO
cyc
when IICXn is 1 (n = 0 to 5).
cyc
Section 18 I
Unit
ns
cyc
ns
ns
– 1 t
ns
cyc
– 1 t
ns
cyc
ns
+ 2 t
ns
cyc
– 3 t
ns
cyc
– (6 t
or 12 t
*)
cyc
cyc
ns
Rev. 1.00 Mar. 12, 2008 Page 651 of 1178
2
C Bus Interface (IIC)
Notes
See figure
31.32
(reference)
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472