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:


 

From within MATLAB you can access hardware support for Embedded Coder by command line (>> supportPackageInstaller) or via the Add-On Explorer from the MATLAB toolstrip.

 


From the Support Package Installer, you can download and install free C2000 library blocks. You add and configure the blocks, which include IO and a variety of functions, in your Simulink model. Then you use Embedded Coder to generate production code of your algorithm and run it directly on your MCU. The library blocks include documentation, example models, and support C2000 Piccolo, Delfino, and Concerto families.Embedded Coder to generate production code of your algorithm and run it directly on your 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, & Simulink Coder.

You can also just generate production code of your algorithms which can be integrated into a Code Composer Studio project.

 

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

    • How-to Videos:

 

    • Details and Examples:

      • C2000 Hardware Support webpages:
      • Delfino: F2833x, F2837xS, F2837xD, C2834x
      • Piccolo: F2802x, F2803x, F2805x, F2806x, F2807x
      • Concerto: F28M35x, F28M36x (C28x + ARM Cortex M3)
      • Legacy: C280x, C281x, C2833x, F281x, F280x



 

92 Replies

  • In reply to Marc Meyers:

    Hi Marc,

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

    Thanks,

    -Brian

    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  |  www.mathworks.com

  • 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).

     

    ---

     

    HTH,

    -Brian

     

    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  |  www.mathworks.com

  • 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.

    Thanks
  • 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: