Get Started with C2000 Microcontroller Blockset
C2000™ Microcontroller Blockset enables you to model digital power conversion and motor control applications for TI C2000 microcontrollers (MCUs). The blockset includes peripheral blocks, such as digital IO, ADC, and ePWM, to perform simulations of control algorithms that require ADC-PWM synchronization in industrial and automotive applications using C2000 MCUs.
The blockset enables you to partition algorithms for multicore execution with inter-processor data communication (IPC) and co-processor (Control Law Accelerator) blocks. You can connect your Simulink® model directly to supported hardware for live I/O data exchange for rapid prototyping.
You can generate optimized code for C2000 MCUs for real-time and interrupt-driven execution of code using IQ Math and related optimization routines and perform real-time signal monitoring, parameter tuning, and processor-in-the-loop (PIL) testing (with Embedded Coder®). The blockset includes reference examples that help you build and deploy motor control applications on C2000 MCUs (with Motor Control Blockset™ and Embedded Coder).
C2000TM is a trademark of Texas Instruments®.
Tutorials
- Getting Started with Texas Instruments C2000 Microcontroller Blockset
This example shows you how to use C2000™ Microcontroller Blockset to run a Simulink® model on Texas Instruments™ C2000 hardware.
- Parameter Tuning and Signal Logging with Serial Communication
This example shows how to perform parameter tuning and data logging with a Simulink® model running in Texas Instruments™ C2000™ targets.
- Code Verification and Validation with PIL
This example shows you how to use Texas Instruments™ C2000™ Processor for code verification and validation using PIL in C2000™ Microcontroller Blockset.
- Code Verification and Validation with External Mode
This example shows you how to use C2000™ Microcontroller Blockset for code verification and validation using External mode.
- Modeling and Code Generation Using Control Law Accelerator (CLA)
Use the control law accelerator (CLA) co-processor to model and generate code in C2000 MCU models.
- Getting Started with Connected IO
In this example, you will learn how to connect the Simulink® model directly to supported hardware for live I/O data exchange and blink an LED using connected IO in C2000™ Microcontroller Blockset.
C2000 Modeling Basics
- Overview of Creating a Model and Generating Executable for C2000 Processors
Summarizes the steps required to create models and generating executables for your target. - Exploring TI C2000 Toolchain Options
Utilize TI C2000 toolchains like COFF ABI, EABI, and ARM to generate code. - Overview of CLA Configuration for C2000 Processors Using Subsystem
Overview of CLA Task and Subsystem, data exchange, interrupt generation and model configuration for CLA. - Using the Control Law Accelerator (CLA)
This example shows how to use the Control Law Accelerator (CLA) available on some of the TI® processors using C2000™ Microcontroller Blockset. - Modeling Control Law Accelerator (CLA) Using Model Reference
Use the control law accelerator (CLA) co-processor in C2000 MCU models. - Model Reference Support for C2000 Processors
Model reference support for driver blocks in C2000 processors. - Enhance Code Execution Speed in TI C2000 Simulink Applications
Optimize code for efficient execution. - Measuring Code Execution Time on TI C2000 using Custom Code Blocks
Use custom code blocks to measure code execution time. - Load Data/Code to Flash and Run from RAM on TI C2000
Execute performance-sensitive functions in RAM instead of ROM on TI C2000 processors. - Realtime Data Logging with Two-Model Approach
Log data in realtime with two model approach. - MISRA C:2023 Compliance Summary Tables
Defines the method to claim compliance to MISRA™ C:2023 guidelines. Includes applicable modeling guidelines and Model Advisor checks.
Modeling and Code Generation
Verification and Validation
Featured Examples
Videos
Getting Started with C2000 Microcontroller Blockset
Step-by-step guide on how to install and set up the C2000 Microcontroller Blockset.
Programming TI C2000 LaunchPad with Simulink
Program TI C2000 LaunchPad using Simulink for your real-time control programming
applications.
Using a TI F28069 LaunchPad with Simulink
Control two 3-phase, brushless motors using an F28069 Launchpad
and the C2000 Microcontroller Blockset.