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

ble fall in init after addition of twi

hello 

i am working with nrf52832 

my code is based on the Ble blinky example from centeral. i added to the code with ble, uart, saadc and pwm and it was working great

after addition of twi with sdk_config file addition which unfortunetly i didn't save before changes, and addition of a lib of nxp nfc reader, i fall in ' ble_init ' 

i get stuck here:

SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lf_cfg_t const * p_clock_lf_cfg, nrf_fault_handler_t fault_handler));

in the nrf_sdm.h file

i think it is related to the softdevice but i have no idea what changed (the ble files did not, the only thing i can think of is the sdk_config.h or the .emProject file 

any help on the metter will be most appritiated 

Best regards

Ziv

Parents
  • Hello Ziv,

    i fall in ' ble_init ' 

    Could you share code from "ble_init"? Are you referring to the ble_stack_init() from the blinky_c example? If so, have you made any changes to it?

    i get stuck here:
    i think it is related to the softdevice but i have no idea what changed (the ble files did not, the only thing i can think of is the sdk_config.h or the .emProject file 

    If this is the case, the SoftDevice is failing to enable.
    Which changes did you make to the sdk_config file?
    Did you make any changes to your clock configuration? Please take a look at this ticket.

    Best regards,
    Karl

     

Reply
  • Hello Ziv,

    i fall in ' ble_init ' 

    Could you share code from "ble_init"? Are you referring to the ble_stack_init() from the blinky_c example? If so, have you made any changes to it?

    i get stuck here:
    i think it is related to the softdevice but i have no idea what changed (the ble files did not, the only thing i can think of is the sdk_config.h or the .emProject file 

    If this is the case, the SoftDevice is failing to enable.
    Which changes did you make to the sdk_config file?
    Did you make any changes to your clock configuration? Please take a look at this ticket.

    Best regards,
    Karl

     

Children
Related