Hello,
I've been working with the MAX17263 battery gauge recently via the MAX17263 EVKIT, and I'm connecting to it and reading the SPI outputs via an NRF5340 dev kit. I also have the MAX17263 EVKIT connected to a battery and a charger. I have the device set to print out the state of charge by reading the RepSOC register and dividing it by 256. My device polls the SOC every two seconds. When I first turn the device on, it gives me an initial SOC reading, let's say 55%. After a few minutes of charging, it'll go up to 57%. If I then power cycle the device, the percentage I will see is often a few percent higher after the first power cycle, so maybe 61%. Then, if I power cycle it again, the SOC returns to 57%, or sometimes even lower than the initial value, such as 56%.
I notice this inaccuracy trend when reading the RepCap register as well. My battery has a total capacity of 250 mAh, so the DesignCap register is set to 500. After charging for a while, the capacity will be around 324 before power cycling, 337 after power cycling once, and 323 after power cycling a second time. This pattern is pretty consistent, and I've checked a lot of settings and different registers, but I'm not sure how the RepCap and RepSOC registers are calculated. What could be causing these variations? My device needs to be accurate within one percent, and I was using the RepCap to give a more detailed view of the battery state.
What controls the RepCap and RepSOC registers within the MAX17263, and what could be causing this inaccuracy?
Thanks!