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.

PWM互补输出,第个一脉冲输出不确定,有时是黄色波形出现,有在蓝色波形出现!



void SetPwmStop_Downbridge(void)
{
EALLOW;
EPwm6Regs.TZFRC.bit.OST = 1; // disable
EDIS;
}

void SetPwmStart_Downbridge(void)
{
EALLOW;
EPwm6Regs.TZCLR.bit.OST = 1; // enable
EPwm6Regs.TZCLR.bit.INT = 1;
EDIS;
}

也试过开启时,清除计数器的值,量是现象一样!