This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: UCLA Electrical Engineering Professor Jain EE 113D TA Rick Huang Experiment B Input/Output Programming with the TMS320C54x No report due. Purpose To gain familiarity with the input/output capabilities of the TMS320C54x DSP and TLC320AC01C Analog Interface Circuit chips (as implemented on the DSKplus board). To understand and implement initialization of the analog interface chip and use of the I/O ports using interrupt handling procedures. To experiment with the e ects of sampling, signal delays, signal gain/attenuation and aliasing. Introduction In general, to implement real-time signal processing algorithms on a DSP chip, there needs to be a systematic procedure for real-world input data to be provided to the DSP chip and the for the output results to transferred to the outside world. Naturally, this requires the use of analog to digital (A/D) and digital to analog (D/A) conversion circuits to enable the DSP to deal with digital information only, for which it is designed. The associated timing circuitry and the DSP instructions required to coordinate these activities form the I/O processing sub-system of a DSP system. All DSP systems must have a similar sub-system which coordinates input/output procedures. On the DSKplus board, the A/D, D/A procedures, timing and synchronization, and some analog pre- processing are all handled by the TLC320AC01C Single-Supply Analog Interface Circuit (AIC) and its support circuitry. All of these, in turn, are controlled by software directed from the TMS320C542 main- board DSP chip. Thus, input/output procedures simplify to 'initialization' and 'I/O handling' subroutines with the user has to program and execute on the host DSP. In this experiment, we will investigate in detail two simple programs which implement the procedures mentioned above. Experiment Overview In the C: \ EE113L \ SOURCE \ EXP_B folder of your host computer, you should nd a total of 7 les for Experiment B. These are the program les for three separate experiments. The rst experiment involves sampling an input signal and displaying the reconstructed signal back on an oscilloscope. The program les for this experiment are: SAMPLE.ASM, AC01INIT.ASM and VECTORS.ASM. The second experiment involves observing the e ects of aliasing by modifying the parameters which control sampling and ltering. Lastly, the third experiment involves incorporating a nite delay in an input signal. The program les for this experiment are: DELAY.ASM, DLY_AC01.ASM, DLY_VECT.ASM. In addition, there is a help le (DLY_HELP.TXT) which details some particulars for the delay experiment....
View Full Document
This note was uploaded on 11/06/2010 for the course EE 113 taught by Professor Walker during the Spring '08 term at UCLA.
- Spring '08
- Electrical Engineering