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.

28335的EPWM的updown模式移相问题

Other Parts Discussed in Thread: CONTROLSUITE

28335我的EPWM1和EPWM2用updown模式,然后也就是ctrmode是5000,那么EPWN2是

EPwm2Regs.TBCTL.bit.SYNCOSEL = TB_SYNC_IN; // Sync down-stream module
EPwm2Regs.TBPHS.half.TBPHS = PHASE1; // Phase is 0

其中PHASE1到4200就已经出问题了,epwm2一直都是A是0,B是1,不能做到0-360度地相移(0-5000)。请问这个怎么解决?