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
CLA also offers powerful 32-bit floating point processing capability to C2000 devices and provides a significant boost to the performance of typical math functions that are commonly used in control algorithms. The powerful CLA instruction set supports floating point multiplication with parallel add or subtract operations in a single cycle and also supports computation of inverse square root in a single cycle too. For the ease of software development with CLA, a wide collection of commonly used floating-point math functions (a few of them are listed in Table 4-1) are packaged into a single library called as CLA Math, which is available as part of C2000Ware. This source code library includes several C callable assembly math functions optimally written for CLA architecture.
In addition to the basic math routines, TI also provides Digital Control library (DCL available as part of C2000Ware) that includes optimal implementation of standard control routines on CLA CPU, few of them are listed in Table 4-1. These C callable assembly control routines can be called within a CLA application task to realize digital controller on CLA CPU. Along with the library source code, examples are provided to show the user how to integrate the library into their projects and use any of the math or control routines. These examples can be found in the example directories indicated in the introduction section that can be used to explore and evaluate the compute capability of CLA.
Library | Routine | Description | Cycles |
---|---|---|---|
CLA Math | CLAcos | Calculates cosine on CLA | 28 |
CLAsin | Calculates sine on CLA | 28 | |
CLAacos | Calculates arc-cos on CLA | 24 | |
CLAasin | Calculates arc-sine on CLA | 22 | |
CLAatan | Calculates arc-tan on CLA | 41 | |
CLAlog10 | Calculates Log (base10) on CLA | 29 | |
CLAexp | Calculates exponential on CLA | 41 | |
CLAdiv | Calculates floating-point division on CLA | 13 | |
CLAisqrt | Calculates inverse square root on CLA | 14 | |
CLAsqrt | Calculates square root on CLA | 16 | |
DCL | DCL_runPID_L1 | Runs Ideal Form PID controller on CLA | 53 |
DCL_runPID_L2 | Runs Parallel Form PID controller on CLA | 45 | |
DCL_runPI_L1 | Runs Ideal Form PI controller on CLA | 34 | |
DCL_runDF13_L1 | Runs the DF13 Full Compensator on CLA | 61 | |
DCL_runDF13_L2 | Runs the DF13 Immediate Compensator on CLA | 20 | |
DCL_runDF13_L3 | Runs the DF13 Partial Compensator on CLA | 58 |