Hello Nordic Team,
I am facing an issue in my project that uses BLE and FreeRTOS. If I call nrf_sdh_enable_request() in main() before starting the task scheduler vTaskStartScheduler(), then nrf_sdh_enable_request() returns with NRF_SUCCESS (0) but the OS does not run properly as I do not see my OS tasks running.
If I call nrf_sdh_enable_request() in my OS task after starting the task scheduler, the OS task runs properly but nrf_sdh_enable_request() returns with error code 4097.
I have already checked that the interrupt priorities in sdk_config.h are using priority level 6 and I have also compared FreeRTOS_Config.h in my project against the one in example ble_app_hrs_freertos and I do not see any differences apart from the fact that my project uses Systick for tick source.
Note that I am starting high frequency clock before calling nrf_sdh_enable_request(). Could this be an issue?
Regards,
Anusha