<< Chapter < Page Chapter >> Page >
The six-channel board for the TI EVM320C54 offers two channels of input and six channels of output at a sample rate of 44.1 kHz. It can also communicate with the PC via a serial port connection. The file thru6.asm exercises these inputs and outputs. The linker provides several sections of memory for storing program instructions and data.Test-vector input and output with vectcore.asm permits careful testing of DSP systems.

The six channel surround sound board

The six-channel board attaches to the top of the DSP evaluation module and replaces its onboard, one-channel A/Dand D/A with six channels of D/A and two channels of A/D running at a sample rate of 44.1 kHz. Alternatively, the A/Dcan be disabled and a SP/DIF digital input enabled, allowing PCM digital data from a CD or DVD to be sent directly into theDSP for processing. The two input channels and six output channels all sample at the same time; clock skew betweenchannels is not an issue. By default, the core code reads and writes blocks of 64 samples for each channel of input andoutput; however, this aggregation can be changed to any value between 1 and 80 samples

The upper bound is determined by the amount of memory available to theauto-buffering unit.
. If your code needs a larger aggregation of samples - for instance, for a 256 point FFT -you will need to do this aggregation yourself.

Other features include buffered serial communication code, which allows you to send and receive data from the serialport. This can be used to control your DSP program with a graphical user-interface on the PC; it can also be used toreport status back to the PC for applications such as speech recognition.

The core code, core.asm (which requires globals.inc , ioregs.inc , and misc.inc ) also initializes the DSP itself. It enables the fractional arithmetic mode for the ALU,programs the wait states for the external memory, and sets the DSP clock to 80 MHz

The DSP is rated to run at 100 MHz; however, the serial port does not workreliably when the DSP clock speed is greater than 80 MHz.
.

Testing the six-channel sample code

We will start with a sample application, which simply sends the inputs into the outputs--relaying both the audio inputsfrom the A/D converters to the D/A converters, and any data that comes in on the serial port back to the PC. Tofamiliarize yourself with this sample application, locate a copy of thru6.asm and assemble it.

Once you have done that, start Code Composer. Since we are using the on-chip RAM on the TMS320C549 to hold programcode, we need to map that RAM into program space before we can load our code. This can be done by opening the CPURegisters window (the same one you use to look at the ARx registers and the accumulators) and changing the PMST register to 0xFFE0 . This sets the OVLY bit to 1, switching the internal RAM into the DSP's program memoryspace.

Finally, load the thru6.out file, use Code Composer's Reset DSP menu option to reset the DSP, and run the code. Probe at the connections with thefunction generator and the oscilloscope; inputs and outputs are shown in . Note that output channels 1-3 come from input channel 1, and output channels4-6 come from input channel 2. shows the six-channel board's connector configuration.

Questions & Answers

what is variations in raman spectra for nanomaterials
Jyoti Reply
I only see partial conversation and what's the question here!
Crow Reply
what about nanotechnology for water purification
RAW Reply
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
what is the stm
Brian Reply
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
LITNING Reply
what is a peer
LITNING Reply
What is meant by 'nano scale'?
LITNING Reply
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
what is Nano technology ?
Bob Reply
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
Damian Reply
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
Stoney Reply
why we need to study biomolecules, molecular biology in nanotechnology?
Adin Reply
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
Adin
why?
Adin
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
Damian Reply
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
Praveena Reply
what does nano mean?
Anassong Reply
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
Damian Reply
absolutely yes
Daniel
how did you get the value of 2000N.What calculations are needed to arrive at it
Smarajit Reply
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Dsp laboratory with ti tms320c54x. OpenStax CNX. Jan 22, 2004 Download for free at http://cnx.org/content/col10078/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Dsp laboratory with ti tms320c54x' conversation and receive update notifications?

Ask