<?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>How to run UART using just RX, TX on custom PCB with nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82839/how-to-run-uart-using-just-rx-tx-on-custom-pcb-with-nrf52840</link><description>Hi, I want to run UART on my custom PCB module that uses Wuerth Elektronik Thyone-I module that has nRF52840 chip. The project has just a RX, TX pins (and power supply, of course) on GPIOs. How to run this kind of UART in software? it&amp;#39;s crucial that data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Dec 2021 08:42:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82839/how-to-run-uart-using-just-rx-tx-on-custom-pcb-with-nrf52840" /><item><title>RE: How to run UART using just RX, TX on custom PCB with nRF52840</title><link>https://devzone.nordicsemi.com/thread/344079?ContentTypeID=1</link><pubDate>Fri, 17 Dec 2021 08:42:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75485067-c778-48aa-ba82-00584e4a843c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;To select a pin on Port 1 you can simply offset the pin number you want with &amp;#39;32&amp;#39;. For instance, if you want to assign TX to P1.10:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_LOG_BACKEND_UART_TX_PIN (10 /* pin number */ + 32 /* Offset for port 1 */) // Select P1.10&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to run UART using just RX, TX on custom PCB with nRF52840</title><link>https://devzone.nordicsemi.com/thread/344011?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 18:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cf81797-4b80-4b40-b7e4-2cdd013f8b19</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;Thank you so much. So easy and simple!&lt;br /&gt;I have just a one additional question - in &amp;quot;sdk_config.h&amp;quot; TX pin is defined with just a number, that means pin P0.given_number. What if I want to assign some pin from P1? It&amp;#39;s impossible to include &amp;quot;nrf_gpio.h&amp;quot; file, because after this include whole code becomes &amp;quot;inactive&amp;quot; (like it&amp;#39;s inside #ifdef that&amp;#39;s false).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to run UART using just RX, TX on custom PCB with nRF52840</title><link>https://devzone.nordicsemi.com/thread/343875?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 11:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8ea606a-ab3e-46de-8c31-0999aef22cde</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d recommend using the Logger module if you only want to output data. It doesn&amp;#39;t use the RX pin either, so you only need to select a TX pin in sdk_config here:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1639655491502v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>