My setup:
- nRF52840 Preview DK (though i have tried this on a newer version too)
- 3.3V separate supply
- DMM (Agilent 34465A)
DK Connections:
- SW9 is set to "USB"
- SW6 is "Default" (doesn't make a difference either way)
- USB cable is connected to J3
DK SW:
- while(1) loop
Steps to replicate issue:
1. Power up DK, it should draw about 6.2mA through P23.
2. Connect 3.3V to P0.03 (or any other available pin), and the current measured at P23 will drop to almost 0.
Why does this occur? I don't want the nRF52 to draw power through a GPIO in high voltage mode. It has a 5V supply it can use...
The only "solution" I found is setting REGOUT0 to 0xFFFFFFFD, however, I don't know what the implications of doing this are.