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

nrf51822 ble_stack_init(); hangs

Hi, My aim is to transmit the beacons. iam using nrf51822 usb dongle and nRF5_SDK_12.1.0).I need to run E:\nrf1\examples\ble_peripheral\ble_app_beacon\pca10028\s130\arm5_no_packs.i build the program on keil and flashed on nrf51822 using nrfgo studio.my program is hanged on ble_stack_init (); function.

can u please tell me what are the necessary modifications(in keil compiler or program) could i do to transmit the beacons

Parents
  • Yes iam using nRF51 Dongl and iam using examples\ble_peripheral\ble_app_beacon\pca10028\s130\arm5_no_packs.i browsed for solution and i found that replace this with (#define NRF_CLOCK_LFCLKSRC NRF_CLOCK_LFCLKSRC_XTAL_20_PPM) (#define NRF_CLOCK_LFCLKSRC NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION) in NRF_CLOCK_LFCLKSRC function defination(ble_stack_init(void)) but still not solved my problem.do i need to change any IROM1 and IRAM1 values in keil??currently iam using IROM (0x0,0x40000)and IRAM1(0x20000000,0x8000) sizes.

Reply
  • Yes iam using nRF51 Dongl and iam using examples\ble_peripheral\ble_app_beacon\pca10028\s130\arm5_no_packs.i browsed for solution and i found that replace this with (#define NRF_CLOCK_LFCLKSRC NRF_CLOCK_LFCLKSRC_XTAL_20_PPM) (#define NRF_CLOCK_LFCLKSRC NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION) in NRF_CLOCK_LFCLKSRC function defination(ble_stack_init(void)) but still not solved my problem.do i need to change any IROM1 and IRAM1 values in keil??currently iam using IROM (0x0,0x40000)and IRAM1(0x20000000,0x8000) sizes.

Children
No Data
Related