Search found 2 matches
- Mon May 29, 2023 1:29 am
- Forum: General Discussion
- Topic: Using LEDC to generate 4M clock failed. Any advice?
- Replies: 2
- Views: 1694
Re: Using LEDC to generate 4M clock failed. Any advice?
Thank you for your reply! Unfortunately ESP32-S2 does not support high speed mode, and I changed the clock source to APB clock, still failed with the same error message. But this time a panic was triggered, causing reboot: I (111) spi_flash: detected chip: generic I (112) spi_flash: flash io: dio I ...
- Sat May 27, 2023 3:05 am
- Forum: General Discussion
- Topic: Using LEDC to generate 4M clock failed. Any advice?
- Replies: 2
- Views: 1694
Using LEDC to generate 4M clock failed. Any advice?
Hello everyone! I'm using ESP32-S2 with esp-idf v5.0.2 and trying to generate clock signal for external device. So I wrote the following code, basically modified from example code: void PWM_Init(){ // Prepare and then apply the LEDC PWM timer configuration ledc_timer_config_t ledc_timer = { .speed_m...