Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. sharek
    S
    • Continue chat with sharek
    • Start new chat with sharek
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    sharek

    @sharek

    0
    Reputation
    2
    Posts
    628
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    sharek Follow

    Posts made by sharek

    • RE: M5Stick-C: How to set low-power mode on MPU6886?

      Maybe with the ULP? I want some similar but with the I2C hat env2...

      posted in M5 Stick/StickC
      S
      sharek
    • M5StickC and ULP wakeup

      When I try to program the ULP and enable esp_sleep_enable_ulp_wakeup();

      I use the following code with esp_sleep_enable[...] before M5.Deepsleep()

        esp_sleep_enable_ext0_wakeup(GPIO_NUM_37, LOW); // button A 1 = High, 0 = Low
      #define BUTTON_PIN_BITMASK 0x8000000000 // 2^39 in hex (button B)
        esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK, ESP_EXT1_WAKEUP_ALL_LOW);
        esp_sleep_enable_timer_wakeup(takeSampleTime);
        esp_sleep_enable_ulp_wakeup(); // conflict with ext0/ext1/touch/ulp?
      

      If I use ButtonA&ButtonB wake EXT0 and EXT1 on the log the ESP tells me something like:

      E (16967) sleep: Conflicting wake-up trigger: ext0
      

      And If I disable the buttons wakeup, also tells me about GPIO TOUCH conflict :(

      What are the steps to get button wakeup, timer wakeup and ULP wakeup at same time?

      posted in PROJECTS
      S
      sharek