Hi,
Anyone tried to synchronize two timers in MSP430 to get two PWM's that are in phase and precisely synced?
I cannot figure out how to start them at the same time.
Thanks,
Fredrik
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.
Hi,
Anyone tried to synchronize two timers in MSP430 to get two PWM's that are in phase and precisely synced?
I cannot figure out how to start them at the same time.
Thanks,
Fredrik
Hi Britta,
Sorry for not being more clear and thank you so much for your help.
Let's call rising edge of PWM1 e1, falling edge of PWM1 e2, rising edge of PWM2 e3 , falling edge of PWM2 e4 and dead band d.
Then if total period is T; e1 = 0, e2 = T/2-d, e3 = T/2 and e4 = T-d
Hope this is clearer!
Best regards,
Fredrik
**Attention** This is a public forum