<?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>Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85211/softdevice-controller-hanging</link><description>I am trying to use the NRFx Softdevice controller, with Rust and the nRF5340. I have successfully initialized the library, but when I try to start to start advertising the controller hangs. I also never receive sdc_cb, or the SWI0 interrupt I have configured</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Mar 2022 08:31:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85211/softdevice-controller-hanging" /><item><title>RE: Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/thread/356774?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 08:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a51ce007-9641-48ce-af35-2125fe568dd7</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Sascha,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a bit surprising that you ran into that exception (if you are using NCS 1.9). Would you mind providing me your project so that I can see if I can reproduce it here?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/thread/356560?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2022 11:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ea247f4-4bcd-4b28-9a0a-62ee6c73429a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Sascha,&lt;/p&gt;
&lt;p&gt;Right, sorry about that. I thought you were referring to the nRF5 SoftDevice for a second. The SD Controller&amp;nbsp;however is supported.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What version are you using? 1.9.0?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/thread/355630?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 15:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45483ece-39bb-4161-ab1d-9e155c1d5ff9</guid><dc:creator>sphw</dc:creator><description>&lt;p&gt;I don&amp;rsquo;t believe that is accurate the Softdevice controller specifically says it supports the nRF5340 in its documentation. See here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.htmlm"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My question isn&amp;rsquo;t really about Rust since this error could and would occur in C as well. Really I just want help debugging that assertion, since there is no available information about what causes it&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/thread/355459?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 09:07:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff00c41b-9c4c-4fc7-b9cd-5bbaa8f1d0df</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Sascha, sorry about the delay&lt;/p&gt;
&lt;p&gt;I believe the issue is related to you trying to use Softdevice on the nRF5340, while SD is only supported on our nRF52 series. The&amp;nbsp;nRF5340 is multicore, which can be a lot to handle.&lt;/p&gt;
&lt;p&gt;For more info on how to use Rust on our SoCs, &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/rust-bindings-to-nrf52-series"&gt;see here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/thread/355371?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 18:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11a295e8-06bc-4d06-a178-16d895389a25</guid><dc:creator>sphw</dc:creator><description>&lt;p&gt;I have a different issue now. I attempted to connect to the device using my phone, and it said negotiation failed. I expected that since I haven&amp;#39;t added any code to handle connections. But now when I turn my phone&amp;#39;s bluetooth on, I think it tries to auto-connect to my device. The SDC exception handler gets called with the data:&lt;/p&gt;
&lt;p&gt;With file = &amp;quot;62&amp;quot;, and line number &amp;quot;1846&amp;quot;. Any info on what causes that error would be helpful, and what extra configuration I need to prevent that. I received no callback from sdc, besides the exception handler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Controller Hanging</title><link>https://devzone.nordicsemi.com/thread/355356?ContentTypeID=1</link><pubDate>Mon, 28 Feb 2022 16:37:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5019c282-57e3-4379-82a2-9514791bce9e</guid><dc:creator>sphw</dc:creator><description>&lt;p&gt;In classic fashion, I managed to fix this soon after posting this question. I only had to use a little bit of Ghidra to get it done. It turns out that you have to manually configure the clock source manually. I also had the to switch the clock source to `MPSL_CLOCK_LF_SRC_MPSL_CLOCK_LF_SRC_SYNTH` .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>