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.

In TI RTOS framework- Which timer is better to use Hardware timer(specific to TM4Cxx) or TI-RTOS provided API(TImer_create etc...)

Other Parts Discussed in Thread: TM4C129XNCZAD

Hello I am using TM4c129xnczad Microcontroller. WOrking on ADC driver.

As TI-RTOS framework doesn't have any ADC example . SO i am referring tivaware library  to configure ADC. 

Basically i need to periodically monitor couple of voltages which is connected to ADC.

To do this i require timer to take ADC samples at an specified interval.

As i am using TI-RTOS(SYS/BIOS ) framework, can I use Hardware timer provided by TM4c129xnczad Microcontroller (i.e. TIMER 0, TIMER 1 or TIMER 2).

Or i should use RTOS driven timer API (TImer_create, timer_start etc....)...etc..

If i use RTOS driven timer API are they pointing to Hardware timer of TM4c129xnczad Microcontroller  internally?

 

Fast response is highly appreciable...........

Thanks

Sanyam

  • Hello Sanyam,

    The RTOS driven timers may chose to us both software timers and hardware timers. I believe it is the latter. To be sure it would be better to ask the TI-RTOS forum. I believe I have seen an ADC example in the resource explorer.

    Regards
    Amit