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.

请问C280xx的DSP PWM能否出如下图的波形, PWMxA和PWMxB占空比一样, 可调. 谢谢



  • 可以,使用单调计数模式(上升),CMPA = var, CMPB = 2*var (var是设定的占空比对应的计数,比如PRD*duty%):

    A通道的AQCTL设置 ZRO = set, CAU = clear

    B通道的AQCTL设置 CAU = set, CBU = clear

    请仔细看一下user guide就清楚了。