Page 1 of 1

LEDC low-speed channels not starting?

Posted: Mon Jul 15, 2019 6:13 am
by TinkerBearNZ
I've been trying to use (possibly mis-use) the LEDC PWM generators as general waveform generators.

I've run into an instance where setting up 1 high-speed channel and 1 low-speed channel at a low frequency results in no output on the low-speed channel. This has been super frustrating, because I've got similar code that runs fine. It seems to be something to do with starting other channels.

Hacked/reduced version of ledc_example_main.c attached to show the problem.