Hi,
I am using nrf_drv_clock_hfclk_release(); in order to release the hfclk, before the call, the internal counter is 1 and the module is initialized.
because the counter is 1, the SDK function above is calling: hfclk_stop();
in it, there is a call to: sd_clock_hfclk_release()
my CPU is halted right after this call.
I think it's happening because I am calling nrf_drv_clock_hfclk_release() from a very high priority context - it is not happening when called from lower priority.
Do you have some idea why it's halting? or how can I debug it?
I'm using running on an nrf52832 and using SDK 11 with softdevice s132 v2.0.0!
Thanks