calling nrf_sdh_enable_request(); forces CPU into SVC_Handler and it stays there.


Device- nRF52832 (nRF52 DK)

SDK version 14.2

SoftDevice version 5

Segger embedded studio.

I am trying get the BLE working, unfortunately calling nrf_sdh_enable_request(); forces the CPU into SVC_Handler and it stays there.  The example codes (ble_app_template) given work as expected. When debugging , both the codes(My code & ble_app_template) are executed till the point shown in the figure. Then ble_app_template  continues execution while my code ends up in SVC_Handler. 

sdk_config.h is same for both the projects.

Any help is appreciated.