<?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>No TX activity for uart1 configuration on modified echo_bot example with nRF Connect SDK v2.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92332/no-tx-activity-for-uart1-configuration-on-modified-echo_bot-example-with-nrf-connect-sdk-v2-1-0</link><description>Hello, 
 I&amp;#39;m having trouble getting the echo_bot example running over uart1 using an nRF52840 DK with nRF Connect SDK v2.1.0. I&amp;#39;ve configured a device overlay to configure uart1, enabled the interrupt driven config for uart1 and modified main.c to use</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Jul 2023 12:17:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92332/no-tx-activity-for-uart1-configuration-on-modified-echo_bot-example-with-nrf-connect-sdk-v2-1-0" /><item><title>RE: No TX activity for uart1 configuration on modified echo_bot example with nRF Connect SDK v2.1.0</title><link>https://devzone.nordicsemi.com/thread/438741?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:17:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5daeef1a-6672-4c35-afdf-68ee0534edb5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please submit your question in a new ticket. And remember to include details about your setup. E.g. SDK version, what serial client you use, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TX activity for uart1 configuration on modified echo_bot example with nRF Connect SDK v2.1.0</title><link>https://devzone.nordicsemi.com/thread/438740?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9bf9273-0853-4086-971e-06c370891086</guid><dc:creator>Aayushi Kanojiya</dc:creator><description>&lt;p&gt;I am running default code of echo_n=bot on nrf52840-dk board but it is not showing any output by giving input on console&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TX activity for uart1 configuration on modified echo_bot example with nRF Connect SDK v2.1.0</title><link>https://devzone.nordicsemi.com/thread/388374?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 13:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa530af4-67f1-48de-a189-dc8073317ab2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for making me aware of this issue and sorry for the confusion caused by it. I will follow up internally to get the docs fixed. This is clearly a documentation error as the suggested overlay does not match the configuration used in our board files which have 2 groups for UART as you can see here &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/97c4a1a6d1bda83f0272d9bbf68b211efadc7b4a/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840-pinctrl.dtsi#L29"&gt;link&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;With the overlay given in the documentation, only group1 with the RX pin will be overridden. The TX pin in group2 will remain unchanged.&lt;/p&gt;
&lt;p&gt;Grouping is needed when you need to apply a specific property for some of the pins. Like for UART0 where we want to enable pull-up on UART RX and CTS, but not on the TX and RTS line.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TX activity for uart1 configuration on modified echo_bot example with nRF Connect SDK v2.1.0</title><link>https://devzone.nordicsemi.com/thread/388213?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 17:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d49c7c0-faa2-40ad-aa32-5e08238437a2</guid><dc:creator>jeraymond</dc:creator><description>&lt;p&gt;That fixed the problem, thanks! This looks to be a bug in the documentation I pulled the example overlay from (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/boards/arm/nrf52840dk_nrf52840/doc/index.html#using-uart1"&gt;here&lt;/a&gt;). What&amp;#39;s the best way to get the docs fixed?&lt;/p&gt;
&lt;p&gt;What does group1 and group2 represent in the overlay; could you point me to the docs on the uart configs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No TX activity for uart1 configuration on modified echo_bot example with nRF Connect SDK v2.1.0</title><link>https://devzone.nordicsemi.com/thread/388202?ContentTypeID=1</link><pubDate>Tue, 27 Sep 2022 15:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c8bd128-c271-4a85-80df-2f73bef575dc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It looks like you are missing the second group for the default state in your overlay. Please try this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;amp;pinctrl {
	uart1_default: uart1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 14)&amp;gt;;
		};
        group2 {
            psels = &amp;lt;NRF_PSEL(UART_RX, 0, 16)&amp;gt;;
        };

	};
	/* required if CONFIG_PM_DEVICE=y */
	uart1_sleep: uart1_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 14)&amp;gt;,
					&amp;lt;NRF_PSEL(UART_RX, 0, 16)&amp;gt;;
			low-power-enable;
		};
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can also route &amp;#39;zephyr_shell_uart&amp;#39;&amp;nbsp; to uart1 if you override &amp;quot;chosen&amp;quot; like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/ {
    chosen {
        zephyr,console = &amp;amp;uart1;
		zephyr,shell-uart = &amp;amp;uart1;
    };
};
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>