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.

Dm355 Timers

Hello everyone,

I m using MV 4 and DM355 EVM.

I want to use timers and generate 1MHZ frequncy from GPIO pins.Using timer IRQS.

My quesions are 

1-how to use high resoltion timers and its IRQ form kernel space driver ??

I have tried but some how the APIs in

/arch/arm/mach-davinci/time.c

#1. scedule_hr_timer_int

#2.get_arch_cycles

I am getting  warning at compile time : scedule_hr_timer_int is undefined !!!

though I have added </asm/arch/hrtime.h>  in my kernel driver code

I have also enabled HIGH_RES_TIMERS in my configurations.

It is getting initialised whie bootup I have also checked it using printks.

 

2- Is there any other way to use timers apart form High resolution timers ???

I just want timer interrupt at 1 Mhz from kernel space.

Please help.

thank you