Skip to content

ESP32C3 LEDC PWM doesn't actually produce a signal #90772

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task
Vesek opened this issue May 28, 2025 · 1 comment · Fixed by #91027
Closed
1 task

ESP32C3 LEDC PWM doesn't actually produce a signal #90772

Vesek opened this issue May 28, 2025 · 1 comment · Fixed by #91027
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32 priority: low Low impact/importance bug

Comments

@Vesek
Copy link

Vesek commented May 28, 2025

Describe the bug

As written in the title, when I try to use a the LEDC PWM peripheral of ESP32-C3 on my custom board (ESP32-C3 has a compatible configuration), no signal actually gets produced.

I already tested if normal IO works using the Blinky sample, but when i try the Blinky PWM sample (after my code didn't work) the pin stays on 0. This issue is not present when using ESP-IDF.

The same device tree overlay that works on the ESP32-C3 supermini or even other boards does not work, but it does work perfectly, without changes, on the S3. I have also tried using configuration from XIAO ESP32C3.

I have already tried a few possible combinations of pins and timers, tried checking with an oscilloscope. The PWM debug log shows expected behavior, there are not errors, only info about how the PWM is set up, exactly like it behaves on the S3.

Regression

  • This is a regression.

Steps to reproduce

  1. Get a ESP32-C3 board
  2. Build the PWM Sample for it
  3. Flash it
  4. No signal

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

  • OS: Linux
  • Zephyr commit SHA: e48c907

Additional Context

No response

@Vesek Vesek added the bug The issue is a bug, or the PR is fixing a bug label May 28, 2025
Copy link

Hi @Vesek! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

@nashif nashif added the priority: low Low impact/importance bug label Jun 3, 2025
@danieldegrasse danieldegrasse added the platform: ESP32 Espressif ESP32 label Jun 3, 2025
@raffarost raffarost linked a pull request Jun 3, 2025 that will close this issue
@raffarost raffarost linked a pull request Jun 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: ESP32 Espressif ESP32 priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants