esp-rs / esp-hal

no_std Hardware Abstraction Layers for ESP32 microcontrollers
https://docs.esp-rs.org/esp-hal/
Apache License 2.0
734 stars 204 forks source link

Can't produce more than 16MHz from the LEDC driver on the ESP32-C6 #1867

Open Dominaezzz opened 2 months ago

Dominaezzz commented 2 months ago

Running the example https://github.com/esp-rs/esp-hal/blob/main/examples/src/bin/ledc.rs . If I chose a frequency higher that 16MHz no PWM output is produced. For my use case I need to produce 20MHz - 24MHz .

JurajSadel commented 1 month ago

We are investigating this issue with IDF folks, adding status Blocked for now.

MabezDev commented 1 month ago

IIRC this is not a hardware issue, and now works in idf - removing the blocked label.