Controller reset while configuring FTM2 combined PWM in S32K144

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

Controller reset while configuring FTM2 combined PWM in S32K144

1,545件の閲覧回数
rangarajan_arum
Contributor II

In order to generate PWM with different offset, currently i am using FTM2 combined PWM option. Initially i configured CH0 for generating PWM and the build result also success. 

After flashing when the program initializing (FTM2), the S/W reset is happening.

FYI

pastedImage_9.png

pastedImage_4.png

configuration steps Followed, and i have attached generated files.

pastedImage_10.png

pastedImage_7.png

pastedImage_8.png

pastedImage_5.png

Please suggest if any initialization steps available for FTM2 Combined PWM signal generation?

0 件の賞賛
返信
1 返信

1,478件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi RANGARAJAN ARUMUGAM,

I try to add ftm_pwm component in ftm_combined_pwm_s32k144 example according to your configuration.
The generated flexTimer_pwm2.c and flexTimer_pwm2.h files are same with yours.
Then add some initialize function of FTM2.
Exception did not appear during debug S32K144EVB with S32 Design Studio for ARM2.2.

FTM2.png

Best Regards,

Robin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信