This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Programming nRF52840 SOC with SWD

Hi everyone,

I am developing a custom PCB that will integrate the nRF52840 SOC. More specifically I will use the MDBT50Q-1MV2 module from Raytac that is approved by Nordic.

I will program the chip with SWD. What I have understand so far is that four pins are required for programming and one pin to send data on serial monitor over UART.

To program:

1. VDD

2. SWCLK

3. SWDIO

4. GND

To serial print:

To serial print data (using printf) I have to use the SWO pin.

I am correct so far? SWO pin is enough for visualing data (e.g using PUTTY)?

I will use the J link EDU mini debbuger along with a 10pin IDC cable

Are these equipement enough for programming the nRF52840 IC?

I also noticed that there is a RESET pin on the 10pin SWD connector. I assume that this pin is to reset the nRF52840.

What is the purpose of this pin on the SDW connector? I mean, looking the J link EDU mini I cannot see any push botton connected on the RESET pin...

Lastly, this Link suggests that a 100k pull up resistor must be used with the SWDIO and a 100k pull down resistor must be used with the SWCLK.

Looking the schematic of nRF52840 Dev. Board I see that no pull up and pull down resistors are been used for SWDIO and SWCLK.

Should I use these resistors? Maybe they are included inside the MDBT50Q-1MV2 module?

Thanks in advance

Nick

Parents Reply Children
Related