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.

HVMotorCtrl+PfcKit套件配套程序中TZ6的用处

Other Parts Discussed in Thread: CONTROLSUITE

最近在参考HVMotorCtrl+PfcKit中的电机控制,在查看保护时有一处问题想不明白。通常有这样的保护配置

// CPU Halt Trip
EPwm1Regs.TZSEL.bit.CBC6=0x1;
EPwm2Regs.TZSEL.bit.CBC6=0x1;
EPwm3Regs.TZSEL.bit.CBC6=0x1;

EPwm1Regs.TZSEL.bit.OSHT1 = 1; //enable TZ1 for OSHT
EPwm2Regs.TZSEL.bit.OSHT1 = 1; //enable TZ1 for OSHT
EPwm3Regs.TZSEL.bit.OSHT1 = 1; //enable TZ1 for OSHT

其中TZ1用来作过流保护我可以理解,配置为One shot halt类型,可是TZ6是在做什么啊?我看配置里根本就没有设置TZ6使能,这里为什么都要配置为Cycle by Cycle的trip呢?