Is there an SDK demo for the input capture function of FLEXPWM,RT1020

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Is there an SDK demo for the input capture function of FLEXPWM,RT1020

820件の閲覧回数
295320972
Contributor II

Hi all,

         Is there an SDK demo for the input capture function of FLEXPWM,RT1020.

I found relevant interfaces, such as

PWM_ SetupInputCapture(PWM_Type *base,
pwm_submodule_t subModule,
pwm_channels_t pwmChannel,
const pwm_input_capture_param_t *inputCaptureParams),

But no examples of use were found. Can you provide a complete example of using this feature? Or tell me where I can find relevant examples, otherwise I can only read the registers one by one. Please!!

0 件の賞賛
返信
4 返答(返信)

798件の閲覧回数
295320972
Contributor II

Hi,Miguel

         At first, I also wanted to use GPT, but the hardware pins were not connected to pins that support GPT. Currently, the connected pins only support capture in FLEXPWM.

        Are there very few customers currently using PWM capture in FLEXPWM? Do your company's R&D personnel plan to supplement this section with examples?

0 件の賞賛
返信

806件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

Hi @295320972 

There isn't an example for the input capture with the flexpwm, however you could look into the general porpuse timer (GPT), it has an input capture example, maybe it will work for your application.

Best Regards, Miguel.

0 件の賞賛
返信

790件の閲覧回数
295320972
Contributor II

Hi,Miguel

         At first, I also wanted to use GPT, but the hardware pins were not connected to pins that support GPT. Currently, the connected pins only support capture in FLEXPWM.

        Are there very few customers currently using PWM capture in FLEXPWM? Do your company's R&D personnel plan to supplement this section with examples?

0 件の賞賛
返信

785件の閲覧回数
Miguel04
NXP TechSupport
NXP TechSupport

I presume there's input capture implementations on these examples for our client's reference, but I cannot guarantee that there will be a standalone input capture example

Best Regards, Miguel.

0 件の賞賛
返信