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
configuration steps Followed, and i have attached generated files.
Please suggest if any initialization steps available for FTM2 Combined PWM signal generation?
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.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------