Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 222458

Forum Post: apply duty cycle change to ePWM1A and ePWM1B at exact the same moment

$
0
0
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.

Viewing all articles
Browse latest Browse all 222458

Trending Articles