element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Expansion board level shifter -  TXS0180E - how do we put it in push-pull mode?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 5 replies
  • Subscribers 665 subscribers
  • Views 1116 views
  • Users 0 members are here
  • expansion_board
  • raspberry_pi
  • quick2wire
  • rapsberry_pi
  • level_shifters
Related

Expansion board level shifter -  TXS0180E - how do we put it in push-pull mode?

romilly
romilly over 13 years ago

Some of you may know that my company (Quick2Wire)  is working on a number of add-on boards for the Raspberry Pi.

 

We've hit an issue with the main interface board, and I'm hoping one of the engineers here can help.

 

We'd like to use a TXS0180E to level-shift the eight GPIO pins of an ARM SoC. We need stronger outputs than the TXB0108PWR..TXB0108PWR.. provides. The data rate of the TSX0108E is fine in push-pull mode but would be too slow in Open-collector mode.

I'm confused, though, about what determines the mode in which the chip operates. How do we control whether it's in Open-collector or push-pull mode? Is it just a matter of whether we have pull-ups attached to the lines?

 

It's not a show-stopper, as we know that we can use a TXB0108PWR..TXB0108PWR.. with a ULN2803, but that adds to the cost. I'd like to avoid that option if we can.

 

Thanks,  Romilly

  • Sign in to reply
  • Cancel
Parents
  • michaelkellett
    michaelkellett over 13 years ago

    Hello Romilly,

     

    You need to study that diagram on page 10 of the data sheet some more. image

     

    The TXB0108PWR..TXB0108PWR.. does not have OC ouputs - it has high impedance (or in TI speak - weak) outputs which are assisted during switching transitions by pull up or down fets. It's a neat way of getting bidirectional buffering and speed. It is inevitable that a bidriectional buffer with no direction control pins must have weak drivers so that the direction can be forced.

     

    If this is for a general purpose RPi board I suggest that it is a bad choice - this chip is very difficult to debug with a DMM because it is fundamentally dynamic in operation. I would expect RPi add ons to be easy to debug with simple test gear.

     

    To buffer the RPi pins for output you can use ULN series parts in DIL sockets for ease of replacement (and they are dead cheap if a bit slow).

    For input buffering use series R and clamp diodes. Now you can replicate the bidirectional level shifting virtues of the TXB108 with high power output and RPi input protection with cheap bits debuggable by volt meter.

    (The price you pay is more parts, the buffered ins and outs are on separate pins (possibly not a bad thing) and quite slow.)

     

     

    Michael Kellett

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • romilly
    romilly over 13 years ago in reply to michaelkellett

    Apologies to all: the note should refer to TXS0108E, not TXS0180E. For someone who spent much of his life as a sofware developer, I type like a Platypus.

     

    I know the TXB0108PWR..TXB0108PWR.. does not have OC ouputs. The weak outputs from the TXB0108PWR..TXB0108PWR.. will not be enough for some purposes, hence the idea of using the TXS0108E. I was not sure if a lack of pull-ups would be enough to ensure that the TXS0108E would be in push-pull mode. I'm now clear about that.

     

    But...

     

    Having thought about it some more, I've been over-engineering. For the GPIO pins we can get by with diode clamps and a ULN2803. As you point out, Michael, that means that we can use easily testable, inexpensive though-hole components. That's a much better solution that either of the ones we were considering.

     

    Thanks to everyone - your ideas and comments have led us to a cheaper, better solution, which is what Element14 is all about.

     

    Best, Romilly

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • romilly
    romilly over 13 years ago in reply to michaelkellett

    Apologies to all: the note should refer to TXS0108E, not TXS0180E. For someone who spent much of his life as a sofware developer, I type like a Platypus.

     

    I know the TXB0108PWR..TXB0108PWR.. does not have OC ouputs. The weak outputs from the TXB0108PWR..TXB0108PWR.. will not be enough for some purposes, hence the idea of using the TXS0108E. I was not sure if a lack of pull-ups would be enough to ensure that the TXS0108E would be in push-pull mode. I'm now clear about that.

     

    But...

     

    Having thought about it some more, I've been over-engineering. For the GPIO pins we can get by with diode clamps and a ULN2803. As you point out, Michael, that means that we can use easily testable, inexpensive though-hole components. That's a much better solution that either of the ones we were considering.

     

    Thanks to everyone - your ideas and comments have led us to a cheaper, better solution, which is what Element14 is all about.

     

    Best, Romilly

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • michaelkellett
    michaelkellett over 13 years ago in reply to romilly

    Hello Romilly,

     

    You're welcome !

     

    Can you tell us a bit more about your board(s) ?

     

    Michael Kellett

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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