This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can SoftDevice SoC API be used when the SoftDevice is disabled?

I am using SDK 11.0.0 and S132 on a nRF52832. In my application, my device can operate in BLE mode with the SoftDevice enabled or in custom RF mode with the SoftDevice disabled. When the SoftDevice is disabled, is it safe to use the SoftDevice SoC functions, such as sd_clock_hfclk_request() and sd_power_dcdc_mode_set() and the NVIC wrapper functions? It appears the Flash API functions support both modes, but I was unclear about the other SoC functions.

As an alternative, if my device enables the SoftDevice at boot, uses the SoC functions, and then disables the SoftDevice to enter custom RF mode, will the HFCLK request and power settings persist or are they cleared when the SoftDevice is disabled?

Thanks, Austin

Related