My nRF52840 Module keeps resetting after I changing the mode to LDO

Hi.

I made the smallest system module using nRF52840. The schematic diagram is as follows.

My reference design for power supply is as follows,

For Firmware.

I copied the routine nRF Desktop in nRF Connect SDK V3.0.2 for test and added the following code to switch internal power supply to LDO in app.overlay.

At the same time I added the following code for test in the same file.

My module looks like keeps resetting after I burn the firmware, according to the waveform of P0.12.

May I ask how I can make the routine run normally on my module?

Related