Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. SPI flash chip is not sleeping during sleep.

SPI flash chip is not sleeping during sleep.

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 471 Views 1 Watching
  • 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.
  • Y Offline
    Y Offline
    yury
    wrote on last edited by
    #1

    The flash chip supposed to go sleep if the node sent to sleep but it is not and eats extra 10uA. I did not go deep into the lib code but found if I send the node to sleep "manually" it eats only 7 uA - no LDO, 10 uA with LDO.

    SPIFlash flash(8, 0x0);
    
    void loop()
    {
      //wdt_reset();
     //swarm_report();      
      flash.sleep();
      sleep(600000);
    }
    

    Am I missing something ?

    SPI flash sleep mentioned here:
    https://github.com/mysensors/MySensors/blob/master/drivers/SPIFlash/SPIFlash.h#L91

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    23

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular