GPy deep sleep



  • Hi all!
    I have a problem with the deep sleep. I put the GPy r1.0 in deepsleep but the board in deep sleep absorb brief peaks of 300mA, that results in a mean current of about 5mA.
    Why? The GPy goes in deep sleep but still consume a too high current.
    I have used the followings code:

    #Sleep init
    Sleep_pin = Pin('P10', mode=Pin.IN, value=None)
    machine.pin_deepsleep_wakeup(pins=[Sleep_pin], mode=machine.WAKEUP_ANY_HIGH, enable_pull=True)
    
    #disable periphal
    a = WLAN()
    a.deinit()
    
    a = Bluetooth()
    a.deinit()
    
    a = LTE()
    a.deinit()
    
    
    #deep sleep
    machine.deepsleep()
    

    Thank you very much in advance for your time and help!



  • When the GPy is on the total consumption is stable to 300mA (I use only the WiFi at the moment, the LTE module not yet).
    The other electronic parts are low power, can not absorb peaks of 300mA.

    Now I'am update the GPy firmware and then I'am updating the LTE modem firmware.



  • Do those peaks exist when the LTE is on? Are you sure the peaks are coming form the LTE?



  • No, I'am using my custom board :)



  • Are you using a pycom extension board? if so, you need to put the board to sleep also?


Log in to reply
 

Pycom on Twitter