This setup is to be used during the design and optimization phase when no custom
hardware is available yet. The SEGGER J-Link debugger on the nRF5 DK is used for
debugging.
Because the SEGGER J-Link of the nRF5 DK is used for debugging, an additional SEGGER J-Link is
needed to connect the PPK to your computer. This could be either another nRF5 DK with an
onboard SEGGER J-Link or a standalone SEGGER J-Link which can be purchased separately from
SEGGER J-Link Software.
The configuration for this use case is shown in the following figure.
Figure 1. Measuring current on the nRF5 DK with debugging
Make sure that the following are configured:
- The PPK is connected to the nRF5 DK board as described in Connecting the Power Profiler Kit to an nRF5 DK.
- The DUT select switch (SW2) is in the DK position.
- The Power select switch (SW4) is in the DK position.
- The USB cable is plugged into the USB connector on the nRF5 DK and connected to a computer
running the debugging software.
- The additional SEGGER J-Link is connected to the Debug in connector
(P21) on the PPK, using the 10-pin flat cable. The USB cable is plugged into
the SEGGER J-Link and connected to a computer running the Power Profiler app.
- The COM switch (SW3) is in the EXT position.
Note: Power consumption may be higher for devices during debugging than in normal operation. The
difference depends on what is active at any given time. This is caused by the clocking of the
debug interface and constantly powering sections of the device that are independent of the
operation of the part. When debugging, accurate power consumption cannot be measured, but
software issues can be detected.