Giter Club home page Giter Club logo

tang_nano-trigger_uart's Introduction

tang_nano-trigger_uart

This is a re-write of my previous trigger project. This time Tang Nano and Tang Nano 9k are the target hardware boards and the USB UART is used to configure and enable triggering (and drive the validation patterns). An internal clock frequency of 100MHz is used, which can result in triggering on very fast external pulses (subject to the performance of the FPGA and FPGA board).

Tang Nano connections:

picture

Tang Nano 9k connections:

picture

I included my pattern generator and block ram designs, which aid in validating the trigger functions. If you have an inexpensive logic analyzer you can view all the stimulus waveforms and the resulting triggers. The pins trigger_in and pat_gen_out[0] need to be connected.

I support all trigger types listed here: https://www.tiepie.com/en/fut/pulse-width-trigger


Type 0 Positive Edge (no count durations, just trigger on the edge)

picture

Type 0 Negative Edge (no count durations, just trigger on the edge)

picture


Type 1 Positive Edge (trigger on pulses shorter than count1)

picture

Type 1 Negative Edge (trigger on pulses shorter than count1)

picture


Type 2 Positive Edge (trigger on positive pulses larger than count1 on the falling edge)

picture

Type 2 Positive No Edge (trigger on positive pulses larger than count1, immediately before the falling edge)

picture

Type 2 Negative Edge (trigger on negative pulses larger than count1 on the rising edge)

picture

Type 2 Negative No Edge (trigger on negative pulses larger than count1, immediately before the rising edge)

picture


Type 3 Positive Edge (trigger on positive pulses larger than count1 AND less than count2, on the falling edge)

picture

Type 3 Negative Edge (trigger on negative pulses larger than count1 AND less than count2, on the rising edge)

picture


Type 4 Positive Edge (trigger on positive pulses larger than count1 OR less than count2, on the falling edge)

picture

Type 4 Positive No Edge (trigger on positive pulses larger than count1 OR less than count2, immediately before falling edge)

picture

Type 4 Negative Edge (trigger on negative pulses larger than count1 OR less than count2, on the rising edge)

picture

Type 4 Negative No Edge (trigger on negative pulses larger than count1 OR less than count2, immediately before the rising edge)

picture


That's it.

tang_nano-trigger_uart's People

Contributors

charkster avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

kozlov-dev

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.