Not applicable
Apr 25, 2018
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 25, 2018
01:50 AM
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
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
- Tags:
- IFX
1 Reply
Apr 25, 2018
05:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 25, 2018
05:53 AM
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
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