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 #252 background imageLoading...
Page #252 background image
Control Law Accelerator (CLA)
10 - 16 C2000 Microcontroller Workshop - Control Law Accelerator
CLA Code Debugging
CLA Code Debugging
1. Insert a breakpoint in CLA code
Insert MDEBUGSTOP instruction to halt CLA and then rebuild/reload
2. Enable CLA breakpoints
Enable CLA breakpoints in the debugger
3. Start the task
Done by peripheral interrupt, software (IACK) or MIFRC register
CLA executes instructions until MDEBUGSTOP
MPC will the have address of MDEBUGSTOP instruction
4. Single step the CLA code
Once halted, single step the CLA code
Can also run to the next MDEBUGSTOP or to the end of task
If another task is pending it will start at end of previous task
5. Disable CLA breakpoints, if desired
The CLA can halt, single-step and run independently from the CPU
Both the CLA and CPU are debugged from the same JTAG port
CLA single step CLA pipeline is clocked only one cycle and then frozen
CPU single step CPU pipeline is flushed for each single step
Note: When debugging C code, the _mdebugstop() intrinsic places the
MDEBUGSTOP instruction at that position in the generated assembly code
controlSUITE™ - CLA Software Support
controlSUITE- CLA Software Support
TI provided functions to support floating-point math CLA operations

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