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

Button 1-2 resets nRF51-DK

I am trying to set up a GPIO interrupt, and found that whenever Button 1 is pressed, if Button 1 or 2 is pressed later, the app will reset. This is even if there is any other buttons are pressed in between the two button presses. For example:

  • Pressing 1-1 resets the app
  • Pressing 1-2 resets the app
  • Pressing 1-3-4-3-3-4-2 resets the app

And I am not even setting GPIO button interrupt on Button 1 or 2. I am setting it up on Button 4. The application I am trying to add the button features to is based off the ble_app_uart example. Is this some kind of backdoor implemented by default in the nRF51-DK, or in the ble_app_uart example?

Parents
  • What does the documentation for that particular example say the buttons are supposed to do? Perhaps button 1 is default configured to put the chip into sleep mode, at which point you'd expect to see an LED light up and another button press of whatever button is default configured to wake it up, to wake it up again.

    All the examples are documented - go see what it says about the particular one you're using.

Reply
  • What does the documentation for that particular example say the buttons are supposed to do? Perhaps button 1 is default configured to put the chip into sleep mode, at which point you'd expect to see an LED light up and another button press of whatever button is default configured to wake it up, to wake it up again.

    All the examples are documented - go see what it says about the particular one you're using.

Children
No Data
Related