Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

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

Hi,

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. 

/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b58b927793a545e98605f14e6a80f541/nrf_5F00_sdh_5F00_request.PNG

Thanks

Related