We follow the youtube video: www.youtube.com/watch
to add battery charging and fuel gauging to our nRF52832 Series project.
It works, but after we enable
CONFIG_PM_DEVICE=y
CONFIG_PM_DEVICE_RUNTIME=y
at prj.conf, we found it fail to init the npM1300 PMIC and so the battery charging and fuel gauging feature not working.
After we do some investitageion, we found the root cause is by CONFIG_PM_DEVICE_RUNTIME=y.
if CONFIG_PM_DEVICE_RUNTIME=y, the I2C bus will be interupted and cause npM1300 PMIC init fail.
It is expected? How to fix this issue?
The NCS SDK we using is 2.9.2 and the Toolchain is also 2.9.2.