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.

System(CPU) timer issue in F2808

Hello,

I am trying to use CPU timer 0 of F2808 .but i'm unable to make it work.can anyone help me out and explain how to use the timer 0 (concept of timer).

Regards,

Sanath Rai

  • sanath rai said:

    Hello,

    I am trying to use CPU timer 0 of F2808 .but i'm unable to make it work.can anyone help me out and explain how to use the timer 0 (concept of timer).

    Regards,

    Sanath Rai

    The CPU timer is just that - a counter that counts based on some parameters you set like how often it resets and what the period is. 

    The CPU timer for 2808 is documented in www.ti.com/lit/SPRU712

    -Lori

  • Hello Mam,

    Thank you for the guidance and suggestion.I'll go through the doc and make it work.

    Regards,

    Sanath Rai

  • Hello mam,

    i'm using CPU timer 0 which is working fine.

    now the issue is regarding  ConfigCpuTimer(&CpuTimer0,Freq,Period);

    i need the interrupt to cause for maximum delay say for about  5 seconds.How to configure it ?

    (i hope you got the point.i'm trying to say that i'm using CPUtimer 0 to blink an LED.i have wrote the code in cpu ISR for blinking.i want it to blink for 5 seconds.that means interrupt (timer)should be called for 5 seconds ).

    please help

    Thanks and Regards,

    Sanath Rai