66.16 TWI Timings

Figure 66-25. Two-wire Serial Bus Timing

The table below describes the requirements for devices connected to the Two-wire Serial Bus.

Table 66-69. Two-wire Serial Bus Requirements
SymbolParameterConditionsMinMaxUnit
VILInput Low-voltage-0.30.3 × VDDIOV
VIHInput High-voltage0.7 × VDDIOVCC + 0.3V
VhysHysteresis of Schmitt Trigger Inputs0.150V
VOLOutput Low-voltage3 mA sink current0.4V
trRise Time for both TWD and TWCK20 + 0.1Cb(2)300ns
tfoOutput Fall Time from VIHmin to VILmax10 pF < Cb < 400 pF


(see the figure above)

20 + 0.1Cb(2)250ns
Ci(1)Capacitance for each I/O Pin10pF
fTWCKTWCK Clock Frequency0400kHz
RpValue of Pull-up ResistorfTWCK≤ 100 kHz(VDDIO - 0.4V) ÷ 3mA1000ns ÷ CbΩ
fTWCK > 100 kHz(VDDIO - 0.4V) ÷ 3mA300ns ÷ CbΩ
tLOWLow Period of the TWCK ClockfTWCK≤ 100 kHz(3)μs
fTWCK > 100 kHz(3)μs
tHIGHHigh Period of the TWCK ClockfTWCK≤ 100 kHz(4)μs
fTWCK > 100 kHz(4)μs
th(start)Hold Time (repeated) START conditionfTWCK≤ 100 kHztHIGHμs
fTWCK > 100 kHztHIGHμs
tsu(start)Setup Time for a Repeated START conditionfTWCK≤ 100 kHztHIGHμs
fTWCK > 100 kHztHIGHμs
th(data)Data Hold TimefTWCK≤ 100 kHz0(HOLD + 3) × tperipheral clockμs
fTWCK > 100 kHz0(HOLD + 3) × tperipheral clockμs
tsu(data)Data Setup TimefTWCK≤ 100 kHztLOW - (HOLD + 3) × tperipheral clockns
fTWCK > 100 kHztLOW - (HOLD + 3) × tperipheral clockns
tsu(stop)Setup time for STOP conditionfTWCK≤ 100 kHztHIGHμs
fTWCK > 100 kHztHIGHμs
tBUFBus free time between a STOP and START conditionfTWCK≤ 100 kHztLOWμs
fTWCK > 100 kHztLOWμs

Note:
  1. Required only for fTWCK > 100 kHz.
  2. CB = capacitance of one bus line in pF. Per I2C Standard, Cb Max = 400 pF
  3. The TWCK low period is defined as follows: tLOW = ((CLDIV × 2CKDIV) + 3) × tMCK
  4. The TWCK high period is defined as follows: tHIGH = ((CHDIV × 2CKDIV) + 3) × tMCK