I2C WriteRead with no restart, IoT libraries and FT4232H device
Hi everyone,
I am porting an app and trying to use the FTDI Ft4232H device to communicate to some I2C devices.
When I use the “old” dongle(going to be obsolete) and I2C call to the device, I get the correct transaction and read results from the device.
However, when I use the IoT libraries and the “WriteRead” command to do the same thing, the library issues a restart and the transaction fails.
Can anyone help or point me to:
A library that does a correct multi byte read without a restart?A way to do this with the current IoT libraries?
Here are the “using” statements in my C# code:
using Iot.Device.FtCommon;
using Iot.Device.Ft4232H;
using System.Device.I2c;
Cheers,
Steve
Hi everyone,I am porting an app and trying to use the FTDI Ft4232H device to communicate to some I2C devices.When I use the “old” dongle(going to be obsolete) and I2C call to the device, I get the correct transaction and read results from the device. However, when I use the IoT libraries and the “WriteRead” command to do the same thing, the library issues a restart and the transaction fails.Can anyone help or point me to:A library that does a correct multi byte read without a restart?A way to do this with the current IoT libraries?Here are the “using” statements in my C# code:using Iot.Device.FtCommon;using Iot.Device.Ft4232H;using System.Device.I2c; Cheers,Steve Read More