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

ble_stack_init nrf_sdh

I am inquiring about a custom device that hangs in the ble_stack_init(); and the result is a fatal error.

The custom device has an nRF52832 

The SDK is the SDK14

The project is a basic UART over bluetooth

The project will run without the fatal error on a nRF52832 DK

I have turned on debugging and have been given three statements:

<info> app: here
0> <debug> nrf_sdh: State request: 0x00000000
0> <debug> nrf_sdh: Notify observer 0x0002B474 => ready
0> <debug> nrf_sdh: State change: 0x00000000
0> <error> app: Fatal

Any help provided would be appreciated. 

Parents
  • Hi

    If the four others fail either way, there's likely something else entirely that is incorrect. Do you have any specific information on where these boards fail? Do they start up at all, and if so, at what point do they fail to connect to the Dongle? A common mistake is to solder on the 16MHz clock 90 degrees the wrong way so the HF clock, and by extension the radio, won't run at all.

    Best regards,

    Simon

  • Simon,

    Thank you! So, the five boards program and run an oled display, properly. I would agree that it is possible there is a hardware issue that is just outside of stable and one just made it.

    I have recently changed my SDK to the 17.02 to see if there was any change, I lost the one working board. I have more to examine on this but for now it no longer works inside 17.02, yes, if I go back to 17.0 it will resume function. The boards do not make it out of the ble_stack_init(); and specifically at the call to nrf_Sdh_enable_request(); still an issue with the LFCLKSRC.

    I will look into utilizing the low frequency crystal with the display. 

Reply
  • Simon,

    Thank you! So, the five boards program and run an oled display, properly. I would agree that it is possible there is a hardware issue that is just outside of stable and one just made it.

    I have recently changed my SDK to the 17.02 to see if there was any change, I lost the one working board. I have more to examine on this but for now it no longer works inside 17.02, yes, if I go back to 17.0 it will resume function. The boards do not make it out of the ble_stack_init(); and specifically at the call to nrf_Sdh_enable_request(); still an issue with the LFCLKSRC.

    I will look into utilizing the low frequency crystal with the display. 

Children
Related