Problem programming custom PCBs on nrf51822

Hi, I tried my best to solve my problem via forum but unfortunately no success. I got nrf51 DK and played with it a lot. successfully program the samples and tweak them a bit. using SDK 5.1 and s110 v6.

The problem starts when I try custom boards. I have made one based on QFAAC0 for which:

I have same problem with a board I purchased online, PTR5528 which is based on CEAA . Can program blinky but no BLE.

Is there something that I am doing wrong. I did connect the board to 3 V and connected the segger programmer pins as explained in the forum (That's how I program without an error)

Thanks in advanced for your help, Ali

Parents
  • Hi,all

      if your  PCB based on the nRF51822 reference designs in the data sheet.
    

    The SoftDevice and memory map all were set up correctly. Test GPIO code integrated with inactive S110 SoftDevice and worked fine.

    Yet when running ble_app_hrs example code, main() worked up to ble_stack_init. At that point line 231 of softdevice_handler.c ....

    1)please do it: if your PCB hasn't no xtal 32khz,you need to modify "ble_tack_init(void)" BLE_STACK_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION, BLE_L2CAP_MTU_DEF, ble_evt_dispatch, false);

    2)the problem is still,please to do it.

    the xtal 16M Crystal has broken,so you need to replace by a new xtal 16M .

Reply
  • Hi,all

      if your  PCB based on the nRF51822 reference designs in the data sheet.
    

    The SoftDevice and memory map all were set up correctly. Test GPIO code integrated with inactive S110 SoftDevice and worked fine.

    Yet when running ble_app_hrs example code, main() worked up to ble_stack_init. At that point line 231 of softdevice_handler.c ....

    1)please do it: if your PCB hasn't no xtal 32khz,you need to modify "ble_tack_init(void)" BLE_STACK_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_1000MS_CALIBRATION, BLE_L2CAP_MTU_DEF, ble_evt_dispatch, false);

    2)the problem is still,please to do it.

    the xtal 16M Crystal has broken,so you need to replace by a new xtal 16M .

Children
No Data
Related