PC Based Logic Analyzer. Complete System Level Block Diagram

Similar documents
PC Based Logic Analyzer. Project Proposal

USB Logic Analyzer. Project Proposal. Shom Bandopadhaya Advisor: Dr. James H. Irwin. December 8, 2005

Testing and Debugging

Using the SODIMMDDRII667/800 NEXVu product a step by step overview with Signal Integrity Display

Designing and Verifying Future High Speed Busses

Logic Analyzers by Link Instruments, Inc Logic Analyzers

Help Volume Agilent Technologies. All rights reserved. Agilent E2485A Memory Expansion Interface

A MOSIS CMOS 4-bit, 8-sample Fast Fourier Transform Chip Set

Computer Architecture and Organization: L10: I/O Organization

Training Kit for HP 1660/70 Series Logic Analyzers

I 2 C and SPI Protocol Triggering and Decode for Infiniium 9000 Series Oscilloscopes

Using the Agilent Technologies Series Logic Analysis System with the Xilinx ChipScope ILA

Alibava: A startup guide

LogicStudio Training Guide

Data Sheet. Logic analyser LA-160. RS stock numbers (10 MHz), (20 MHz)

TDSPTD Protocol Trigger and Decode Application Online Help

1 Digital tools. 1.1 Introduction

EVAL-AD9913 GENERAL DESCRIPTION FEATURES PACKAGE CONTENTS EVALUATION BOARD BLOCK DIAGRAM

Parallel Data Transfer. Suppose you need to transfer data from one HCS12 to another. How can you do this?

CHAPTER 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT

Parallel and Serial Bus Analysis Instructor s Guide

Programming in the Simple Raster Graphics Package (SRGP)

Help Volume Hewlett Packard Company. All rights reserved. Toolsets: IA Format Utility

DLM2000 Series. Mixed Signal Oscilloscope. IM E 3rd Edition

Quick Start Guide. v1.1. Copyright 2011 AVID Technologies, Inc. Twinsburg, Ohio USA All Rights Reserved

ECE 5655/4655 Laboratory Problems

Chapter 5 - Input / Output

Analog, Digital Signals; Computer Structure

Employing Multi-FPGA Debug Techniques

Help Volume Agilent Technologies. All rights reserved. Agilent Technologies 16741A Logic Analyzer

Design of a virtual logic analyzer based on FPGA

Lab 16: Data Busses, Tri-State Outputs and Memory

I Introduction to Real-time Applications By Prawat Nagvajara

SV3C DPRX MIPI D-PHY Analyzer. Data Sheet

EasySync Ltd ES-DLA-8/16

Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman

UNIVERSITY OF CALIFORNIA BERKELEY Department of Electrical Engineering and Computer Sciences. B. E. BOSER Oscilloscopes EECS 100

ic-mh16 Evaluation Software Software Description

EE 314 Spring 2003 Microprocessor Systems. Parallel Printer Port Use and Digital-to-Analog Conversion

DT7816 Linux Data Acquisition Real-Time High Performance ARM Module for Embedded Applications

Lab 3: Queued A-D Conversion (eqadc)

BusFinder Series. LA3000 Series 2 in 1 Analyzer (Protocol + Logic) Manual

Digital Storage Oscilloscope

BE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech

How to Properly Manage Tabor s AWG Arbitrary Memory

Data and Network Communications Protocol Motherboard Using Reconfigurable Hardware

Online Help. Protocol Trigger and Decode Adapted from the Protocol Trigger and Decode Online Help (May, 2005)

Quick Reference Guide WaveRunner 6 Zi Oscilloscopes

Design Concepts For A 588 Channel Data Acquisition & Control System

This document contains the firmware release notes for two models. The SDS1202X-E is a dual channel 200 MHz scope.

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

The Atmel ATmega328P Microcontroller

PIC Serial Peripheral Interface (SPI) to Digital Pot

LDR_Light_Switch1 -- Overview

Experiment #0. PC Hardware and Operating Systems

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

SV3C DPRX MIPI D-PHY Analyzer. Data Sheet

Falcon and Raptor Series Application Note: Tech Support Frequently Asked Questions

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK NAME OF THE SUBJECT: EE 2255 DIGITAL LOGIC CIRCUITS

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

These three counters can be programmed for either binary or BCD count.

