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.

[FAQ] Sticky: MathWorks Solutions for C2000 MCU’s

Save design time and get into production faster with C2000 MCU’s with MathWorks solutions.

To begin you use MATLAB® and Simulink® to create and simulate your algorithms. Next you use Embedded Coder® to generate production code of your algorithms. Embedded Coder support for Texas Instruments C2000 includes:

        • Automated build and execution
        • Block libraries for on-chip and on-board peripherals such as ADC, digital I/O, ePWM, SPI, I2C, and more
        • Real-time parameter tuning and logging using external mode
        • Processor optimized code including DMC and IQMath libraries
        • Ability to perform processor-in-the-loop (PIL) tests with execution profiling
        • Examples for motor control and power conversion that run on TI C2000 hardware

You can also generate code that runs on the Control Law Accelerator (CLA), a co-processor available on select TI Delfino and Piccolo processors.


From within MATLAB you can access hardware support for Embedded Coder via the Add-On Explorer from the MATLAB toolstrip.


Search for C2000, and select to download and install free C2000 library blocks. You insert and configure the blocks, which include IO and various functions, in your Simulink model. Then you use Embedded Coder to generate production code of your algorithm and run it directly on your TI C2000 MCU. The library blocks include documentation, example models, and support C2000 Piccolo, Delfino, and Concerto families.

Note: Using Embedded Coder requires additional MathWorks software: MATLAB®, Simulink®, MATLAB Coder™, and Simulink Coder™.

You can also just generate production code of your algorithms which can be imported and integrated into an existing Code Composer Studio project.

--- ---

Here is more info including how-to videos and examples you can run with TI hardware kits:


    • Details and Examples:

      • C2000 Hardware Support webpages:

      • Delfino: F2833x, F2837xS, F2837xD, C2834x

      • Piccolo: F2802x, F2803x, F2805x, F2806x, F2807x, F28004x

      • Concerto: F28M35x, F28M36x (C28x + ARM Cortex M3)

      • Legacy: C280x, C281x, C2833x, F281x, F280x

      • C2000-Based Examples


Content Updated 2019-01-22

143 Replies

  • In reply to Marc Meyers:

    Hi Marc,

    I am investigating and will post a response when I get feedback from my colleagues.



    PS: For faster response, you can always contact MathWorks Tech Support. Our Tech Support is truly excellent - nearly everyone there has a MSci/ PhD in Engineering or CompSci.

    Brian McKay  |  Technical Marketing  |

  • In reply to Marc Meyers:

    Hi Marc,

    I heard back from the devel team. Here is their feedback / suggestions:


    For more information on data exchange between the 2 CPU cores, refer the F28379D device data sheet (Technical Reference Manual) that is shipped with TI Control Suite.


    Please note: Out of reset the CPU1 is master and is responsible for configuration of peripherals. However we can have configurations done in such a way that even CPU2 can trigger a given peripheral operation. For Example ADC - SOC trigger can be configured between CPU1 or CPU2 as well and Result Register can be read from either of the cores independently. The same is with CAN, the MailBox are Read/Write from either core. This is with respect to peripherals.
    If you want to exchange data between cores then the Shared Global RAM is handy. Mem Copy block can be deployed to do this job.
    You need to use IPC Module to synchronize the data movement between the cores.


    Thus you will have to focus on the following IPC features:

    • Message RAMs

    • IPC flags and interrupts

    • IPC command registers

    Feature wise they are independent of each other but can also be combined based on application needs.

    More information on IPC and it configuration is again found in F28379D device (Technical Reference Manual).







    PS: I am travelling next week and wont be active on the E2E forums - please contact MathWorks Tech Support if you need additional assistance.

    Brian McKay  |  Technical Marketing  |

  • In reply to Brian McKay:

    Hi Brian,

    Need to work on f28379d , Any idea the support package is available in matlab R2017a??
    If possible please provide me the list of tools I required to work on f28379d bootloader.

  • In reply to ashok kumar6:

    ashok kumar6
    Need to work on f28379d , Any idea the support package is available in matlab R2017a??

    The controller was supported in 2016b itself. Have a look at this video: