Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    WiPy 3.0 - deep-sleep GPIOs/ADC?

    Scheduled Pinned Locked Moved WiPy 2&3
    wipy 3.0deep sleep
    3 Posts 2 Posters 1.2k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mbevilacqua
      last edited by

      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!

      J 1 Reply Last reply Reply Quote 1
      • J Offline
        jmarcelino @mbevilacqua
        last edited by jmarcelino

        @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)

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mbevilacqua @jmarcelino
          last edited by

          @jmarcelino Ok that makes sense. ADC threshold sounds great, as does a simple GPIO-based pulse counter in case you're looking for ideas :)

          1 Reply Last reply Reply Quote 0

          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
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom