Closed
Description
Board
ESP-WROOM-32
Device Description
I tested both with a 30 pin and 38 pin dev modules:
Hardware Configuration
There is absolutely nothing attached to the ESP, only an oscilloscope on GPIO 33 and GND.
Version
v2.0.3
IDE Name
PlateformIO
Operating System
macOS 10.15.7
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
460800
Description
Below's code sets GPIO 33 HIGH, instructs the ESP to hold it in its current state, and sleep for 2 seconds.
Upon wake-up I expect GPIO 33 to be held high, except if / until I call gpio_hold_dis
.
When using Arduino-ESP32 version 1.0.6, it works as mentioned.
Since 2.0.0, as soon as the ESP wakes up, GPIOs are reset to their default state.
Sketch
pinMode(GPIO_NUM_33, OUTPUT);
digitalWrite(GPIO_NUM_33, HIGH);
gpio_hold_en(GPIO_NUM_33);
esp_sleep_enable_timer_wakeup(2000000);
esp_deep_sleep_start();
Debug Message
M/A
Other Steps to Reproduce
N/A
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done