ESP32-S3 MCPWM vs PDM for normal PWM

Hi guys,

I have a requirement to use 10 PWMs to control 10 individual LED drivers, however it looks like esp32-s3 has only 8 native PWM channels and found out that it has MCPWM and PDM too with which I can extend the PWMs count.

What's the easiest way of using MCPWM as a normal PWM generator? I need to generate a very simple 500Hz or 1Khz signal whose duty cycle has to be varied dynamically. Any help would be appreciated

You will need to employ an extender or multiplexor to go beyond 8.

Why not use pulse generation capable peripherals? The reason I can't use multiplexer is I have a feature which requires to toggle all the LED drivers for 200mS to generate a small flash of light

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.