9 to 11 DSP Manuals
9 to 11 DSP Manuals
Experiment No. 10
AIM: To study about DSP Processors and architecture of TMS320C6713 DSP processor.
APPARATUS USED: DSP Processor KIT.
THEORY:
The Texas Instruments TMS320C6713 Starter Kits are low cost development platforms for real -
time digital signal processing applications. The kits comprises a small circuit board containing
aTMS320C6713floating –point digital signal processor and connects to a host PC via a USB port.
PC software in the form of Code Composer Studio (CCS) is provided in order to enable software
written in C or assembly language to be compiled and/or assembled, linked, and downloaded to run
on the DSK.
Diagrams of TMS320C6713 DSK
Features
The DSK comes with a full complement of on-board devices that suit a wide variety of application
environments. Key features include:
A Texas Instruments TMS320C6713 DSP operating at 225 MHz
An AIC23 stereo codec
16 Mbytes of synchronous DRAM
512 Kbytes of non-volatile Flash memory (256 Kbytes usable in default
configuration)
4 user accessible LEDs and DIP switches
The functional units execute logic, multiply, shifting and data address operation. Below Figure
shows the simplified block diagram of the two data paths.
All instructions except loads and stores operate on the register. All data transfers between the
register files and memory take place only through two data-addressing units (.D1 and .D2). The
CPU also has various control registers, control logic and test, emulation, and logic. Access to
control registers is provided from data path B.
General Purpose Register Files
The CPU contains two general purpose register files A and B. These can be used for data or as data
address pointers. Each file contains sixteen 32-bit registers (A0-A15 for file A and B0-B15 for file
B). The registers A1, A2, B0, B1, and B2 can also be used as condition registers. The registers A4-
A7 and B4-B7 can be used for circular addressing.
These registers provide 32-bit and 40-bit fixed-point data. The 32-bit data can be stored in any
register. For 40-bit data, processor stores least significant 32 bits in an even register and remaining
8 bits in upper (odd) register.
Experiment No. 09
AIM: To implement floating point arithmetic.
SOFT WARE USED: MATLAB R2013a
THEORY: Floating-point arithmetic involves representing real numbers in a way that can
accommodate a wide range of values while balancing precision and range. Here's a breakdown of the
concepts and an example implementation in MATLAB.
Key Concepts of Floating-Point Arithmetic
1. Representation:
o A floating-point number is typically represented as:
x=(−1)^sign×mantissa×2^exponent
o The sign bit indicates positive or negative.
o The mantissa represents the significant digits.
o The exponent determines the scale.
2. Precision Issues:
o Due to limited bits for the mantissa and exponent, certain numbers cannot be
represented exactly, leading to rounding errors.
3. Operations:
o Basic arithmetic operations (addition, subtraction, multiplication, and division) can
introduce errors, especially when dealing with very large or very small numbers.
Experiment No. 11
AIM: To verify the zero-padding used for better resolution in discrete Fourier transform.
SOFT WARE USED: MATLAB R2013a
THEORY:
Zero Padding refers to the operation of extending a signal length by appending zeros samples to the
given signal. The zero padding gives us a High-density spectrum and provides a better displayed
version for plotting.
e.g. the given signal
If we increase the number of points between 0 and 2 we can obtain a better representation of
magnitude and phase response.
Example
Find the DFT of the signal