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.

OMAP-L137 timer settings within SYS/BIOS 6.30.03.46

Other Parts Discussed in Thread: OMAP-L137, SYSBIOS

Hello,

on the ARM side of the OMAP-L137 I upgraded the SYS/BIOS to Version: 6.30.03.46

The new SYS/BIOS has for the module ti.sysbios.timers.timer64.Timer new fields (compared with my older DSP/BIOS):

- ownerCoreID with a default value of 0.

Where can I find documentation about the mapping of this "0" to ARM/DSP?

Or in other words: With this default value of 0 is the ARM or the DSP the owner?

- intFreqs[2]

The Arm is only using upper half of timer1.

Has the setting of intFreqs[0].lo by the ARM any influence to timer0 (which is used only by the DSP)?

Used CCS Version : 4.2.1.00004

Thanks,

Frank

  • Frank,

    I see that the description for 'ownerCoreId' is not real clear.  The ownerCoreId applies only to devices which have multiple DSPs (we call these homogeneous devices).  OMAP-L137 (a heterogenous device) would not be one of these devices.  For OMAP-L137 and like devices, you need to make sure the ARM/DSP both don't use the same half of any Timer.  Its perfectly okay for ARM to use the upper half of Timer1 and DSP to use lower half of Timer1.  In this case, you need to specify who the 'master' of the Timer is.  This is done by setting the 'master' field of the module wide config paramter 'timerSettings[]'.  By default, the 'master' field is TRUE on both devices which means, both of them would release the specified Timer from reset.  Generally, for devices with both an ARM and DSP, the ARM should be the 'master' since it usually initializes peripherals, memory, etc...before it release the DSP.  If that is the case, set the 'master' field for the DSP to be 'FALSE' so the DSP does not try to release the Timer from reset again.

    The intFreqs[0].lo settings does not set the internal frequency of the Timer.  So to answer your question, doing this on the ARM has no effect on the DSP.  Setting intFreq[].lo  tells the Timer module what frequency of the specified Timer is running at.   The timer uses this value for calculating the period that must go into the PRD register of the Timer.  If the default frequency of the Timer is not correct and you need to set the intFreq, then you should do it on both the ARM and DSP so they both have the correct updated frequency.

    Judah

  • Judah,

    so my understanding is, that the setting for 'ownerCoreId' is don't care on the OMAP-L137. Correct?

    Thanks,

    Frank

  • Frank,

    That is correct.  For OMAP-L137 it is a don't care.

    Judah

  • Judah,

    thanks.

    Frank