Hi,
I am using BQ7692006PWR to fetch the cell voltages. But the cell voltage sometimes just disappears. Here are the register values:
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am using BQ7692006PWR to fetch the cell voltages. But the cell voltage sometimes just disappears. Here are the register values:
Hi Basit,
Could you explain in more detail what you mean by the cell voltage disappears?
Is there a communication failure?
Regards,
Max Verboncoeur
Hi Maxwell,
There is not a communication failure, the registers are being read correctly but the voltage starts to read 0 volts. I have tested it with Arduino and ATiny MCU, on both controllers the values starts to read zero but on ESP controllers there is no issue. The same library/code is being used.
On Arduino/ATiny the issue seems to be related to data corruption or some sync issue, as sometimes the voltages/data starts to read zero after some time like after 10-15 reads and sometimes from the start the value read is zero but after 8-9 reads the values start to come correct and then again after 12-14 correct readings it again starts to read zero. The clock signal is clean on the Arduino/ATtiny MCU.
Figured out the issue. It was an issue with the variable type in the library. The raw values were correct but when the values were converted the were going in negative. I think ESP architecture is different thats why there was no issue on ESP32 device.