Open hiroshi3117 opened 2 weeks ago
Additional my configuration files .
I referred to the following post and tested it,but still not work. https://github.com/espressif/arduino-esp32/issues/3534 https://github.com/espressif/esp-idf/issues/12188
Is there any Espressif engineer who can provide a sample program for ESP32-C6 to continuously generate LEDC PWM in light sleep mode for my reference? Thanks.
Hi @hiroshi3117,
Yes, this feature has not yet been supported on C6/H2. Please hang on with us for a few days, I will do some update or give you a workaround as soon as possible.
Hi @songruo , Thanks for your reply. My product is about to be mass-produced in the 3Q. If PWM cannot be continuously output in power saving mode, it will cause great trouble to battery life. Please provide this workaround as soon as possible. Thank you very much.
Answers checklist.
General issue report
Hi, I based it on "led_basic_example" and added "esp_light_sleep_start" function. But when entering light sleep, LED PWM stops generating. I referred to some similar questions and added the following settings before entering light sleep:
However, PWM generation cannot be maintained during light sleep. I'm not sure what settings I'm missing in my program that would help me solve this problem. Thanks!
IDF version: (master)5.4.0 Development board: ESP32-C6-DevKitM-1 Development Platform: Windows, VS Code Below are the programs I use.