I2C initialization phase from pasm driver
mathk
Posts: 1
Hi All
From the code of the I2C driver it look like there is an initialize method that send one byte 0 on the wire.
This byte is send before the start sequence. When using this library to drive a device like the MCP4725 DAC it does not cause any issue but in the data sheet there is no reference to this initialize sequence.
Is that sequence part of the I2C specification that I am not aware of?
Thanks
From the code of the I2C driver it look like there is an initialize method that send one byte 0 on the wire.
This byte is send before the start sequence. When using this library to drive a device like the MCP4725 DAC it does not cause any issue but in the data sheet there is no reference to this initialize sequence.
Is that sequence part of the I2C specification that I am not aware of?
Thanks
Comments
From the object, this is what the initialize function does:
It's not part of the I2C specification. However, this object that you linked to doesn't follow the specification exactly: it assumes no pullups on the lines. I suspect that the initialize routine is part of fulfilling that assumption.