SPRACS0A May   2020  – November 2022 TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1 , TMS320F28033 , TMS320F28033-Q1 , TMS320F28035 , TMS320F28035-EP , TMS320F28035-Q1 , TMS320F28053 , TMS320F28055 , TMS320F2806-Q1 , TMS320F28065 , TMS320F28069 , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1 , TMS320F28075 , TMS320F28075-Q1 , TMS320F28076 , TMS320F28374D , TMS320F28374S , TMS320F28375D , TMS320F28375S , TMS320F28375S-Q1 , TMS320F28376D , TMS320F28376S , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28377S , TMS320F28377S-Q1 , TMS320F28378D , TMS320F28378S , TMS320F28379D , TMS320F28379D-Q1 , TMS320F28379S , TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S , TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1

 

  1.   Software Examples to Showcase Unique Capabilities of TI’s C2000 CLA
  2.   Trademarks
  3. 1Introduction
  4. 2Direct Access of CLA to Key Peripherals
  5. 3Low interrupt Latency of CLA
  6. 4Powerful Math Computation Capability of CLA
  7. 5Offloading Fast Control Loop to CLA
    1. 5.1 Handling Shared Resources Across C28x/CLA
  8. 6Summary
  9. 7References
  10. 8Revision History

Summary

The differentiation provided by TI’s Control Law Accelerator (CLA) enables efficient execution of concurrent control loops on C2000 devices. CLA has been specially designed to boost the performance of control intensive math routines on real-time MCUs. The low-latency task-driven architecture of CLA is quite unique and reduces the sample-to-output delay, which is very critical for control applications. The direct access to key control peripherals and powerful floating-point processing capability allows CLA to offload the control tasks completely from the main CPU (C28x) thus freeing up its bandwidth to perform other system tasks. The CLA offers additional processing capabilities to C2000 devices and increases the overall device performance. The phase-shifting mechanism for scheduling CLA tasks as discussed in this report can be used to extract the maximum processing bandwidth out of the device. Another key benefit of the CLA over hardware-based control law implementations is flexibility. The CLA is fully programmable where developers can freely modify their control system without the time and high cost required to redesign a hardware-based solution. The C2000 C compiler [5] allows CLA to be programmed in C language similar to the C28x, which makes it very convenient to port existing algorithms or develop newer ones on CLA. The various software examples discussed in this application report demonstrates the key capabilities of CLA and can be used as a reference to adopt these unique features of CLA in their applications. These examples are very easy to use and do not require any special hardware platform other than the standard TI ControlCard to explore and evaluate the performance of CLA. Along with these examples, various Digital Power SDK [6] solutions also showcase the usage of CLA to reduce the overall C28x burden in various digital power solutions [7]. For further details on the software development and debugging with CLA, see [8].