Part Number: LM5171
Other Parts Discussed in Thread: USB2ANY
Hello,
I am trying to establish an I2C connection between a LM5171 and a microcontroller.
The issue I run into is that when I try to read DEVICE_STATUS_1 (D0h), I read back DEVICE_STATUS_2 (D1h). I change the values of OPT and SD and see the value change in my D0h reading.
But if i try to read D1h or even 78h, I always read back 0, which doesn't reflect the real physical status.
My CFG resistor is 0.
Start, h40 [ h20 | WR ], hD0, Stop
Start, h41 [ h20 | RD ], h38 NAK, Stop
h38 here is what should be in D1h ( OPT, SS1_DONE and SS2_DONE are high )
Start, h40 [ h20 | WR ], hD1, Stop
Start, h41 [ h20 | RD ], h00 NAK, Stop
Start, h40 [ h20 | WR ], h78, Stop
Start, h41 [ h20 | RD ], h00 NAK, Stop
I can't seem to find what I'm doing wrong, Thank you.
Thank you.