<?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>nRF52840 BLE UART re-connect fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29440/nrf52840-ble-uart-re-connect-fail</link><description>Hi,
I&amp;#39;m working on the nRF52840 DK and running the ble_app_uart example.
I&amp;#39;m connecting to the BLE using the nRF UART V2.0 app and open a terminal.
In the terminal I&amp;#39;m sending a large amount of non-stop data which the nRF52840
forwards in BLE to the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jan 2018 14:37:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29440/nrf52840-ble-uart-re-connect-fail" /><item><title>RE: nRF52840 BLE UART re-connect fail</title><link>https://devzone.nordicsemi.com/thread/117080?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 14:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebddc06d-9512-4b79-9244-9bbc541bf0fe</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Most likely the UART buffer was overflowed. Have you really debug  ? Put a break point in the app error handler ?&lt;/p&gt;
&lt;p&gt;There could be a chance that it was the issue with the segger chip (USB-&amp;gt; UART) crashed. I would suggest to test using better UART-UART solution or reduce the baudrate or use HWFC in your case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE UART re-connect fail</title><link>https://devzone.nordicsemi.com/thread/117079?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 14:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18714ee1-dade-49fa-94a3-ccd139e6e674</guid><dc:creator>miki_h</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;When I debug it the UART port is not flooded with data vs working in real time so everything works perfect... Moreover, I added a software reset procedure to the case when BLE is disconnected and still
same same... Its getting even more complicated to understand when the reset button (hardware reset)
sometimes doesn&amp;#39;t solve it either! (if this was the solution it was very disappointing)
I thought it maybe because the USB to UART is done in the Segger MCU on the DK but in such case
the reset for the nRF52840 should make the LED at least blink again and the BLE should be discoverable.
It&amp;#39;s like the UART channel somehow interfere the whole process in a way that only
by disconnecting the USB hardware and connecting it back again can solve it.&lt;/p&gt;
&lt;p&gt;So unfortunately I don&amp;#39;t know a better way for debugging it when the problem happens only in real time when the UART is flooded with data...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE UART re-connect fail</title><link>https://devzone.nordicsemi.com/thread/117078?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2018 12:16:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e351aea-b8c4-4e1c-9b6c-d30c8c420eb9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;When something doesn&amp;#39;t work as it should, you should debug. To debug, follow &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/#60126"&gt;this guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>