How to use input capture imx6ul

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

How to use input capture imx6ul

983件の閲覧回数
user4users
Contributor I

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?

0 件の賞賛
返信
1 返信

973件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

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

0 件の賞賛
返信