Keysight Technologies

Help Volume Agilent Technologies. All rights reserved. Instrument: Agilent Technologies 16550A Logic Analyzer

LogicStudio USB Logic Analyzer. Faster, Smarter Debug

Digital Discovery Reference Manual

Figure C-4 Captured PSpice design schematic (via screen capture)

Agilent Technologies 1660A Series 50/100-MHz State, 500-MHz Timing Logic Analyzers

PC104P-16AIO Bit Analog Input/Output PC104-Plus Board

Nuvoton 8051 ICP Programmer

AN 038. Getting Started with the KXTJ2. Introduction

ECE 341 Midterm Exam

System Debugging Tools Overview

LDR_Light_Switch5 -- Overview

Advanced Test Equipment Rentals ATEC (2832)

Exploring the Custom Analysis Interface for use with MATLAB on Tektronix Oscilloscopes

Keysight Technologies RS232/UART Protocol Triggering and Decode for Infiniium Series Oscilloscopes. Data Sheet

Outline. Operating Systems: Devices and I/O p. 1/18

System-on-a-Programmable-Chip (SOPC) Development Board

DEVELOPMENT OF USER FRIENDLY DATA ACQUISITION AND ACTUATION SYSTEM ON EMBEDDED PLATFORM

Chapter 1 Introducing the OM-USB-1608FS-Plus... 6 Functional block diagram... 6

LDR_Light_Switch2 -- Overview

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14

USER MANUAL EXPERIENCE INCREDIBLE PERFORMANCE V2.3

DT9828. USB Powered Thermocouple Measurement Module. Key Features: Analog Input Channels

General Specifications

Statement of Research

Spatial Debug & Debug without re-programming in Microsemi FPGAs

SOFTWARE DC4D MONITOR

Compact 8 in 1 Multi-Instruments SF Series

The Atmel ATmega168A Microcontroller

Scheme G. Sample Test Paper-I

PXA270 EPIC Computer with Power Over Ethernet & Six Serial Protocols SBC4670

CREATING A 3D VIA MODEL IN HYPERLYNX FOR CHANNEL ANALYSIS

DATAMAN 570 series oscilloscope Rollmode User s Guide Version 2.02

University of Technology

MDA V8.1 What s New Functionality Overview

Keysight Technologies N8825A/B Infiniium 10BASE-T / 100BASE-TX Ethernet Decoder. Data Sheet

Laboratory IV LCD Framebuffer

KXCJK AN 039. Getting Started with the KXCJK. Introduction

PSIM Tutorial. How to Use SPI in F2833x Target. February Powersim Inc.

Transcription:

PC Based Logic Analyzer Complete System Level Block Diagram Advisors: Dr. James H. Irwin, Mr. José Sánchez Team Members: Jeffery Earleson, Jason Nielsen vember 23, 2004 EE 451 Bradley University Electrical and Computer Engineering Department

Introduction: A logic analyzer is an instrument that displays digital signals. It functions much like an analog oscilloscope except it only displays four levels: low, high, tri-state and indeterminate; it also samples more lines. This project will create a PC based logic analyzer for use in Junior laboratory. It will have external conditioning hardware (known as a POD) connected to the PC. The PC will provide a Graphical User Interface (GUI), triggering, and signal display. This data flow is seen in Figure 1. Figure 1: System Block Diagram Inputs: Analog Signals PC Commands Signals on the POD s probes. These can be TTL or CMOS based. Commands entered using keyboard and mouse. Outputs: Monitor Display Printer Storage Displays captured data, trigger signal, cursors and basic Windows functions (print, save etc.) Prints the displayed waveform. Saves waveform as an image System Description POD: This will accept analog signals on 8-16 data lines. The signals originate from TTL or CMOS based circuits. The POD will condition the signal to be transmitted to the PC via USB. PC: The software will receive conditioned signals and display them in a user-friendly manner. It will provide several forms of triggering, cursors, zooming, etc. and standard window features.

