Scheduling
Trigger asynchronous and background tasks
Trigger asynchronous tasks using Hardware Interrupt block and background tasks using Idle Task block.
Blocks
C28x Hardware Interrupt | Interrupt Service Routine to handle hardware interrupt on C28x processors |
CLA Task Manager | Create and manage task executions in Control Law Accelerator (CLA) model (Since R2022a) |
Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (Since R2023a) |
Idle Task | Create free-running task (Since R2019b) |
Software Trigger CPU<->CLA | Trigger software events between processor (CPU) and control law accelerator (CLA) (Since R2022a) |
Task Manager | Create and manage task executions in Simulink model |
F2838x-M4 Hardware Interrupt | Trigger downstream function-call subsystem from interrupt service routine (Since R2020b) |
F28M3xx-M3 Hardware Interrupt | Trigger downstream function-call subsystem from interrupt service routine |
Tools
Hardware Mapping | Map tasks and peripherals in a model to hardware board configurations (Since R2022b) |
Topics
- Scheduling and Timing
Provides information about TI C2000™ scheduling
- Modeling and Code Generation Using Hardware Interrupt
Model and generate code using Hardware Interrupt block. For multiprocessor modeling use Task Manager block and Hardware Mapping tool.
- Configure Interrupts and Events Using Hardware Mapping
Map tasks in the C2000 Microcontroller Blockset to interrupt service routines on the hardware board.
- Enhance Code Execution Speed in TI C2000 Simulink Applications
Optimize code for efficient execution.
Troubleshooting
External Interrupt Workflow for Texas Instruments C2000 Processors
This topic helps you with the workflow for external interrupts.