Controller reset while configuring FTM2 combined PWM in S32K144

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Controller reset while configuring FTM2 combined PWM in S32K144

905 Views
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 Kudos
1 Reply

838 Views
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 Kudos