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.

TMS320F28069M: Unable to understand the build process for the DRV8312-C2-KIT

Part Number: TMS320F28069M
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software:

Greetings

I am an EE fresher and I am trying to work with this BLDC Motor Control Kit, that includes a TMS320F28069M control card, DRV8312EVM driver board and a 24V BLDC motor. Details about the kit can be found here, it's rather old.

I have downloaded controlSUITE, and I have also found the appropriate folder in the repository: home / ti / controlSUITE / development_kits / DRV8312-C2-KIT_v128. I was able to run the motor using the GUI, with the help of this tutorial - youtube_link.

We flash a .out executable to the control card, and I am interested in finding out how to generate this .out file. There's no explicit makefile, and I am assuming Code Compose Studio takes care of the build process, but even then I need to know the appropriate project folder. I am assuming either of the projects will be compatible with the gui.exe (I would appreciate it if you could point me to some resources that could explain this as well).

These are the folders in controlSUITE for the kit:

  1. BLDC_Sensored
  2. BLDC_Sensorless
  3. ~Docs
  4. ~DRV8312EVM-HWdevPkg
  5. ~GUI
  6. GUI_project
  7. GUI_project_InstaSPIN_BLDC
  8. InstaSPIN_BLDC
  9. PM_Sensorless

The .out file and the gui.exe are available in the ~GUI folder.

Q1: How has the .out file been generated? How do I generate a similar .out file?

Q2: I get folder 1. 2. and 9. could be used to create an executable that could run the motor. What about folder 4. 6. 7. and 8. ? What is their purpose?

Q3: I would also like some resources explaining how the GUI would be compatible with any other .out file that I am able to generate with your help.

Thank you
Best Regards

  • You can take a look at the application notes in the related folders in controSUITE as below. The application notes have the detailed operation steps to show how to run the example lab. The ,out is generated by the example project within CCS.

    Project in the folder:

    C:\ti\controlSUITE\development_kits\DRV8312-C2-KIT_v128\InstaSPIN_BLDC

    Application notes:

    C:\ti\controlSUITE\development_kits\DRV8312-C2-KIT_v128\~Docs

    The C2000 Academy is a great resource for developers to learn about C2000 real-time microcontrollers platform. The Academy delivers easy-to-use training modules that span a wide range of topics for all C2000 devices.

  • Greetings Mr. Luo,

    This is perfect. I should have probably done a little bit more research, but this really makes things easier. It's the InstaSPIN_BLDC folder!

    And C2000 Academy seems like a really good repository indeed. Thanks for sharing that!

    Could you point to some resources that could help demystify that GUI layer aspect of the system?

    Thanks a lot!!
    Best Wishes

  • Greetings,
    The InstaSPIN_BLDC folder has source files prepared for the f2803x controlCard, whereas my kit has a f2806x controlCard. Will it still be compatible?

  • Yes. Just need to change the device configuration codes. The motor control algorithm is not related to the specific device.