Hello everyone!
Now I am working with imx6ul processor and I need to use input capture channel.
I found in RM that this have several gpt input capture channels.
Also, I found driver in this forum:
https://elixir.bootlin.com/linux/v5.11.2/source/drivers/clocksource/timer-imx-gpt.c
Previously, I worked with microcontrollers like STM32 and etc. And using interrupts was easy.
But here I can not start because I do not understand some.
In this cause I have 2 questinos:
1. How can I use this interrupt in my project for getting data?
2. Can this interrupt capture signal with 1us accuracy?
Hi user4users
for gpt example and description one can look at sect.14.9.2 Input compare test
iMX6_Firmware_Guide.pdf included in SDK (1.1.0_iMX6_Platform_SDK.zip) on :
https://community.nxp.com/t5/i-MX-Processors/SMP-Enable-in-IMX6/m-p/542111
Best regards
igor