Hi,
I am generating a edge aligned PWM A from sub module 0 at 50 Hz (Servo Signal). To change the PWM value I am updating sim1.mcpwm.sm[0].val[3] register but I noticed that to actually update the PWM I also need to set LDOK and RUN bit in MCR register each time I update val[3] with new value. Is it the correct way of updating PWM values or there is another more efficient way of doing it, continuously?
Regards,TM