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

NRF9160 POFWARN

Hi,

I was investigating the registers of the nrf9160 using segger embedded studio and found POFCON, which is not mentioned in the documentation.

Can you provide the documentation for this? Also, what is the best way to get access to the POFWARN interrupt? From what I see nrf_power_clock.c is using the interrupt for the clock without allowing access to the power interrupts? 

Kind regards,

Thomas

Parents
  • Hi Thomas

    Sorry for the late reply,  but it took some time getting an official statement on this. The POFCON register can be found in nRF91 projects because the power failure warning mechanism is supported as an AT-command from MFW v1.2.1 and onwards. It is described in documentation format in the nRF91 AT Commands reference guide (section 5.27 External Power off warnings %XPOFWARN).

    Best regards,

    Simon

  • I see, then how are we meant to be able to detect brownouts? I was planning on using the interrupt to quickly set one of the general purpose registers and reset the system. Without something like that and with no differentiation between power on and brown out resets in the reset reason register I am at a loss.

Reply Children
No Data
Related