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.

CCS/TMS320F28335: Detailed bit information on F2833x Timer Registers.

Part Number: TMS320F28335


Tool/software: Code Composer Studio

Hello,

I need information on the bit layout of the F2833x Timer Registers. The support document contains information on the timer control register (TIMERxTCR) only. Information on the other registers like the counter registers and prescaler registers for Timer0 will be helpful.

I am trying to track the time elapsed between two interrupt calls through the timer registers. If there is any other way to do it, please let me know. It will very helpful.

Regards,

Somenath.

  • Maybe the most reliable method that I have used is to toggle a spare output at the start of the ISR. You can then set up an oscilloscope or logic analyzer to see the time, and also see if there are variations in the times...

    Another way that may or may not work for you: use the Run->Clock->Enable to create a clock. If you set to zero then, run to the next breakpoint, you will see how many clock ticks it took to get there.

    Hopefully, that helps.
  • Hello Sir,
    The methods mentioned are surely effective for observing the time difference.
    However, I intend to use the time difference in my code to update certain variables in real time. Maybe the values of the timer counter registers will help me do that. Since it is running at 150MHz (SYSCLKOUT Freq.), I intend to prescale it to a lower frequency.
    Thank you for your prompt reply.
    Regards,
    Somenath.
  • Somenath,

    For detailed information about the CPU Timer registers bit fields please see the "TMS320x2833x, 2823x System Control and Interrupts Reference Guide", Literature Number: SPRUFB0

    www.ti.com/lit/SPRUFB0

    Starting on page 56 you will find table 31, and after the table are all of the register bit field descriptions.

    I hope this helps. If this answers your question, please click the green "Verified Answer" button. Thanks.

    - Ken
  • Hello Sir,
    Thank you for the reply. I was looking for exactly that document.
    Regards,
    Somenath.