Hi,
We are trying to use the accumulated charge data in DASTATUS6() registers and are having trouble decoding the data in userAh. (Specifically with 4 bytes being Integer and 4 bytes being fraction.)
Is there any sample code that shows how to interpret the data bytes 0-7 read from transfer buffer in to the accumulated value.
When I reset with the RESET_PASSQ command, the data from buffer looks like this - "0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0x7F". Is this the right data and how does this correspond to the 0.5userAh reset value that is expected on the 4 byte fraction data. Attached image for reference.
Look forward to your assistance.
Best
Amith