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
  • Here is a note about my setup: The chip on my custom PCB is connected to the SWCLK, SWDIO, GND, VREF pins on the nRF51DK. When I give power to the PCB, nRFgo Studio recognizes the chip is nRF51822 (instead of the nRF51DK chip which is nRF51422). I am using Kiel uVision5 to compile the examples from NRF51_SDK_9.0.0. I then go to nRFgo Studio and do the following: 1) Erase All. 2) In the Program SoftDevice tab, I select "nRF51_SDK_9.0.0_2e23562/components/softdevice/s110/hex/s110_softdevice.hex", and click Program. 3) In the Program Application tab, I select "nRF51_SDK_9.0.0_2e23562/examples/ble_peripheral/ble_app_hrs/pca10028/s110/arm5_no_packs/_build/nrf51422_xxac_s110.hex" and click Program. The nRFgo Log says Softdevice programmed successfully and Application programmed successfully. I open nRF Toolbox on my iPhone, select HRM, and press Connect, but nothing is broadcasting.

Reply
  • Here is a note about my setup: The chip on my custom PCB is connected to the SWCLK, SWDIO, GND, VREF pins on the nRF51DK. When I give power to the PCB, nRFgo Studio recognizes the chip is nRF51822 (instead of the nRF51DK chip which is nRF51422). I am using Kiel uVision5 to compile the examples from NRF51_SDK_9.0.0. I then go to nRFgo Studio and do the following: 1) Erase All. 2) In the Program SoftDevice tab, I select "nRF51_SDK_9.0.0_2e23562/components/softdevice/s110/hex/s110_softdevice.hex", and click Program. 3) In the Program Application tab, I select "nRF51_SDK_9.0.0_2e23562/examples/ble_peripheral/ble_app_hrs/pca10028/s110/arm5_no_packs/_build/nrf51422_xxac_s110.hex" and click Program. The nRFgo Log says Softdevice programmed successfully and Application programmed successfully. I open nRF Toolbox on my iPhone, select HRM, and press Connect, but nothing is broadcasting.

Children
No Data
Related