Main Content

C28x CLA Task

Create CLA task that executes downstream function-call subsystem on CLA core

  • C28x CLA Task Block

Libraries:
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

Description

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.

Ports

Output

expand all

The output triggers the CLA task that executes a downstream function-call subsystem on the CLA core.

Parameters

expand all

The CLA task number that you want to execute on the CLA core.

The software or peripheral interrupt source that triggers the CLA task to execute on the CLA core.

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.

Dependencies

To enable this parameter, set the CLA task trigger source parameter as software.

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 -1.

Dependencies

To enable this parameter, select the Software option in the CLA task trigger source.

Version History

Introduced in R2016b