iMX6 - GPT timer Testing

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX6 - GPT timer Testing

2,267 Views
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 Replies

564 Views
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 Kudos

564 Views
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 Kudos

564 Views
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 Kudos