Part Number:TMS320F28035
Hello
i am driving buck converter with epwm 5A(up mode) at 50KHz using 3p3z compensation and one full bridge with (up down mode)epwm3A,3B and 4A,4B. Full brdige pwm freq changed to 10KHz and 20KHz depending on some condition. Duty cycle for epwm5 is updated in 50KHz pwm period interrupt and epwm3,4 in 10/20KHz pwm period interrupt. ADC SOC configured to use epwm5 CTR_ZERO first event for all adc channels.
My application has 4 ISR: XINT1, epwm3 period, epwm5 period, timer2 int(1KHz)
I need to know following things:
1.) How to decide common ISR for these pwm's proper functionality or to use adc interrupt to update their duty cycle.
2.) How to choose ADC SOC for channels used by buck converter and full bridge for feedback and input readings.
3.) Best approach to use pwm priority when multiple pwm interrupt enabled, when it is desired that epwm5 interrupt has higher priority so that it can be served while serving epwm3 period isr and how to implement it.
thanks
pushpender