How to accurately set the interrupt period of the epit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to accurately set the interrupt period of the epit

504 次查看
864535720
Contributor II

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

标签 (1)
0 项奖励
回复
2 回复数

440 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 项奖励
回复

440 次查看
864535720
Contributor II

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.

0 项奖励
回复