Contenuto principale

System Peripherals

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

Create Simulink® models with the system peripherals such as CLA, GPIO, software interrupt trigger, 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 Input blockC281x GPIO Digital InputGeneral-purpose I/O pins for digital input
C281x GPIO Digital Output blockC281x GPIO Digital OutputGeneral-purpose I/O pins for digital output
F28M35x/F28M36x GPIO Digital Input blockF28M35x/F28M36x GPIO Digital Input Read the logical value of a GPIO pin configured as input
F28M35x/F28M36x GPIO Digital Output blockF28M35x/F28M36x GPIO Digital Output Set the logical value of a GPIO pin configured as output
C280x/C2802x/C2803x/C2805x/C2806x/C2833x/C2834x/F28M3x/F2807x/F2837xD/F2837xS/F2838x/F2838x-M4/F2800xx GPIO Digital Input blockC28x GPIO Digital Input Configure general-purpose input/output pins as digital input
C280x/C2802x/C2803x/C2805x/C2806x/C2833x/C2834x/F28M3x/F2807x/F2837xD/F2837xS/F2838x/F2838x-M4/F2800xx GPIO Digital Output blockC28x GPIO Digital Output Configure general-purpose input/output pins as digital output
C28x CLA Task BlockC28x CLA TaskCreate CLA task that executes downstream function-call subsystem on CLA core
CLA Subsystem blockCLA SubsystemGroup blocks to execute algorithm inside CLA
CLA Task ManagerCLA Task ManagerCreate and manage task executions in Control Law Accelerator (CLA) model (Since R2022a)
CLA Math blockCLA MathImplements CLA Math functions from CLA Math library (Since R2023a)
C28x-software-interrupt-triggerC28x Software Interrupt TriggerGenerate software-triggered nonmaskable interrupt
Software Trigger CPU<->CLA blockSoftware Trigger CPU<->CLATrigger software events between processor (CPU) and control law accelerator (CLA) (Since R2022a)
C28x Watchdog blockC28x WatchdogConfigure counter reset source of processor watchdog module
C281x Timer blockC281x 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