<< 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

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




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