-----------------
-
Two-wire Serial Interface Characteristics
Table 101 describes the requirements for devices connected to the Two-wire Serial Bus. The ATmega8 Two-wire Serial
Interface meets or exceeds these requirements under the noted conditions.
Timing symbols refer to Figure 115.
Table 101. Two-wire Serial Bus Requirements
Symbol Parameter
Condition
Min
-0.5
Max
0.3 VCC
VCC + 0.5
–
Units
V
VIL
Input Low-voltage
VIH
Vhys
Input High-voltage
0.7 VCC
V
(1)
(1)
(2)
Hysteresis of Schmitt Trigger Inputs
Output Low-voltage
0.05 VCC
V
VOL
tr(1)
3 mA sink current
10 pF < Cb < 400 pF(3)
0.1VCC < Vi < 0.9VCC
0
0.4
V
(3)(2)
(3)(2)
Rise Time for both SDA and SCL
Output Fall Time from VIHmin to VILmax
Spikes Suppressed by Input Filter
Input Current each I/O Pin
Capacitance for each I/O Pin
SCL Clock Frequency
20 + 0.1Cb
300
ns
ns
ns
µA
pF
kHz
(1)
tof
20 + 0.1Cb
250
(1)
tSP
Ii
Ci(1)
fSCL
0
-10
–
50(2)
10
10
fCK(4) > max(16fSCL, 250kHz)(5)
0
400
VCC – 0,4V
f
SCL ≤ 100 kHz
1000ns
Cb
Ω
Ω
----------------------------
3mA
Rp
Value of Pull-up resistor
VCC – 0,4V
fSCL > 100 kHz
300ns
---------------
Cb
----------------------------
3mA
f
SCL ≤ 100 kHz
4.0
0.6
4.7
1.3
4.0
0.6
4.7
0.6
0
–
–
µs
µs
µs
µs
µs
µs
µs
µs
µs
µs
ns
ns
µs
µs
µs
µs
tHD;STA
Hold Time (repeated) START Condition
Low Period of the SCL Clock
High period of the SCL clock
Set-up time for a repeated START condition
Data hold time
fSCL > 100 kHz
f
SCL ≤ 100 kHz(6)
–
tLOW
fSCL > 100 kHz(7)
SCL ≤ 100 kHz
fSCL > 100 kHz
SCL ≤ 100 kHz
fSCL > 100 kHz
SCL ≤ 100 kHz
fSCL > 100 kHz
SCL ≤ 100 kHz
fSCL > 100 kHz
SCL ≤ 100 kHz
fSCL > 100 kHz
SCL ≤ 100 kHz
fSCL > 100 kHz
–
f
–
tHIGH
–
f
–
tSU;STA
tHD;DAT
tSU;DAT
tSU;STO
tBUF
–
f
3.45
0.9
–
0
f
250
100
4.0
0.6
4.7
1.3
Data setup time
–
f
–
Setup time for STOP condition
–
f
–
Bus free time between a STOP and START
condition
–
Notes: 1. In ATmega8, this parameter is characterized and not 100% tested.
2. Required only for fSCL > 100 kHz.
3. Cb = capacitance of one bus line in pF.
4. fCK = CPU clock frequency
240
ATmega8(L)
2486M–AVR–12/03