<?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>[Thingy91] BLE central using HCI crashing nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119728/thingy91-ble-central-using-hci-crashing-nrf52</link><description>Hi, 
 We are currently developing a solution where a Thingy91 acts as a BLE central. We have had a lot of issues with BLE when using the nRF52 as a HCI device being controlled by the nRF91. This is using the NCS v2.5.1 
 In the beginning there where issues</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Mar 2025 13:13:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119728/thingy91-ble-central-using-hci-crashing-nrf52" /><item><title>RE: [Thingy91] BLE central using HCI crashing nRF52</title><link>https://devzone.nordicsemi.com/thread/528856?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 13:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49f6c98f-589d-4fc7-9166-5df7fd48d37d</guid><dc:creator>Emil Blenow</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I have looked into this a but more and it seems like the UART was misleading. I still get Rx disable failed when using LPUART but it should use the hfxo so not sure what that is about and since interrupt based&amp;nbsp;UART works better we are stil using it.&lt;/p&gt;
&lt;p&gt;We found that there was some writes across buffer boundaries that likely caused some of our issues.&lt;/p&gt;
&lt;p&gt;We later had issues where RSSI read command timed out which seems to be resolved by disabling ACL flow control.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Emil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Thingy91] BLE central using HCI crashing nRF52</title><link>https://devzone.nordicsemi.com/thread/526934?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 13:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b87063d6-6383-471e-ba0f-3fd4f38feeb9</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The things I would have looked into:&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;The most common problem with UART is a mismatch in UART baudrate, to ensure stable baudrate you need to explicit start the high frequency clock (hfxo) before sending and receiving UART data (this must be done on both sides).&lt;/p&gt;
&lt;p&gt;- Another problem with UART, is that sometimes there will occur errors on UART (for instance framing error), in such case the UART typically will stop receiving the data, so the application will typically need to handle the UART error by starting the receive of UART again in this case. If you fix the baudrate (as suggested above) I expect the number of errors on the UART to drop significantly, but it&amp;#39;s still a good idea to resume/start UART rx again on UART errors.&lt;/p&gt;
&lt;p&gt;- Another idea to consider is to start scanning or connection with a timeout, e.g. that you start scanning with 60seconds timeout, then you will get a timeout after 60seconds (which indirectly will show that the device is working), and you can re-start scanning again if you want to.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope that helps,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>