Close

PWM difficulties

A project log for NEURODRIVE

Muscle electrical stimulator for force feedback in Virtual Reality

deluxe87deluxe87 12/10/2020 at 12:120 Comments

Now I stuck with PWM generation on ESP32.  I need to generete a complementary or inverted PWM in order to drive H-bridge. I've already got that i need to use mcpwm module inside esp32, but i can't figure out what settings i should use. 

As fa as i get it I should use 2 operators, for example operator - 0 and operator 1, and take one signal from PWM0A and another signal from PWM1A. Or maybe I'm wrong. Hope I will find it on this weekend.

Discussions