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/TMS320F28379D: Direct register access model

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hello,

I wanted to go with direct register access model approach of programming for TMS320F28379D Launchpad. This is the first time I am using CCS as well as TMS320F28379D.

where can I find the required header files? 

Are there any examples of direct register access programming given? 

Please share the links

Thanks and regards,

Priyanka

  • hi Priyanka,

    Please check the below folder in C2000ware.

    C2000Ware\device_support\f2837xd\headers\include

    This would give details on the header files that can be used for direct accessing .

    The docs under C2000Ware\device_support\f2837xd\docs like F2837xD_DEV_USER_GUIDE.pdf can help in some guidance for getting started.

    For other info

    Regards.

  • Hello Maghana,

    Thanks for the reply.

    I am able to find the headers.

    I had gone through the user guide, but information given is about bit-field and driver library examples.

    Can I start programming just by including header files and without adding library?

    If yes, please suggest me where to find the procedure for the same?

    Regards.

     

  • hi,

    If you are planning to use the driverlib APIs then you need to add the lib along with some include paths for header inclusion .

    Please check section 2.4 Project: Adding Bit-field or DriverLib Support of the F2837xD_DEV_USER_GUIDE.pdf.

    Did you get a chance to check section 2.2 Project Creation of the F2837xD_DEV_USER_GUIDE.pdf?

    This gives details on what all needs to be linked and added etc.

    Another option would be to just use one of the empty projects to get the base setup.

    C2000Ware\driverlib\f2837xd\examples\cpu1\empty_projects - driverlib only 

    C2000Ware\device_support\f2837xd\examples\cpu1\empty_bitfield_driverlib - bitfield and driverlib 

    C2000Ware\device_support\f2837xd\examples\cpu1\empty_project - bitfields only

    Regards.

  • Hello Meghana,

    Thanks a lot. 

    I wanted to go with the second option but I could not find this : C2000Ware\device_support\f2837xd\examples\cpu1\empty_project - bitfields only

    I have other two links and I could find "empty_bitfield_driverlib - bitfield and driverlib" 

    I have CCS version 9.1 and my colleague has 9.2 but we dont have "empty_project - bitfields only"

    Kindly suggest me from where I can download this "empty_project - bitfields only " or do I need to download another version of CCS

    Regards.

  • hi Priyanka ,

    Priyanka Raut said:
    C2000Ware\device_support\f2837xd\examples\cpu1\empty_project

    Do you not see an example in this path ? C2000Ware\device_support\f2837xd\examples\cpu1\empty_project

    The complete path is only till empty_project. Whatever i have added after "-" is to give you an idea as to what are the difference between the 3 variants of empty projects.

    Priyanka Raut said:
    I have CCS version 9.1 and my colleague has 9.2 but we dont have "empty_project - bitfields only"

    The example are in the C2000ware and have nothing to do with the CCS version .

    Regards.