<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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 disconnection issue</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88717/nrf52840-ble-disconnection-issue</link><description>Hi, 
 I have a medical device where my mother board has a NRF52840 chip which communicates with a Android Tablet through blue-tooth. We find it gets connected with few tablets &amp;amp; not with others. Following problems we see - 1) Getting connected through</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Mon, 13 Jun 2022 13:02:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88717/nrf52840-ble-disconnection-issue" /><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/372159?ContentTypeID=1</link><pubDate>Mon, 13 Jun 2022 13:02:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33965255-668b-4cf2-b117-f6205b59740b</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;There are too many possible reasons that these disconnects can happen when you don&amp;#39;t have a specific disconnect reason, a log from either side, or a sniffer trace so we can see what is going on over the air. I&amp;#39;m sorry, but I won&amp;#39;t be able to help you as it would only be shots in the dark as to what could be going on. For example, it could be due to the nRF52840 board you have not having an external LF crystal, and that the LF clock thus drifts and is not accurate enough to keep a connection up and running.&lt;/p&gt;
&lt;p&gt;If so, you would need to set the following defines in sdk_config.h to these values:&lt;/p&gt;
&lt;div&gt;&lt;span&gt;#define NRF_SDH_CLOCK_LF_SRC 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#define NRF_SDH_CLOCK_LF_ACCURACY 1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;br /&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Simon&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/371964?ContentTypeID=1</link><pubDate>Sat, 11 Jun 2022 00:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d642d1f-6789-4289-b659-b09e99a95da9</guid><dc:creator>user94444</dc:creator><description>&lt;div class="default-style"&gt;Hi Simon,&lt;/div&gt;
&lt;div class="default-style"&gt;We have a medical device, with a vital parameter monitoring console. NRF sends data to our Tablet(Display device) where it is displayed in a dashboard.&lt;/div&gt;
&lt;div class="default-style"&gt;The console is fixed with each NRF PCB board i.e. there are no multiple devices connecting to the console.&lt;/div&gt;
&lt;div class="default-style"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="default-style"&gt;We find issues with BLE connection with some tablets having BLE4.0/BLE5.0. We observe the connection is established through serial terminal(application) &amp;amp; it remains connected. This connection we have to establish manually through a command in serial terminal. The Tablet bluetooth does not get connected automatically.&lt;/div&gt;
&lt;div class="default-style"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="default-style"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="default-style"&gt;In DWIN tablets we find even after serial terminal connection it disconnects after 20seconds.&lt;/div&gt;
&lt;div class="default-style"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="default-style"&gt;Please let us know reasons &amp;amp; corrective action.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/371796?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 08:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3698b42-da8d-4f4a-af84-9376be121a2c</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry, but I&amp;#39;ll have to disagree. Can you share some information on what exactly your nRF52840 application is doing. If it uses BLE 5.0 features such as long range or tries to do an MTU update with sizes that BLE 4.0/4.2 etc. does not support, that might be a disconnect reason.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The best way to see what is going on over the air would be to take a sniffer trace of what is going on over the air. That way we can see what packets are sent over the air, and what transaction is causing this disconnect. If you have a dedicated Bluetooth sniffer device like an &lt;a href="https://ellisys.com/products/btcompare.php?gclid=CjwKCAjw14uVBhBEEiwAaufYx6maZ07l8RsA7MULmOQW2mAvrm-PA99J1bdPMe-Ler7g256qcnIQ7BoC3doQAvD_BwE"&gt;Ellisys sniffer&lt;/a&gt; you can use that, or you can use an nRF52 DK or Dongle and the&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Sniffer-for-Bluetooth-LE"&gt; nRF Sniffer &lt;/a&gt;+ Wireshark.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If that&amp;#39;s not possible from your end, can you upload the log showing the disconnect on the tablet (and preferably the nRF52 side as well), that&amp;#39;s usually better than a description. Also, if you could share what SDK and SDK version you&amp;#39;re using that would help as well. There are too many possible root causes from the current description.&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;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/371749?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 01:00:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d34cd48-6829-4cbf-857c-936a68e41cf4</guid><dc:creator>user94444</dc:creator><description>&lt;p&gt;All these Tablets have BLE4.0 &amp;amp; above. I have already explained observation of BLE disconnection there is nothing more to add from our side.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/371538?ContentTypeID=1</link><pubDate>Thu, 09 Jun 2022 06:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c57a0f23-38bf-4a45-84ca-c023057bb557</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;What tablets exactly are these, do they support BLE, and what version of BLE do they support, the nRF52840 might use features that aren&amp;#39;t supported by your tablets? What SDK and SDK version have you built your nRF52840 project in?&amp;nbsp;What exactly is the disconnect reason reported from the tablets and/or from the nRF52840?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/371453?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 13:56:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:716e9c66-9803-4b2d-95ef-87676074f058</guid><dc:creator>user94444</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We connect only one tablet with one device. It gets connected with SAMSUNG tablet however with others we observe - a) Gets connected through serial terminal on manual intervention, b) It gets connected &amp;amp; then disconnects after ~20seconds., c) We observed the disconnection is with tablets having processor speed less than 2gHz., d) We see connection last from App side&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is it a hardware or firmware issue?, What can be the root cause. What is required to ensure connections last. Whether we need to do change in BLE settings?, If yes, what is the way to do to accommodate the string length.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 ble disconnection issue</title><link>https://test-devzone.nordicsemi.com/thread/371393?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 12:16:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e38623d-cea5-42e9-b163-6441367bd909</guid><dc:creator>user75734</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Are there specific tablet models you&amp;#39;re not able to connect to or maybe the device is only able to connect to X amount of tablets before not being able to connect to more? It could be that some of the tablet doesn&amp;#39;t support the connection parameters your nRF52840 board provides, or that you reach the maximum number of links is reached in the nRF52840 is reached (this is set in the config fie as the &lt;strong&gt;NRF_SDH_BLE_TOTAL_LINK_COUNT&lt;/strong&gt; and&amp;nbsp; &lt;strong&gt;NRF_SDH_BLE_PERIPHERAL_LINK_COUNT&lt;/strong&gt; defines. To find out why devices are disconnected, we need to see a disconnect reason of some kind. Do you have logging enabled on the nRF side showing some kind of return or error code when the disconnects occur?&lt;/p&gt;
&lt;p&gt;As for your classic Bluetooth question. No, the nRF5x series&amp;nbsp;&lt;strong&gt;only&amp;nbsp;&lt;/strong&gt;supports Bluetooth Low Energy, and are not compatible with Bluetooth Classic devices.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>