AnsweredAssumed Answered

MCF5301x - 1ms resolution timer

Question asked by pheredia on Jun 16, 2015
Latest reply on Jun 18, 2015 by pheredia

Hi,

 

I'm working with a MCF5301x microprocessor using a 2.6.26 Kernel.

The microprocessor has a resolution of 10ms as you can see on timer_list

 

# cat /proc/timer_list

Timer List Version: v0.3

HRTIMER_MAX_CLOCK_BASES: 2

now at 1880234849000 nsecs

cpu: 0

clock 0:

  .index:      0

  .resolution: 10000000 nsecs

  .get_time:   ktime_get_real

active timers:

clock 1:

  .index:      1

  .resolution: 10000000 nsecs

  .get_time:   ktime_get

 

I need a timer tick with 1ms resolution. How can I get this timer? Is it possible?

 

Thanks in advance,

 

Patricia

Outcomes