Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
hello all:
I ask some questions about PSFB PCMC.
1.SR_Mode = 1 PWM4A,PWM4B configure,
counter up:
MOVW DP,#_EPwm4Regs.CMPB
MOV @_EPwm4Regs.CMPB, AL;
MOV @_EPwm4Regs.CMPA.half.CMPA, #(PWM_PRD+10)
counter down
MOVW DP,#_EPwm4Regs.CMPB
MOV @_EPwm4Regs.CMPA.half.CMPA, AL
MOV @_EPwm4Regs.CMPB, #(PWM_PRD+10)
There is confusion about when the load is bigger how PWM4A,PWM4B can overlap the phase.
if there is somewhere update EPwm4Regs.CMPB,EPwm4Regs.CMPA.