Hi Champs,
If the voltage on the comparator positive input is greater than the voltage on the negative input, it will set comparator output to 1 and set CTRIPH/L to trigger EPWM protection. This is the way we are used to.
I want to know if there is a way that EPWM protection is triggered only after the positive input of the comparator is greater than the negative input for multiple times. It means that EPWM protection is not triggered every CMPSS event, but EPWM protection is triggered after the Nth CMPSS event occurs.
I'm not sure if my description is clear, I checked the CPMSS part and the EPWM part of the TRM, but I didn't find a way to achieve this function.
So I want to confirm the following two questions with you:
① I think CLB module can achieve this function, is my understanding correct? Do we have a demo that we can refer to for this function to be implemented by CLB?
② Is there a way to realize this function without CLB? Actually customer are evaluating C2000 device without CLB(not F280049).
Do you have any suggestions? Thanks!
Best,
Julia