-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enables GPIO low accuracy interrupt #367
base: master
Are you sure you want to change the base?
Enables GPIO low accuracy interrupt #367
Conversation
using the PORT event and the pin SENSE register.
With the NRF51822, it reduces the consumption of the chip of around 1mA compared to GPIO IN events. |
Did you test these changes with a SD on the chip? |
What do you mean by SD ? (Sorry I'm not an English native) |
Soft Device, the pre-compiled Bluetooth executable |
Yes, I only use soft device S130 with a rev 3 chip (nRF51822). I do not own nRF52 chips. |
Before this gets merged I would like to see it tested on a nRF52 |
I bought a nRF52 board, but didn't find the time to do it yet. |
@dlabun @sandeepmistry @jeanmatthieud 2 years have since passed and wondered if the arduino-nRF5 has resolved the energy consumption issue? See this pull request still not merged, guess the nRF51822 high current consumption issue during sleep was resolved somewhere else? |
Hi, |
Yes I used your branch. Works for me too. Thanks a lot for implementing this highly needed feature. After all, BLE without proper low energy features is nothing. |
@jeanmatthieud Thanks for the blog post and this pull request. Worked for me as well, except for attachInterruptLowAccuracy() not clearing the SENSE field, so it did not work to switch between RISING and FALLING modes. I had to add this before the switch in attachInterruptLowAccuracy().
|
using the PORT event and the pin SENSE register
Linked to issue #153