Connexions

Sections
You are here: Home » Content » Spectrum Analyzer: Processor Exercise Using C Language with C Introduction

About: Spectrum Analyzer: Processor Exercise Using C Language with C Introduction

Module by: Matt Kleffner Based on: Spectrum Analyzer: Processor Exercise Using C Language with C Introduction by Matt Kleffner

View content

Metadata

Name: Spectrum Analyzer: Processor Exercise Using C Language with C Introduction
ID: m12391
Language: English (en)
Summary: This is a processor exercise in which students implement a spectrum analyzer using mixed C and assembly code. Students are to acquire a block of 1024 samples, apply a Hamming window, compute a length-1024 Discrete Fourier Transform using provided Fast Fourier Transform code, and display the magnitude-squared spectrum on an oscilloscope. Students will also compile and explore a reference implementation of an autocorrelation-based power spectral density (PSD) estimator. This implementation estimates the PSD of an IIR-filtered pseudo-noise generator.
Subject: Science and Technology
Keywords: autocorrelation, block processing, C language, DFT, digital signal processing, discrete fourier transform, discrete time fourier transform, DTFT, fast algorithms, fast fourier transform, FFT, frequency domain, IIR filter, PN generator, power spectral density, power spectral density estimation, PSD, pseudo-noise generator, spectral analysis, spectrum, windowing
Document Type: -//CNX//DTD CNXML 0.5 plus MathML//EN
License: Creative Commons Attribution License (CC-BY 1.0)

Authors: Matt Kleffner (kleffner@uiuc.edu)
Copyright Holders: Matt Kleffner (kleffner@uiuc.edu)
Maintainers: Matt Kleffner (kleffner@uiuc.edu)

Version: 1.3 (history)
Created: Sep 21, 2004 9:40 pm GMT-5
Revised: Sep 25, 2005 9:01 pm GMT-5

Based On: Spectrum Analyzer: Processor Exercise Using C Language with C Introduction
Originally By: Matt Kleffner (kleffner@uiuc.edu)

Version History

Version: 1.3 Sep 25, 2005 9:01 pm GMT-5 by Matt Kleffner
Changes:
Corrected bad formatting in lab4bmain.c code listing

Version: 1.2 Sep 26, 2004 2:18 am GMT-5 by Matt Kleffner
Changes:
Changed mathex.c code so that it will run on DSP, and added instructions relating to this.

Version: 1.1 Sep 22, 2004 10:44 pm GMT-5 by Matt Kleffner
Changes:
Forked module to add reference implementation of PSD estimator

How to Reuse and Attribute This Content

If you derive a copy of this content using a Connexions account and publish your version, proper attribution of the original work will be automatically done for you.

If you reuse this work elsewhere, in order to comply with the attribution requirements of the license (CC-BY 1.0), you must include

  • the authors' names: Matt Kleffner
  • the title of the work: Spectrum Analyzer: Processor Exercise Using C Language with C Introduction
  • the Connexions URL where the work can be found: http://cnx.org/content/m12391/1.3/

See the citation section below for examples you can copy.

How to Cite and Attribute This Content

The following citation styles comply with the attribution requirements for the license (CC-BY 1.0) of this work:

American Chemical Society (ACS) Style Guide:

Kleffner, M. Spectrum Analyzer: Processor Exercise Using C Language with C Introduction, Connexions Web site. http://cnx.org/content/m12391/1.3/, Sep 25, 2005.

American Medical Assocation (AMA) Manual of Style:

Kleffner M. Spectrum Analyzer: Processor Exercise Using C Language with C Introduction [Connexions Web site]. September 25, 2005. Available at: http://cnx.org/content/m12391/1.3/.

American Psychological Assocation (APA) Publication Manual:

Kleffner, M. (2005, September 25). Spectrum Analyzer: Processor Exercise Using C Language with C Introduction. Retrieved from the Connexions Web site: http://cnx.org/content/m12391/1.3/

Chicago Manual of Style (Bibliography):

Kleffner, Matt. "Spectrum Analyzer: Processor Exercise Using C Language with C Introduction." Connexions. September 25, 2005. http://cnx.org/content/m12391/1.3/.

Chicago Manual of Style (Note):

Matt Kleffner, "Spectrum Analyzer: Processor Exercise Using C Language with C Introduction," Connexions, September 25, 2005, http://cnx.org/content/m12391/1.3/.

Chicago Manual of Style (Reference, in Author-Date style):

Kleffner, M. 2005. Spectrum Analyzer: Processor Exercise Using C Language with C Introduction. Connexions, September 25, 2005. http://cnx.org/content/m12391/1.3/.

Modern Languages Association (MLA) Style Manual:

Kleffner, Matt. Spectrum Analyzer: Processor Exercise Using C Language with C Introduction. Connexions. 25 Sep. 2005 <http://cnx.org/content/m12391/1.3/>.