Hello,
I am working on a C driver for the STM32G0 and the BQ25703A.
https://github.com/AlexKlimaj/LiPow-Firmware/blob/master/Inc/bq25703a_regulator.h
https://github.com/AlexKlimaj/LiPow-Firmware/blob/master/Src/bq25703a_regulator.c
Everything is working for the most part. The current readings are relatively accurate and stable below 2A.
However, once I start pushing the charge/input currents above 2A, the current readings will be correct for a short time <30 seconds, then they are wrong by about 1/2 after that. They stay like that until I stop charging for a while then start again. They are correct for a short time again until they are wrong. If I don't wait long enough between stopping and starting charging, they will still be wrong.