This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BATTERY LEVEL MEASUREMENT ON CUSTOM BOARD

Hi Nordic,

For battery_level measurement on the SDK we are using a timer such that for every 5 seconds or 10 seconds if the timer expires then the saadc will be triggered for sampling the voltage which we then pass it to percentage level conversion function of SDK to know a particular level of the battery.

Is there any interrupt support in the SDK for doing battery_level measurement instead of the using the timer such that as soon as the voltage drops from the battery to our required level an interrupt will be triggered and that corresponding interrupt handler gets executed???

Could you please guide through an example or related example if there is an availability  for interrupt support on the SDK for battery_level measurement??

IDE: Segger Embedded Studio

Board: Custom Board based on nRF52832

SDK:14.2

Softdevice:S132 , Version - 5.0.0

Computer Platform:Windows10

Thanks and Best Regards,

Susmith

Parents Reply Children
Related