<?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>about nrf 5 softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125974/about-nrf-5-softdevice</link><description>Hello, I am currently debugging with nRF52833 and nRF5 SDK, and I have a few questions to ask: 
 
 I want to time-share the BLE function and the ESB function on a single MCU to suit different scenarios. Is it possible to switch to ESB mode after the SoftDevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Dec 2025 02:35:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125974/about-nrf-5-softdevice" /><item><title>RE: about nrf 5 softdevice</title><link>https://devzone.nordicsemi.com/thread/556195?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2025 02:35:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66fe22c-0096-4c9c-a8f1-f4114bd9705a</guid><dc:creator>Liny</dc:creator><description>&lt;p&gt;Crystal clear now. Thank you for breaking it down!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: about nrf 5 softdevice</title><link>https://devzone.nordicsemi.com/thread/556130?ContentTypeID=1</link><pubDate>Wed, 03 Dec 2025 14:03:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e64616f-9b03-4db5-b8df-c5f80ba88672</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;First of all, I want to mention that the nRF5 SDK and SoftDevices are old, so I would recommend considering the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/index.html"&gt;nRF Connect SDK&lt;/a&gt;. There is an unofficial example demonstrating ESB and BLE SDKs and SoftDevices&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/index.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote user=""]I want to time-share the BLE function and the ESB function on a single MCU to suit different scenarios. Is it possible to switch to ESB mode after the SoftDevice has been enabled? The intended method is: disable the SoftDevice, reconfigure the RADIO and Timer 0, as well as the PPI channels reserved for the protocol stack, and then start ESB. Will the ESB function work correctly under these circumstances?[/quote]
&lt;p&gt;Yes, it is possible to disable the&amp;nbsp;SoftDevice and use the reserved peripherals directly, for instance for ESB. (It is also possible to use &lt;a href="https://docs.nordicsemi.com/bundle/sds_s132/page/SDS/s1xx/concurrent_multiprotocol_tsl_api/concurrent_multiprotocol_tsl_api.html"&gt;timeslots&lt;/a&gt;, where ESB runs between BLE events. This is more complex though, and also typically gives reduced performance). Using the approach you suggest, you need to make sure you uninitialized the SoftDevice (and any BLE libraries like the SDH), before configuring ESB.&lt;/p&gt;
[quote user=""]Building on the first step, is it possible to switch back to BLE mode again? The intended method is: clear the PPI channels and Timer 0 configurations used by ESB, and then re-enable the SoftDevice. In this case, will the SoftDevice reconfigure the peripherals like the timer and PPI? Will BLE be able to function normally again?[/quote]
&lt;p&gt;Yes, thi sis possible. But also here,&amp;nbsp;you must make sure to disable ESB and clean up/stop TIMER1, Radio etc before starting the SoftDevice again so that the Bluetooth stack starts at a known state.&lt;/p&gt;
[quote user=""]If I want to enable service discovery on a peripheral device to check if a service similar to ANCS exists on the connected central device, is it mandatory to use a protocol stack with central capabilities (such as S140 or S132)? Can a peripheral-only protocol stack (like S113) not accomplish this?[/quote]
&lt;p&gt;GATT roles (client/sever) is independent, and there is no problem performing service discovery from a peripheral. (The &lt;a href="https://docs.nordicsemi.com/bundle/sdk_nrf5_v17.1.0/page/ble_sdk_app_ancs.html"&gt;ANCS example&lt;/a&gt; in nRF5 SDK has an example project using S112, which is a peripheral only SoftDevice, though this is not for nRF52833).&lt;/p&gt;
[quote user=""]Can the S140 SoftDevice be used with the nRF52833? If I want to support BLE 5 features, is using S140 the minimum requirement?[/quote]
&lt;p&gt;Yes. &lt;a href="https://docs.nordicsemi.com/bundle/comp_matrix_nrf52833/page/COMP/nrf52833/nRF52833_ic_rev_sdk_sd_comp_matrix.html"&gt;See&amp;nbsp;SDKs and SoftDevices&lt;/a&gt;&amp;nbsp;for compatible SoftDevice with nRF52833, which includes S140. Note that S140 is not the minimum for BLE 5. Other SoftDevice are also qualified for BLE5, but various SoCs and SoftDevices support different subsets of the specification. The relevant here is which BLE features you need.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>