ELEC3050 HCS12 Lab3 Digilent

ELEC3050 HCS12 Lab3 Digilent - ELEC 3040/3050 Lab Manual...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ELEC 3040/3050 Lab Manual Lab 3 – Revised 9/9/11 2-1 LAB 3: SYSTEM ANALYSIS & DEBUGGING WITH OSCILLOSCOPE AND LOGIC ANALYZER INTRODUCTION The purpose of this lab is to continue to gain experience with designing and testing microcontroller-based systems, and to become familiar with debug tools, including the use of an oscilloscope and a logic analyzer as microcontroller system analysis and debug tools. In the development and debugging of a microcontroller-based system, you will often have a need to examine signals being sent to and from the microcontroller to determine correct data patterns, control signal sequencing, timing, etc. To that end you will make a few modifications of last week’s program, and then perform timing analyses as these programs run on the microcontroller. OSCILLOSCOPE OVERVIEW The Digilent EEBOARD contains the hardware components of several electronic system test instruments: oscilloscope, logic analyzer, waveform generator, pattern generator, and voltmeter. The user interfaces for these instruments are implemented in the Waveforms program used in the first lab. EEBOARD/ Waveforms provide a four-channel oscilloscope that is simple to use, and yet compares in nature and function to more sophisticated oscilloscopes that you may use later on in your career. The following discussion is a brief introduction to the functions available on this oscilloscope. You will be expected to learn these functions and to set up the oscilloscope for debugging system designs in this and later labs. Documentation for the Waveforms instruments is accessed by clicking on “Help” in the main Waveforms window, and then selecting the desired instrument. It is recommended that you read the oscilloscope help information prior to using the oscilloscope in lab. Digilent also provides analog electronics tutorials and lab materials to accompany the EEBOARD on their web site, with examples showing the use of the different Waveforms instruments. http://www.digilent.cc/Classroom/RealAnalog/index.cfm . Waveforms can be downloaded from the Digilent site for use on your own computer. If no EEBOARD is attached, Waveforms runs in a “demo mode”, to allow you to investigate its features. What is a digital oscilloscope? A digital oscilloscope is not merely an oscilloscope to be used exclusively for digital circuits. The word “digital” refers to the method used to obtain signals to be viewed. Unlike analog oscilloscopes, in which input signals directly control amplifiers that drive the deflection coils of a cathode ray tube (CRT), a digital oscilloscope digitizes its input
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ELEC 3040/3050 Lab Manual Lab 3 – Revised 9/9/11 2-2 signals with an analog to digital converter (ADC). The ADC periodically samples the amplitude (voltage level) of the analog input signal and converts each sample to a binary number, storing the binary values in an internal memory. A microprocessor conditions the digital data according to the functions that you request and displays the results on a
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/23/2011 for the course ELEC 3040 taught by Professor Staff during the Fall '08 term at Auburn University.

Page1 / 14

ELEC3050 HCS12 Lab3 Digilent - ELEC 3040/3050 Lab Manual...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online