Hi Experts,
I am asking for my customer.
Here are EPWM1 (Master) and EPWM4 (Slave) both up-down count mode, AQ set as High when CTR = PRD, AQ set as Low when CTR = CAD as below figure.
The EPWM4 sync to EPWM1, when EPWMRes.CNT = Zero generate the sync signal, and the TBPHS of EPWM4 would immediately load.
For example, CMPA match value is 100, current count status EPWM4's CTR = 120, and due to phase load if the counter jumps to say 80 then compare event is missed as showed the below figure. So, could it happen?
If yes, we should check the timing of phase load and counter status w.r.t compare values, right? Ang good suggestion here? Thanks~