Search found 10 matches

by StefanS
Sat Feb 02, 2019 10:23 am
Forum: ESP-IDF
Topic: Control GPIO in deep sleep wake stub
Replies: 5
Views: 8321

Control GPIO in deep sleep wake stub

I'd like to control a GPIO PIN in the deep sleep wake stub. I tried the following code but the GPIO does not turn on. #define SU_HARDWARE_PWRREG GPIO_NUM_23 void RTC_IRAM_ATTR esp_wake_deep_sleep(void) { esp_default_wake_deep_sleep(); gpio_pad_select_gpio(SU_HARDWARE_PWRREG); // Ripped from gpio_set...
by StefanS
Wed Jan 30, 2019 5:01 pm
Forum: General Discussion
Topic: Stuck in bootloader
Replies: 1
Views: 5051

Stuck in bootloader

Hello, my device is sometimes stuck in the bootloader. This is the last output that I get [2019-01-30 17:34:54] I (12) boot: ESP-IDF v3.1.2-dirty 2nd stage bootloader [2019-01-30 17:34:54] I (13) boot: compile time 15:34:11 [2019-01-30 17:34:54] I (13) boot: Enabling RNG early entropy source... [201...
by StefanS
Fri Nov 23, 2018 1:24 pm
Forum: General Discussion
Topic: deep sleep current after wifi stop
Replies: 1
Views: 3429

Re: deep sleep current after wifi stop

I have this problem too after using Bluetooth. Current is slightly above 1mA when BT was used and well below if not.
Did you ever find a solution for this?
Thanks
by StefanS
Fri Nov 23, 2018 10:40 am
Forum: General Discussion
Topic: Increased power consumption when entering sleep mode after enabling wifi mode。
Replies: 2
Views: 6129

Re: Increased power consumption when entering sleep mode after enabling wifi mode。

I also have this problem. Anyone has a solution for this?
Thank you
by StefanS
Fri Oct 12, 2018 2:24 am
Forum: ESP-IDF
Topic: ble modem sleep
Replies: 2
Views: 5442

Re: ble modem sleep

Hi John,
did you ever find a solution to this problem? I'm trying to understand the difference between ORIG and EVED and which one is better?
Thank you
by StefanS
Thu Sep 20, 2018 2:50 pm
Forum: General Discussion
Topic: BTA_DISABLE_DELAY set to 200 ms
Replies: 1
Views: 4353

Re: BTA_DISABLE_DELAY set to 200 ms

I have this problem too.
Is there any solution to prevent this message?
Thank you
by StefanS
Tue Jul 31, 2018 8:47 am
Forum: ESP-IDF
Topic: I2C communication error after deep sleep
Replies: 1
Views: 4441

Re: I2C communication error after deep sleep

Just solved this myself.
I need to reconfigure the SDA line upon recover from deep sleep:

Code: Select all

rtc_gpio_deinit(SU_HARDWARE_I2CSDA)
Then I2c works as expected.
by StefanS
Mon Jul 30, 2018 4:07 pm
Forum: ESP-IDF
Topic: I2C communication error after deep sleep
Replies: 1
Views: 4441

I2C communication error after deep sleep

Hello, I'm using I2C and deep sleep in my application. And I want to wakeup ESP32 by low level on SDA line. After hard reset I can receive data in I2C slave mode without any problems. The same code fails after configuring SDA for deep sleep, entering deep sleep and waking up. I2C setup code: i2c_con...
by StefanS
Mon Jul 09, 2018 2:27 pm
Forum: ESP-IDF
Topic: SD example crashs on ESP-WROVER-KIT
Replies: 4
Views: 6620

Re: SD example crashs on ESP-WROVER-KIT

Sprite, you're right that the first SDMMC slot is shared by the flash (SDMMC_HOST_SLOT_0).
The second slot (SDMMC_HOST_SLOT_1) is directly wired to the SD card holder in ESP-WROVER-KIT v3.
So I guess the reason for the crash is something else.
by StefanS
Sat Jul 07, 2018 1:18 pm
Forum: ESP-IDF
Topic: SD example crashs on ESP-WROVER-KIT
Replies: 4
Views: 6620

SD example crashs on ESP-WROVER-KIT

Hello, I've two ESP-WROVER-KIT and the SD card example crashes always on one board, and works with the second one. The example is exactly as provided by IDF, only with modified SD slot number: sdmmc_host_t host = SDMMC_HOST_DEFAULT(); host.slot = SDMMC_HOST_SLOT_1; This is the console output: I (298...