Phase shift FTM modules

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Phase shift FTM modules

1,476件の閲覧回数
pietroserao
Contributor II

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?

ラベル(1)
0 件の賞賛
2 返答(返信)

1,231件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi Pietro,

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.

 pastedImage_2.png

 

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.

pastedImage_1.png

BR, Petr

1,231件の閲覧回数
pietroserao
Contributor II

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?

Thank you.

0 件の賞賛