Community
cancel
Showing results for 
Search instead for 
Did you mean: 
AARAV
Beginner
1,183 Views

Hardware timers

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?

0 Kudos
6 Replies
idata
Community Manager
29 Views

Hi Aravind,

 

 

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.

 

 

Regards,

 

-Yermi

 

AARAV
Beginner
29 Views

Hi Yermi,

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.

Thanks,

Aravind

TimerOne.h

idata
Community Manager
29 Views

Hi Aravind,

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.

Regards,

 

-Yermi

 

idata
Community Manager
29 Views

Hi Aravind,

 

 

I would like to know if you have any other question or need more help.

 

 

Regards,

 

-Yermi

 

AARAV
Beginner
29 Views

Hi Yermi,

That was helpful. Thanks.

idata
Community Manager
29 Views

Hi Aranvind,

 

 

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.

 

 

Regards,

 

-Yermi

 

Reply