<?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 example code?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70580/softdevice-controller-example-code</link><description>I&amp;#39;m looking into integrating the SoftDevice controller (not full SoftDevice) from nrfxlib into NuttX RTOS. NuttX would already provide the host layer so I would only need to use the HCI interface for integration. However, the documentation for SDC looks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jan 2021 17:41:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70580/softdevice-controller-example-code" /><item><title>RE: softdevice controller example code?</title><link>https://devzone.nordicsemi.com/thread/290068?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 17:41:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9566a306-1d14-4cc7-bdb2-b942495cd083</guid><dc:creator>protobits</dc:creator><description>&lt;p&gt;Ok, I will try to put something together and see if there&amp;#39;s information missing. Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice controller example code?</title><link>https://devzone.nordicsemi.com/thread/290061?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 16:00:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acdf1442-82d5-4edf-86e8-ee5c8a742c69</guid><dc:creator>Kenneth</dc:creator><description>&lt;div&gt;There is some MPSL documentation explaining the expected interrupt configuration: &lt;a title="http://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrfxlib/mpsl/doc/mpsl.html#thread-and-interrupt-safety" href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/mpsl/doc/mpsl.html#thread-and-interrupt-safety" rel="noopener noreferrer" target="_blank"&gt;Integration notes — nrfxlib 1.4.99 documentation (nordicsemi.com)&lt;/a&gt;. The SoftDevice controller documents its requirements related to thread safety: &lt;a title="http://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrfxlib/softdevice_controller/doc/softdevice_controller.html" href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/softdevice_controller.html" rel="noopener noreferrer" target="_blank"&gt;Integration with applications — nrfxlib 1.4.99 documentation (nordicsemi.com)&lt;/a&gt;. If there is something that can be improved, let us know.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice controller example code?</title><link>https://devzone.nordicsemi.com/thread/290027?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 14:06:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fbdb260-5305-4726-8f73-d23d1d16c3df</guid><dc:creator>protobits</dc:creator><description>&lt;p&gt;Thanks, I just found out this code as well. It is quite useful.&lt;/p&gt;
&lt;p&gt;My only remaining question is about interrupt priorities (as I don&amp;#39;t see in that code how these are handled): if my RTOS uses interrupts (and, particularly SVcall exceptions for context switches), do these need to be lower priority? Or is it OK to have everything same priority?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice controller example code?</title><link>https://devzone.nordicsemi.com/thread/290025?ContentTypeID=1</link><pubDate>Tue, 19 Jan 2021 14:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a01f16e0-1138-411f-a7fe-3464e9bba510</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Try:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Sample code from Zephyr (NCS) that uses the controller: &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/bluetooth/controller/hci_driver.c" href="https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/bluetooth/controller/hci_driver.c" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/bluetooth/controller/hci_driver.c&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Note: you&amp;#39;ll need to initialize MPSL as well &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/mpsl/mpsl_init.c" href="https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/mpsl/mpsl_init.c" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/master/subsys/mpsl/mpsl_init.c&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice controller example code?</title><link>https://devzone.nordicsemi.com/thread/289862?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 17:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0a0ec0-3918-4b6f-a65c-76f8089f9ab3</guid><dc:creator>protobits</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;ve read this documentation. But there&amp;#39;s no example code and it is a bit superficial.&lt;/p&gt;
&lt;p&gt;I understand that Zephyr uses its own open-source controller. Or is there zephyr code which uses the SDC that I can look? (I looked but couldn&amp;#39;t find anything)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: softdevice controller example code?</title><link>https://devzone.nordicsemi.com/thread/289861?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 17:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87f74e35-9025-49a8-9aab-06f662a87196</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It should be possible to use the softdevice controller with other RTOS than zephyr, but not something I have tried. Hopefully these pages can give some guidance:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/softdevice_controller.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/softdevice_controller/doc/softdevice_controller.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>