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 have a question about the use of GPIO12 as TZ1. I would like to enable, and latch the epwm disabled, via TZ1 when the GPIO12 is pressed once. Now I have only managed to disable the TZ1 function when the GPIO12 is kept pressed all the time. Any ideas?
Hi,
TZ is an active low input and hence this would be expected behavior.
One option I can think of is - instead of using this as TZ input and trip the PWM directly,
try to configure this as digital comparator event.
Refer to http://www.ti.com/lit/ug/spruge9e/spruge9e.pdf page 129 for more details.
Once you generate the Digital Comparator event use that from disabling the PWM.
For details on how to configure digital comparator events to disable the PWM - refer to the Trip Zone configuration
registers in the same document.
-Bharathi.