FX3 IIC read incorrect data from sensor IIC interface | Cypress Semiconductor
FX3 IIC read incorrect data from sensor IIC interface
My problem is that i can not read correct data from my sensor IIC interface with your code in USB Video sample. I can write my data into sensor,and i can capture it with the oscilloscope. I ensure that the data written is correctly put into sensor ,and sensor can response ACK to my FX3 IIC interface .But what matters is the data read from sensor is incorrect,(I operated the same register). I need your help ! Just let me know what the problem with my read?
Result is : 0x09,0x18 Not my desired data,0x10,0x10
Sensor:MT9P031 its write timing used 0xBA ,read timing used 0xBB . So my IIC slave address_wr is 0xBA ,IIC slave address_r 0xBB
Need help now , thanks in advance.