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

nrf52832 example issue with sd_softdevice_enable function

Hi,

I just got a nrf52832 pca10040 board and I downloaded the last SDK nRF5 v11. I downloaded Keil uVision5 and was able to load some examples and test them: nfc record_url, blinky_freertos... I want to use BLE capabilities of the chip (not ANT), so I loaded softdevice 132 from nRF52_SDK_0.9 using nrfGo Studio. I wanted to use the new SDK one, but the 132 folder is empty.

I opened experimental_ble_app_blinky/s132/arm5_no_packs example. I compiled it with no issues: 0 warnings, 0 errors. I was able to load it but the board made nothing. I then debugged it and I found it was getting got stuck in * sd_softdevice_enable* call in line 285 of softdevice_handler.c. The call stack ends in ble_stack_init(), which is the 4th instruction in main. I tried to go to the definition of the function but the IDE tells me that there is no reference for this function, however it compiles with no problem... ¿?

I have the board as it comes from the distributor, so I guess hte problem has something to do with the configuration, or something I have done wrong...

Also, I found something strange in Keil. In the project view I see the Device branch with an error symbol, but it compiles ok and I can open both .s files.

image description

Can anyone tell me why the example code does not run?

What do you think I could have possibly done wrong?

Thanks!

Related