Hello All,
I am trying to use an NI 9402 module to utilize I2C communication to talk to a compass sensor as it is stated possible here: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210637.
The fpga layer compiles succesfully, but I am recieving no indication that the communication is successful (there are lights that are supposed to blink), and the read returns nothing but 255. I have attached a screenshot from the front panel showing the parameters I am using. Taking an oscilloscope to the scl pin reveals a regular square wave as expected. The SDA line also shows data being actively changed as well (the program is indeed outputting).
The datasheet for the sensor I am using including expected communication results is shown here.
http://www.elechouse.com/elechouse/images/product/GY-26-USART%20Digital%20Compass/gy-26%20manual.pdf
Any help that could be given to get this sensor up and running would be greatly appreciated!
Thanks,
Daniel