Synchronization of two timers in center aligned mode to have dead time

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

I am trying to use the 1100 to control stepper motors. In order to take care of dead time I would like to use two timers in center aligned mode.
But it is not clear to me, how I can synchronize the two timers to get both signals symmetric to the center.
Could anybody help?

Thanks
0 Likes
1 Reply
Eric1
Employee
Employee
Hi,

you can use the PWM_CCU4 APP for timer configuration.
In the APP help is a picture to configure external event (secound tab).

You should set one event as external start and and aktivate "synchronous Start".
The function XMC_SCU_SetCcuTriggerHigh() can then set the respective Bit in the SCU_GENERAL->CCUCON register.

If you are using a XMC1300 device you can use the CCU8 with integrated dead time control.

Best Regards
Eric
0 Likes