On a Hercules TMS570LC43, I'm driving signals ePWM1A and ePWM1B. I want to change the duty cycle of both 1A and 1B in the sources at regular times. Ideally these two updates should happen at the exact same time. Since 1A and 1B are different registers, (etpwmREG1->CMPA and etpwmREG1->CMPB), I can't do that in a single assignment. I'd like to know if there's an option to first update the duty cycle in both registers, and then make those settings active at the same time.
↧