Skip to content

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

Closed
@Vesek

Description

@Vesek

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

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugplatform: ESP32Espressif ESP32priority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions