Oct 29, 2020
02:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 29, 2020
02:23 AM
Hello,
My question is as follows,
Is it possible to generate two indepdendant phase shift outputs from channel 1 and channel 2 w.r.t to master output signal on channel 0 in the same TOM unit.
All the outputs should have duty cycle and period and difference is in different phase shift (phase 1) of channel1 and (phase 2) channel 2 w.r.t to master signal on channel 0.
Resource allocation is not a hardwired, it can be changed for acheiving the desired outputs.
Best Regards,
Arshad Ziyad
My question is as follows,
Is it possible to generate two indepdendant phase shift outputs from channel 1 and channel 2 w.r.t to master output signal on channel 0 in the same TOM unit.
All the outputs should have duty cycle and period and difference is in different phase shift (phase 1) of channel1 and (phase 2) channel 2 w.r.t to master signal on channel 0.
Resource allocation is not a hardwired, it can be changed for acheiving the desired outputs.
Best Regards,
Arshad Ziyad
2 Replies
Nov 16, 2020
11:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2020
11:01 PM
arshadziyad wrote:
Is it possible to generate two indepdendant phase shift outputs from channel 1 and channel 2 w.r.t to master output signal on channel 0 in the same TOM unit.
All the outputs should have duty cycle and period and difference is in different phase shift (phase 1) of channel1 and (phase 2) channel 2 w.r.t to master signal on channel 0.
Yes, it is possible to use one timer as master and others as slaves. The period would be synchronized by using the reset signal of the master for the slaves as well.
You need to calculate the phase shift in software, either on CPU or maybe also in MCS.
One idea could be to set the PWM channels to inactive LOW via SL bit and configure the required duty cycle (for the HIGH duration).
The output will be set to LOW again after the timer has reached it's maximum and the reset from master timer restarts the PWM channel.
Feb 14, 2023
07:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14, 2023
07:15 AM
Hi,
Could you please tell more regarding this? Is there some register where PWM can be synced and phase shift can be given?
We are working on same issue. There is Master PWM , Slave PWM B should have 180 degrees phase shift always. And Slave PWM C should have a programmable phase shift.
This widget could not be displayed.