Use EPIT timer on iMX6

Hi,

I would use EPIT timer included in iMX6 to manage execution. Do you have any example about it?

Thank you for your help.

Linux does not have a generic timer subsystem and as such a EPIT driver is not available in Linux kernel. One would have to write a custom EPIT driver from scratch to make use of it. Information on EPIT would be available in Chapter 24 of iMX6 Reference Manual.

Have a look on freescale SDK, it has the drivers and tests with some examples:
https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-software:IMX_SW