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.

28377的CMPSS

想通过ADCINC2接头配置CMPSS6的CTRIPH连接到Epwm1,

这样配置对不对

    EALLOW;

    EPwmXbarRegs.TRIP4MUX0TO15CFG.all=0x0000;
    EPwmXbarRegs.TRIP4MUX16TO31CFG.all=0x0000;

    EPwmXbarRegs.TRIP5MUX0TO15CFG.all=0x0000;
    EPwmXbarRegs.TRIP5MUX16TO31CFG.all=0x0000;

    // Disable all the muxes first
    EPwmXbarRegs.TRIP5MUXENABLE.all=0x0000;
    EPwmXbarRegs.TRIP4MUXENABLE.all=0x0000;

    EPwmXbarRegs.TRIP4MUX0TO15CFG.bit.MUX5=1;
    EPwmXbarRegs.TRIP4MUXENABLE.all=0x0000;
    EPwmXbarRegs.TRIP4MUXENABLE.bit.MUX5=1;


    EDIS;