This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Timer Interrupts in C on a OMAP 3505 processor

Hello Everyone,

I'm an ME grad student specializing in control systems and i've been assigned the task of adapting an OMAP 3505 to act as the controller. I've been trying to create a program in c to run the control algorithm timed by timer interrupts. I'm using a version of linux as the environment.

I have two major questions 

1) how do u do a timer interrupt in c for this specific processor ?

2) should i bypass the whole c thing and set timer interrupts using dev/mem or devmem2 in that case, how do i program the interrupt handler. ?

I'm a new to the whole embedded programing and any help is greatly appreciated

 

thanks

 

Thilina