<?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>nrf9160dk board UART Communication between nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63640/nrf9160dk-board-uart-communication-between-nrf52840</link><description>I am trying to use a uartpipe as described here 
 https://devzone.nordicsemi.com/f/nordic-q-a/58034/uart-communication-between-nrf52840-and-nrf9160-on-nrf9160-dk/235304#235304 
 for the 9160 image: 
 prj.conf: CONFIG_UART_PIPE=y CONFIG_UART_PIPE_ON_DEV_NAME</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Jul 2020 09:50:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63640/nrf9160dk-board-uart-communication-between-nrf52840" /><item><title>RE: nrf9160dk board UART Communication between nrf52840</title><link>https://devzone.nordicsemi.com/thread/260521?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 09:50:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26b47c75-d824-4c32-b50f-34299485046a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure about the stability of the pipe solution, as I&amp;#39;m not too familiar with it. It certainly seems much easier to use&amp;nbsp;compared to&amp;nbsp;&lt;em&gt;drivers/uart.h,&lt;/em&gt; as it only has three functions in its API (&lt;em&gt;zephyr\include\drivers\console\uart_pipe.h&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;Could you try to ask about it &lt;a href="https://lists.zephyrproject.org/g/devel/topics"&gt;here&lt;/a&gt;? If you don&amp;#39;t receive any answers there I can do some investigations and get an overview of what the best option for you would be.&lt;/p&gt;
&lt;p&gt;If you have problems with your solution, you could upload it as a zipped file, and I can try to look into it.&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><item><title>RE: nrf9160dk board UART Communication between nrf52840</title><link>https://devzone.nordicsemi.com/thread/260012?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 03:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0a3697d-b842-461f-9783-5736f7e4c21d</guid><dc:creator>anees</dc:creator><description>&lt;p&gt;So I found that the dts overlay really doesnt work. I did update the necessary pin changes directly on the respective board dts files and I can see the pipe established and communication happening between the two sides. There is no crashes are happening. However I am not sure we are receiving correct data on either side. Having seen your response, I am little concerned whether using uart pipe will be stable if we are using ncs1.3.0. What would you suggest as an alternative. Our need is to send data from 52840 to 9160. 52840 is acting as a central BLE device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160dk board UART Communication between nrf52840</title><link>https://devzone.nordicsemi.com/thread/260003?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 01:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dd2a58e-4db2-4807-b87d-67d06d6c7d39</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am sorry for the delayed answer, currently, a huge portion of the support team is on summer vacation and you may experience delayed answers.&lt;/p&gt;
&lt;p&gt;Is it a requirement to use the uart pipe library? I tried to make it work using the API&amp;nbsp;&lt;em&gt;drivers/uart.h&lt;/em&gt; directly. I was able to communicate between the nrf9160 and the nrf52840 in NCS v1.2.0 but have not succeeded in making it work in NCS v1.3.0 yet, but I&amp;#39;ll share my temporary work:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-769d5a4c79fc4cc3be533cfd6238da83/uart.zip"&gt;devzone.nordicsemi.com/.../uart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In order to compile for the nrf9160dk_nrf52840 board, you have to delete the folder&amp;nbsp;zephyr/boards/shields\wnc_m14a2a, due to a bug (temporary solution).&lt;/p&gt;
&lt;p&gt;I will keep on working with this, but you may experience delayed answers due to the low staffing.&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><item><title>RE: nrf9160dk board UART Communication between nrf52840</title><link>https://devzone.nordicsemi.com/thread/259887?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 11:32:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab8c0046-dce9-4112-a45b-58f1b273ecd8</guid><dc:creator>anees</dc:creator><description>&lt;p&gt;The attached configuration above was for nrf9160. I already have&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOARD_NRF9160DK_INTERFACE0_MCU=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;CONFIG_BOARD_NRF9160DK_INTERFACE1_MCU=y&amp;nbsp; set for configuration in 52840. This is what I thought. I thought the pin control happened from nrf5280 and so this settings needed to be there.Pls clarify if they r needed on 9160 as well&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5444.prj.txt"&gt;devzone.nordicsemi.com/.../5444.prj.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s_5F00_uart_5F00_config.txt"&gt;devzone.nordicsemi.com/.../s_5F00_uart_5F00_config.txt&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf9160dk_5F00_nrf52840.txt"&gt;devzone.nordicsemi.com/.../nrf9160dk_5F00_nrf52840.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160dk board UART Communication between nrf52840</title><link>https://devzone.nordicsemi.com/thread/259842?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 09:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c01c4fee-9e74-4090-9cf1-a876ec6fa58a</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Try setting:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOARD_NRF9160DK_INTERFACE0_MCU=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;CONFIG_BOARD_NRF9160DK_INTERFACE1_MCU=y&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;In the prj.conf file of the nrf52840 project as Sigurd explained &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58034/uart-communication-between-nrf52840-and-nrf9160-on-nrf9160-dk/235304#235304"&gt;here&lt;/a&gt;. Notice the names have changed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>