-
Hello. I am trying to read status registers from my device and they don't clear faults automatically. The I2c chip LM5066I has a register for clearing status registers, but I cannot figure out how to invoke it as it is neither a read nor a write register. I tried just using the read register function and the write register function putting in "CLEAR_FAULTS" but that doesn't seem to work. Can anyone help me understand how I might make sure the clear faults register gets activated correctly? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello. I've never worked with that chip. According with the datasheet, you just send the command 03h. No need to read or write any more data. Try the SMBus compatible class. If it doesn't work, try raw I2C commands to debug the issue. |
Beta Was this translation helpful? Give feedback.
Oh I figured it out now. I need to use the smbus _write command and put the i2c address for address and the clear faults '0x03' for data.
this seems to work! thank you.