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.

DaVinci Timers

The DM6446 datasheet states that the DaVinci has two 64-bit general purpose timers built in (each of which can be used as two 32-bit timers), as well as one watchdog timer.  Where can I find information on taking advantage of these within my Linux-based application?  I've looked through the latest DVSDK and PSP but haven't seen any documentation on a "timer driver."

Thanks.

  • I think the 2 32bit timers are subscibed to the High Res timer subsystem if my memory serves.  You might have to use the High res tiemer API's to avail the feature.

  • Assuming DM6446, Timers are used as follows:

    Timer0 low: free running counter

    Timer0 high: High Res timer

    Timer1 low: (DSP/BIOS Clock) 

    Timer 1 high: Linux system tick

    On the Linux side, user applications use standardized APIs to access timer and high res timer (see Documentation directory under Linux kernel for API details).  The Linux driver source code is located under

    .../ti-davinci/arch/arm/mach-davinci/timer.c