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.

TMS320F28379D: launchxl-f28379d

Part Number: TMS320F28379D
Other Parts Discussed in Thread: LAUNCHXL-F28379D, , C2000WARE, SYSCONFIG

Hello TI friends,

I am trying to work with launchxl-f28379d that uses TMS320F28379D, but I could not find a good source that shows me everything from scratch.

Could you please guide me procedure to work with this microcontroller and step by step of programming it? For example, blinking LEDs based on both CPU1 and CPU2 would be helpful. I have found a similar training from One-day workshop, but it is not completed. 

I know that first target configuration should be setup. and then CCS project for each of CPUs created. Also, I could figure it out the registers that needed to run this launchpad LEDs, D9 and D10 that I think they are GPIO34 and GPIO31s. 

1- Target configuration

2-CCS project CPU1 

3-CCS project CPU2

 4- ... ?

Thanks

  • Hello Hamed,

    For example, blinking LEDs based on both CPU1 and CPU2 would be helpful. I have found a similar training from One-day workshop, but it is not completed. 

    I believe the example located here is what you're looking for: C2000Ware_5_00_00_00\driverlib\f2837xd\examples\dual\led.

    I know that first target configuration should be setup. and then CCS project for each of CPUs created. Also, I could figure it out the registers that needed to run this launchpad LEDs, D9 and D10 that I think they are GPIO34 and GPIO31s. 

    1- Target configuration

    2-CCS project CPU1 

    3-CCS project CPU2

     4- ... ?

    Ideally you should be able to just import the empty_project example and work from there, since this project is used to set up the default configurations needed to at least start a debug session on the device (I recommend using the empty_sysconfig_multi, since this includes the multi-core project configuration with SysConfig enabled). From there, if there are further settings you need to adjust then you can change the Project Properties or other options/files.

    Let me know if you have further setup questions, or if you need further explanation on the info I provided above.

    Best regards,

    Omer Amir

  • Hi Omer,

    Thank you so much for your help.

    Yes, one method is to use TI examples, but I want to understand the process for future developments. 

    The options that should be added to CCS project are not clear for me. 

    For example, I am creating a CCS project with regards to my TI microcontroller, but I am not sure what include option files or Predefined symbols are needed and the reason for that. I mean, why should I add a header file or variable name or so, like:

    device.h

    driverlib.h

    device.c

    F2837xD_codeStartBranch.asm

    I think this can help to handle different TI microcontroller and product. I appreciate your help for clarification.

  • Hi Hamed,

    I would recommend to get started with TI provided examples within C2000Ware. Once you are familar wih these projects, you should be able to create your own examples.  If you run these examples , you will be better understand the executing flow  and the code that is included in these files.

    You can look through the header files and see the functions that are provided.  Some of them are required for device setup (device.h) , the driverlib.h includes all the module header files which provide APIs for configuring each peripheral on the device.

    Best Regards

    Siddharth