<?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>nrf52832 mesh uart often no response</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68329/nrf52832-mesh-uart-often-no-response</link><description>Hi, 
 I have three nRF52 DKs，instance is “ nrf5_SDK_for_Mesh_v4.2.0_serial”。When I send commands from PC (UART) to DKs ，DKs running well，but often no response from DK （UART） to PC。 
 response ok： 
 
 
 （often）no response from DKs to PC，but DKs running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Nov 2020 08:35:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68329/nrf52832-mesh-uart-often-no-response" /><item><title>RE: nrf52832 mesh uart often no response</title><link>https://devzone.nordicsemi.com/thread/280260?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 08:35:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:293d1787-ce8b-479a-b9c8-27871aec86af</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for sharing. Erroneous flow control could explain why the data is interpreted wrongly, yes. I am happy to see that you found a solution.&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: nrf52832 mesh uart often no response</title><link>https://devzone.nordicsemi.com/thread/280225?ContentTypeID=1</link><pubDate>Tue, 17 Nov 2020 03:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c56c9ed-8e30-43ba-8b5c-2a22edab652c</guid><dc:creator>myamy</dc:creator><description>&lt;p&gt;Hi,&lt;span&gt;Terje&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; A moment ago，I fund it&amp;#39;s wrong with&amp;nbsp;the use of &amp;quot;Flow Control&amp;quot;。I connect the DK&amp;#39;s RTS/CTS# to PC&amp;#39;s RTS/CTS#,didn&amp;#39;t exchange it。There were two solutions for it：&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; One is exchange&amp;nbsp;&lt;span&gt;the RTS/CTS# between DK an PC；&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;The other is disable the function of FC by change&amp;nbsp;the function serial_uart_init(serial_uart_rx_cb_t rx_cb, serial_uart_tx_cb_t tx_cb)。&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Thanks，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Zhougang&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 mesh uart often no response</title><link>https://devzone.nordicsemi.com/thread/279957?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 15:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894d661e-2b1a-45dc-9f30-618c32414aec</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The serial events sent in the situation where you get responses, doesn&amp;#39;t look right. It is &amp;quot;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.2.0%2Fmd_doc_user_guide_modules_serial_evt.html&amp;amp;anchor=cmd-rsp"&gt;Cmd Rsp&lt;/a&gt;&amp;quot; packets (&amp;quot;command response&amp;quot;), and the format should be:&lt;/p&gt;
&lt;p&gt;Length (one byte, value &amp;quot;3&amp;quot;)&lt;br /&gt;&amp;quot;Cmd Rsp&amp;quot; opcode (one byte, value &amp;quot;0x84&amp;quot;)&lt;br /&gt;Opcode for the command being respnded to (one byte)&lt;br /&gt;Status code (0x00 for &amp;quot;OK&amp;quot;, or one of the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.2.0%2Fmd_doc_user_guide_modules_serial_status.html"&gt;Serial status codes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From the screenshot you can see that the commands sent from the PC side are commands 0x10 and 0x11, but the response commands from the device are not responses to commands 0x10 or 0x11. They seem to be off by one byte, in one or the other direction.&lt;/p&gt;
&lt;p&gt;What application are you using for sending and receiving UART? Is it sending only the bytes shown in the screenshot, or is it sending for instance &amp;quot;newline&amp;quot; and/or additional &amp;quot;carriage return&amp;quot; bytes at end-of-line as well?&lt;/p&gt;
&lt;p&gt;My point is: The first screenshot is not correct either, and the responses indicate that there is something wrong with the bytes sent from the PC side.&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>