TWIM Electrical specification

TWIM interface electrical specifications

SymbolDescriptionMin.Typ.Max.Units
fTWIM,SCLBit rates for TWIM11001000kbps
tTWIM,STARTTime from STARTRX/STARTTX task to transmission started1.5µs
1 High bit rates or stronger pull-ups may require GPIOs to be set as High Drive, see GPIO — General purpose input/output for more details.

Two Wire Interface Master (TWIM) timing specifications

SymbolDescriptionMin.Typ.Max.Units
tTWIM,SU_DATIInput data setup time before positive edge on SCL – all modes20ns
tTWIM,HD_DATOOutput data hold time after negative edge on SCL – 100, 250 and 400 kbps500625ns
tTWIM,HD_STA,100kbpsTWIM master hold time for START and repeated START condition, 100 kbps10000ns
tTWIM,HD_STA,250kbpsTWIM master hold time for START and repeated START condition, 250 kbps4000ns
tTWIM,HD_STA,400kbpsTWIM master hold time for START and repeated START condition, 400 kbps2400ns
tTWIM,SU_STO,100kbpsTWIM master setup time from SCL high to STOP condition, 100 kbps5000ns
tTWIM,SU_STO,250kbpsTWIM master setup time from SCL high to STOP condition, 250 kbps2000ns
tTWIM,SU_STO,400kbpsTWIM master setup time from SCL high to STOP condition, 400 kbps1250ns
tR,100kbpsRise time of both SDA and SCL signals, 100kbps1000ns
tF,100kbpsFall time of both SDA and SCL signals, 100kbps300ns
tR,400kbpsRise time of both SDA and SCL signals, 400kbps300ns
tF,400kbpsFall time of both SDA and SCL signals, 400kbps300ns
tTWIM,BUF,100kbpsTWIM master bus free time between STOP and START conditions, 100 kbps5200ns
tTWIM,BUF,250kbpsTWIM master bus free time between STOP and START conditions, 250 kbps2200ns
tTWIM,BUF,400kbpsTWIM master bus free time between STOP and START conditions, 400 kbps1500ns
Figure 1. TWIM timing diagram, 1 byte transaction
TWIM timing diagram, 1 byte transaction