Hi Tymm, <div><br></div><div>Thanks so much for the detailed input!</div><div><br></div><div>Yeah it seems like the 74AHC595 from NXP responds to a VinH of 2.1v at 3v supply voltage for a ratio of 0.7. If I apply that ratio to 4.2v I get a VinH of 2.94v which ought to work when I throw 3.3v at it. Provided of course my supply is stable enough... More caps!</div>
<div><br></div><div>=]<br clear="all">--<br>Anders Nelson<br><br>+1 (517) 775-6129<br><br><a href="http://www.erogear.com">www.erogear.com</a><br>
<br><br><div class="gmail_quote">On Wed, Jun 20, 2012 at 1:24 PM, Tymm Twillman <span dir="ltr"><<a href="mailto:tymmothy@gmail.com" target="_blank">tymmothy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In similar situations I've generally thrown a cheap npn transistor on<br>
the uC outputs & switched that with the GPIO.  Tristating should be<br>
relatively ok, but the npn transistor will generally give you more<br>
current -> faster transitions (dumping the charge on the fet's gate<br>
more quickly).  Hmm; at 250ns... if things have to actually switch<br>
that quickly you may have issues getting enough charge through the<br>
pull-up resistor on the fet's gate to turn it off in time.  if it's<br>
really important to meet timing, you'll want to calculate the<br>
worst-case timing based on the capacitance of the fet's gate, the gate<br>
threshold voltage and the resistance to the high rail... capacitance<br>
is much higher generally with larger fets<br>
<br>
Tristating, depending on the microcontroller, should be plenty fast on<br>
the control side of things if you are able to set all the pins on the<br>
port at once and can pre-compute the new values... though there's<br>
still potentially the above fet switching issue... also with almost<br>
any uC you'll be limited to somewhere 40ma or less, which may also<br>
extend the fet switching time.<br>
<br>
There are assorted serial interfaced driver chips that one can use,<br>
using fets or bipolar outputs... tpic6b595 and others... though<br>
they'll generally be quite a bit more expensive than driving via gpio.<br>
<br>
other approach would be to run e.g. a non-open-collector 74hc or<br>
similar shift register at 4.2v -- worth checking data sheets but in<br>
most cases your 3.3v signaling should work fine as an input, and the<br>
full swing on the output can help switch the fets more quickly.<br>
74ac's will also give more drive current, which can also help speed<br>
switching times.<br>
<div><div class="h5"><br>
On Wed, Jun 20, 2012 at 12:57 PM, Anders Nelson<br>
<<a href="mailto:anders.k.nelson@gmail.com">anders.k.nelson@gmail.com</a>> wrote:<br>
> Heyoo,<br>
><br>
> I've become rather exasperated in my search for an 8-bit serial-parallel<br>
> shift register with open collector outputs. See, I'm trying to switch the<br>
> gates of some P-FETs that act as high-side current switches for the rows in<br>
> a scanned LED matrix. The LED bus voltage is 4.2v and all the ICs run on<br>
> 3.3v.<br>
><br>
> I found the SN74LS596, but it's an ancient part that is not only enormous<br>
> but runs at 4.5v-5.5v which won't work in my system.<br>
><br>
> I could use a microcontroller and just toggle the tri-state status of the<br>
> pins but I worry about how fast the device will respond - It will have to<br>
> blast out the I/O change within a blanking cycle lasting 250ns. That<br>
> requires between 4 and 8 MIPS which is not too powerful but this is a<br>
> low-cost product. =/<br>
><br>
> Any suggestions are most appreciated!<br>
> --<br>
> Anders Nelson<br>
><br>
> +1 (517) 775-6129<br>
><br>
> <a href="http://www.erogear.com" target="_blank">www.erogear.com</a><br>
><br>
><br>
</div></div>> ----------<br>
><br>
> dorkbot: people doing strange things with electricity<br>
> <a href="http://dorkbot.org/dorkbotsf/" target="_blank">http://dorkbot.org/dorkbotsf/</a><br>
> SUBSCRIPTION AND UNSUBSCRIBE OPTIONS HERE:<br>
> <a href="http://music.columbia.edu/mailman/listinfo/dorkbotsf-blabber" target="_blank">http://music.columbia.edu/mailman/listinfo/dorkbotsf-blabber</a><br>
><br>
> ----------<br>
</blockquote></div><br></div>