ePWM的TZ模块,在EVT1/2失效后,输出会保持吗?
比如配置了GPIO10触发ePWM1,GPIO10变成高电平时,EVT1生效,EPWM1A force high。此时GPIO10变成了低电平,EPWM1A的电平会维持高不?
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.
ePWM的TZ模块,在EVT1/2失效后,输出会保持吗?
比如配置了GPIO10触发ePWM1,GPIO10变成高电平时,EVT1生效,EPWM1A force high。此时GPIO10变成了低电平,EPWM1A的电平会维持高不?
TZ事件输入封锁EPWM,分为one shot和cycle by cycle两种。使用OST模式的话,EVT触发封锁后,便会一直保持封锁,直到软件clear;而CBC模式则在CTR=PRD、CTR=0或者两者兼而有之时,会自动clear,EPWM在clear后恢复输出:
https://www.ti.com.cn/cn/lit/ug/spruiw9b/spruiw9b.pdf P2244 20.9.3 Generating Trip Event Interrupts