improve I2C initialization and repeated-start timing