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.

Where are the header files defining the registers?

Other Parts Discussed in Thread: TMS320F2812, TMS320F28027

Hello,

I am starting a project for a TMS320F2812 in Code Composer 4. Where can I find the header files defining the registers (GPIO, SPI, PIE, ADC, etc.)?

Could you please also point me to a datasheet for the above DSP detailing the registers and how to use them?

I already got the "tms320f2812.pdf" Data Manual, but it does not detail how to use the registers.

 

Thanks a lot for your help,

  Fabrice

 

  • Maybe you need to download the C281x C/C++ Header Files and Peripheral Examples, which is at the product page here to be found.

    Regards,
    Joern.

  • Fabrice,

    The header files are part of the C281x C/C++ Header Files and Peripheral Examples. This package includes example projects to get you started with using the peripherals.

    The product page for F2812 contains all relevant available references for this device.

  • Hello,

    Thank you for your help! I have indeed been able to download the header files.

    I can't see a datasheet describing the registers in detail. Where can I find that?

     

    Thank you very much for your help!

    Best regards,

      Fabrice

     

  • Hello Fabrice,

    Have you seen:

    http://focus.ti.com/lit/ug/spru566j/spru566j.pdf

    Thanks

    ki

  • The Peripheral Reference guide pointed by Ki references other guides for each of the peripherals which contain register descriptions for that particular peripheral.

  • Thank you, that's what I needed.

    It's just a shame it's not more easy to find it on the TI website(s)...

     

    Best regards, and thanks again!

      Fabrice

     

  • This is what I'm talking about... I've been lost in this forest for over a week. Searching, searching, searching...

    All I want to do is write an intro demo to flash an LED on my new C2000 Piccolo, Launch XL, which has a TMS320F28027 chip.

    Nothing of what I need is defined anywhere... GPIO_init() , GPIO_setHigh()... I can find no header files to define this thing. So I stumbled across this post.

    The above link said to go here for header files. www.ti.com/.../toolssoftware
    Great for the original poster. So I did the logical thing: I changed the link from "...F2812" to "...F28027". It took me to a page about the device. Looked just as promising as the F2812 page... BUT NO LINK FOR HEADER FILES.
    So, one page has everything he needs, but for the chip/board I'm using, it's not there... it's hidden away somewhere else.

    Where did they hide the headers so I can include GPIO definitions for the one I'm using??

    The "please read" posting says CCS has all of Sys/Bios components, and the code generation tools built in. Well, not from where I'm looking. I've had to download at least 5 different "installation packages" in the hopes of stumbling across what I need.

    Lost in the Weeds...
  • Christopher Weber said:
    Where did they hide the headers so I can include GPIO definitions for the one I'm using??

    Have you seen controlSUITE™ Software Suite: Essential Software and Development Tools for C2000™ Microcontrollers ?

  • Yes, I stumbled across that. I was hoping fro something that was a little smaller than a 1.9 Gig download.
    Now, after doing it there is a massive tree with over half a dozen versions under some of them, and nothing like a change log that I can find.

    Unfortunately, a forum like this lasts in perpetuity and links, packages, tools, downloads can all become very old. One of the side effects of no good way to keep things cleaned up and current (by it's nature). I'm sitting on a bunch of packages that apparently are now of no use (StarterWare), and training material that isn't current (TI_RTOS_Kernel_Workshop_Student_Guide). So there is a lot of time spent (by me, I don't know how anyone else is managing), trying to filter though all these to determine what is current, and what isn't.

    Now, I see a better source of training is the "Getting Sarted" videos. When CCS isn't giving me errors.
    I tried to follow the "Workshops" thread, but it only took me through a series of links that gave me some slides. Not the Eric Wilbur videos I saw earlier (which appear to be a little outdated).