<?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>Mesh serial example with  a timeout event</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66132/mesh-serial-example-with-a-timeout-event</link><description>Hi: 
 I am trying the &amp;quot;Mesh Serial&amp;quot; example on my nrf52840 boards. However, when the Echo command is used after the device is cold-started , a timeout event will occur. I have tried some existing methods in the forum, but none of them worked. The output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Oct 2020 14:04:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66132/mesh-serial-example-with-a-timeout-event" /><item><title>RE: Mesh serial example with  a timeout event</title><link>https://devzone.nordicsemi.com/thread/273014?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 14:04:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b03c3f77-a3f2-45e8-a820-f24d98778513</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;&amp;quot;IF OFF&amp;quot; / &amp;quot;IF MCU&amp;quot; is whether or not the interface MCU on the nRF52840 DK should use the UART connection to the nRF. It is an internal signal line on the DK board. From what I can tell from the hardware files, the interface MCU will use the UART lines if SW6 is set to &amp;quot;DEFAULT&amp;quot; and USB is detected on the interface MCU USB connector. I do not see how it should affect your setup. In any case, what you see is on the third party board, not on the nRF52840 DK, right?&lt;/p&gt;
&lt;p&gt;If you have any activity on the nRF UART pins, when the application is downloaded, then I guess it would be possible to end up in a bad state, that a reset would mitigate.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial example with  a timeout event</title><link>https://devzone.nordicsemi.com/thread/270878?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 13:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f17d94-fa0b-4a8f-9633-6b7c41435de8</guid><dc:creator>sada pix</dc:creator><description>&lt;p&gt;Hi Terje:&lt;/p&gt;
&lt;p&gt;Thanks again for the reply. I have find the PCB design of my board. The UART part is shown as below:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x240/__key/communityserver-discussions-components-files/4/qingfeng-UART.png" /&gt;&lt;/p&gt;
&lt;p&gt;I checked the PCB of nrf52840 DK, it seems that the UART pin definations are all reversed (e.g. P0.05 is used for RTS on nrf52840 DK but CTS on my board)? Also there is a switch on the nrf52840 DK which can switch between &amp;quot;IF OFF&amp;quot; and &amp;quot;IF MCU&amp;quot;. So what is the function of the switch?&amp;nbsp;Is it possible that this is the reason why serial has a timeout problem after a cold start?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x240/__key/communityserver-discussions-components-files/4/DK-UART.png" /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Yeming Li&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial example with  a timeout event</title><link>https://devzone.nordicsemi.com/thread/270715?ContentTypeID=1</link><pubDate>Tue, 22 Sep 2020 04:49:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45f2b926-0842-4cf3-8b2f-fa296e4f9d7a</guid><dc:creator>sada pix</dc:creator><description>&lt;p&gt;Hi Terje:&lt;/p&gt;
&lt;p&gt;Many thanks for your reply! The Jlnik is outside of the board and connect to the board via a TTL port. The reason I attach the UART port on PC is just to show that I need two ports to finish the programming and serial output, respectivly. But in the RIOT tutorial, it seems that they only need one ttyACM port to finish both the programming and serial output.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ii try to get a PCB desgn from the manufacturer.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Mesh serial example with  a timeout event</title><link>https://devzone.nordicsemi.com/thread/270647?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 14:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e516df-360b-40ac-8b2b-04d7d68ce421</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What port (on the PC) you get UART communication over is not something that the nRF can control. From what you describe, it sounds like both the J-Link programmer and the mini-usb with USB-to-serial are connected to the same UART pins of the nRF, and which one of those to use is controlled by logic on the board itself.&lt;/p&gt;
&lt;p&gt;If I understand correctly, there is a J-Link programmer on your board? Maybe it also controls (overrides) the USB-to-serial converter with the mini-USB port, and whether it is connected to the nRF UART pins? You need to consult the documentation for the board, in order to see how things are connected...&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>