Connecting SWD Pins from nRF52840 to Custom Board - Need Assistance

Hello Nordic DevZone,

I am working with an nRF52840 (from the nRF52840-DK) and I am in the process of connecting the SWD interface to my custom board. I have the following pins available:

  • SWDIO
  • SWDCLK
  • RESET
  • GND
  • SWDOSEL (which I understand may not be necessary for basic SWD debugging)

Additionally, I need to confirm if it is required to short VDD and REF on the nRF52840-DK board to enable proper operation. I would appreciate clarification on this as well.

I would like to confirm the proper connections to my custom board and ask for clarification on the following:

  1. Do I need to connect SWDOSEL to anything specific, or can it be left unconnected?
  2. Should I connect RESET from the nRF52840 to my custom board's reset line, or is there an alternative method?
  3. Are there any other important considerations when connecting the SWD interface to my custom board?
  4. Is it necessary to short VDD and REF on the nRF52840-DK for this connection to work properly?

Thank you for your help!

Related