General Category > Discussion - Software
FT260 LibFT260 I2C Flags
(1/1)
bludin:
Which flags should be used to make a standard combined read register operation with the write and read operations respectively?
Logically, I would presume:
* ftI2CMaster_Write with FT260_I2C_START (0x02)and
* ftI2CMaster_Read with FT260_I2C_REPEATED_START + FT260_I2C_STOP (0x03 | 0x04 = 0x07).
Is this correct?
FTDI Community:
Hello,
Please refer to AN_395 User Guide for LibFT260.
There are also software examples provided with LibFT260 download.
Best Regards,
FTDI Community
bludin:
AN_395 doesn't explain how to use the I2C flags for a read-from-register (=combined write/read operation) and the examples do not contain this either, as far as I can see.
I would expect to work the way I outlined it in my initial post, however, it is confusing that there is only an enumeration for FT260_I2C_START_STOP but not for FT260_I2C_REPEATED_START_STOP.
Thanks for your help,
Beat
Navigation
[0] Message Index
Go to full version