Hello!
I am currently trying to program a switching scheme using F28335. I am using 3 ePWM modules to generate 3 phase signals (six signals). I want to generate a "new signal" which depends logically on the current/instantaneous states of the 3 ePWM outputs. Also, there is an ePWM based interrupt which updates the duty ratios at the CTR=0.
If I try to generate the "new signal" in the infinite "for" loop, it creates problems. The problem is because the Cpu is processing the interrupt for sometime and this leads to the halting/blanking of "for" loop. So any change in ePWM during this blanking time, the "new signal" can not change as desired.
Is there any other way(besides the infinite loop) to generate a "new signal" logically dependent on 3 ePWM modules?
I also have another question related to Interrupt in ePWM module. Is there a way to trigger ePWM module based interrupt for both Count up (CMPA) and Count down (CMPA) event? Or simply, is it possible to generate interrupts at more than one compare event?
Thank you for your help!
Best regards,
Pawan