Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C protocol implementation NI cRIO 9082 - NI9401

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.

Download All
0 Kudos
Message 1 of 1
(6,765 Views)