<?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>UART communication issue thread</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55769/uart-communication-issue-thread</link><description>Hi All, 
 We are trying to interface nRF52840 based custom board, manufactured using Config 6 schematic as the reference, with R-Pi to work as NCP. Please refer to the attached schematic . 
 
 We found that the RPi was not able to communicate with the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 31 Jan 2020 11:18:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55769/uart-communication-issue-thread" /><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/232061?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 11:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:488bf3b5-7743-4319-8ea6-14855a35cec7</guid><dc:creator>Edvin</dc:creator><description>[quote user="PK"]What&amp;#39;s the use of Hardware Flow Control in NCP?[/quote]
&lt;p&gt;&amp;nbsp;HWFC is used to ensure that the receiver is ready to/capable of receiving more UART packets. If the receiver is busy decoding the previous packet, then it will block the sender, and tell it to wait until it receives the &amp;quot;go&amp;quot; signal on the HWFC pins.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="PK"]Is it compulsory to have&amp;nbsp;Hardware Flow Control in NCP?[/quote]
&lt;p&gt;&amp;nbsp;I don&amp;#39;t think so.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="PK"]If we disable&amp;nbsp;Hardware Flow Control in NCP, will it effect NCP working or UART communication in any way?[/quote]
&lt;p&gt;&amp;nbsp;It disables the feature that comes with HWFC. If the receiver is not ready to queue up more bytes on the UART, some UART data bytes may be lost if HWFC isn&amp;#39;t enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/231994?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 04:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6730a31d-4002-4928-9c93-201e3de4892f</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;Problem was likely to be Hardware flow control.&lt;/p&gt;
&lt;p&gt;We disabled the hardware flow control from NCP firmware and it is working now. Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;will try to see if we can get it working with hardware flow control also. Please input if any suggestion regarding hardware flow control.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We have few queries:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;What&amp;#39;s the use of Hardware Flow Control in NCP?&lt;/li&gt;
&lt;li&gt;Is it compulsory to have&amp;nbsp;Hardware Flow Control in NCP?&lt;/li&gt;
&lt;li&gt;If we disable&amp;nbsp;Hardware Flow Control in NCP, will it effect NCP working or UART communication in any way?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Pavan s k&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/228490?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 08:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8355bf71-94f6-4edc-a70d-73de368657ec</guid><dc:creator>Edvin</dc:creator><description>[quote user="PK"]and i am not getting REPLY option to my latest post..[/quote]
&lt;p&gt;&amp;nbsp;DevZone has this issue sometimes. Just reload the site a couple of times, and it should appear after a while.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you have a pullup on RX on the nRF, is that correct?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="PK"]PINs P0.04 and&amp;nbsp;P0.26 are going to 3.3 to 1.8 Voltage level converter.[/quote]
&lt;p&gt;&amp;nbsp;Have you tried to analyse the 1.8V part of the UART? Are you sure there are no data there?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Are you using HW Flow Control on the UART? If you are not sure, please let me know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From your original post. Are you saying that it always works on the custom board when you are running debug mode?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Have you monitored the logging on the NCP application running on your custom board? What does it look like compared to when you run it on the DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/228466?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2020 05:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23b7cd59-dfde-44e0-b3ac-84ff72878166</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have updated the details below , waiting for reply. and i am not getting REPLY option to my latest post..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks in advance&lt;/p&gt;
&lt;p&gt;pavan s k&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/228177?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 14:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd200007-7ae9-44e4-a1b0-91d658b8ab66</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see, and I see the same as you. I can tell that both of the addresses are fetched from &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fficr.html&amp;amp;cp=4_0_0_3_3_0_2&amp;amp;anchor=register.DEVICEID-0-1" rel="noopener noreferrer" target="_blank"&gt;DEVICEID[0..1]&lt;/a&gt;. If you look at the &lt;a href="https://github.com/openthread/openthread/blob/704511c96e0d093139e4b80ef0739ed2d701afb1/examples/platforms/nrf52840/radio.c#L180" rel="noopener noreferrer" target="_blank"&gt;openthread commit that was used in SDK2.0.0&lt;/a&gt;, and compare it to the &lt;a href="https://github.com/openthread/openthread/blob/aa9a45d2126462aebf5a40bd0e1fea5309a1d793/examples/platforms/nrf528xx/src/radio.c" rel="noopener noreferrer" target="_blank"&gt;commit for SDK3.2.0&lt;/a&gt;, you can see that it has changed a bit.&amp;nbsp;&lt;span&gt;OPENTHREAD_CONFIG_STACK_VENDOR_OUI is defined in &lt;a href="https://github.com/openthread/openthread/blob/3161e9bac2a1576009d930a81558edad4c1aaceb/examples/platforms/nrf528xx/nrf52840/openthread-core-nrf52840-config.h#L72" rel="noopener noreferrer" target="_blank"&gt;openthread-core-nrf52840-config.h&lt;/a&gt;, and it is the same for all Nordic devices. This also means that it will not change in the future.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to revert this, it is possible to build the openthread library yourself, and change this function back to the old implementation, which only uses the Device ID.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But as I mentioned, this will not change in the future. This OUI is registered with IEEE, and you can find the ID here:&lt;br /&gt;&lt;a href="http://standards-oui.ieee.org/oui.txt"&gt;http://standards-oui.ieee.org/oui.txt&lt;/a&gt;&amp;nbsp;(search for Nordic Semiconductor ASA). This registration was probably done between SDK2.0.0 and 3.2.0 at some point (I have not checked what SDK that the change was applied).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As for the original question. Have you tried to debug the application running on the custom board? Perhaps you can try to ground CTS on the custom board, to check if there are any issues with the HW Flow Control.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&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;Edvin&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/228156?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 13:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9034ba86-4102-4eac-8b6c-b65a9c3c95be</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;First issue:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What are these connected to on your custom board?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The Custom board which is being used to verify NCP, PINs P0.06 and P0.08 are open.&lt;/li&gt;
&lt;li&gt;PINs P0.04 and&amp;nbsp;P0.26 are going to 3.3 to 1.8 Voltage level converter.&lt;/li&gt;
&lt;li&gt;The 1.8V UART signal via a connector is going to R-PI Module.&lt;/li&gt;
&lt;li&gt;We have used UART loop-back code with &lt;strong&gt;PINs P0.04 as nRF UART TX&lt;/strong&gt; and &lt;strong&gt;P0.26 as nRF UART&amp;nbsp;RX&lt;/strong&gt; to verify connectivity, communication and orientation of the signals.&lt;/li&gt;
&lt;li&gt;If used some other code for R-PI and Custom board, that also working fine.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;And are you sure you are not using P0.26 and P0.04?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We updated NCP to support UART over P0.04 and P0.26 and the updated firmware worked with nRF52840-DK when we tested.&lt;/li&gt;
&lt;li&gt;But same firmware was not working with our custom board. We suspected it might be due to voltage level converter we are using for 3.3 to 1.8 conversion.&lt;/li&gt;
&lt;li&gt;So we took out 2 cables from PINs P0.06 and&amp;nbsp;P0.08 from our custom board. These pins are not being used or connected to any interface, so we are sure there is no noise or error.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Whether there is a possibility for noise on your UART&amp;#39;s RX pin, or if it is held low when there is no UART data, which may cause an APP_ERROR in the uart drivers.&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We also suspected same so I tried to use PULLUP in UART PIN&amp;nbsp;P0.26&amp;nbsp;config for RX when using PIN4 and PIN26 as UART, but no change.&amp;nbsp;So we tried using default Hex file for NCP without any change and traced UART via the cables we took out from PINs&amp;nbsp;P0.06 and&amp;nbsp;P0.08.&lt;/li&gt;
&lt;li&gt;We have also tried using J-LINK debug for both UART(&amp;nbsp;P0.06 and P0.08 as well as&amp;nbsp;P0.04 and P0.26), and if there was&amp;nbsp;&lt;strong&gt;APP_ERROR_HANDLER(p_event-&amp;gt;data.error_communication);&lt;/strong&gt; or&amp;nbsp;&lt;strong&gt;APP_ERROR_HANDLER(p_event-&amp;gt;data.error_code);&lt;/strong&gt; due to noise or something, application is supposed to terminate or halt, but application didn&amp;#39;t halt or went to forever sleep as it normally does.&lt;/li&gt;
&lt;li&gt;We also tried to put break-point at&amp;nbsp;&lt;strong&gt;if (!otTaskletsArePending(m_app.p_ot_instance))&lt;/strong&gt;&amp;nbsp;just to be sure, and to verify if application is reaching there, but it&amp;#39;s working fine waiting for an interrupt and we have not seen any change in working.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Regarding Noise as well as UART PIN issue: --&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If we use any other code whether it&amp;#39;s using P0.06 &amp;amp; P0.08 or P0.04 and&amp;nbsp;P0.26 (while using voltage level converter at&amp;nbsp;P0.04 &amp;amp; P0.26) as UART, all custom&amp;nbsp;codes or default examples or default hex used, follow below UART settings:&lt;ul&gt;
&lt;li&gt;BAUD : 115200&lt;/li&gt;
&lt;li&gt;Data Bits : 8&lt;/li&gt;
&lt;li&gt;Stop : 1&lt;/li&gt;
&lt;li&gt;Parity : None&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Everything program with UART works other than NCP UART.&lt;ul&gt;
&lt;li&gt;So if noise or UART PINS had any issue, it can be seen when using any other example.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;For simplicity, we used UART Loop-Back Example and example hex file, to verify TX pairing and working.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Pavan s k&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/228087?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 10:18:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:190a8287-4822-4e11-be19-14b4be22da1c</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Second issue:&lt;/p&gt;
&lt;p&gt;IDE Info:--&lt;/p&gt;
&lt;p&gt;SEGGER Embedded Studio for ARM&lt;br /&gt; Release 4.30b&amp;nbsp;&amp;nbsp;Build 2019111305.40571&lt;br /&gt; Windows x64&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;J-Link:--&lt;/p&gt;
&lt;p&gt;J-Link V654c&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SDK Ver, hex file&amp;nbsp;and&amp;nbsp;output:--&lt;/p&gt;
&lt;p&gt;D:\nRF5_SDK_for_Thread_and_Zigbee_2.0.0_29775ac\examples\thread\cli\uart\hex\nrf52840_xxaa.hex&lt;/p&gt;
&lt;p&gt;&amp;gt; eui64&lt;/p&gt;
&lt;p&gt;bc5e0bfa19bb8936&lt;/p&gt;
&lt;p&gt;Done&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;D:\nRF5_SDK_for_Thread_and_Zigbee_v3.2.0_9fade31\examples\thread\cli\ftd\uart\hex\nrf52840_xxaa_pca10056.hex&lt;/p&gt;
&lt;p&gt;&amp;gt; eui64&lt;/p&gt;
&lt;p&gt;f4ce36bc5e0bfa19&lt;/p&gt;
&lt;p&gt;Done&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both output are from same nRF52840-DK.&lt;/p&gt;
&lt;p&gt;If any other info is needed please let me know.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;pavan s k&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/228084?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2020 10:14:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71584cf0-b832-403a-a2cd-9dbfb769a342</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello Pavan,&lt;/p&gt;
&lt;p&gt;First issue:&lt;/p&gt;
&lt;p&gt;So what you are saying is that your custom board is not communicating via UART, in most cases, when running the NCP application?&lt;/p&gt;
&lt;p&gt;I am a bit confused. You say that the UART is using pins 6 and 8, like in the default project. What are these connected to on your custom board?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-2a059f6d4da243d7a6e40f544f553548/pastedimage1578478075605v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And are you sure you are not using P0.26 and P0.04? Or do I misunderstand? What I really am asking is whether there is a posibility for noise on your UART&amp;#39;s RX pin, or if it is held low when there is no UART data, which may cause an APP_ERROR in the uart drivers.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Second issue:&lt;/p&gt;
&lt;p&gt;What SDK versions were you testing on when you received the different addresses? 3.2.0 and 4.0.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/227563?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 06:15:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27758518-1ea1-4fa5-8a67-99599bf4e3fc</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;Waiting for the reply in above query. Addition to this,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are working withThread commissioning and for that we needed EUI64 ID.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;While testing we found that the EUI64 ID we got from CLI example and a code we created which uses&amp;nbsp;&lt;strong&gt;otLinkGetFactoryAssignedIeeeEui64()&lt;/strong&gt;&amp;nbsp;gives different output for EUI64 ID.&lt;/p&gt;
&lt;p&gt;When we tried checking what might be the issue, we found that the SDK version used,&amp;nbsp;for the CLI example and our code, were different.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now doubt is, if with different SDK&amp;nbsp;version&amp;nbsp;we will get different EUI64 ID, then in future when we upgrade Firmware for the older devices, the new firmware may be using SDK version released later on by Nordic. Hence the stored EUI64 ID for those will change. If we are using EUI64 ID bar-Code or some similar form for provisioning devices, then it may cause issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Below are the output from 2 nRF52840-DK used for testing.&lt;/p&gt;
&lt;p&gt;nRF-DK 1:&lt;/p&gt;
&lt;p&gt;Our Code&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: BC5E0BFA19BB8936&lt;/p&gt;
&lt;p&gt;CLI with Same SDK&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp;bc5e0bfa19bb8936&lt;/p&gt;
&lt;p&gt;CLI with Different SDK : f4ce36bc5e0bfa19&lt;/p&gt;
&lt;p&gt;nRF-DK 2:&lt;/p&gt;
&lt;p&gt;Our Code&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: F422010C382915A6&lt;/p&gt;
&lt;p&gt;CLI with Same SDK&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:&amp;nbsp;f422010c382915a6&lt;/p&gt;
&lt;p&gt;CLI with Different SDK :&amp;nbsp;f4ce36f422010c38&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advanace&lt;/p&gt;
&lt;p&gt;Pavan s k&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/226520?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 10:05:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f2b8aba-41f4-42cd-be7d-4b2af93cdef4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pavan,&lt;/p&gt;
&lt;p&gt;Our experts in Thread&amp;nbsp;are currently on vacation. We unfortunately can&amp;#39;t have an answer for you until second week of January. I&amp;#39;m sorry for this.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/226272?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 07:25:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6670fd28-0783-469c-8d4d-c761104c6b2c</guid><dc:creator>pavan</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Please find the below comments on your above questions,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What do you run on the R-Pi ?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;We used Boarder-router image over R-Pi.&lt;/li&gt;
&lt;li&gt;While doing UART trace, we didn&amp;#39;t use R-Pi.&lt;/li&gt;
&lt;li&gt;There was some output over UART after boot depending on reset reason when using nRF-Dk.&lt;/li&gt;
&lt;li&gt;There was no output&amp;nbsp;over UART when using custom board.&lt;/li&gt;
&lt;li&gt;The boot message mentioned above is as I have mentioned in the first mail.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Could you give some more debug information on the nRF52?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;I tried using debug mode instead of release mode, but no output&amp;nbsp;or info was showing over the debug terminal.&lt;/li&gt;
&lt;li&gt;If some settings needed to be changed to get debug&amp;nbsp;output&amp;nbsp;let us know.&lt;/li&gt;
&lt;li&gt;NRF_LOG_ENABLED is set to 1.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Is there any error, assertion?&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When I pause the execution in debug mode after any amount of time, program current statement is still within one of below lines:-&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; while (!otSysPseudoResetWasRequested())&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; thread_process();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // Enter sleep state if no more tasks are pending.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!otTaskletsArePending(m_app.p_ot_instance))&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __WFE();&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Above indicate that there is no error assertion.&lt;/li&gt;
&lt;li&gt;If some specific location needs to be added with break-point to confirm above please let us know.&lt;/li&gt;
&lt;li&gt;I tried to place break-point over&amp;nbsp;&lt;strong&gt;while (!otSysPseudoResetWasRequested())&lt;/strong&gt;&amp;nbsp;or &lt;strong&gt;thread_process().&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Device is working without any errors only stopping due to above break-point.&lt;/li&gt;
&lt;li&gt;After checking over UART TX, nRF-DK had the output message but no output over custom board.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;What make the debug mode different from the non-debug ? For example on the UART trace ?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;There was no change in execution.&lt;/li&gt;
&lt;li&gt;Depending on where I add break-point the UART output&amp;nbsp;after boot in nRF-DK may get delayed. But no change in output&amp;nbsp;observed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;pavan S K&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication issue thread</title><link>https://devzone.nordicsemi.com/thread/226185?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2019 14:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a52acdf3-1e90-4268-84f1-caaa65ec5fe3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What do you run on the R-Pi ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give some more debug information on the nRF52 ? Is there any error, assertion ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What make the debug mode different from the non-debug ? For example on the UART trace ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>