Hi.
Suppose in EPWM module my PRD value of a counter is 3000 and I am using up-down counter mode. The settings for Action-Qualifier (AQ) module are: CAU = AQ_SET, CAD = AQ_CLEAR (when counter is going up PWM goes high when the value from CMPA is met, when counter goes down PWM goes low when CMPA value is met). So my question what happens if I write to CMPA the value of PRD (in my case it's 3000)? At this point I suppose two events take place at the same time. Accoring to priority level tabel "Counter equals CMPA on up-count (CAU)" has the highest priority, so I expect that PWM would go high. However when I did the test on oscilloscope I observe that my PWM output is always low. Could you please clarify what exactly happens in my case?
Best regards!



