Hi,
Is it possible to calculated output pluse generated by FlexPWM and stop FlexPWM output based upon number of pulse generated.
Regards,
Bharat
Hi Bharat,
To achieve this you can connect FlexPWM output to a Input Capture Channel using GPT (General Purpose Timer).
Hope it helps!
Best regards,
Felipe
Thank You.
That is i want.
Do you mean within software or PWM out pin connect to Input pin of GPT?
If software, Can you provide some hint?
Thanks,
Bharat
Hi Bharat,
To accomplish this you could try to connect PWM output to Input of the timer using XBAR module. Please check the following community thread where something similar is done using XBAR.
https://community.nxp.com/message/1191108
Best regards,
Felipe