IMX8MQ Input Capture Consultation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MQ Input Capture Consultation

172 Views
ximenbingmeng
Contributor III

IMX8MQ Input Capture Consultation
Can imx8 achieve input capture? For example, collecting waveforms, rising edges, falling edges, and ADC?
Which part of the manual or kernel source code can you refer to.
Looking forward to your reply, thank you very much!

0 Kudos
Reply
3 Replies

159 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @ximenbingmeng 

 

Unfortunately we have not any example about how to use input capture in i.MX8MQ on Linux side, but we can examples about of usage in Cortex M, look at SDKMIMX8MM/boards/evkmimx8mm/driver_examples/gpt/capture.

You can download the SDK in MCUXpresso SDK Builder.

 

I hope this information can helps to you.

 

Best regards,

Salas.

0 Kudos
Reply

139 Views
ximenbingmeng
Contributor III

Hello, what are the pins that input capture can use for IMX8MQ? Is there a small tool, or is there any way to know what function each pin of IMX8MQ can be used for?

0 Kudos
Reply

136 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @ximenbingmeng 

Please refer to our Config Tools. With that tool you can configure the pines, you can generate the Mux values, Pad control settings and generate code for cortex M and cortex A.

 

Best regards,

Salas.

0 Kudos
Reply