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

Issue in configuration of Button in NRF51822 board

Hello All,

I am working on the NRF51822 custom board.

I am Using the SDK 12.3 with s130 (PCA10028)

1.) Is it right sdk for nrf51822..?

2.) Facing issue in configuration in button after changing pins configuration w.r.t schematic in pca10028.h file.

Attaching the pca10028.h and schematic.

Please check and give your inputs.

1.schematic

SCH-W912N - 副本.pdf

2. pca10028.h

pca10028.h




Thanks,

Rohit

Parents
  • Hi Rohit

    Sorry I didn't catch that. It seems you've mixed up the pins and pin names. If you take a look at the pin assignments in the product specification, you can see that pin 19 = P0.13. I see that your button is on P0.19 in the schematics, which means you'll have to configure it as 27 in the pca10028.h file.

    Best regards,

    Simon

  • Thanks for your inputs.

    As per you suggestion i have made changes. 

    But after using the sdk 12.3 with s130 i am getting  following error 

    As i have imported example from keil5 folder in segger embedded studio 

    1> Linking experimental_ble_app_blinky_pca10028_s130.elf
    1> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.22/gcc/arm-none-eabi/bin/ld: cannot find @D:/Rohit/31_07/circular/nRF5_SDK_12.3.0_d7731ad/examples/ble_peripheral/experimental_ble_app_blinky/pca10028/s130/arm5_no_packs/Output/experimental_ble_app_blinky_pca10028_s130 flash_s130_nrf51_2.0.1_softdevice/Obj/experimental_ble_app_blinky_pca10028_s130.ind: No such file or directory
    Build failed

    Waiting for your reply.

    Regards,

    Rohit

Reply
  • Thanks for your inputs.

    As per you suggestion i have made changes. 

    But after using the sdk 12.3 with s130 i am getting  following error 

    As i have imported example from keil5 folder in segger embedded studio 

    1> Linking experimental_ble_app_blinky_pca10028_s130.elf
    1> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 4.22/gcc/arm-none-eabi/bin/ld: cannot find @D:/Rohit/31_07/circular/nRF5_SDK_12.3.0_d7731ad/examples/ble_peripheral/experimental_ble_app_blinky/pca10028/s130/arm5_no_packs/Output/experimental_ble_app_blinky_pca10028_s130 flash_s130_nrf51_2.0.1_softdevice/Obj/experimental_ble_app_blinky_pca10028_s130.ind: No such file or directory
    Build failed

    Waiting for your reply.

    Regards,

    Rohit

Children
Related