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

    I've taken a look at your schematics, and here are some notes:

    • C3 should be 47nF
    • R2 is 1kOhm in the reference design, but 12kOhm should be fine as well.

    Other than that, everything seems to be correct. Now, to your questions.

    1. Yes, SDK 12.3 and S130 are the most recent SDK and SoftDevice that are compatible with the nRF51 series products.
    2. What are you asking here? Do you want to You can set the buttons to any GPIO by changing #define BUTTON_X to whatever pin number you want. In any case, this is the correct pca10028 file.

    Best regards,

    Simon

  • Thanks Simonr for your reply.

    I will consider your input for the hardware design change.


    Yes , I wanted to do configure button as per schematic i.e. 19 pin.( i have made changes in PCA10028)

    But after configuration also it is not working.

    what changes i have to do in the PCA10028.h file?

    Waiting for your reply.

    Thanks,

    Rohit

Reply Children
No Data
Related