Hello everyone
I use the official development board of IMX6Q, my operating system is linux3.14.52. Now, my epit timer is working, but I have a problem. I want to interrupt every 10us, but after I actually measured it, I found that the interrupt period is not 10us. I tried to modify the timer comparator. No matter how I set it, it is always inaccurate. Can you guide me?
look forward to your reply. Thank you
Hi,
You can not calculate the interrupt time accurately, as the Linux is not real-time operating system. You can consider the the QNX, VxWork real-time operating system.
Have a great day,
Rita
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thank you for your answer. Our real-time requirements are not particularly high. Currently, the clock frequency is calculated, and the obtained timer trigger value can meet my requirements.