S32K PWM fault and sync

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

S32K PWM fault and sync

719件の閲覧回数
tahirmahmood
Contributor I

I want to use the PWM pin as falut pin for FTM0 channel 0 as my PWM pin and pin 14 port A as fault pin. When the fault is cleared(no fault) the PWM starts gain when the new PWM cycle starts. I want to start the PWM as soon as fault is cleared.Therefore I need a sync pin to start the PWM immediately. How can I do this? I require both sysc and fault Pins but the sysc pin should act as soon as fault is cleared(same edge for clearing fault and doing sysc).I want o start he PWM immediately as the fault in cleared in Hardware.  

0 件の賞賛
2 返答(返信)

589件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, the FTM0_FLT0 can be used as HW sync pin too
User-added image
however it is synchronized to the rising edge only, you cannot select falling edge of input signal as HW sync. Thus it will not work in the way you need, I think.

BR, Petr

0 件の賞賛

589件の閲覧回数
tahirmahmood
Contributor I

So if I change the edges and use the FLT pin as as fault pin for falling edge and then the same pin as HW SYNC on rising edge will it work? Can I use the same pin as fault and HW sync pin on different edges. This means as soon as fault is cleared the rising edge will synchronize the PWM, will this happen?

0 件の賞賛