Modes of Operation Setup Mode: In this mode, the user selects the desired threshold levels for the analog signal type (TTL or CMOS), the number of lines to be sampled, the trigger condition, and the sampling method (synchronous or asynchronous). Sample Mode: In this mode, started by the user, the analyzer collects the conditioned signals based on the selected triggering method. Display Mode: This mode is entered automatically after the buffer is filled and the trigger occurs. The display can be zoomed and the cursors moved. POD Functionality Sampled lines Comparison Circuit Buffer USB Interface Data line to PC Figure 2: POD Block Diagram Inputs: Sixteen lines These are the lines that are of interest to the user. They can be TTL or CMOS type. In addition, one of the signals may be designated as a clock signal on the target device and can be used for synchronous sampling. Outputs: Data line to PC This is the sampled data in a 2-bit per sample per line form. A packet is sent on this line and USB protocols are used. The POD is the sampling device for the logic analyzer. The POD has eight or sixteen digital lines configured to respond to a TTL and/or CMOS signal levels. It samples them synchronously using a designated clock line or asynchronously using an internal clock. For synchronous mode, the clock signal coming from the device under test (DUT) dictates when samples are taken, thus creating the appearance that all signals on all lines change on the clock. This is useful for simple testing; it allows the user to quickly see what happens in the device through each of its clock cycles. In asynchronous mode, all sixteen lines are sample lines. An internal clock set at a very high frequency dictates when samples will be taken. This is useful for allowing the user to see the independent activity of lines during a DUT s clock cycle. Moreover, this allows for much more detailed debugging. The comparison circuit determines one of four states for each line. The comparator can classify signals as high, low, intermediate signal (between high and low thresholds), or no signal (a High-Z condition). Once the state has been determined, the data is sent in the form of 2-bits into a buffer. Once several samples for all sixteen lines have been collected in the buffer, the buffer sends the data to the PC through the USB interface. More detail on the separate sections can be seen in figures below.

Designated Clock Line Sampled lines Probe Probe Synchronous/ asynchronous switch Internal Clock To Buffer (2 bits) High Comparison circuit Low Comparison circuit Combinational Logic High-Z Comparison circuit Figure 3: Comparison Circuit Block Diagram 2 Bits from Comparison circuit Write Controller Memory Space Read Controller Line to USB Controller Figure 4: Buffer Block Diagram From Buffer USB Transceiver Chip Data line to PC Figure 5: USB Interface Block Diagram PC Functionality Figure 6: PC Block Diagram

PC Inputs: Conditioned Signals Keyboard/Mouse Signals sent from the POD to the PC with all sampled data in packet form using USB protocols. Commands entered using keyboard and mouse to setup trigger conditions, change display format, save the waveform, setup, and hardcopies. Outputs: Monitor Display Printer Storage Displays captured data, trigger signal, cursors and basic Windows functions (print, save etc.) Prints the displayed waveform. Saves waveform as an image The PC is the user interface to the logic analyzer. The conditioned signals are received by the PC and the raw data is extracted from the USB packets. The raw data is then stored in memory. A significant amount of data will be kept in memory such that all trigger conditions could be adequately displayed based on the samples contained in memory. The user can set the trigger conditions using the keyboard, the mouse and the GUI. When the trigger condition is met, the software will display the samples that are relevant to the time at which the trigger condition was met. The software will also display a user-controlled-length of data both before and after the trigger condition. This allows the user to see data prior to the trigger point, to see data after the trigger, or see a percentage of data before and after the trigger point. The displayed image is going to be based on the user s choice of sample rate. If a slower sample rate is chosen, then the user will be able to see a longer length of time in around each trigger but with less resolution; if a faster rate is chosen, more detail is shown, but the length of time displayed around a trigger is less. More detail in each section of the block diagram can be seen in the Figure 7 and Figure 8. Keyboard or mouse entry Set trigger display point, output type, number of signals to display Store as a 32-bit unsigned integer array Remove USB Header Bits End Figure 7: Control Block Diagram End Figure 8: USB Data Acquisition

Store USB Data[i] in Temp Probe Data[i] == Trigger Mask Temp & Mask Increment i Adjust queue indices Store Temp to the front of Line[k] Is i <= Front of Probe Data Store trigger index Mask * 4 Done Increment k Figure 10: Trigger Block Is k < 16? Increment i Place trigger index at desired display position Is i <= USB data size Done Figure 9: Memory Store Draw every tenth data point pre and post of trigger index Done Figure 11: Display Block

Print Take screen shot Print or Save Save Take screen shot Write to printer driver Write as jpeg Figure 12: Output Block