Hi Herve,
About fsl_flextimer component, it is really can't configuration to input capture on KSDK_PE.
And you can use Init_FTM component, it also can cofigrate 0-7 channel, hope it can meet your need,
like this :
Best Regards,
Alice
------------------------------------------------------------------------------------------
If this post answers your question, please click the Correct Answer button.
-----------------------------------------------------------------------------------
If this post help your question, please click the helpful Answer button.
Hi Alice,
Thanks for your repply.
These capture demo (Capture_LDD) use FTM_CLKIN pin as input. But these pins are not available in my design and there is only 2 pins of this kind and me I need 4 input capture Pins.
I'm searching a way to use FTM_CHX(X=0...7) to use as input capture. In processor expert we just can to use thes pins as PWM.
So my question is: how to configure flextimer to use FTM_CHX pins as input capture?
Thanks in advance.
Hervé
Hi Herve,
Sorry i have some confused .
The "Capture_LDD" component can sue FTM_CH pin too ,
And also the TimerUnit_LDD can configuration 4 channel to capture , like this
Does this can meet your need ?
If not , please tell me which component do you want to use , and which channel .
BR
Alice
Hi Alice,
Thanks for your reply.
However in my project I use Kinestis SDK 1.0.0, so the component available is fsl_flextimer.
I want to do exactly that you show in your post, but with fsl_flextimer component.
I hope this is possible.
Regards,
Hervé
Hi Herve,
About fsl_flextimer component, it is really can't configuration to input capture on KSDK_PE.
And you can use Init_FTM component, it also can cofigrate 0-7 channel, hope it can meet your need,
like this :
Best Regards,
Alice
------------------------------------------------------------------------------------------
If this post answers your question, please click the Correct Answer button.
-----------------------------------------------------------------------------------
If this post help your question, please click the helpful Answer button.
Hi Alice,
It's exactly what I did, but manually using the funtion created witch flextimer component.
I will try to use directly Init_ftm component.
Thanks for your Help.
Just an other question: Do you know why we can't use the flextimer component as input capture? When this will be corrected?
Regards,
Hervé