Modeling
Prepare model for hardware connection, add blocks to support hardware
protocols
Categories
- Modeling Basics
Prepare model for hardware connection
- F2802x (c2802xlib)
Blocks that support F2802x boards
- F2803x (c2803xlib)
Blocks that support F2803x boards
- F2805x (c2805xlib)
Blocks that support F2805x boards
- F2806x (c2806xlib)
Blocks that support F2806x boards
- F280x (c280xlib)
Blocks that support F280x boards
- F281x (c281xlib)
Blocks that support F281x boards
- C2834x (c2834xlib)
Blocks that support C2834x boards
- F2833x (c2833xlib)
Blocks that support F2833x boards
- F2807x (c2807xlib)
Blocks that support F2807x boards
- F2837xD (c2837xDlib)
Blocks that support F2837xD boards
- F2837xS (c2837xSlib)
Blocks that support F2837xS boards
- F2838x
Blocks that support F2838x boards
- F28004x (c28004xlib)
Blocks that support F28004x boards
- F28002x (c28002xlib)
Blocks that support F28002x boards
- F28003x (c28003xlib)
Blocks that support F28003x boards
- F28M35x (f28M35xlib)
Blocks that support F28M35 boards
- F28M36x (f28M36xlib)
Blocks that support F28M36 boards
- Memory Operations
Memory operations blocks
- Optimization — C28x DMC (c28xdmclib)
Blocks that represent the functionality of the TI C28x™ DMC Library
- Optimization — C28x IQmath (tiiqmathlib)
Blocks that represent the functionality of the TI IQmath Library
- Scheduling
Scheduling blocks
- Target Communication
Target communication blocks
- Sensors
Sensors connected to C2000™ boards
Model Settings
Topics
- Overview of Creating a Model and Generating Executable for C2000 Processors
Summarizes the steps required to create models and generating executables for your target.
- Overview of CLA Configuration for C2000 Processors
Overview of CLA Task and Subsystem, data exchange, interrupt generation and model configuration for CLA.
- Serial Configuration for External Mode and PIL
Configure your model to run in external mode and PIL over different baud rates based on the SCI module.
- Model Reference support for C2000 Processors
Model reference support for driver blocks in C2000 processors.
- Log Signals on an SD Card
Log signals from Simulink® models on an SD card mounted on the target hardware
Tutorials
- Getting Started with Embedded Coder Support Package for Texas Instruments C2000 Processors
This example shows you how to use Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors to run a Simulink® model on Texas Instruments C2000 hardware. - Getting Started with Embedded Coder Support Package for F28M3x Concerto Processors
In this example, you will learn how to configure a simple Simulink model to generate code for ARM and C28x cores of Concerto F28M3x processors and run the generated code on the board to periodically turn LEDs on and off. - ADC-PWM Synchronization Using ADC Interrupt
This example shows how to use the ADC block to sample an analog voltage and use the PWM block to generate a pulse waveform. - LIN-Based Control of PWM Duty Cycle
This example shows how to use the C28035 LIN Receive, LIN Transmit, and PWM blocks to generate a pulse waveform. - Asynchronous Scheduling
This example shows how to use the Texas Instruments™ C28x™ peripherals and Hardware Interrupt blocks to control the real-time execution of Simulink® function-call subsystems in an asynchronous fashion. - 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 the I2C Bus to Access Sensors
This example shows how to use the I2C blocks to communicate with I2C based devices. - Using the I2C Bus to Access Sensors
This example shows how to use the I2C blocks to communicate with I2C based devices. - Using SPI to Read and Write Data to SPI EEPROM
This example shows how to configure and use SPI blocks to read and write data. - Inter-Processor Communication Using IPC Blocks
This example shows how to use the IPC blocks to communicate between multiple cores of multi-core of Texas Instruments™ C2000™ processors using Simulink® models. - Modify Duty Cycle of ePWM Using DMA
This example shows how to configure the direct memory access (DMA) parameters to modify the ePWM duty cycle. - MAT-file Logging on SD Card for Texas Instruments C2000 Processors
This example shows you how to perform MAT-file logging using Simulink® model on a Micro SD card mounted on Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. - Using Sigma Delta Filter Module (SDFM) to Measure the Analog Input Signal
This example shows how to use the Sigma Delta Filter Module (SDFM) to measure the analog input signal for Texas Instruments™ C2000™ processors. - Using Comparator Subsystem (CMPSS) for Voltage Compare
This example shows how to use the Comparator Subsystem (CMPSS) to compare the analog voltage signals for Texas Instruments™ C2000™ processors and monitor the status output. - CAN Communication Using eCAN Blocks
This example shows how to use the eCAN blocks to set up CAN communication between the target hardware and your host computer for Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. - Use Embedded Coder blocks with SoC Blockset
Use SoC Blockset™ pass-though block simulation with Embedded Coder® Support Package for Texas Instruments™ C2000 F28M3x Concerto™ Processors blocks. - Serial Communication Using SCI Blocks
This example shows how to use the SCI blocks to set up serial communication between the target hardware and your host computer for Embedded Coder® Support Package using the Texas Instruments™ C2000™ Processors. - Using Time-Base Counter Synchronization to Synchronize ePWMs and eCAPS
This example shows how to use time-base counter synchronization in Embedded Coder® Support Package for Texas Instruments® C2000 Processors. - 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. - Serial Data Communication on F28M3x Concerto between ARM, C28x and the Host Computer
This example shows you how to use Embedded Coder Support Package for Texas Instruments C2000 processors for serial data exchange between the host computer and the target as well as serial data exchange between the ARM and c28x core. - Exchanging Ethernet Data with the F28M3x Concerto Processor
This example shows you how to use Embedded Coder™ Support Package for Texas Instruments® C2000 Processors to send and receive UDP and TCP messages using the ARM Cortex-M3 core of F28M3x Concerto processor. - Calibrate ECU Parameters from Third-party Calibration Tools Using XCP-based CAN Interface
This example shows how to monitor signals and tune parameters of a Simulink model on Texas Instruments™ C2000™ board using XCP-based CAN Interface. - Signal Monitoring and Parameter Tuning Over XCP-based CAN Interface
This example shows how to monitor signals and tune parameters of a Simulink® model on Texas Instruments™ C2000™ board using XCP-based CAN Interface. - Code Execution Profiling on Texas Instruments C2000 Targets in XCP External Mode
This example shows how to use Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors to profile real-time execution of the generated code running as an executable on a Texas Instruments C2000 board with XCP on Serial and XCP on TCP/IP Interface. - Signal Logging and Parameter Tuning in XCP External Mode with Packed Mode
This example shows how to perform parameter tuning and data logging with a Simulink® model enabled with Packed Mode running on Texas Instruments™ C2000™ targets. - Field-Oriented Control of PMSM with Quadrature Encoder Using C2000 Processors
This example implements the field-oriented control (FOC) technique to control the speed of a three-phase permanent magnet synchronous motor (PMSM). - Field-Oriented Control of PMSM with Hall Sensor Using C2000 Processors
This example implements the field-oriented control (FOC) technique to control the speed of a three-phase permanent magnet synchronous motor (PMSM). - Sensorless Field-Oriented Control of PMSM Using C2000 Processors
This example implements the field-oriented control (FOC) technique to control the speed of a three-phase permanent magnet synchronous motor (PMSM). - Open-Loop Control of 3-Phase AC Motors Using C2000 Processors
This example uses open-loop control (also known as scalar control or Volts/Hz control) to run a motor. - Control PMSM Loaded with Dual Motor (Dyno) Using C2000 Processors
This example uses field-oriented control (FOC) to control two three-phase permanent magnet synchronous motors (PMSM) coupled in a dyno setup. - Partition Motor Control for Multiprocessor MCUs
This example shows how to partition real-time motor control application on to multiple processors to achieve design modularity and improved control performance. - Permanent Magnet Synchronous Motor Field-Oriented Control Using Concerto Processors
This example shows how to control the speed of a three-phase Permanent Magnet Synchronous Motor in a closed-loop fashion via Field-Oriented Control using the C28x peripherals and MCB blocks from Motor Control Blockset™ library. - Integrate MCU Scheduling and Peripherals in Motor Control Application
This example shows how to identify and resolve issues with respect to peripheral settings and task scheduling early during development. - Schedule a Multi-Rate Controller for a Permanent Magnet Synchronous Machine
This example shows how to create a real-time executable for a Texas Instruments™ F28335 embedded target. - Closed Loop Control of a DC-DC Buck Converter
This example shows how to model a closed loop control of a DC-DC buck converter in the Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. - Photovoltaic Inverter with MPPT Using Solar Explorer Kit
This example shows how to implement a photovoltaic (PV) inverter system using the Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. - Power Factor Correction Using Boost Converter
This example shows how to implement power factor correction (PFC) using a boost converter with the Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. - Interface LCD Booster Pack with Texas Instruments C2000 Processors
This example shows how to configure and use the Kentec QVGA Display Booster Pack to display an image using C28x™ peripherals for Texas Instruments™ C2000™ processors. - Digital DC/DC Buck Converter Using Peak Current Mode Control
This example shows how to use the Comparator Subsystem (CMPSS) to regulate buck converter output voltage (BOOSTXL-BUCKCONV) using Peak Current Mode Control (PCMC) for Texas Instruments™ C2000™ processors. - DC-DC Buck Converter Using MCU (SoC Blockset)
This example shows how to develop a DC-DC buck converter power regulator application.Typical challenges with power conversion simulation and deployment include: - Read Position of BiSS-C Absolute Encoder
This example shows how to read a position of an absolute encoder using the bidirectional serial/synchronous-continuous (BiSS-C) open protocol in the unidirectional mode. - MPPT Using Flyback Converter in TI Solar Micro Inverter Development Kit
This example shows how to implement a Maximum Power Point Tracking (MPPT) Algorithm along with control of DC-DC flyback converter using the Embedded Coder® Support Package for Texas Instruments™ C2000™ Processors. - Code Verification and Validation with PIL
This example shows you how to use Embedded Coder® Support Package for Texas Instruments™ C2000™ Processor for code verification and validation using PIL. - Real-Time Code Execution Profiling
This example shows you how to use Embedded Coder™ Support Package for Texas Instruments™ C2000™ Processors for real-time execution profiling of generated code. - Code Verification and Validation with External Mode
This example shows you how to use Embedded Coder Support Package for Texas Instruments® C2000 Processors for code verification and validation using External mode. - Code Verification and Validation with PIL on the ARM Cortex M3 Core of the F28M3x Concerto Processor
This example shows you how to use Embedded Coder Support Package for Texas Instruments C2000 Processor for code verification and validation using PIL.
Get Started
Communication with Host
Applications
Verification
Troubleshooting
Memory and Signal Logging limitations on SD Card
Memory and Signal Logging limitations on SD Card mounted on a Texas Instruments C2000 hardware.