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

  • I have run the rtc example from the SDK17.02. I have changed the led 1 from pin 17 to pin 27 within pca10040.h, so as to access a via on my board into the scope. I have looked into the sdk_config.h and see on line 65-67

    #ifndef NRFX_CLOCK_CONFIG_LF_SRC
    #define NRFX_CLOCK_CONFIG_LF_SRC 1
    #endif
    I presume the 4Hz signal apparent on my scope from pin27 of all five boards is run from the low frequency oscillator on my board?
Reply
  • I have run the rtc example from the SDK17.02. I have changed the led 1 from pin 17 to pin 27 within pca10040.h, so as to access a via on my board into the scope. I have looked into the sdk_config.h and see on line 65-67

    #ifndef NRFX_CLOCK_CONFIG_LF_SRC
    #define NRFX_CLOCK_CONFIG_LF_SRC 1
    #endif
    I presume the 4Hz signal apparent on my scope from pin27 of all five boards is run from the low frequency oscillator on my board?
Children
No Data
Related