How to accurately set the interrupt period of the epit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to accurately set the interrupt period of the epit

502 Views
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

Labels (1)
0 Kudos
Reply
2 Replies

438 Views
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 Kudos
Reply

438 Views
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 Kudos
Reply