Jan 24, 2013
07:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2013
07:56 AM
HI,
How to use CR2 from CC80 to reset the CC81 timer. This way control the phase between CC80 PWM and CC81 PWM.
Ari
How to use CR2 from CC80 to reset the CC81 timer. This way control the phase between CC80 PWM and CC81 PWM.
Ari
- Tags:
- IFX
1 Reply
Jan 25, 2013
02:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 25, 2013
02:56 AM
Hello,
for synchronizing slices:
this is mentioned in vreference manual of XMC4500 in section 23.6 (v1.1)
it is very simple. You just need to make sure that the slices you want to use are started from signal "SCU.GLCCST" (select the event "start" for the slices you need to synchronize). Once you have this connected, you need to assert the corresponding bitfields in register SCU.CCUCON.
For phase shifting:
I recommend that you start one timer in single shot mode(if phase shift is to be changed in run time) from the CR2 (for example) of the other timer. There are several posibilities for doing this, but this seems pretty simple and allows you to configure the start of the shifted timer and the CR and therefore the duty cycle of the second timer as you wish.
Hope it helps,
BR
Pablo
BR
Pablo
for synchronizing slices:
this is mentioned in vreference manual of XMC4500 in section 23.6 (v1.1)
it is very simple. You just need to make sure that the slices you want to use are started from signal "SCU.GLCCST" (select the event "start" for the slices you need to synchronize). Once you have this connected, you need to assert the corresponding bitfields in register SCU.CCUCON.
For phase shifting:
I recommend that you start one timer in single shot mode(if phase shift is to be changed in run time) from the CR2 (for example) of the other timer. There are several posibilities for doing this, but this seems pretty simple and allows you to configure the start of the shifted timer and the CR and therefore the duty cycle of the second timer as you wish.
Hope it helps,
BR
Pablo
BR
Pablo