2022-07-26 12:13 AM
Hello,
I am facing a strange issue. I have a SMBUS battery and a LTC4100 battery charger chip connected to the micro controllers I2C1 configured as SMBUS. The charger has address 0x12 and the battery has 0x16. All communication is going correctly and I am able to read and write required registers of the battery as well as the LTC4100 charger IC.
The problem however, is a case when the battery is not connected. In this case, triggering a read from the battery for some reason hits the RX interrupt and my flags are set.
I would expect that when the battery is disconnected, the RX interrupt for a SMBUS word read should not be triggered. And possibly, the TX interrupt should not be triggered either
I am following the below sequence for reading a word of data from the battery
Please let me know what I am missing here. I thank you in advance for the help.
Makarand Deshmukh