TI C2000 Code Generation

Target Support Package

The TI C2000 Target Support Package (TSP) offers automatic code generation for a Texas Instruments (TI) C2000 microcontroller (MCU) from a PLECS control model. This includes code for the user-defined control algorithm itself built with standard PLECS library components, as well as the configuration of various on-chip peripherals and protocol interfaces necessary for the application.

The TSP includes a dedicated set of library components for accessing the MCUs I/O and other functionalities needed for sensing, actuation and communication. In addition to directly programming the target device from PLECS, you can build into a template Coder Composer Studio (CCS) project. Once the generated code is deployed on the target device, you can connect via the External Mode to inspect real-time signals and adjust controller set points and parameters on the fly.

To generate code for TI C2000 MCUs, PLECS Standalone or PLECS Blockset, and the PLECS Coder are required. In addition, a TSP must be installed. Download the appropriate package file and follow the installation instructions.

It is highly recommended to use the installer executable for the installation on Windows.

Type Platform File name
Installer Executable Windows ti_c2000_1.8.1_win.exe
TSP Zip Archive Windows ti_c2000_1.8.1_win.zip
TSP Zip Archive Mac ti_c2000_1.8.1_mac.zip

The current version of the TSP requires PLECS version 4.8.5 or newer.

Supported Devices

The TI C2000 TSP supports the TI F28003x, F28004x, F2806x, F2833x, F2837x, F2838x and F28P65x microprocessors.

Release History

Version 1.8: CMPSS and SCI block added. Support for CMPSS-based PWM synchronization and cycle-by-cycle control implemented. Requires PLECS 4.8.5 or later.

Version 1.7: F28P65x target added. Offers dual-CPU support for F2837x, F2838x and F28P65x devices. Many PWM block enhancements. Requires PLECS 4.8.1 or later.

Version 1.6: Support for TMS320F2803x and MCAN peripheral added. Multiple PWM block enhancements. Requires PLECS 4.7.4 or later.

Version 1.5: Support for TMS320F2838x added. Binary format changed to EABI. Requires PLECS 4.6.8 or later.

Version 1.4: Peak current control block and powerstage protection features added. Requires PLECS 4.5.8 or later.

Version 1.3: Supports PIL. Multiple demo models added. Requires PLECS 4.5.5 or later.

Version 1.2: Supports code generation with multi-tasking. CAN, SPI and Pulse Capture blocks added. Requires PLECS 4.4.x or later.

Version 1.1: Support for TMS320F28335 added. Variable frequency PWM generator. DAC and PGA support.

Version 1.0: Initial release. Requires PLECS 4.3.x or later.