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.
Hello TI community,
I am currently trying to control my ePWM using GUI composer. Ideally, I'd like to toggle a switch an see my ePWM stop. I ran into this idea initially when I saw my pwm turning on automatically for a couple of second on power up before turning off. I believe this is due to my initialization of my ePWM code. I would like to be able to initialize my ePWM for his baud rate, high resolution, and etc without having to have the PWM turn on. That's when I saw trip zone. From my understanding there are three types of tripping. One shot, cycle by cycle, and digital compare. The example code cover one shot and cycle by cycle, using a GPIO pin as the tripping condition. I understand that the tripzone 1 is connected to the input1 of the input x-bar which is why when I the particular GPIO pin goes low, the trip is detected. I was wondering, however, if it would be possible to use a global variable controlled by GUI composer to be a trip condition?