<?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>Adding UART to Thread example (with CLI)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67542/adding-uart-to-thread-example-with-cli</link><description>Hi, 
 
 using: 
 SDK for thread and Zigbee 4.1.0 
 NRF52840dk 
 
 I am trying to add UART (for my custom application) to an existing Thread example with CLI. (e.g. ble_thread_dyn_hrs_coap_srv_freertos) 
 Seems like Thread prebuilt stack has assigned P0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Oct 2020 08:09:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67542/adding-uart-to-thread-example-with-cli" /><item><title>RE: Adding UART to Thread example (with CLI)</title><link>https://devzone.nordicsemi.com/thread/276563?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 08:09:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a061c8c-b175-43b2-88ac-733562cc7a15</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CLI library in OpenThread is using the UART0 instance for the CLI. If you want to use this UART instance for something else, you need to build the OpenThread libraries without CLI/UART support and remove the CLI from your application.&lt;/p&gt;
&lt;p&gt;Since you are using nRF52840, I would rather recommend that you use the second UARTE instance available, UARTE1. How to integrate this in your project depends a bit on what driver/library you want to use for configuring and controlling the UARTE instance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>