This module introduces you to the hardware and software tools that you use to write, debug, and test real-time DSP programs on the TI C6211 DSP Starter Kit (DSK) board. You will compile, run, and debug a C program to try various functions of the development tool Code Composer Studio. In this module, we use a C program only for convenience. You can assemble and run assembly programs in the same way.
Lab Equipment
Each lab PC is equipped with a Texas Instrument TMS320C6211 DSK board. The DSK board is hooked to the parallel port of the PC running Windows 2000; the PC can control the DSK via the development environment called “Code Composer Studio” (CCS) developed by Texas Instrument. Currently we use CCS version 2.x. If you have your owlnet account, create the Samba password to log in to the machines.
For analog signal input and output, the DSK board has a PCM3003 codec daughtercard mounted on the board. This board provides 16 bit stereo analog input and output channels at maximum sampling rate of 48kHz. Currently, the jumpers on the board are configured to provide a fixed 48kHz sampling rate both for input and output. Do not change the jumper settings unless you know what you are doing. For variable sampling rates, the timers of the C6211 processor can be used to generate appropriate clock signal. You will learn how to use the CPU timers in (Reference).
Each lab station is equipped with a function generator to provide signal to be used to test your signal-processing algorithms and an oscilloscope to display the processed waveforms.
The source analog signal also can be generated using the soundcard of the PC and input to the DSK board for processing. There are two shareware softwares installed on each PC that enables you to use the sound card as a signal generator and a simple spectrum analyzer. In the lab experiments, you will be using the signal generator to generate white noise input to the DSK board and you can watch the spectrum of the DSK output using the soundcard spectrum analyzer.
Hardware Setup
The TI DSK board is connected to the parallel port of the PC. The board requires external power supply to be connected to it. A speaker and microphone can be connected to the board via the two 3.5mm jacks mounted on the daughtercard that are connected to the PCM3003 codec. The hardware reset button (white) is on the DSK board to enable hardware reset of the board. When reset the board goes through several steps of self testing and initialization. Please refer to the online help of the Code Composer Studio for detailed board operation. After each hardware reset, the DSK board tends to lose the connection with the host PC. Therefore, you should close the CCS before performing hardware reset. Be sure to save all the files before closing the CCS. After the DSK board finishes the reset, start the CCS again.
Be careful when you handle cables, tools, etc, not to short any circuits on the board.
Configuring CCS for C6211 DSK
Before the initial use of CCS, you must configure it so that it correctly connects to our C6211 DSK board. Once you configure it correctly, your configuration is saved as default and CCS will bring up the saved default configuration every time you start CCS.
Run the CCS configuration tool for configuration. You first need to choose C6211 DSK as the processor and then you can choose the type of serial port to which the DSK is connected. Make sure you do not run your code on a simulator. For any code that does not use the I/O on the board, the code would run exactly same way on the simulator as it would on the real DSK board.
DSK Self-Confidence Test
When the DSK board is connected to the host PC and the power is on, you can run a self test to check if everything works fine. Simply run C:\ti\c60OO\dsk6x11\conftest\dsk6xtst.exe from the command prompt. The test checks all the functions of the board and report errors, if any. When you are in doubt about the proper functioning of the DSK, it is a good idea to run the self-confidence test to make sure it passes without any error.
If the board fails the test, unplug the power plug to the DSK for several seconds and plug it again, then run the test again. The DSK board sometimes does not reset all the circuits properly when the power is turned on.




