<?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>Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115392/shell-over-uart-between-nrf52840dk-and-nrf9160dk-not-working-sdk-v2-6-1</link><description>Hi, 
 
 I need to setup shell interface on both sides to exchange sensor data via uart. 
 
 The connection is as follow: cable 1: nRF52840DK Pin (TX - P1.02) → nRF9160DK Pin (RX - P0.21) cable 2: nRF52840DK Pin (RX - P1.01) → nRF9160DK Pin (TX - P0.22</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 Nov 2024 13:46:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115392/shell-over-uart-between-nrf52840dk-and-nrf9160dk-not-working-sdk-v2-6-1" /><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/509125?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 13:46:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4710fa62-bb8b-4afe-bfa3-6ee3873ae62f</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;It could be. It seems like it is inserting characters in the wrong positions in the buffer all the time. The shell library is a big mess so it&amp;#39;s hard to understand where it goes wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/507989?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 17:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0acb5876-e6bc-44d6-a9e6-245a3274a1b9</guid><dc:creator>harry4951</dc:creator><description>&lt;p&gt;Hmmm strange, do you think it is a bug in the library?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/507984?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2024 15:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76bbf9f7-2cf6-4ac2-a9b0-051b10cdf335</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I made one for observation. It seems like the command is being written to the wrong position in the command buffer. I still don&amp;#39;t know why it happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/507024?ContentTypeID=1</link><pubDate>Sun, 20 Oct 2024 17:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6776939-b401-4c69-b4cf-917d7fef0134</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;It looks like the shell commands received are somehow altered, this is when both cables are connected;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1729443715466v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This with one cable disconnected;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1729444017153v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You can see that in the first case there are some characters inserted that makes the command different and thus not triggering the callback. I guess when the nRF9160 is sending as well as receiving, somehow this buffer is overwritten.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/506890?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 11:41:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05314e13-191e-4178-8e7e-d4c67f12dc01</guid><dc:creator>harry4951</dc:creator><description>&lt;p&gt;I cant use the flow control, since this setup will be applied to our custom PCB, which only has TX and RX lines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/506876?ContentTypeID=1</link><pubDate>Fri, 18 Oct 2024 11:08:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50161b1d-b9fb-4926-9621-1b047eb614df</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Checked a few things, but I&amp;#39;m still not sure why this happens. Have you tried enabling flow control on the shell uart?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/506711?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 11:41:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a92a0ba-9102-453f-8db1-6811b6a60ca2</guid><dc:creator>harry4951</dc:creator><description>&lt;p&gt;Thanks for the investigating, any progess?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/506350?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 15:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad6ae1ad-fb93-4ddb-b345-bac4ee7f670a</guid><dc:creator>Hakon</dc:creator><description>[quote user=""]if both cable 1 and 2 are connected, no output from either side.[/quote]
&lt;p&gt;I&amp;#39;m testing this now, and I get data occasionally when both cables are connected. I still don&amp;#39;t know the reason but I will do some more debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/506306?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2024 12:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:094da213-6a81-4e26-99d8-2bd6415196ed</guid><dc:creator>harry4951</dc:creator><description>&lt;p&gt;Sure, following attached corresponds to the secario mentioned above:&lt;/p&gt;
&lt;div&gt;if both cable 1 and 2 are connected, no output from either side.&lt;/div&gt;
&lt;div&gt;if only cable1 plugout, nrf52840 can output the data received from nrf9160.&lt;/div&gt;
&lt;div&gt;if only cable2 plugout, nrf9160 can output the data received from nrf52840.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/both-cable.sal"&gt;devzone.nordicsemi.com/.../both-cable.sal&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/only_5F00_cable1_5F00_plugout.sal"&gt;devzone.nordicsemi.com/.../only_5F00_cable1_5F00_plugout.sal&lt;/a&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/only_5F00_cable2_5F00_plugout.sal"&gt;devzone.nordicsemi.com/.../only_5F00_cable2_5F00_plugout.sal&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Shell over UART between nrf52840DK and nrf9160DK not working(SDK v2.6.1)</title><link>https://devzone.nordicsemi.com/thread/506121?ContentTypeID=1</link><pubDate>Mon, 14 Oct 2024 12:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ad92e5a-fa17-461b-8cc3-ebdf92d22cfd</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will have a look. In the mean time, would it be possible to get a logic trace from the uart pins?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>