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.

Official header file set for C2000 part (28035 & 28235 in my case)

Other Parts Discussed in Thread: CONTROLSUITE

Many months ago, I was working on a project using the 28035 (or maybe 28235, we use both). The part-specific TI header files were in one of our project directories and had been modified. I compared these to newer header files and noticed that in a couple of instances there were a couple of bits in a couple of registers that had been deprecated (changed).

I decided to use a new TI header set keeping it in place in its TI directory and un-edited. Kind-of a vendor-supplied library mentality. However, it turns out that I had to edit the header files because they had entries specific to example projects that are part of Control Suite. As I did not want to leave edited header files in the TI Control Suite folders (library mentality), I ended up copying them over to our working folder set and altering them just as we had done in the past.

So, is there a "master header file set" for each processor that is kept somewhere under C:\ti ?

I have several projects that use 2812 and several that use 2809. I also have 28035 & 28235 projects done and in the pipeline. Right now, I copy over a set of TI header files from one project to another and they get edited for various, sometimes nonsensical, reasons. The developers, myself included, figure that since they were edited already, making more changes is.... meh. But, it leaves things messy and UN-standardized.

I used to download TI header files as a bundle (.zip ?). I am sure they are still available this way. But, this means that they have no "master home location".

So, what is the TI approach (mentality) to the C2000 part-specific header file sets?

AND

is there a "master header file set" for each processor that is kept somewhere under C:\ti ?


Regards,

Jim

  • Hi Jim,

    You need to first download controlSuite. Once done you can find header files under these folders:
    F28035: C:\ti\controlSUITE\device_support\f2803x\v130

    F28335: C:\ti\controlSUITE\device_support\f2833x\v140

    Under device_support folder you can find all the recent device families with their header files and example codes.

    Regards,
    Gautam
  • Jim,

    We no longer have this "master set", all headers are now located in controlSUITE and generated per device (f2802x, f2833x, etc). These headers I'm referring to are under the "headers" folder such as "DSP2803x_headers" and aren't modified for examples. The other source and headers located in the "common" folder such as "DSP2803x_common" are designed to help with development but are also used within examples so there are chances that some of these files do have example specific setups.

    Best Regards,
    Chris