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/TMS320F28377D: Start a new Dual Core Bit Field Project

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi All

I am trying to start a new dual core project using Bit Field project the issue I am having is how to import all the .c files found in the common folder, I wish to start a fresh project that just has all the header and .c files that I need, I have tried using an example like the blinky project, but I am facing issues if someone from TI or on this forum could just go through the steps that would be greatly appreciated. It would be great if TI could just provide an empty dual core project in the same manner they have done for driver lib examples, is this something you could add TI and add a link here? Or is it possible to add Bit Field libraries to a project I have already started using the driver lib dual core project? I want more control over registers for ePWM specifically so want to use the bit field libraries for this and I am then able to follow practical application that use these libraries.

Kind Regards

Art

  • Sundaram,

    Please check out the C2000 Multi-Day Workshop. The first few labs cover exactly what you are looking to do.
    processors.wiki.ti.com/.../C2000_Multi-Day_Workshop

    Also, within C2000Ware there is a dual core "blinky" Example. This will be the most basic example that gets code up and running on both cores. It's as close to an "empty project" as we currently supply. I will suggest to our team to add an empty project as well. (C:\ti\c2000\C2000Ware_1_00_02_00\device_support\f2837xd\examples\dual\blinky_dc)


    Regards,
    Mark
  • Hi Mark
    Thanks for the reply can you also explain how I would go about integrating bitfield libraries into a project where I am already using driver lib

    Thanks
    Art
  • Art,

    Looks like i missed this example:
    C:\ti\c2000\C2000Ware_1_00_02_00\device_support\f2837xd\examples\cpu1\empty_bitfield_driverlib\cpu01

    It is for a single core example, but the files included are the same for CPU2, so you should be able to adapt the CPU2 project to have the same includes.

    -Mark
  • one final note. within C2000ware, there is a document called: F2837xD_DEV_USER_GUIDE.pdf. Look at "Section 2.4 Project: Adding Bitfield or Driverlib Support". It explains which files and includes are required when adding one support structure or the other.

    Its located here: "C:\ti\c2000\C2000Ware_1_00_02_00\device_support\f2837xd\docs\F2837xD_DEV_USER_GUIDE.pdf"

    -Mark
  • Hi

    Thank you, I did try to do this with CPU 2 but got the following errors would you mind giving a more detailed explanation of how to do this or include screenshots, or include a file with them already setup I genuinely just want to progress with the actual workings of the projects rather than being stuck with the setup stage:

    Description Path Resource Location Type
    Build-variable 'C2000WARE_COMMON_INCLUDE' cannot be resolved. This project may not build as expected. ChargerCpu1 properties Problems

    Description Path Resource Location Type
    Build-variable 'C2000WARE_HEADERS_INCLUDE' cannot be resolved. This project may not build as expected. ChargerCpu1 properties Problems

    Description Path Resource Location Type
    Build-variable 'COM_TI_C2000WARE_SOFTWARE_PACKAGE_INCLUDE_PATH' cannot be resolved. This project may not build as expected. ChargerCpu1 properties Problems

    Description Path Resource Location Type
    Build-variable 'COM_TI_C2000WARE_SOFTWARE_PACKAGE_LIBRARIES' cannot be resolved. This project may not build as expected. ChargerCpu1 properties Problems

    Description Path Resource Location Type
    Build-variable 'COM_TI_C2000WARE_SOFTWARE_PACKAGE_LIBRARY_PATH' cannot be resolved. This project may not build as expected. ChargerCpu1 properties Problems

    Description Path Resource Location Type
    Build-variable 'COM_TI_C2000WARE_SOFTWARE_PACKAGE_SYMBOLS' cannot be resolved. This project may not build as expected. ChargerCpu1 properties Problems

    Thanks

    Jonathan

  • Hi Jonathan,

    I'm guessing you copied your include paths from an example project to a new one, but forgot to copy the path variables (e.g. C2000WARE_COMMON_INCLUDE). These can be found in your project properties under Resource->Linked Resources and then clicking the Path Variables tab.

    Whitney
  • Thank you Whitney, would you mind slowly explaining how I could just set up a dual core bitfield project from scratch, would be greatly appreciated I really don't like the documentation on this there doesn't seem to be any clear explanations and would really appreciate any help to just get started.

    Kind Regards

    ART

  • Hello,

    I don't think I could describe it any more slowly here than chapter 2.2 of the F2837xD_DEV_USER_GUIDE.pdf document already does (you can skip down to the "CPU 2 Subsystem Project Creation" section if you already have a CPU1 project working).

    If you have specific questions about any of the steps or any error messages you're seeing, I can help with that.

    Whitney