If your custom board has a 10-pin Arm® Cortex® Debug Connector, connection to P19 is recommended.
Connect the boards as shown in the following figure.
When the interface MCU detects that the ground pin 3 (GND) of P19 is pulled low, it programs or debugs the target chip on the external board instead of the onboard nRF5340 System on Chip (SoC).
If it is inconvenient to have a separate power supply on the external board, the nRF7002 DK can supply power through the Debug out connector P19. To enable this, short solder bridge SB47.
Pin number | Signal | Description |
---|---|---|
1 | SWD0_VTG | Voltage supply from the external target |
2 | SWD0_SWDIO | Serial Wire debug Data Input/Output |
3 | SWD0_SELECT | Ground |
4 | SWD0_SWDCLK | Serial Wire Clock line |
5 | GND | Ground |
6 | SWD0_SW0 | The Serial Wire Output (SWO) line is not needed for programming and debugging over SWD |
7 | N.C. | Not used |
8 | N.C. | Not used |
9 | SWD0_GND_DETECT | Ground detect |
10 | SWD0_RESET | Reset line |