Phase Shift of PWM output & Faulty behaviour below 10 Hz
Posted: Thu Apr 11, 2019 5:07 pm
Dear users,
I have been using the ESP32-WROOM 32 Devkit V1 and ESP32 IDF for many projects but now reached the point where I
need some help. Usually, I am using the MCPWM unit to generate PWM. Now, I would like to phase
shift two channels (A & B) with same frequencies (0 - 35 Hz) and duty cycle (50%) by 25%. I know that there might be limitations
due to the timer but maybe there is a workaround (sync, deadtime) that can achieve the desired result.
The second issue is related to stable PWM frequencies below 10 Hz. The corresponding output frequency is coarsely factor 3 higher. Above 10 Hz everything is fine.
Thank you very much!
I have been using the ESP32-WROOM 32 Devkit V1 and ESP32 IDF for many projects but now reached the point where I
need some help. Usually, I am using the MCPWM unit to generate PWM. Now, I would like to phase
shift two channels (A & B) with same frequencies (0 - 35 Hz) and duty cycle (50%) by 25%. I know that there might be limitations
due to the timer but maybe there is a workaround (sync, deadtime) that can achieve the desired result.
The second issue is related to stable PWM frequencies below 10 Hz. The corresponding output frequency is coarsely factor 3 higher. Above 10 Hz everything is fine.
Thank you very much!