<?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>I want to move the UART on thingy91:nRF9160.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70696/i-want-to-move-the-uart-on-thingy91-nrf9160</link><description>I want to move the UART on thingy91:nRF9160. 
 prj_thingy91_nrf9160ns.conf added the following two line. 
 CONFIG_UART_ASYNC_API=y CONFIG_NRFX_UARTE0=y 
 The asset_tracker added to the main function of the sample as follows. 
 /* Initialize the UART module</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Jan 2021 10:04:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70696/i-want-to-move-the-uart-on-thingy91-nrf9160" /><item><title>RE: I want to move the UART on thingy91:nRF9160.</title><link>https://devzone.nordicsemi.com/thread/290969?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 10:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb673382-3d88-43c0-98ac-5ce468cd71ca</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Take a look at&amp;nbsp;ncs\zephyr\tests\drivers\uart\uart_basic_api\src\test_uart_poll.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to move the UART on thingy91:nRF9160.</title><link>https://devzone.nordicsemi.com/thread/290907?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 02:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4aecc61-ebab-467f-9e0e-4103dc236419</guid><dc:creator>MakotoKoike</dc:creator><description>&lt;p&gt;I&amp;#39;m going to give up on callbacks and make it a polling process.&lt;/p&gt;
&lt;p&gt;Is there a sample that is polling?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to move the UART on thingy91:nRF9160.</title><link>https://devzone.nordicsemi.com/thread/290379?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 02:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d220fa36-c9f3-4c0b-b7d3-1006e8c1d71e</guid><dc:creator>MakotoKoike</dc:creator><description>&lt;p&gt;Thank you for answering.&lt;/p&gt;
&lt;p&gt;I changed it to UART1 and went running, but the phenomenon did not change.&lt;/p&gt;
&lt;p&gt;prj_thingy91_nrf9160ns.conf changed as follows:&lt;/p&gt;
&lt;p&gt;CONFIG_UART_ASYNC_API=y&lt;br /&gt;CONFIG_NRFX_UARTE=y&lt;br /&gt;CONFIG_NRFX_UARTE1=y&lt;br /&gt;CONFIG_NRFX_SPIM=n&lt;br /&gt;CONFIG_NRFX_SPIS=n&lt;br /&gt;CONFIG_NRFX_TWIS=n&lt;br /&gt;CONFIG_NRFX_TWIM=n&lt;/p&gt;
&lt;p&gt;thingy91_nrf9160_common.dts has not changed.&lt;/p&gt;
&lt;p&gt;It is set as follows:&lt;/p&gt;
&lt;p&gt;chosen {&lt;br /&gt; zephyr,console = &amp;amp;uart0;&lt;br /&gt; zephyr,shell-uart = &amp;amp;uart0;&lt;br /&gt; zephyr,uart-mcumgr = &amp;amp;uart0;&lt;br /&gt; };&lt;br /&gt; &lt;br /&gt;&amp;amp;uart0 {&lt;br /&gt; compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;&lt;br /&gt; current-speed = &amp;lt;115200&amp;gt;;&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; tx-pin = &amp;lt;18&amp;gt;;&lt;br /&gt; rx-pin = &amp;lt;19&amp;gt;;&lt;br /&gt; rts-pin = &amp;lt;20&amp;gt;;&lt;br /&gt; cts-pin = &amp;lt;21&amp;gt;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;amp;uart1 {&lt;br /&gt; current-speed = &amp;lt;1000000&amp;gt;;&lt;br /&gt; status = &amp;quot;okay&amp;quot;;&lt;br /&gt; tx-pin = &amp;lt;22&amp;gt;;&lt;br /&gt; rx-pin = &amp;lt;23&amp;gt;;&lt;br /&gt; rts-pin = &amp;lt;24&amp;gt;;&lt;br /&gt; cts-pin = &amp;lt;25&amp;gt;;&lt;br /&gt;};&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to move the UART on thingy91:nRF9160.</title><link>https://devzone.nordicsemi.com/thread/290292?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:12:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9364891d-348f-49ae-a0f6-9de91d242cb0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Are you able to use another UART instance than 0? Instance 0 is used for logging, and I assume it causes some issue when you change the callback handler. Remember to configure the UART instance in an overlay file, if not already configured in the dts board files (&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/master/boards/arm/thingy91_nrf9160/thingy91_nrf9160_common.dts"&gt;nrf/boards/arm/thingy91_nrf9160/thingy91_nrf9160_common.dts&lt;/a&gt;). Also, make sure to disable the SPIM/SPIS/TWIS/TWIM peripherals of the same instance (TWI=I2C).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>