element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Blog Make a Logic Analyzer from your Dev Kit Part 3: Level Translator and Buffer
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 1 Jun 2020 10:45 AM Date Created
  • Views 1870 views
  • Likes 5 likes
  • Comments 2 comments
  • papilio
  • xilinx
  • fpga
  • logic_analyzer
  • spartan
Related
Recommended

Make a Logic Analyzer from your Dev Kit Part 3: Level Translator and Buffer

Jan Cumps
Jan Cumps
1 Jun 2020

I wrote a blog in 2015 about using an FPGA as logic analyzer.

In that blog, I promised to review the input buffer that I was using to translate 5V logic to 3V3.

Then I didn't follow up on that.

 

image

 

Yesterday I made a second buffer, using parts and PCBs that I had lying around from a few failed previous attempts.

A good excuse to finally document this.

 

What Is This Input Buffer?

 

The inputs of my analyzer are raw Xilinx Spartan 6 FPGA I/O pins. They aren't 5V tolerant.

GadgetFactory has designed a small 5-component 16-bit buffer.

The design open source. I decided to roll my own because it was a good excuse to practice SMD soldering (there's a TSSOP chip, good for your training).

The KiCAD project is attached to this post.

 

The word buffer may be used a little liberal here. The signal isn't actually buffered.

It's conditioned by a 16-bit FET digital switch. A smart side-effect of that switch is used to give 5V signals the "below 3V3" drop:

 

Jack Gassett: The I/O board uses a bus switch chip that does not do voltage translation like most chips do.

Instead it acts as a FET switch that is an actual physical bi-directional connection between the pins.

By setting the FET voltage to 4.3V we get a voltage drop of 1V which means that the FET will never allow more then 3.3V to be output on any of the pins.

If you input 5 volts on either side it will restrict the output on the other side to 3.3V. If you input 2.5V on one side it will output 2.5V on the other side.

The benefit of this is that it is bi-directional but also very, very fast. It can operate at speeds up to 2GHz.

 

The IC you use is critical. Although it sounds like a generic IC (it's of the SN74XX series), not all have the voltage-drop effect.

The Texas Instruments SN74CBT16245 is known to have it. I had first purchased a NXP version and that wasn't suited for this purpose.

 

I've drawn my own schematic and board layout. But haven't altered the design itself. The same components, IC and pin assignments.

 

image

 

imageimage

The right wing below is one I made in 20154. The one on the left is the new one from yesterday.

The IC is recovered from one of the then failed attempts, and the PCB from another failed attempt.

Soldering TTSOP sized ICs can be challenging.

 

image

 

But it's worth it. I now have a 32-bit 5V tolerant analyzer. That'll keep me going for years.

 

Related Blog
Make a Logic Analyzer from your Dev Kit Part 1: Arduino UNO
Make a Logic Analyzer from your Dev Kit Part 2: Papilio FPGA
Make a Logic Analyzer from your Dev Kit Part 3: Level Translator and Buffer
Attachments:
papiliobufferio.zip
  • Sign in to reply
  • DAB
    DAB over 5 years ago

    Nice update Jan.

     

    In the old days, we always used buffer chips to make sure timing and data transfers were captured.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ankur608
    ankur608 over 5 years ago

    An inspirational series.. waiting for the next..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube