NRF52832 - LPCOMP wakeup example


Martin Kozusky
 

Hello,
does anybody have working example of using LPCOMP in NRF52832 to wakeup MCU from sleep mode (when input voltage gets above setup voltage) and then read somewhere that it has been woken by LPCOMP interrupt (and if possible, also the voltage of analog input when it was triggered, but I don't see register for this value in datasheet)

I see there is NRFX_LPCOMP config, but how can I use that?

Thank you,
Martin

Join users@lists.zephyrproject.org to automatically receive all group messages.