iMX6 - GPT timer Testing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX6 - GPT timer Testing

3,147 次查看
Ansari
Contributor IV

Hi,

We are using imx6Q custom platform based on sabresd for our development with Linux 3.10.17_1.0.0-GA BSP.

We would like to test the GPT timer with external input.

Please let us know, How to test the GPT timer.

In addition, Could you please provide the driver file path in the Linux kernel?

Thank You,

Regards,

Ansari

3 回复数

1,444 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi Abdul,

The GPT timer is used by the kernel to generate the ticks for the OS. I recommend you not to touch it.

I suggest you to use the EPIT and maybe a GPIO as IRQ. Of course that would be limited workaround.

Regards,

Alejandro

0 项奖励
回复

1,444 次查看
Ansari
Contributor IV

Dear Alejandro,

Thank You for your input.

We hope, this EPIT initialization is not called in the kernel (arch/arm/mach-imx/epit.c).

Could you please provide some more information about EPIT configuration for GPIO as IRQ.

Thank You,

Regards,

Ansari

0 项奖励
回复

1,444 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Unfortunately I lack of an example. You will have to develop your own driver with those features.

This discussion covers a few poins of what you would need.

5us timer interrupt

Regards,

Alejandro

0 项奖励
回复