Goodmorning, can someone suggest me how can i realize a variable phase shift pwm using three FTM modules?
Need i to use some peripherals like PDB modules?
With the FTM module itself you can generate phase shift PWMs using Modified Combine PWM mode. This way up to 4 phase shift PWMs can be generated on single FTM module.
If you want to have FTM module counters somehow synchronized, the counter synchronization can be use and external HW trigger determines the time the FTM counter is reset.
The hardware trigger source can be from many other modules via TRGMUX, also FTM’s init and/or ext trigger can be used as HW trigger for FTM modules.
Thank you. Now i need to set the FTM0 and the FTM1 in the seguent operation mode.
When FTM counter is equal to a set treshold value then i will generate an external interrupt.The FTM0 external interrupt is connected to the FTM1 HW1trigger by trigmux.
When the FTM1 HW1trigger is set, the ftm1 will generate a new pwm signal.
How can i generate an FTM0 external interrupt?
How can i reset the FTM1 pwm signal?
Retrieving data ...