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.

为什么不能修改hvpsfb-dpl-isr.asm

在hvpsfb-dpl-isr.asm中添加语句,pwm就不对了

去掉一句话,同步整流的就输出不完整,有缺口一样。

这个文件就不能修改?

  • Up_Cnt:  ; CTR = 0 must have occurred
      .ref _SR_mode
      MOVW DP, #(_SR_mode)
      MOV  AL, @(_SR_mode)  
      CMPB  AL,#0x1     ; Check SR mode
    ;  B  SR1_1, EQ    ; If equal - this is Mode 1
      B  SR1_2, GT    ; If greater than 1 - this is Mode 2

    1状态不用就注释掉了,输出波形就不对了。

  •  有图有真相

  • 修改会影响死区的生成,尤其不能碰到nop的时间

x 出现错误。请重试或与管理员联系。