Description
Board
ESP32-S3 and ESP32-C3
Device Description
ESP32-S3 and ESP32-C3 Dev Boards
Hardware Configuration
PWM issue occurs on all GPIOs on the Dev boards.
Only UART1 is connected to anything external.
Wifi/Bt are not used.
Version
latest master (checkout manually)
IDE Name
Arduino
Operating System
Windows 11
Flash frequency
80MHZ
PSRAM enabled
no
Upload speed
921600
Description
I am migrating a design from an ESP32 Wroom Module to a SOC, preferably the S3.
I am using LEDC to produce PWM outputs.
On both the S3 and C3 dev boards I have tested, the PWM output does not work at the frequency and resolution I was using on the Wroom module (3,000Hz 14 Bit).
It almost seems like the clock used for LEDC on the S3 and C3 is running at half the speed it is on the Wroom module.
I can't find anything in the hardware documentation to suggest this is the case so I assume it is to do with the implementation of LEDC? Or a bug?
Sketch
Tested with the Arduino LEDC examples, modifying the frequency and resolution accordingly.
Debug Message
N/A
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.