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.

Tiva C + CCS + TIRTOS Timer question

This is a follow up to a previous question you can reference here:

http://e2e.ti.com/support/embedded/tirtos/f/355/p/395951/1402193#1402193

 

I am using CCS 6.0.01, a TM4C1294NCPDT CPU and a TM4C1294 launch pad. I just installed the latest version of CCS and TIRTOS etc and created a new project. The version of TI-RTOS is now 2.10.1.38. I created a new project for the Tiva and used a TI-RTOS example and picked an empty project (TI-RTOS for TivaC->Driver Examples->EK-TM4C1294 Connected Launch Pad->Example Projects->Empty Project).

 

My question is how do I add and configure a hardware timer using the gui?  I want to run the timer at 2kHz so that’s 2X faster than the OS tick rate.  I do not want to speed up the OS tick rate to 2kHz to do this.  With the newest RTOS, I now see the driver screen that looks like the printscreen seen here.  I have not found where I can configure and use a hardware timer. 

 


Thanks,

Doug

  • Hi Doug,

    I think what you are looking for is the BIOS Timer module.  You can get to it through the config by first clicking "System Overview" and then "TI-RTOS Kernel":

    In the BIOS system overview, right click on the Timer module and select "Use Timer":

    This will bring you to the Timer configuration settings.  You'll want to add a new instance.  You can select the logical timer ID that corresponds to the hardware timer you want to run against.  You can also configure the frequency to match whatever frequency you have configured the actual timer to run at (if different than the default):

    Steve