Hi All,
I am implementing I2C protocol using NI9401 on Ni cRIO FPGA to read a smart battery data. I have connected 10Kohm as pullup resistor for SCL and SDA lines with 5V supply.The slave contoller communicates data at 52KHz and the read word protocol is implemented using SMBUS V1.1
The data writing is succesful but the read is always FF.
Please find the implemetation attached.Please kindly suggest.The stop bit is not implemented in the file attached.