St. Louis, Missouri
June 18, 2000
June 18, 2000
June 21, 2000
5.393.1 - 5.393.6
Interfacing to a DSP through a Micro-controller via a DMA Port – Vertical Integration of DSP and Micro-controller Courses in an EET Program.
Anthony J. A. Oxtoby, Adam G. Sanderson Purdue University, West Lafayette
This paper describes a hardware interface that allows data transfer between the 8-bit 80C552 micro-controller and the 16-bit fixed point ADSP2181 digital signal processor. The interface provides a mechanism to connect slow external devices to the DSP processor without incurring wait states that are necessary when interfacing directly to the DSP memory spaces. It also provides a link connecting content of the two required microprocessor courses in the EET undergraduate program. A description of the operation of the interface is included along with an audio application that has been incorporated into the DSP course to take advantage of this data transfer method.
The sequence of required microprocessor based courses in the EET program at Purdue University consists of an introductory sophomore level course based on the 80C552 micro- controller and an introductory DSP course at junior/senior level using the ADSP2181digital signal processor. The DSP course includes the operation and programming of a fixed-point processor and then moves on to cover the theory and implementation of common DSP applications such as filtering, audio effects and the DFT/FFT.
Because of the hardware emphasis in the course, interfacing to I/O devices has been included, permitting some external interaction to take place with the DSP algorithms. Directly interfacing such devices to the processor memory spaces reduces algorithm speed because wait states are needed in any transactions with these slower I/O devices. One alternative approach is to use serial data transfer through the processor’s serial ports and perform all the necessary scaling in the DSP. Another is to use an external controller to handle the acquisition and scaling of data for slower I/O devices and relay the data to the DSP processor via direct memory access. Simple circuitry to implement the data transfer and handshaking has been developed and is now included
Oxtoby, A. J., & Sanderson, A. G. (2000, June), Interfacing To A Dsp Through A Micro Controller Via A Dma Port Vertical Integration Of Dsp And Micro Controller Courses In An Eet Program. Paper presented at 2000 Annual Conference, St. Louis, Missouri. https://peer.asee.org/8493
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2000 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015