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

Putting working program from nRF51DK onto a nRF51822 on custom board

I've developed a PCB containing the nRF51822. I am trying to uploaded the example program "ble_app_uart_s110_pca10028" to it, but the chip is not broadcasting (so I assume the program isn't uploaded correctly). I have uploaded the same program to the nRF51DK (Developer Kit) and it works fine on the nRF51DK.

I'm trying to program the 51822 using the nRFDK debugging pins.

Unfortunately, the nRF51422 on the Development Kit and the nRF51822 on the custom PCB aren't pin compatible.

I've tried going into the pca10028 header file and changing the pins around. I changed all the active pins being used by the board accordingly. The only pins I need are the RX and TX pins I've set up as Pins 47 and 48.

I've tried following the instructions here : devzone.nordicsemi.com/.../

and here : devzone.nordicsemi.com/.../

Thanks, I really appreciate any help. I've been stuck on this for close to a month.

Here is the schematic: image description

Parents
  • @Andy: L2 should be 27nH, could you explain why you used 10nH ? C48 should be 1.0 pF.

    My suggestion is to test with the blinky example in the SDK. You can find that we have 2 setup, one with s110 and one is blank. You can test first by erase the chip completely and test the blank one. You may need some modification to match with your hardware setup (the chip and the GPIO pins). After you have your LED blinking, you should try the blinky_s110_pca100028. To test this, you flash the s110 softdevice first, and then flash the application after. You should use the correct softdevice version, for SDK v8.0 and SDK v9.0 you should use S110 v8.0.

    After you have the blinky_s110, you can test with other BLE example , such as the ble_app_hrm, make sure you have used :

    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
    
Reply
  • @Andy: L2 should be 27nH, could you explain why you used 10nH ? C48 should be 1.0 pF.

    My suggestion is to test with the blinky example in the SDK. You can find that we have 2 setup, one with s110 and one is blank. You can test first by erase the chip completely and test the blank one. You may need some modification to match with your hardware setup (the chip and the GPIO pins). After you have your LED blinking, you should try the blinky_s110_pca100028. To test this, you flash the s110 softdevice first, and then flash the application after. You should use the correct softdevice version, for SDK v8.0 and SDK v9.0 you should use S110 v8.0.

    After you have the blinky_s110, you can test with other BLE example , such as the ble_app_hrm, make sure you have used :

    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_4000MS_CALIBRATION, NULL);
    
Children
No Data
Related