CLA Initialization
1. Copy CLA task code from flash to CLA program RAM
2. Initialize CLA data RAMs, as needed
Populate with data coefficients, constants, etc.
3. Configure the CLA registers
Enable the CLA clock (PCLKCR3 register)
Populate the CLA task interrupt vectors (MVECT1-8 registers)
Select the desired task interrupt sources (CLA1TASKSRCSELx register)
If desired, set Cla1Regs.MCTL.bit.IACKE = 1 to enable IACK instruction
to start tasks using software (avoids EALLOW)
Map CLA program RAM and data RAMs to CLA space
4. Configure desired CLA task completion interrupts in the PIE
5. Enable CLA task triggers in the MIER register
6. Initialize the desired peripherals to trigger the CLA tasks
Performed by the CPU during software initialization
Data can passed between the CLA and CPU via message RAMs or allocated CLA Data RAM
Enabling CLA Support in CCS
Set the “Specify CLA support” project option to ‘cla1’
When creating a new CCS project, choosing a device
variant that has the CLA will automatically select this
option, so normally no user action is required