Good day!
We are trying to read state of charge continuously and display it on the screen.
following commands are sent consecutively viaI2C
Send: 0xAA 0x02
Send: 0xAB
Read: 1 Byte
above mentioned command are observed to be sent correctly without error.
The problem is that when we first read State of Charge the read value is believed to be true however, the value does not change (or change negligibly over a long period of time). In the midst of this process if SOC is observed via Battery Management Studio, SOC value starts from the very exact value that was observed previously from microporcessor (ARM-Cortex M3) but it decays as expected (reasonably) without any error.
We failed to understand what happens to be the reason for the failure in reading SOC with microprocessor via I2C communication protocol.
We would appreciate any help.
Regards,