DSP Casestudy
DSP Casestudy
DSP Casestudy
Digital signal is one of the core technologies, in rapidly growing applications areas, such as wireless communications, audio and video processing and industrial control dramatically over the last few years . DSP has become a key component, in many of the products that include some form of digital signal processing using microprocessors. DSPs are processors or microprocessors whose hardware, software and instruction sets are optimized for high-speed numeric processing applications, an essential for processing digital data, representing analog signals in real time. The DSP processors have gained increased popularity because of various advantages like reprogram ability in the field, speed, energy efficiency etc. DSP techniques have been very successful because of the development of low-Cost software and hardware support.for example, modems and speech recognition can be less expensive using DSP techniques. DSP processors such as the TMS320C6X family of processors are like fast special-purpose microprocessors with a specialized type of architecture and an instruction set appropriate for signal processing. The TMS320C6X are the first processors to use velocity architecture having implemented the Very Long Instruction Word(VLIW). This new architecture supports features that facilitate the development of efficient high level language compiler. The TMS320C6713 is a low-cost standalone development platform that enables users to evaluate and develop applications for the TI C67xx DSP family. The DSK also serves as a hardware reference design for the TMS320C6713 DSP. Schematics, logic equations and application notes are available to ease hardware development and reduce time to market.
Microprocessors are designed to run software applications such as word processors, spreadsheet and Web browsers. Microprocessors are less efficient. Microprocessors are slower in calculation. Microprocessors perform serial operation. Microprocessors are cheaper. Microprocessors are the core of desktop, Laptop , netbooks, tablet pcs.
signal pathways for instructions and data, the processor is able to fetch an instruction while simulta- neously fetching operants and/or storing the result of previous instruction to memory.
3) Circular Buffering
The need of processing the digital signal in real time, where the output have to be produced at the same time at which the input samples are being acquired, evolves the concept of circular buffering. Circular buffering allows to processors to access a block of data sequentially and then automatically wrap around to the beginning address .for instance circular buffering is needed in telephone communication,hearing aids etc.
Typical Applications
Telecommunications
telephones,
Voice/Speech Automotive
: Speech Digitization and Compression, Voice mail, Speaker verifyication and Speech synthesis. : Engine control, Antilock brakes, Active suspension, System diagnosis.
: Laser printer control, Robot control, Engine and Motor control, Numeric control of automatic machine tools. : Radar and Sonar signal processing, Navigation systems missile guidance , HF radio frequency modems, Secure spread spectrum radios and Secure voice.
Medical
: Hearing aid, MRI imaging, Ultrasound imaging. : Spectrum analysis, Transient analysis, Signal
Instrumentation
generators.
Image Processing
: Image enhancement, Image compression and Transmission, 3-d rotation and Animation.
2) AIC23 Codec
The DSK uses a Texas Instruments AIC23 (part #TLV320AIC23) stereo codec for input and output of audio signals. The codec samples analog signals on the micro- phone orline inputs and converts them into digital data so it can be processed by the DSP. When the DSP is finished with the data it uses the codec to convert the samples back into analog signals on the line and headphone outputs so the user can hear the output.
3) Synchronous DRAM
The DSK uses a 128 megabit synchronous DRAM (SDRAM) on the 32-bit EMIF. The SDRAM is mapped at the beginning of CE0 (address 0x80000000). Total available memory is 16 megabytes. The integrated SDRAM controller is part of the EMIF and must be configured in software for proper operation. The EMIF clock is derived from the PLL settings and should be configured in software at 90MHz. This number is based on an internal PLL clock of 450 MHz required to achieve 22.
4) Flash Memory
Flash is a type of memory which does not lose its contents when the power is turned off. When read it looks like a simple asynchronous read-only memory (ROM). Flash can be erased in large blocks commonly referred to as sectors or pages. Once a block has been erased each word can be programmed once through a specialcommand sequence. After than the entire block must be erased again to change the contents. The DSK uses a 512Kbyte external Flash as a boot option.
10
11
12
ii) Programming
1] Create a folder called myprojects on the desktop.
Fig : Code composer Studio 2] Run the C6713 DSK Code composer Studio(C6713 DSK CCS). 3] Go to the Project : New, create a new project dtmf. 4] Make sure the Project type is Executable(.out) and target is TMS329C67XX. 5] Download the dtmf.cdb file from http://www.ece.mtu.edu/labs/EElabs/EE3306/resources. 6] Once the project is created , go to project, Add files to project , add the DSK C6713 Board Support Library(BSL) file. This library will simplify the
13
Communication with the board using c language. More information about this library can be found in Help TMS320C6713 DSK Software Board support Library. 7] Next include the dtmf.cdb file form the web page. 8] Finally you can create a new file and begin the laboratory assignment. Remember to save the file as dtmf.c and include it to the project in order for it to run
15
16
2) Connector Index
The TMS320C6713 DSK has many connectors which provide the user access to the various signals on the DSK
17
3) Expansion Connectors
The TMS320C6713 DSK supports three expansion connectors that follow the Texas Instruments interconnection guidelines. The expansion connector pinouts are described in the following three sections. I is on an Input pin is on an Output pin Z is on a High Impedance pin
4) Audio Connectors
The C6713 DSK has 4 audio connectors. They are described in the following sections.
18
19
5) Power Connectors
The C6713 DSK has 2 power connectors. They are described in the following sections.
20
Support files
Following are the support files. 1) C6713dskinit.c :Contains function 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 soon 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 interruptdriven 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.
21
Conclusion:
There are many applications for which the Digital Signal Processor becomes an ideal choice as they provide the best possible combination of performance, power and cost. Most of the DSP applications can be simplified into multipli -cations and additions, so the MAC formed a main functional unit in early DSP processors. The designers later incorporated more features, like pipelining, SIMD, VLIW etc, in the processors to deliver improved performance. There has been a drive to develop new benchmarking schemes as the improvement in the processor architecture made the earlier benchmarking schemes, obsolete and less reliable.Power issues are gaining importance as DSP processors are incorporated in to handheld, mobile and portable devices. This leads to development of an important class of DSP processors namely fixed-point processors. Based on the current trends seen in the DSP processor development we may predict that the manufacturers will follow the path of general purpose processors. With new IC manufacturing technologies available we may expect to see more on-chip peripherals and memory; and in fact the system on chip may not be too far away.
22
References:
Digital signal Processing & Applications with C6713 and C6413 DSK - By Rulph Chassaing. DSP Application using TMS320C6X DSK -By Suvad Selman. The Scientists & Engineering Guide to Dsp - By Steven .W. Smith
WWW.Wikipedia .Com
23