12-17-2017 11:56 AM
I'm using NI-845X I2C to read from a LTC4151 component register. What I need to do for a successful read is the following:
1) Write the device address ( in this case it is 0xD8) and write the register address that I want to read from ( in this case 0x02 ) for this case the R/W needs to be 0...
2) Then I need to perform the read by again writing the device address (0xD8) but now with the R/W bit set to 1 (0xD8 | 0x01).
This is what I have so far but I'm having issues with it.
Solved! Go to Solution.
12-17-2017 10:42 PM
Use 0x6C as your address. The address for the NI-845X API should not include the Read/Write bit, so you need to shift to the right one bit.
12-17-2017 10:58 PM
Thank You! that solved the issue.