s32K144 Consult on PWM output

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

s32K144 Consult on PWM output

1,218件の閲覧回数
qing_zhang
Contributor I
  • Using FTM Timing output PWM, periodically to modify the duty cycle, found that each modification of duty cycle after a 8us spike, please ask how to remove the interference?

タグ(1)
0 件の賞賛
2 返答(返信)

1,011件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi 张 qing

There is ftm_pwm_s32k144 SDK example in the S32 Design Studio. Could you clarify how are you modifying the duty cycle? you can use the FTM_DRV_UpdatePwmChannel function from the SDK.

Best regards

Jorge Alcala

0 件の賞賛

1,011件の閲覧回数
razva_tilimpea
NXP Employee
NXP Employee

Hi,

I don't understand exactly your issue, but It can be caused by synchronization. FTM support 2 types of synchronizations: immediate or on next loading point (end of timer period). If you use immediate mode the duty (CnV) is update ASAP, but the counter is reset. This can cause glitches. 

Best regards,

Razvan 

0 件の賞賛