SPMA041G January   2012  – October 2015 TM4C1230C3PM , TM4C1230C3PM , TM4C1230D5PM , TM4C1230D5PM , TM4C1230E6PM , TM4C1230E6PM , TM4C1230H6PM , TM4C1230H6PM , TM4C1231C3PM , TM4C1231C3PM , TM4C1231D5PM , TM4C1231D5PM , TM4C1231D5PZ , TM4C1231D5PZ , TM4C1231E6PM , TM4C1231E6PM , TM4C1231E6PZ , TM4C1231E6PZ , TM4C1231H6PGE , TM4C1231H6PGE , TM4C1231H6PM , TM4C1231H6PM , TM4C1231H6PZ , TM4C1231H6PZ , TM4C1232C3PM , TM4C1232C3PM , TM4C1232D5PM , TM4C1232D5PM , TM4C1232E6PM , TM4C1232E6PM , TM4C1232H6PM , TM4C1232H6PM , TM4C1233C3PM , TM4C1233C3PM , TM4C1233D5PM , TM4C1233D5PM , TM4C1233D5PZ , TM4C1233D5PZ , TM4C1233E6PM , TM4C1233E6PM , TM4C1233E6PZ , TM4C1233E6PZ , TM4C1233H6PGE , TM4C1233H6PGE , TM4C1233H6PM , TM4C1233H6PM , TM4C1233H6PZ , TM4C1233H6PZ , TM4C1236D5PM , TM4C1236D5PM , TM4C1236E6PM , TM4C1236E6PM , TM4C1236H6PM , TM4C1236H6PM , TM4C1237D5PM , TM4C1237D5PM , TM4C1237D5PZ , TM4C1237D5PZ , TM4C1237E6PM , TM4C1237E6PM , TM4C1237E6PZ , TM4C1237E6PZ , TM4C1237H6PGE , TM4C1237H6PGE , TM4C1237H6PM , TM4C1237H6PM , TM4C1237H6PZ , TM4C1237H6PZ , TM4C123AE6PM , TM4C123AE6PM , TM4C123AH6PM , TM4C123AH6PM , TM4C123BE6PM , TM4C123BE6PM , TM4C123BE6PZ , TM4C123BE6PZ , TM4C123BH6PGE , TM4C123BH6PGE , TM4C123BH6PM , TM4C123BH6PM , TM4C123BH6PZ , TM4C123BH6PZ , TM4C123FE6PM , TM4C123FE6PM , TM4C123FH6PM , TM4C123FH6PM , TM4C123GE6PM , TM4C123GE6PM , TM4C123GE6PZ , TM4C123GE6PZ , TM4C123GH6PGE , TM4C123GH6PGE , TM4C123GH6PM , TM4C123GH6PM , TM4C123GH6PZ , TM4C123GH6PZ , TM4C123GH6ZXR , TM4C123GH6ZXR , TM4C1290NCPDT , TM4C1290NCPDT , TM4C1290NCZAD , TM4C1290NCZAD , TM4C1292NCPDT , TM4C1292NCPDT , TM4C1292NCZAD , TM4C1292NCZAD , TM4C1294KCPDT , TM4C1294KCPDT , TM4C1294NCPDT , TM4C1294NCPDT , TM4C1294NCZAD , TM4C1294NCZAD , TM4C1297NCZAD , TM4C1297NCZAD , TM4C1299KCZAD , TM4C1299KCZAD , TM4C1299NCZAD , TM4C1299NCZAD , TM4C129CNCPDT , TM4C129CNCPDT , TM4C129CNCZAD , TM4C129CNCZAD , TM4C129DNCPDT , TM4C129DNCPDT , TM4C129DNCZAD , TM4C129DNCZAD , TM4C129EKCPDT , TM4C129EKCPDT , TM4C129ENCPDT , TM4C129ENCPDT , TM4C129ENCZAD , TM4C129ENCZAD , TM4C129LNCZAD , TM4C129LNCZAD , TM4C129XKCZAD , TM4C129XKCZAD , TM4C129XNCZAD , TM4C129XNCZAD

 

  1.   Using the CMSIS DSP Library in Code Composer Studio for TM4C MCUs
    1.     Trademarks
    2. 1 Introduction
    3. 2 CMSIS DSP Library
    4. 3 Building the DSP Library in Code Composer Studio v6.1
      1. 3.1 Adding the CCS-Required Header Files to the DSP Libraries
      2. 3.2 Creating the dsplib Project
      3. 3.3 Adding the dsplib Source Code
      4. 3.4 Editing the dsplib Project Settings
      5. 3.5 Building the dsplib Source Code
    5. 4 ARM Example Projects
      1. 4.1 Creating the ARM Example Projects
      2. 4.2 Adding the Example Source Code
      3. 4.3 Editing the Example Project Settings
      4. 4.4 Building, Running, and Verifying the Project
      5. 4.5 Source Code Modifications
    6. 5 Conclusion
    7. 6 References
  2.   Revision History

Adding the dsplib Source Code

Before adding the dsplib source code to the project, you should familiarize yourself with the CMSIS library structure. Open your preferred file navigation tool and navigate to the directory where the CMSIS .zip file downloaded from ARM was extracted. Then, descend to CMSIS-<version>/CMSIS/DSP_Lib/Source/. This is the directory ARM uses to group the DSP functions into various sub-categories. The ARM directory contains the project files necessary to build the DSP library in uVision with ARM’s compiler, and the GCC directory contains the project files to build the DSP library in uVision using the open source GCC compiler. All other directories contain the source code necessary to build the category of functions indicated by the directory name.

To add the dsplib source code to the dsplib project in Code Composer Studio:

  1. Right-click the dsplib-cm4f project in the Project Explorer and click Import…
  2. Click General to expand and then click File System. Click Next.
  3. Click the Browse button and navigate to the location of the CMSIS DSP library source code.
  4. Select the top level Source directory and click OK.
  5. When the Source directory appears in the Import window, click the checkbox beside the folder to select all of the contents of that folder to be imported.
  6. Deselect the ARM and GCC folders by clicking to the left of the checkbox.
  7. Click the TransformFunctions folder, which causes the contents of that folder to be displayed in the panel on the right.
  8. Uncheck the box beside arm_bitreversal2.S.
  9. Make sure that the Into Folder: text field contains the name of the DSP library project where you want to import the files (for this example, dsplib-cm4f).
  10. Check the Overwrite existing resources without warning. Verify the Create top-level folder check box is deselected.
  11. Click the Advanced button, then click to select the Create links in workspace checkbox.
  12. Verify the Create link locations relative to: checkbox is selected. If it is not, click to select it.
  13. Verify that the drop-down menu of environment variables is set to PROJECT_LOC (see Figure 3). If there are no variables listed in the drop-down menu, select Edit Variables… and add a variable to represent the location of the dsplib project file.
  14. Pic3.pngFigure 3. Importing the DSP_Lib Source Code
  15. Click Finish to link the DSP_Lib source code into the project.
  16. Pic4.pngFigure 4. The Project Explorer Window After the DSP_Lib Code has Been Imported