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.

TMS570LS3137: Implementing Symmetrical PWM using HET pin XOR

Part Number: TMS570LS3137

Hello, I am having trouble with changing buffered data to change duty cycle. It may be obvious to you what I am doing wrong here.

My intention is to write to lines L05, L07, L09, L11, L13, L15.

It seems like I can change the duty cycle by writing directly to the MCMP/ECMP data fields, but not the MOV32 instructions. Here is some of the relevant code:

L00 CNT { next=L01,reg=A,max=139};

; some other code here...

;LEADING edge
;-------------------------------------------- PWM_A_HI -----------------------------------
;L04 ECMP {next=L06,cond_addr=L05, en_pin_action=ON, hr_lr=HIGH, pin=PWM_1, action=PULSELO, reg=A, data=12, hr_data=0 }

L05 MOV32 {next=L06,remote=L04, type=IMTOREG&REM, reg=NONE, data=17, hr_data=19}
;-------------------------------------------- PWM_B_HI -----------------------------------
L06 ECMP {next=L08,cond_addr=L07, en_pin_action=ON, hr_lr=HIGH, pin=PWM_3, action=PULSELO, reg=A, data=12, hr_data=0 }
L07 MOV32 {next=L08,remote=L06, type=IMTOREG&REM, reg=NONE, data=17, hr_data=19}
;-------------------------------------------- PWM_C_HI -----------------------------------
L08 ECMP {next=L10,cond_addr=L09, en_pin_action=ON, hr_lr=HIGH, pin=PWM_5, action=PULSELO, reg=A, data=12, hr_data=0}
L09 MOV32 {next=L10,remote=L08, type=IMTOREG&REM, reg=NONE, data=17, hr_data=19}

;TRAILING edge
;-------------------------------------------- PWM_A_HI ----------------------------------
L10 ECMP {next=L12,cond_addr=L11, en_pin_action=ON,hr_lr=HIGH,pin=PWM_1X, action=PULSELO,reg=A,data=89}
L11 MOV32 {next=L12,remote=L10, type=IMTOREG&REM, reg=NONE, data=13, hr_data=19}
;-------------------------------------------- PWM_B_HI ----------------------------------
L12 ECMP {next=L14,cond_addr=L13, en_pin_action=ON, hr_lr=HIGH, pin=PWM_3X, action=PULSELO, reg=A, data=112, hr_data=0 }
L13 MOV32 {next=L14,remote=L12, type=IMTOREG&REM, reg=NONE, data=17, hr_data=19}
;-------------------------------------------- PWM_C_HI ----------------------------------
L14 ECMP {next=L16,cond_addr=L15, en_pin_action=ON, hr_lr=HIGH, pin=PWM_5X, action=PULSELO, reg=A, data=112, hr_data=0 }
L15 MOV32 {next=L16,remote=L14, type=IMTOREG&REM, reg=NONE, data=17, hr_data=19}
; jump to PWM load data interrupt at L22