Hi,
I need to configure an nRF52832 to wake up periodically from SYSTEM_ON and SYSTEM_OFF and, also, when a GPIO pin changes.
Where can I find sample code and docs for this?
I'm using nRF Connect SDK version 1.9.1 and Visual Studio Code.
BR
Hi,
I need to configure an nRF52832 to wake up periodically from SYSTEM_ON and SYSTEM_OFF and, also, when a GPIO pin changes.
Where can I find sample code and docs for this?
I'm using nRF Connect SDK version 1.9.1 and Visual Studio Code.
BR
Hi
These are spikes caused by noise from the USB port.
You have two options, either unplug the USB cable and power the DK with a clean supply on the power supply header. Then you can measure current going through the current measurement header with the PPK2 in ampere meter mode.
Alternatively you can leave the USB plugged in, but then you will have to power the nRF52 from the PPK using source meter mode. Connect the GND from PPK to GND on the DK, and VOUT from the PPK to the nRF52 side of the current measurement header (the pin closest to the debug out header). Then you need to adjust the PPK2 output voltage to match the VDD voltage on the DK exactly. I believe it should be around 2.7V.
Best regards,
Simon
Hi
These are spikes caused by noise from the USB port.
You have two options, either unplug the USB cable and power the DK with a clean supply on the power supply header. Then you can measure current going through the current measurement header with the PPK2 in ampere meter mode.
Alternatively you can leave the USB plugged in, but then you will have to power the nRF52 from the PPK using source meter mode. Connect the GND from PPK to GND on the DK, and VOUT from the PPK to the nRF52 side of the current measurement header (the pin closest to the debug out header). Then you need to adjust the PPK2 output voltage to match the VDD voltage on the DK exactly. I believe it should be around 2.7V.
Best regards,
Simon
Hi,
I'm starting to think on the possibility of PPK/DK not working properly for some reason (maybe me).
Here are how I connected the PPK-II and the nRF52 DK for Source Meter mode. One with the USB connected to the DK, the other without.

Here attached are also the ppk capture files.
I have SB9 open in the DK and uploaded same project I attached previously.
I configured VOUT for 2.75V in the PPK, but I've seen a strange bahaviour, the SoC is not reset when powered from the PPK only. I tested from 2.0V to 3.2V with same results: I needed to power from USB with the PPK VOUT active, then remove the USB plug. After doing this the app behaved like expected, wake up on pressing BTN1, then going to "low power".
I didn't check voltage across P0.21/RESET, but I think the nRF is not been reset when the SAM (U2) is not powered.
Enabling and disabling power output from the PPK did enable and disable the PPK voltage output, checked with voltmeter at DC4 pin (C10 in the DK) and had 1.24V, and also had the same VOUT voltage at VDD pin (C9 in the DK).
Is the PPK-DK wiring correct? Am I missing something? Is there any need to change anything the compiler/project options for the board so anything else is initialised in the silicon?
BR