Is there a possibility to configure the ePWM modul of the TMS320F28379D to have a minimum duty cycle or switch to a 0 or 100% duty cycle without software calculations with the CPU or CLA?
For example: if you have a minimal duty cycle of 3 or 97% and you want to have a duty cycle of 98% the Hardware should behave like this:
target PWM=98%, min. PWM= 97%
x = target PWM - actual PWM
PWM Clock |
target PWM + x |
actual PWM |
x |
1 |
98% |
97% |
1% |
2 |
99% |
100% |
-1% |
3 |
97% |
97% |
0 |
4 |
98% |
97% |
1% |
5 |
99% |
100% |
-1% |
6 |
97% |
97% |
0 |
In this Example the average duty cycle is the desired 98%.
Did anyone see a possibility to configure the Hardware of the EPWM modul to work like this without any extra calculations of CLAs or CPUs?