<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Questions related to nRF52840 DK on-board debug out header (P19)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115952/questions-related-to-nrf52840-dk-on-board-debug-out-header-p19</link><description>Hello, 
 I&amp;#39;m designing a custom board with an nRF52840. I currently have an nRF52840 DK (PCA10056, v3.0.1) and would like to use the on-board debug out header (P19) to program/debug the nRF52840 on my custom board. I&amp;#39;m aware that the pinout for the debug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Nov 2024 13:36:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115952/questions-related-to-nrf52840-dk-on-board-debug-out-header-p19" /><item><title>RE: Questions related to nRF52840 DK on-board debug out header (P19)</title><link>https://devzone.nordicsemi.com/thread/508815?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 13:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a6a24dd-aaa9-44c8-a385-90477cc08a6c</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Q1) If I&amp;#39;m using the P19 debug out header, is SWD0_SEL supposed to be connected to GND or 3V0 on the custom board?[/quote]
&lt;p&gt;SWD0_SEL must be connected to GND for the debugger to use the debug out connector.&lt;/p&gt;
[quote user=""]Q2) I don&amp;#39;t want to power my custom board using the nRF52840 DK while programming/debugging it, is that okay? If so, am I supposed to short SB19 and connect VREF on pin1 which is 3V0 to VIO_REF and leave SB47 open (VDD isn&amp;#39;t connected to VREF). I have attached an image below for reference&lt;br /&gt;[/quote]
&lt;p&gt;If your custom board is powered with 3V externally there&amp;#39;s not need to modify any of the solder bridges on the nRF52840 DK, as it will by default use 3V for the SWDIO and SWDCLK lines.&lt;/p&gt;
[quote user=""]Q3) If SWD0_SEL has to be connected to GND on the custom board, would I also be able to use a J-Link Lite CortexM external debugger since the pinout would be the same. (TDI isn&amp;#39;t used in SWD). I just wanna confirm and make sure I understand this properly. I have attached an image of the J-Link&amp;#39;s debug header pinout below.&amp;nbsp;[/quote]
&lt;p&gt;Yes, there&amp;#39;s no issues using a J-Link external debugger with pin 3(SWD0_SEL on the DK) connected to ground.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Questions related to nRF52840 DK on-board debug out header (P19)</title><link>https://devzone.nordicsemi.com/thread/508460?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2024 08:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb2b49ce-891c-46f8-80da-61f4e40e1a53</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;You can check out the nRF52832 DK user guide as that has the correct wiring setup for the DK you have.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>