<?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>nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82647/nrf5340-peripheral-ble-connections-always-fail-with-reason-0x3e-62</link><description>I solved this but the solution wasn&amp;#39;t obvious and it didn&amp;#39;t show up on google so I&amp;#39;m going to leave a quick writeup here. 
 nRF Connect SDK 1.7.1 on windows and linux 
 We have a custom board using the nRF5340 module from ublox (Nora-B1) testing using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 May 2025 09:33:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82647/nrf5340-peripheral-ble-connections-always-fail-with-reason-0x3e-62" /><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/534429?ContentTypeID=1</link><pubDate>Thu, 08 May 2025 09:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff08fbe2-f371-4e86-937a-35721f9e42db</guid><dc:creator>contax</dc:creator><description>&lt;p&gt;Thanks, that thread helped!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/509183?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2024 23:08:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd61a58d-3c6c-42d2-9a90-b77aab9f142a</guid><dc:creator>mm784</dc:creator><description>&lt;p&gt;Thank you very much, this was extremely helpful!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/502236?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2024 07:43:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7930faea-c63d-4dc0-b3fe-f5786c7daad7</guid><dc:creator>Andriy Kostio</dc:creator><description>&lt;p&gt;Thank you very much, this is very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/418430?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 21:00:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1469a01-7920-40bf-9de9-d1c21069bc6f</guid><dc:creator>dmerillat</dc:creator><description>&lt;p&gt;Searches for those should start finding this ticket now.&amp;nbsp; Glad it helped you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/418428?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 20:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:588b2a52-fe55-4774-beff-d15d429659e4</guid><dc:creator>Mike Pulice</dc:creator><description>&lt;p&gt;Out of Tree Board: this is the symptom&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;bt_enable() fails with the following:&lt;/p&gt;
&lt;p&gt;E: Endpoint binding failed with -11&lt;br /&gt;E: HCI driver open failed (-11)&lt;br /&gt;&lt;br /&gt;I need to go close the ticket I just opened.&amp;nbsp; I&amp;#39;m so glad I found this post.&amp;nbsp;&lt;br /&gt;Thank you!!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/418427?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 20:53:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d39267e6-65b6-4cbe-b341-1ae19181d684</guid><dc:creator>dmerillat</dc:creator><description>&lt;p&gt;Sorry.&amp;nbsp; What were you trying to search for before finding it? I can add keywords to the original post to make it more discoverable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/418425?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 20:50:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbcb8de-a88a-46d5-8eb3-ab7d78ec6e12</guid><dc:creator>Mike Pulice</dc:creator><description>&lt;p&gt;I have to let my hair grow back from pulling it all out before finding your post!&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I ad that configured for the app but had no idea it needed to be there for the net as well.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;:(&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/343563?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 08:59:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5191388b-de00-4043-ae64-38ca2cd9a089</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Thank you for the suggestions. I agree with your points and have made an internal feature request for it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 Peripheral BLE connections always fail with reason 0x3e (62)</title><link>https://devzone.nordicsemi.com/thread/343292?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 03:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e07ae87-6756-484f-9b58-471d32c3a93c</guid><dc:creator>dmerillat</dc:creator><description>&lt;p&gt;Two things would make this easier to debug. The first would be changing the loop that waits on the external crystal to have a max count, and fail out with a console/debug log error saying the 32khz crystal isn&amp;#39;t working. Currently the SDK behavior is to spin forever with no messages.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The second would be to log an error if the 32khz clock isn&amp;#39;t running when we expect it to be, again with a brief and searchable message.&amp;nbsp; something like &amp;lt;err&amp;gt; 32KHZ clock not running - check K32SRC.&lt;/p&gt;
&lt;p&gt;Making documentation on the startup sequence more discoverable might help as well.&amp;nbsp; The quickstart assumes you&amp;#39;re using the DK and doesn&amp;#39;t discuss the details in depth, then the Board Porting Guide only mentions the system clock.&amp;nbsp; The 32K clock may only be mentioned indirectly (&amp;quot;configure a tick source&amp;quot;?) and not expanded on. &lt;/p&gt;
&lt;p&gt;Searching for &lt;span style="background-color:rgba(255, 255, 153, 1);"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC &lt;/span&gt;only finds hits on the Kconfig pages, so you have to know what you&amp;#39;re looking for before you can find it.&lt;/p&gt;
&lt;p&gt;This applies to some other parts of the initial bringup, such as fixed-purpose pins (NFC, LFXO) and that there&amp;#39;s extra steps involved to configure them as GPIO aside from just setting them in the device tree.&amp;nbsp; Searching for that issue finds many threads of people confused why some pins don&amp;#39;t work, and all getting the same answer.&amp;nbsp; There&amp;#39;s a devicetree validator as part of the build process already, perhaps it could flag an error on trivial conflicts such as using pin0.00/0.01 while having CONFIG_SOC_ENABLE_LFXO=y?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>