sabu31
Advanced Member level 1
Dear All,
I wanted to know if there is a method to obtain complementary PWM using ESP32. The typical pulse width needs to be 5 to 10 micro-sec. Using GPIO, it is possible to generate complementary PWM( using GPIO High, Low). But there is overlap of 1micro-sec. Also the observed frequency in Oscilloscope is different from what is calculated (especially at lower pulse width).
I presently have ESP-WROOM-32. On searching net, there seems to be an option named MCPWM, but cannot find a library for the same where searching in Arduino IDE.
Please let me know how to resolve this issue.
Thanks & Regards,
I wanted to know if there is a method to obtain complementary PWM using ESP32. The typical pulse width needs to be 5 to 10 micro-sec. Using GPIO, it is possible to generate complementary PWM( using GPIO High, Low). But there is overlap of 1micro-sec. Also the observed frequency in Oscilloscope is different from what is calculated (especially at lower pulse width).
I presently have ESP-WROOM-32. On searching net, there seems to be an option named MCPWM, but cannot find a library for the same where searching in Arduino IDE.
Please let me know how to resolve this issue.
Thanks & Regards,