I would like to use the falling edge of the GPIO pin to sync EPWM, so could you please help check whether it can support? Thank you.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I would like to use the falling edge of the GPIO pin to sync EPWM, so could you please help check whether it can support? Thank you.
Hi,
Yes - use logic inversion inside GPIO. Please look for GPIOINV register in the device TRM.
Sync is always w.r.t. the rising edge. So, you can simply invert the GPIO pin polarity as needed.
Subrahmanya,
Actually, I want to use the falling edge of one EPWM output as a sync signal through X-BAR. It seems that GPIOINV register only applies for the input function?
Hi Aki,
You should be able to configure the GPxINV to use the inverted version of the PWM.
Refer - Figure 8-1. GPIO Logic for a Single Pin