Is it possible to program hardware timers on the edison? My application has a lot of real-time deadlines and I want to make sure that they are met. So I'm not super excited to setup kernel timers or using the itimerval struct. Is this possible on the Edison?
Thanks for contacting us!
Yes, it is possible to program timers in the Edison. Please look at this thread: /message/369854# 369854 https://communities.intel.com/message/369854# 369854, there are references to discussions about the use of timers in Edison.
Hope this information helps, however, if you have any other question or need more assistance please let me know.
Thanks for responding. I did check that thread. But from what I understand of it, it is talking about talking about delays in milliseconds or accessing the edison through the Arduino IDE. I want to achieve delays in microseconds while running Yocto Linux on the board. And so I was wondering if it possible to access and program the hardware timers directly or if it is in the domain of the Linux kernel.
I'll suggest you to do it with Linux, please take a look at https://madalanarayana.wordpress.com/2014/01/25/create-your-own-timer-routine-in-linux/ Create your own timer routine in Linux | My Linux and Telecom Experiences, there you will find a timer example for C. Also the MCU in the Edison provides developers with simple and real-time peripheral control capabilities and a microsecond-level high accuracy delay API, in the following link you can find all the information related to the MCU: https://software.intel.com/en-us/node/545142 https://software.intel.com/en-us/node/545142 (take a look at the Auxiliary API section as well).
Hope the above information helps.
You're welcome. I'm glad to help you. If you have any questions, don't hesitate to open another thread and we'll help you.