🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ultra low power consumption in sleep mode

    Core 2
    2
    3
    5.9k
    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.
    • felmueF
      felmue
      last edited by felmue

      Hi @m5stack

      the Core2 advertisement on https://m5stack.com/collections/m5-core announces Ultra Low Power Consumption in Sleep Mode.

      Would you mind sharing the exact numbers you guys measured in your lab and point me to the source code you used to achieve those numbers?

      0_1600351730480_Core2UltraLowPowerConsumptionInSleepMode.png

      Thank you very much in advance.

      Cheers
      Felix

      GPIO translation table M5Stack / M5Core2
      Information about various M5Stack products.
      Code examples

      RopR 1 Reply Last reply Reply Quote 0
      • RopR
        Rop @felmue
        last edited by

        I hear crickets...

        I worked out a clever trick to keep the touch on (it has its own power-save mode) while almost everything else is off or asleep. If you read M5.Touch.stale using my library fork, you get the data from the last touch that is left in the memory of the FT6336. That way you don't need to be be awake during the brief tap used to wake the device up, but can wake up briefly half a second later and see if the last touch is now in a different spot. Depending on how deep the sleep is, it can also make sense to do that without loading the whole library just to compare the 4 bytes at 0x03 in the FT6336.

        1 Reply Last reply Reply Quote 0
        • felmueF
          felmue
          last edited by

          Hi @Rop

          or a pin drop...

          thank you for that piece of information - it's good to know the last touch can be retrieved if necessary.

          Currently in my project I put almost everything to sleep, except for touch (monitor mode) and IMU (setup for WOM). The ULP is monitoring the interrupt lines from both and wakes the main CPU if required.

          Cheers
          Felix

          GPIO translation table M5Stack / M5Core2
          Information about various M5Stack products.
          Code examples

          1 Reply Last reply Reply Quote 0
          • First post
            Last post