piclist 2001\01\19\151736a >
Thread: Need 74HC165 with tristate output
face BY : Dwayne Reid email (remove spam text)

At 08:12 AM 1/19/01 -0800, Brian Aase wrote:
>I'm starting a project in which a number of inputs (>16) need to
>be periodically read via the SSP (SPI) bus.  In the beginning it
>looked like using a few 74HC165A's would be just the thing,
>until I realized that the outputs are not tristate.  Thus I can't
>tie multiple outputs together onto the SDI line :-(
>Can anyone suggest a chip with a similar function that DOES
>have a tristate output?

Couple of ideas:  are other SPI devices other than the '165s connected to
the SDI line?  If so, just use a series resistor from the Dout pin of the
last shift register to the SDI line - 4k7 is OK for medium clock
rates.  When all of the other SPI devices are de-selected, SDI sees the
logic level present at the Dout pin of the last HC165.  Selecting any other
SPI device turn on output of that device which swamps the signal from the 165s.

As far as having multiple HC165 shift registers is concerned - no
problem.  You just cascade them.  The Dout line of each SR connects to the
Din line of the next device.  The Dout of the last device is what feeds
SDI.  And, of course, take the Din pin of the 1st SR to whatever logic
level you want - usually ground.  Just read in as many bits as you have in
the chain.


Dwayne Reid   <spamBeGonedwaynerEraseMEspamplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 17 years of Engineering Innovation (1984 - 2001)

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


In reply to: <3A67F6E2.6003.2351E0@localhost>
See also: www.piclist.com/techref/ios.htm?key=output
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Need 74HC165 with tristate output

month overview.

new search...