You are on page 1of 6

Working with TMS320VC5502 eZdsp

Developer Note By
Md. Kamruzzaman Tipu
Jr. Embedded Engineer

Introduction:
This module is a part of LMR gateway project. Here we use TMS320VC5502 eZdsp
board from Texas Instruments. The main focus of using these DSP broad,
1. Input the audio and remove noise and echo from the input audio
2. After remove the noise and echo then output the audio from the DSP
board.

Task:
Initial task
 How to write firmware and upload in these board.
 How to work with these libraries like VOLIB, AEC-AER.

Section 1:
Some Information about eZdsp:
1. Language support: C/C++
2. IDE- Code Composer Studio (CCS 4 comes with these board)
3. Tested with Windows 10.
Section 2:
How to connect the board with CCSv4 IDE:
Step 1: Connect the C5502 DSP board and your computer with USB cable.
Step 2: Then click on “View” from ide menu, then “Target Configurations”.
Step 3: Then right click on “User Defined” then “New Target Configuration”.
Step 4: Give an appropriate name like “C5502eZdsp”, then click “Finish”.

 Select the connection “Texas Instruments XDS100v2 USB Emulator”


 Select the Device “TMS320C5502”
 Finally, Save
Step 5: Then click on “View/User Defined”, then right click on the newly created target
configuration file “C5502eZdsp.ccxml” and click on “Launch Selected Configuration”.
Step 6: After launching the selected configuration, then click “Target” from the menu and click
“connect”.
Step 7: It should be connected now for conformation please click on “View/Debug”. If you see
something like

Step 8: Board successfully connected with the CCSv4.


Section 3:
How to upload code in eZdsp from CCS 4 from Windows OS:
Uploading built in code
First connect the DSP board with IDE follow section 2
Step 1: Open the Code Composer Studio v4
Step 2: Click on “File/Import”, from menu
Step 3: Click on “CCS” and then Existing “CCS/CCE Eclipse Projects”
Step 4: Click on Select “search-directory” and then “Browse”
Step 5: Then click “Local Disk/Program Files (x86)/Texas
Instruments/ccsv4/emulation/boards/ezdsp5502_v1/tests/” then select any of these like
“led”.
Step 6: After click on “led” then click on “finish”.

Step 7: Click on “View/C_C++ Projects” then right click on the project name like “led” and click
“Set as Active Project”
Step 8: Then click “Project/Build active project”
Step 9: Then click on “Target/Debug Active Project”
Step 10: If you click on “View/Console” you will see like these
Step 11: Then click on “Target/Run”.
Step 12: 4 built in led on DSP board should blinking now.

Step 13: If you see these in your console then the code successfully uploaded and running.

You are Successfully upload the built in code and run it. Congratulations.

Section 4:
How to upload our custom code in C5502 eZdsp board.
Step 1: Open CCSv4.
Step 2: Connect the board with the pc using USB, follow Section
Step 3: Click on “File/New/Other/C/C++/CCS Project/” then next give project name and click
next, select project type “C5500”, Device Variant “TMS320C5502” and click next.
Step 4: Select Output Type Executable. Then Browse the Linker Command File “Local
Disk/Program Files (x86)/Texas
Instruments/ccsv4/emulation/boards/ezdsp5502_v1/tests/led/lnkx”.
Step 5: Click “Finish”
Step 6: Project files should be in “View/C/C++ Project”.
Step 7: Go to your project directory like test, right click and select “Set as Active Project”.
Step 8: Right click and select “New/Source File”
Step 9: Give a name your source file, like “test.c”
Step 10: Write you code and save it.

Step 11: To run your code follow the Section 3 from step 7 to step 11.

If

you see your output, then you successfully upload your code in DSP Board.
These is a summary of TMS320VC5502 datasheets, for more information please read some datasheet
which will be datasheet folder.

You might also like