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

How can I read out the actual value of the power supply, using the low power comparator?

Dear all,

I need to read out the voltage of the battery that supplies my nrf52. From what I have read I see that there are 2 options: LPCOMP and ADC.

Due to restrictions that I have because of my hardware, I cannot add any exteranl components in order to add the voltage divider. So I need to use the LPCOMP.

I have checked the SDK example, but I don't see how to actually read out the value. Searching around has only revealed to me there is a way to trigger an event when the supply voltage falls under a certain value. But what do I need to do in order to measure the value of the supply voltage?

Parents Reply Children
Related