WiPy 3.0 - deep-sleep GPIOs/ADC?
-
Testing WiPy 3.0 here and trying to get an interrupt handler working while in deep-sleep as per:
"– An extra ULP-coprocessor that can monitor GPIOs, the ADC channels and
control most of the internal peripherls during deep-sleep mode while only
consuming 25uA"Having no success yet, is there any trick to it I may be missing?
Interrupt handler works just fine as long as the WiPy is not in deep-sleep.Thanks!
-
@mbevilacqua
The ULP is a separate controller which has very limited resources so it doesn’t run MicroPython. You can use it with ULP specific code and C and we’re also looking to introduce fixed functionalities from Python (e.g. wake when ADC goes above/below threshold) -
@jmarcelino Ok that makes sense. ADC threshold sounds great, as does a simple GPIO-based pulse counter in case you're looking for ideas :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login