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.

Timers of F28335

hallo,

in the examples of the TI C200 microcontrollers I've found a really useful example

for the F28335 that flashes the LED's on the 28F335 Control-Card.

In this example "FlashingLeds-Main.c" all Timers are running, but I could not find a START Command.

Are they running after Reset automaticly?

Thanks for an answer!

Ralf

  • Hi Ralf,

     

    Yes, the examples will blink the LED automatically from reset.  Note that the Code Composer Studio (CCS) will halt at the “entry point” of the code after loading RAM.  After you run the CPU from CCS you will see the LED blink.  There is also a FLASH example that blinks the LED.

    Here’s a note in the code:

     

    //    As supplied, this project is configured for "boot to SARAM"

    //    operation.  The 2833x Boot Mode table is shown below.

    //    For information on configuring the boot mode of an eZdsp,

    //    please refer to the documentation included with the eZdsp,

     

     

    Regards, 
    Jeff 

  • Hi Jeff,

    yes of cause the Led's start to flash, but the question was , do all timers T0, T1, and T2 start automaticly at this

    F28335? I can't find a command like e.g. in "DSP2833x_CpuTimers.h"

    "//---------------------------------------------------------------------------
    // Usefull Timer Operations:
    //
    // Start Timer:
    #define StartCpuTimer0()   CpuTimer0Regs.TCR.bit.TSS = 0

    Regards

    Ralf

  • Ralf,

    According to the System Control and Interrupts Guide, TSS is a 0 after reset (this means that the timer should be running).  See below:





    As with the other peripherals, in xxxxxxx-DevInit.c we should enable each CpuTimers' clock explicitly.  I think this would help to clarify things.  I'll put in this request.


    Thank you,
    Brett