Hello;
In my application, i aim to read frequency with flex timers for duty cycle measurements.
Here is my code:
1) Initialized pwm and then set input capture modes for all pins.
2) Enabled interrupt routine and started timer for all channels.
3) Read value when capture flag triggered.
4) Interrput function for overflow check.
I set 5V-1kHz-%50 pwm signal on pin but i did not read values and trigger interrupts. What should i change on configs? Also if there is example or application note about this, please share with me.
Thanks for help.
Best Regards.
Basri KAYA
Solved! Go to Solution.
Hi,
Thank you so much for your interest in our products and for using our community.
Sorry there is no SDK example of input capture with the eFlexPWM, just what reference manual states about it.
However if you have available any TMR module you can refer to the SDK examples qtmr_inputcapture_outputpwm.
Hope it helps you.
Have a nice day!
Hi,
Thank you so much for your interest in our products and for using our community.
Sorry there is no SDK example of input capture with the eFlexPWM, just what reference manual states about it.
However if you have available any TMR module you can refer to the SDK examples qtmr_inputcapture_outputpwm.
Hope it helps you.
Have a nice day!