Lopy vs. L01 differences
I switched my hardware from Lopy + Expansionboard v2.1A to L01 + Baseboard + Expansionboard v2.1A. I expected no problems. But there are loads of it.
First of all, I'm not able to modify the output states of the pins.
from machine import Pin pin_en = Pin('P23', mode=Pin.OUT) pin_en(False)
simply does nothing.
What could be wrong?
@jcaron Just added it
Yepp, P23 and P22 are the relevant pins in my design. But at the moment, this is my least problem. The L01 seems to be dead. The 1.8V voltage is not there...
Hopefully I get the L01 desoldered, without killing the baseboard...
@seb This should probably be added to https://docs.pycom.io/chapter/firmwareapi/pycom/machine/Pin.html ?
Only pins that are in the RTC power domain can hold a value during deep sleep. These are:
@thosch42 Not sure of the details, but this may vary between pins, as I believe some of the pins are controlled by parts of the ESP32 that remain active during deep sleep while others aren't.
Ok, I found the main problem. After cleaning up the soldered pads of the L01, it works so far.
But the pin.hold while in deepsleep seems not to work. Is there another difference between the normal deepsleep and the deepsleep via Deepsleep Shield?
No. No SD card. I just replaced a Lopy + Deepsleep Shield with a L01 + Baseboard. Same script (except the deepsleep part), same peripheral hardware.