How to accurately set the interrupt period of the epit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to accurately set the interrupt period of the epit

503件の閲覧回数
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 返答(返信)

439件の閲覧回数
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 件の賞賛
返信

439件の閲覧回数
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 件の賞賛
返信