<?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>Custom Board with UART and SWD</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64413/custom-board-with-uart-and-swd</link><description>I am looking to build a custom board using nrf52840 and want both UART and flashing capabilty on the custom board. I have a NRF52840dk that I will use to program the custom board and act as an interface for uart for the custom board. I am planing on using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Aug 2020 12:40:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64413/custom-board-with-uart-and-swd" /><item><title>RE: Custom Board with UART and SWD</title><link>https://devzone.nordicsemi.com/thread/263002?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2020 12:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a26dc51-edaa-4b9e-ad36-3d75ada474e0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;- I don&amp;#39;t power the custom board via usb and power it using a battery and connect all other pins to the DK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is an ok option.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]- I use RTT instead of UART for communication and data transfer that would take four pins.&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;What kind of communication are you thinking of? The RTT interface is only meant to be used for debugging and should not replace UART as a communication interface in a final product.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;[quote user=""][/quote]&lt;/p&gt;
&lt;p&gt;- If there is a way to use the swd pins for uart.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;No, not really. The pins are dedicated for SWD.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Adding an extra pin header would also solve this issue :)&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>