You are on page 1of 2

Software Steps:

1. Open Code Composer Studio v4.

2. In Workspace Launcher.
a. BROWSE Select the project location and make one new folder,
MAKE NEW FOLDER Type the Workspace name, OK OK.

3. FILE NEW CCS PROJECT


a. Project name: Type your project name.
b. Tick use default location. NEXT
c. Project type: C2000.
d. Tick Debug and Release. NEXT NEXT.
e. Output type: Executable.
f. Device Variant: TMS320C28XX TMS320F2812.
g. Device Endianness : little
h. Code Generation Tools: TI v5.2.3.
i. Run time support library: automatic.
j. Target content: none. FINISH

4. FILE NEW SOURCE FILE


a. Source file: Type your projectname.c (.c extension is must).
b. Type the program.
c. FILE SAVE.

5. Paste the following library files in Project location.


a. DSP281x_CpuTimers.c
b. DSP281x_DefaultIsr.c
c. DSP281x_GlobalVariableDefs.c
d. DSP281x_PieCtrl.c
e. DSP281x_PieVect.c

6. Paste the following Linker file in the project location.


a. DSP281x_Headers_nonBIOS.cmd
b. F2812_EzDSP_RAM_lnk.cmd
Note: Those c files and linker files are availble at cd.

7. PROJECT PROPERTIES C/C++ BUILD BASIC OPTION


a. Processor version(--silicon version, -mv) : 28
b. IN C/C++ BUILD, INCLUDE OPTIONS (Add dir to #include
search path(--include_path,-I)) select this add icon and add the following
two path by indivdually
"${XDAIS_CG_ROOT}/packages/ti/xdais"
"C:/tidcs/c28/DSP281x/v120/DSP281x_headers/include"
c. IN C/C++ BUILD, FILE SEARCH PATH ( Include library file or
commnad file as input ( --library,-l ) ) select this add icon and add the
following name
"rts2800_ml.lib"
d. IN C/C++ BUILD, FILE SEARCH PATH (Add dir to #library
search path ( --library_path,-i ) ) select this add icon and add the following
two path by indivdually
"${PROJECT_ROOT}"
"C:\Program Files\Texas Instruments\ccsv4\tools\compiler\c2000\lib"

Ok.

8. FILE NEW TARGET CONFIGURATION FILE FINISH


a. file name: projectname. ccxml (.ccxml extension is must)
b. Connection: Texas Instrument XDS100 v1 USB Emulator.
c. Device: TMS320F2812.
d. Tick the device TMS320F2812 SAVE.

9. In C/C++ Project window, Right click the project REBUILD PROJECT.

10. Connections :
a. Connect the JTAG cable between the XDS100 USB Emulator and
TMS320F2812 kit.
b. Connect the usb cable between the XDS100 USB Emulator and
System.
c. Connect the RS232 cross cable between TMS320F2812 kit and
System.
d. Connect the 20 pin Flat core cable between TMS320F2812 kit and
Three phase inverter kit.
e. Connect the 5v adapter to the TMS320F2812 kit.
f. Power on the kit.