GithubHelp home page GithubHelp logo

frautenberg / logic-analyzer Goto Github PK

View Code? Open in Web Editor NEW
27.0 5.0 8.0 13.41 MB

simple and cheap 16 channel logic analyzer based on Cypress CY7C68013A development board

License: GNU General Public License v3.0

logic-analyzer breakout-board cypress cy7c68013a sigrok pulseview

logic-analyzer's Introduction

Logic-Analyzer

simple and cheap 16 channel logic analyzer based on Cypress CY7C68013A development board


What is the Logic Analyzer

A logic Analyzer can only measure high and low level on a Signal.

With the recommended software Sigrok more than 110 different protocols like I2C, SPI, CAN.. can be recorded and visually decoded.

Time resolutions at ~1 MHz (ΔT: 1µs), perfect for hobby application.


Initial setup

Required hardware:

  • Cypress CY7C68013A development board (~5€) Board

  • Logic-Analyzer Shield (optional, but with better pinout then original) BoardWithHat

Required Software:

  • Sigrok (Application: Pulseview) used as Open-Source signal analysis software suite
  • Zadig (is included in Pulseview) used for configuring Cypress USB controller for Windows

Step 1: Install drivers

  • In the application Zadig -> Options -> List all devices: enable

  • Select "Cypress FX2LP"

  • Select "WinUSB" driver

  • Start installing via "Replace Driver"

    zadig 1

    before

    zadig 2

    after

    Step 2: Open Pulseview

    • Connect the Cypress board and open Pulseview
    • Connect to Device -> choose "fx2lafw" -> USB -> click button "Scan for device" -> select "Cypress FX2"
      • if this fails or no device shows up, jump to Step 3
    • Now everything is setup

    sigrok Connect

    Step 3: Install drivers (again)

    • Open Zadig and select the new device "fx2lafw"
    • Also replace their driver with "WinUSB"
    • Retry Step 2

    zadig 3

    before

    zadig 4

    after


Example

Situation: The Arduino is sending the Serial message (UART) "Hello World" to the computer

Circuit:

  • The Arduino and the Logic Analyzer have the same ground potential

  • The TX Pin of the Arduino is wired to channel 0 of the Logic Analyzer

BoardExample

PulseView HelloWorld

​ The signal D0 is shown and decoded with the included UART Decoder to "Hello World"

Logic Analyzer Hat

pcb_render front

schematic

pcb_front

Troubleshooting

Pulseview doesn't recognize the Cypress Logic Analyzer

  • Redo Steps 1 to 3. Windows sometimes forgets the newly installed drivers

Hardware Maximums

Pulseview offers higher sampling frequency's but the recording time lowers to ~ 300ms. The system is thereby getting unstable

logic-analyzer's People

Contributors

frautenberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.