I am using imx7d for my development and one of the motor speed frequency feedback by pulse is attached to gpt2.capture1.
In the imx7s.dtsi, the gpt2 is configured as below:
I have added the patchwork from the below link:
But the problem is, i do not know where should i use the mxc_request_input_capture.
I would want to configure these in QT and to be able to get the interrupt inside the QT.
But from the source from /opt/fslc-x11/2.5/environment-setup-armv7at2hf-neon-fslc-linux-gnueabi, inside doesn't have the required headers for me to do so in QT.
Do you have any example on how should I get the interrupt of the GPT?
Hi David
one can try with official nxp linux from source.codeaurora.org/external/imx/linux-imx repository
linux-imx - i.MX Linux kernel
Linux 4.19.35_1.1.0 Documentation
Also some gpt examples can be found in
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------