sd_softdevice_enable() not seems to exist

Hello everybody,

we are currently working with an nRF51822 mounted on a Adafruit Bluefruit LE UART Friend. We use pca 10028 and s130.

While debugging through the code using Keil u-vision and an ST-Link v2, the code gets stuck within sd_softdevice_enable(), which seems not to exist when i try to go to its definition.

We already tried to switch between the possible clock sources (as this was the proposed solution in other cases concerning sd_softdevice_enable()), but nothing worked.

I`d be really happy to recieve your help.

Thank you!

Parents
  • Hello,

    It's almost always related to the clock source configuration when the program if the program gets stuck in the sd_softdevice_enable() call inside the Softdevice.  But your module is apparently including the optional 32 KHz crystal which means you should have been able to work with any of the 3 available low frequency clock sources.

    Could you include some screenshots of the CPU registers and disassembly view when the program is stuck in the sd_softdevice_enable() call?

    Best regards,

    Vidar

Reply
  • Hello,

    It's almost always related to the clock source configuration when the program if the program gets stuck in the sd_softdevice_enable() call inside the Softdevice.  But your module is apparently including the optional 32 KHz crystal which means you should have been able to work with any of the 3 available low frequency clock sources.

    Could you include some screenshots of the CPU registers and disassembly view when the program is stuck in the sd_softdevice_enable() call?

    Best regards,

    Vidar

Children
Related