nRF5340 fails to recover from intermittent AC power loss in high voltage mode (custom board)

Hardware:

  • nRF5340 on Fanstel BT40F module
  • Custom board, not a DK
  • High voltage mode: VDDH supply 5V, VREGHVOUT set to 3.3V
  • DC/DC mode
  • Power source: 120VAC mains → AC-DC converter → VDDH

Software:

  • nRF Connect SDK v3.1.0
  • Zephyr v4.1.99
  • MCUboot, Bluetooth LE, USB CDC-ACM enabled

Problem: The device fails to recover from AC power outages that allow VDDH and VDD to dip but not fully arrive at ~0v. My opinion currently is we enter an unknown state when voltage dips as described. I would like the device to recover in any situation of power loss.

Possible solutions considered:

My current understanding is that POR and BOR are not adaptable to my problem as they are set in hardware.

Also, I am aware of POFCON but knowing the power is dying and firmware will end up in an unusable state doesn't seem helpful.

Trying to avoid adding new hardware but a voltage supervisor seems like a solution.

Questions I have:

Are there any firmware solutions I am not considering?

Also based on the image below, does the voltage drop on VDD and VDDH not being quick lead you to any ideas? Is that normal?

Image below shows AC 120v  supply, VDD, VDDH and processor activity as gpio toggle.

We cycle power off in longer increment of duration to find window of power off failure.

Related