Main Content

System Peripherals

Configure and use system peripherals such as CLA, GPIO, and Watchdog

Create Simulink® models with the system peripherals such as CLA, GPIO, and watchdog available on TI’s C2000™ microcontrollers. Configure the Simulink model to interface with supported target hardware using model configuration parameters. You can map tasks and peripherals in a model to hardware board configurations using Hardware Mapping tool. The blocks are processor specific and is not available on all TI’s C2000 microcontrollers.

Blocks

expand all

C281x GPIO Digital InputGeneral-purpose I/O pins for digital input
C281x GPIO Digital OutputGeneral-purpose I/O pins for digital output
F28M35x/F28M36x GPIO Digital Input Read the logical value of a GPIO pin configured as input
F28M35x/F28M36x GPIO Digital Output Set the logical value of a GPIO pin configured as output
C28x GPIO Digital Input Configure general-purpose input/output pins as digital input
C28x GPIO Digital Output Configure general-purpose input/output pins as digital output
C28x CLA TaskCreate CLA task that executes downstream function-call subsystem on CLA core
CLA SubsystemGroup blocks to execute algorithm inside CLA (Since R2021b)
CLA Task ManagerCreate and manage task executions in Control Law Accelerator (CLA) model (Since R2022a)
CLA MathImplements CLA Math functions from CLA Math library (Since R2023a)
C28x Software Interrupt TriggerGenerate software-triggered nonmaskable interrupt
Software Trigger CPU<->CLATrigger software events between processor (CPU) and control law accelerator (CLA) (Since R2022a)
C28x WatchdogConfigure counter reset source of processor watchdog module
C281x TimerConfigure general-purpose timer in Event Manager module

Tools

Hardware MappingMap tasks and peripherals in a model to hardware board configurations (Since R2022b)

Topics

Troubleshooting

External Interrupt Workflow for Texas Instruments C2000 Processors

This topic helps you with the workflow for external interrupts.

Featured Examples