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.
在CRM模式控制中想利用ZCD信号对PWM进行同步,外部硬件电路通过比较器已经得到了脉冲信号,此时选用TZ1引脚进行输入,之后如何配置寄存器使用该信号当出现上升沿时对PWM信号进行同步重置
您好,TZ是低电平有效信号,平时是拉高的,当有时间需要响应时,需要拉低相应引脚来触发TZ保护。
可以在配置时,使能TZ中断,在TZ中断中,触发软件同步事件。