Tool/software: Code Composer Studio
Hi everyone,
All my PWM counter is up-down count mode, I use ePWM11, 12 to reset SDFM directly.
And latch data by CLA, triggered by ePWM2 CMPC count-up INT.
For example, by setting ePWM2.CMPC = ePWM1.CMPC = 1000, including filter latency plus 10 SDFM CLK time.
By the 28377 spec, because the SDFM data register wont be clear after reset filter module, CLA should get data.
However, the data is reset after sync SDFM, I have to set ePWM11.CPMC earlier about 2us to avoid this situation, is this normal?
Of course I notice that there should be only one CPMC event per PWM cycle,
but if I only latch data at 1000 count-up, I can ignored the result from second CMPC reset.
p.s. My question is same as question 2 in this post :