PIC16LF18326 I2C/SMBus powering through SDA/SCL
I spent a day tracking down this issue- I am using a PIC16LF18326 to implement a smart battery interface to a laptop computer. Overall the project is working well. The 16LF18328 (I2C master mode) works with a MAX17261 battery gas gauge via I2C channel 1, and the computer SMBus via I2C channel 2 (I2C slave mode). Both the 16LF18326 and MAX17261 can detect a Power-On Reset (POR). I discovered that when the computer is connected to its external power supply and the SMBus is still operating internally that disconnecting the common power (+3.3v) to the 16LF18326 and MAX17261 did not cause the 16LF18326 to stop running or the MAX17261 to report a POR when re-applying power. The system is all 3.3 volt based and both parts draw very low power. It appears that the SMBus SCL and SDA lines continue clocking high while communicating with the 16LF18326... those lines are pulsing approximately 1.5-2.0 volts on the 16LF18326 Vdd pin keeping the parts active. I`ve looked at every power path to the two parts and it is removing the I2C channel 2 SCL & SDA that resolves the strange voltage at Vdd and shuts it down. Bizarre. So, I am looking for a simple solution to this problem. I can get around the issue with the 16LF18326 by enabling the BOR at the high volts setting. Ideally the battery (+12v) that supplies the volts (regulated 3.3) that go to the 16LF18326 and MAX17261 would never disconnect in normal operation with the computer also being powered but I want the circuit to be able to handle all possibilities.