EasyManuals Logo

Texas Instruments C2000 Workshop Guide And Lab Manual

Texas Instruments C2000
342 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #245 background imageLoading...
Page #245 background image
Control Law Accelerator (CLA)
C2000 Microcontroller Workshop - Control Law Accelerator 10 - 9
CLA Initialization
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 (MPISRCSEL1 register)
If desired, enable IACK to start task 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 tasks triggers in the MIER register
6. Initialize the desired peripherals to trigger the CLA tasks
CLA initialization is performed by the CPU using C code
(typically done with the Peripheral Register Header Files)
Data is passed between the CLA and CPU via message RAMs
Enabling CLA Support in CCS
Set the “Specify CLA support” project option to ‘cla0’
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

Table of Contents

Other manuals for Texas Instruments C2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C2000 and is the answer not in the manual?

Texas Instruments C2000 Specifications

General IconGeneral
BrandTexas Instruments
ModelC2000
CategoryMicrocontrollers
LanguageEnglish

Related product manuals