Digital Signal Processing Reference
In-Depth Information
fourth switch (3) down. Repeat the procedure to select GEL
Æ
Quick Test and verify that the value of the switches is now 7 (with the display
“Switches: 7”). You can set the value of the four user switches from 0 to 15. Within
your program you can then direct the execution of your code based on these 16
values.
Æ
Check DSK
Alternative Quick Test of DSK
1. Open/launch CCS from the icon on the desktop if this has not been done
already. Select File
Load Program. Click on the folder sine8_LED\Debug
within myprojects to load the file sine8_LED.out . This loads the executable
file sine8_LED.out into the C6713 processor. This assumes that you have
already copied all the folders on the accompanying CD into your folder:
c:\c6713\myprojects .
2. Select Debug
Æ
Run. Press the dip switch #0, which should light LED #0 on
and generate a 1-kHz tone. Connect the LINE OUT (or the HEADPHONE)
on the DSK board to a speaker or to an oscilloscope and verify the
generation of the 1-kHz tone. The four connectors on the DSK board for I/O
(MIC, LINE IN, LINE OUT, and HEADPHONE) use a 3.5-mm jack audio
cable.
Æ
1.5 SUPPORT FILES
The following support files located in the folder support (except the library files)
are used for most of the examples and projects discussed in this topic:
1. C6713dskinit.c: contains functions to initialize the DSK, the codec, the
serial ports, and for I/O. It is not included with CCS.
2. C6713dskinit.h: header file with function prototypes. Features such as
those used to select the mic input in lieu of line input (by default), input gain,
and so on are obtained from this header file (modified from a similar file
included with CCS).
3. C6713dsk.cmd: sample linker command file. This generic file can be
changed when using external memory in lieu of internal memory.
4. Vectors_intr.asm: a modified version of a vector file included with CCS
to handle interrupts. Twelve interrupts, INT4 through INT15, are available,
and INT11 is selected within this vector file. They are used for interrupt-driven
programs.
5. Vectors_poll.asm: vector file for programs using polling.
6. rts6700.lib , dsk6713bsl.lib , csl6713.lib: run-time, board, and
chip support library files, respectively. These files are included with CCS
and are located in C6000\cgtools\lib , C6000\dsk6713\lib , and c6000\bios\lib ,
respectively.
Search WWH ::




Custom Search