Deep sleep power consumption with connected SPI device

andrelmbraga
Posts: 2
Joined: Thu Apr 25, 2019 11:16 pm

Re: Deep sleep power consumption with connected SPI device

Postby andrelmbraga » Mon Jun 17, 2019 6:45 pm

Hello Guys,

I'am having the same problem, unfortunatly I didnt figure out how @Laetterman solved this problem.


Is there a way to change the RTC pins? I mean this is not a hardware definition?

Assuming that i coulndt change it in arduino IDE I change my pins in my pcb board to use just RTC IOs.

So when I putt my LoRa (2AD66-LoRa V2) in deep sleep I can see that the current is lower than 10 uA, however when my ESP goes to sleep the connection is lost and I get some mA to feed the LoRa chip.

First, I have tried to use this to ensure that the pins are going to be hold in deep sleep mode:

gpio_hold_en(SCK);
gpio_hold_en(MISO);
gpio_hold_en(MOSI);
gpio_hold_en(SS);
gpio_hold_en(DI0);
gpio_deep_sleep_hold_en();

But I didnt succeed, after I tried this::

rtc_gpio_isolate(SCK);
rtc_gpio_isolate(MISO);
rtc_gpio_isolate(MOSI);
rtc_gpio_isolate(SS);
rtc_gpio_isolate(DI0);

Can please someone help me?
@Laetterman Can you show me a little bit more what you did?

Who is online

Users browsing this forum: Bing [Bot] and 102 guests