guigui_7044 发表于 2018-8-20 07:16 YanXin,
建议你看一下PWM user guide中关于Trip zone的资料,当外部报警信号会通过这个TZ模块关断PWM,同时可以产生中断,用户可以在这个中断里面清除相关事件,从新打开PWM。ControlSUITE也有TZ的例程。
Eric
F2812中没有Trip Zone模块,有外部引脚PDPINT引脚,用于关断PWM输出
The PWM pins are driven to a high-impedance state when the PDPINTx pin is driven low and after PDPINTx signal qualification. The PDPINTx pin (after qualification) is reflected in bit 8 of the COMCONx register
Young Hu