Open jeanmatthieud opened 5 years ago
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, Sadly, I never took the time to test it on the nRF52... But the branch was working for me on the nRF51822
Hi, Sadly, I never took the time to test it on the nRF52... But the branch was working for me on the nRF51822
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().
NRF_GPIO->PIN_CNF[pin] &= ~(GPIO_PIN_CNF_SENSE_Msk);
using the PORT event and the pin SENSE register Linked to issue sandeepmistry/arduino-nRF5#153