C28x CLA Task
Create CLA task that executes downstream function-call subsystem on CLA core
C2000 Microcontroller Blockset / C2803x
C2000 Microcontroller Blockset / C2805x
C2000 Microcontroller Blockset / C2806x
C2000 Microcontroller Blockset / F28003x
C2000 Microcontroller Blockset / F28004x
C2000 Microcontroller Blockset / F2807x
C2000 Microcontroller Blockset / F2837xD
C2000 Microcontroller Blockset / F2837xS
C2000 Microcontroller Blockset / F2838x / C28x
The CLA Task block creates a (Control Law Accelerator) CLA task that executes a downstream function-call subsystem on the CLA core. CLA is a coprocessor that allows parallel processing. Utilizing the CLA for time-critical tasks frees up the main CPU to perform other system and communication functions concurrently.
You can specify the interrupt source to trigger the CLA task. You can create up to eight CLA tasks to execute on the CLA core.
For information about how to configure a CLA block to execute a downstream function-call subsystem, see Overview of CLA Configuration for C2000 Processors Using Subsystem.
Port_1 — Function-call signal to a function-call subsystem or function-call
The output triggers the CLA task that executes a downstream function-call subsystem on the CLA core.
CLA task number — CLA task number executed on CLA core
1 (default) | integer in [1, 8]
The CLA task number that you want to execute on the CLA core.
CLA task trigger source — Source of CLA task trigger
Software (default) | peripheral interrupt
The software or peripheral interrupt source that triggers the CLA task to execute on the CLA core.
Wait until completion of task — Block C28x execution until CLA task is completed
off (default) | on
Select the parameter Wait until completion of task, for the software source to trigger the CLA task.
Enabling this will halt the C28x execution until all the pending CLA tasks are completed.
To enable this parameter, set the CLA task trigger
source parameter as
Sample time — Frequency at which function-call subsystem is triggered
0.2 (default) |
-1 | scalar
Set the frequency at which the function-call subsystem is triggered by the
CLA task trigger source. To execute this block
asynchronously, set this parameter to
To enable this parameter, select the
option in the CLA task trigger source.
Introduced in R2016b