Hi Support Team
Is there any samples or guidance for how to run fuel gauge algorithm of nPM1300 on other MCU? Many thanks.
Hi Support Team
Is there any samples or guidance for how to run fuel gauge algorithm of nPM1300 on other MCU? Many thanks.
Hi Menon
But the sample you mentioned is for Nordic's development kits. We don't know how to use this sample for other MCUs. Is there any other guidance for this? Many thanks.

Hi Tom.Fu ,
is is another MCU using Zephyr OS, or a different SDK?
We compile the fuel gauge library for Cortex-M3, M33, and M4, using the GCC compiler. If your MCU is based on one of those architectures and using GCC, you can link the library and use the functions in the same way as the NCS samples uses them. Just download or clone the fuel gauge library from here and pick out the relevant .a files for linking: https://github.com/nrfconnect/sdk-nrfxlib/tree/main/nrf_fuel_gauge
If your MCU has a different architecture, we can try add it to the list of architectures we compile for. I cannot make any promises in this regard, as it depends on the specific architecture and compiler you are using.
We do have a sample that uses the npmx bare metal driver together with the fuel gauge. This would be relevant if you have a non-NCS/Zephyr environment: https://github.com/NordicSemiconductor/npmx-zephyr/tree/main/samples/fuel_gauge
Best regards,
Audun
Hi Audun
Many thanks. But the following links sample that uses the npmx bare metal driver together with the fuel gauge looks like a zephyr one and we can not compile it.
https://github.com/NordicSemiconductor/npmx-zephyr/tree/main/samples/fuel_gauge


Hi Audun
Many thanks. But the following links sample that uses the npmx bare metal driver together with the fuel gauge looks like a zephyr one and we can not compile it.
https://github.com/NordicSemiconductor/npmx-zephyr/tree/main/samples/fuel_gauge

