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.

General Purpose Timer config on TI814x (DM814x)

Other Parts Discussed in Thread: SYSBIOS

Hi,

I have 2 questions.

1. One of my customers wants to use 8 GP timers from Cortex M3 core of DM814x. But when I take a look at the timer.xs file present in \bios_6_33_06_50\packages\ti\sysbios\timers\dmtimer, the M3 is configured to use only 4 timers. How can i change this configuration to use all 8 GP timers from M3 ?

2. What is the default timer used by SYS BIOS for DSP, A8 and M3 on DM814x ?

Regards

Pawan

  • Pawan,

    1.  In the general case, we assume that Linux is running on the A8, and thus we have reserved the first 3 timers for Linux and the 4th for the DSP.
         These 4 timers are commented out so that there is no collision between A8, DSP, and M3s.  Now if you choose to, you can undo the commented out timers so
          then they would be available on the M3.  Note that the logical id's would change.  Id 0 would correspond to GPTimer0 as opposed to the current mapping
          which Id 0 corresponds to GPTimer4.

    2.  Just looking at the dmtimer\Timer.xs file, it looks to me like by default SYSBIOS uses GPTimer1 for A8, GPTimer3 for DSP, and GPTimer4 for M3.

    Judah

  • Thanks Judah for the quick response. This helps.