iMX6 - GPT timer Testing

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

iMX6 - GPT timer Testing

2,761件の閲覧回数
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,058件の閲覧回数
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,058件の閲覧回数
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,058件の閲覧回数
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 件の賞賛