What does consume more power, IO pull-up or IO pull-down? Didn't find information about this on the product specification.
What does consume more power, IO pull-up or IO pull-down? Didn't find information about this on the product specification.
Thanks for you response. Yes normally this wouldn't be a problem I agree but in our product use case the button will be used very intensely. It will be pressed approximately 3 hours a day then it has quite a influence on the battery life.
ok, I understand. In your case this obviously has major influence on the battery life. What I would recommend then in your case is to connect an oscilloscope to the GPIO pin that you connect to the button, disable internal pull, and experiment with different external pullup resistors, if weaker pullup can actually remove noise from the pin in all situations that you can think of that can cause disturbance to that pin. Another option would be to add a circuit to your PCB that generates a short pulse when a button is pressed, which is adequately long to trigger a nRF51 event. This approach will be perhaps safer but will add some cost.
Thanks for you respone. RK found a solution it had to with my pin configuration. I overwrote the GPIOTE config when setting the pin to no pull for testing. See the post here: devzone.nordicsemi.com/.../
But your idea is pretty good to make a circuit with a short pulse to save even more power. Thanks!