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: m13044
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. This version of the module contains code that is compatible with the Very Portable Optimizer (VPO). This code serves as a basis for introducing VPO and the VISTA viewer in an optimization lab.
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 2.0)

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

Version: 1.2 (history)
Created: Sep 25, 2005 9:02 pm GMT-5
Revised: Sep 30, 2005 2:04 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.2 Sep 30, 2005 2:04 pm GMT-5 by Matt Kleffner
Changes:
Removed bugs in PSD estimator code: all globals are now in the main routine, and some initialization functions were removed. These bugs were introduced in the original fork of the module.

Version: 1.1 Sep 26, 2005 3:18 pm GMT-5 by Matt Kleffner
Changes:
Forked module to make PSD code compatible with VPO. This module is intended for use before the VPO optimization lab.

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 2.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/m13044/1.2/

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 2.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/m13044/1.2/, Sep 30, 2005.

American Medical Assocation (AMA) Manual of Style:

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

American Psychological Assocation (APA) Publication Manual:

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

Chicago Manual of Style (Bibliography):

Kleffner, Matt. "Spectrum Analyzer: Processor Exercise Using C Language with C Introduction." Connexions. September 30, 2005. http://cnx.org/content/m13044/1.2/.

Chicago Manual of Style (Note):

Matt Kleffner, "Spectrum Analyzer: Processor Exercise Using C Language with C Introduction," Connexions, September 30, 2005, http://cnx.org/content/m13044/1.2/.

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

Kleffner, M. 2005. Spectrum Analyzer: Processor Exercise Using C Language with C Introduction. Connexions, September 30, 2005. http://cnx.org/content/m13044/1.2/.

Modern Languages Association (MLA) Style Manual:

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