Electron’s MAX17043 gives reading of SOC 256 at all times
I have a very similar issue to Issue with using Core in a new Sparkfun Battery Shield when trying to read the fuel gauge of the Electron.
I am using the SparkFunMAX17043 library and keep getting the following readings from the Electron’s fuel gauge at all times:
voltage: 5.12V
soc: 256%
This seems to be the same problem as described at Issue with using Core in a new Sparkfun Battery Shield affecting Photon, but that was supposed to be solved.
Only difference is that I never have seen a single correct reading - while most of the people reporting on that original problem stated that they have occasionally seen one.
I am using the most recent developer firmware from GitHub.
I also have a HTU21D connected, which also gives 998 readings on both humidity and temp, which is the code for I2C timeout (100ms), but there at least occasionally I get correct readings. With the fuel gauge I never do.
Might there be some I2C problems with the Electron?