Hello,
I'm using a imx 6 sabrelite board with the linux kernel (yocto project "dora release").
I want to call a function 64 times per second with this ARM processor.
Ideally, I don't want too much jitter. I want to perform a task periodically... (ie: scanning a device)
I'm thinking to use a timer of the i.mx 6 and generate an interrupt 64 times per second ? (EPIT timer?)
Is it possible to do that with yocto and the imx 6 ?
Can somebody give me some examples or let me know where I can find documentation about this ?
Where can I find examples on the usage of the EPIT timer ?
thanks
ssinfod
HI,
I want to generate 1 micro sec (1usec) delay in my driver using EPIT (Enhanced Periodic Interrupt Timer) .is it possible ?
if it possible can please share kernel API (or) EPIT driver. we using 4.1.15 kernel .
Hi,
After checking the source code, I noticed that the GPT is used for the Kernel and I did not fidn anytyhing used by the EPIT.
I recommend you to use that module. You can find the source code at arch/arm/mach-imx/epit.c
There are no examples in the kernel source code but I believe you can use it as reference.
Best Regards,
Alejandro
I'm just starting with linux development...
Do you think that I should use the EPIT in User space or in Kernel Space ?
Thanks for your time,
ssinfod
Hi,
I would use it in kernel space, but at the end your application will run in user space correct?