While typical deep-sleep current of L01 is around 5uA, if machine.deepsleep() is called after i2c.init() followed by i2c.deinit(), the deep-sleep current is much higher - more that 30uA.
I found a workaround - to set SDA and SCL pins to Pin.IN before calling machine.deepsleep().
I guess this Pin re-initialization (or something similar) should be done within i2c.deinit()?
While typical deep-sleep current of L01 is around 5uA, if machine.deepsleep() is called after i2c.init() followed by i2c.deinit(), the deep-sleep current is much higher - more that 30uA.
I found a workaround - to set SDA and SCL pins to Pin.IN before calling machine.deepsleep().
I guess this Pin re-initialization (or something similar) should be done within i2c.deinit()?
Issue is described in the Pycom forum as well: https://forum.pycom.io/topic/2008/i2c-deinit-and-machine-deepsleep-on-l01