Hi,
I'm using imx6ulevk YOCTO sumo linux kernel L4.14.98-2.3.1.
I'm testing the minimum timing of hrtimer in imx6ul. My testing is just enable the hrtimer for a period (e.g 5 ms) and each period we toggle the gpio result.
I found that the minimum timer is only 96 micro seconds even though I set the timing to 50 micro second. It's quite slow.
In my application, I want at least 10 micro seconds timer.
Anyone have the idea?
Hi wayneshih
reason for that may be large software overheads as linux is running many tasks
concurrently. One can try to achieve better resolution with M4 SDK (look at gpt_timer.c, epit.c)
Best regards
igor