<?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>nRF52840 Preview DK program custom board issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33741/nrf52840-preview-dk-program-custom-board-issue</link><description>Hi, 
 
 I am trying to run/debug my code in the nRF52840 on my custom board. For that, I connect 4 signals from P20 to my board: VDD nRF to VDD, GND DETECT to GND, SWD IO to SWDIO, and SWD CLK to SWDCLK. I also short pins 2 &amp;amp; 3 of P20 (VDD nRF with VTG</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 04 Mar 2023 18:09:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33741/nrf52840-preview-dk-program-custom-board-issue" /><item><title>RE: nRF52840 Preview DK program custom board issue</title><link>https://devzone.nordicsemi.com/thread/413369?ContentTypeID=1</link><pubDate>Sat, 04 Mar 2023 18:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76b84e15-887c-4ba3-956c-6e1134a3e20d</guid><dc:creator>kobyfr</dc:creator><description>&lt;p&gt;that&amp;#39;s it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Preview DK program custom board issue</title><link>https://devzone.nordicsemi.com/thread/129912?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 10:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1cb13c-ba09-4310-8c1f-6dccddab35b5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;The SW9 when in position &amp;quot;USB&amp;quot;, tells the system that the nRF shall be powered from the USB port (&amp;quot;nRF USB&amp;quot; J3), as &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/development/nrf52840_pdk/power_source.html?cp=2_0_3_7_2_3"&gt;described here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you want to debug and have USB connected on your external board, I recommend doing it like you&amp;#39;re doing now, and connect an additional USB cable to your custom board.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Preview DK program custom board issue</title><link>https://devzone.nordicsemi.com/thread/129660?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 06:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18ea052d-7e35-4713-8c52-8bc058bc047e</guid><dc:creator>adragocelestica</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That was it, now I am finally able to download my code to my board. I wonder if now I can do this while powering my board from the USB connector on my board. I see the interruptor&amp;nbsp;SW9, with the USB option, and I would like to try to put it to USB and then connect my board to the USB, while connected to the evaluation board, and debug the functionality of my code. Would that be correct, or it would break something? If not, how can i do that? Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Preview DK program custom board issue</title><link>https://devzone.nordicsemi.com/thread/129564?ContentTypeID=1</link><pubDate>Tue, 24 Apr 2018 12:31:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07809edd-5620-4750-9710-c1761f25e6b8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By shorting SB47, you are permanently applying power to header &lt;strong&gt;P19&lt;/strong&gt;, not header P20.&lt;/p&gt;
&lt;p&gt;In order to use P20, you need to revert this short on SB47.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The logical switch on P20 is the &amp;quot;VTG&amp;quot; pin. If you short this with the neighboring pin &amp;quot;VDD_NRF&amp;quot;, you will enable P20 (but first; revert the above mention SB).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>