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.

TMS320C6746: TMS320C6746 - code for using general purpose timers

Part Number: TMS320C6746
Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hello TI,

i have to use general timers of TMS320C6746 

it is said in TMS320C6746 datasheet that it has 

i) Three 64-Bit General-Purpose Timers (Each
Configurable as Two 32-Bit Timers)

- i am using OMAPL138_StarterWare_1_10_04_01 for tms320c6746 without OS, i did not found any driver code for using these timers

where to look for code to use these timers, 


ii) One 64-Bit General-Purpose or Watchdog Timer
(Configurable as Two 32-Bit General-Purpose
Timers)   -   i found driver code  OMAPL138_StarterWare_1_10_04_01\drivers\timer.c that has functions to use this timer, i am using this timer as Watdog only, 

this timer.c  has code to configure TIMER12 and TIMER34 only, where is the code to use other general purpose times , kindly guide 

  • Hello,

    I would recommend you to use the Chip Support Library (CSL) from the Processor SDK. Please download the SDK from here. Once you install the SDK, the CSL can be found from the PDK package. Please look at timer API header for OMAP-L138/C674x: pdk_omapl138_1_0_11\packages\ti\csl\csl_tmr.h. Please also look at timer testing code: pdk_omapl138_1_0_11\packages\ti\csl\example\timer\timer_test.c.

    Please note that we do not support the StarterWare for OMAPL138 anymore and please migrate to the Processor SDK.

    Regards,

    Jianzhong