<?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>Using the UART2 with MQTT client</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83005/using-the-uart2-with-mqtt-client</link><description>I&amp;#39;m using an application based on the MQTT_CLIENT example. Without any change, it worked fine. 
 Now I tried to add UART2 as a communication channel to another controller. 
 
 Following is my added code: 
 
 void uart_cb( struct device *x) 
 { 
 uart_irq_update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Dec 2021 12:10:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83005/using-the-uart2-with-mqtt-client" /><item><title>RE: Using the UART2 with MQTT client</title><link>https://devzone.nordicsemi.com/thread/344582?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 12:10:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d043cf60-e3a6-49e5-8457-31fc7532df1f</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;What are the errors/behavior you&amp;#39;re seeing?&lt;/p&gt;
&lt;p&gt;Try enabling &amp;quot;uart2&amp;quot; in DTS, by adding a overlay file (should be located in the &amp;quot;boards&amp;quot; folder of your application, create the folder if not already present):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart2 {
    status = &amp;quot;okay&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For the DK, the filename and path should be:&lt;/p&gt;
&lt;p&gt;boards/nrf9160dk_nrf9160_ns.overlay&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind 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: Using the UART2 with MQTT client</title><link>https://devzone.nordicsemi.com/thread/344561?ContentTypeID=1</link><pubDate>Tue, 21 Dec 2021 10:59:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:603165ab-c70e-4a8d-9bbf-3d9978c1853c</guid><dc:creator>Suhas_MS</dc:creator><description>&lt;p&gt;Refer&amp;nbsp;&lt;span&gt;interrupt_handler() function given in the sample -&amp;nbsp;&lt;span class="mx-1"&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/usb/cdc_acm/src/main.c" rel="noopener noreferrer" target="_blank"&gt;zephyr/samples/subsys/usb/cdc_acm/src/main.c&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span class="mx-1"&gt;-Suhas&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>