Using... SPI and shift registers to expand PIC outputs
- From: "Peter S. May" <psmay@xxxxxxxxxxxx>
- Date: Tue, 17 Jul 2007 14:47:31 -0400
I've now been able to read and mostly understand some material about
using SPI to interface with shift registers. ON Semiconductor's app
notes AND8144 and AND8148 seem to describe my application largely,
except in reverse (using parallel-ins for input instead of parallel-outs
for output). But I _still_ have questions...
At this point it's become more or less clear to me that the SPI
interface is the intuitive wiring job (data out to data in, clock out to
clock in). One of the app notes has a spiel about disambiguating the
low/high crossover point between chips by filtering the clock line with
74xx14 Schmitt triggers.
Now, I think I'm still going to do the smart thing and convert my whole
design to the more serially-oriented method (being a little harder to
program but a lot easier to wire), but I have to ask: Is this the gist
of the answer to de-noising the signal lines to the main board when said
lines get longer than a foot? If so, is there any reason it wouldn't
work with the parallel method (despite the pain of having to add a
Schmitt inverter to every line)?
Or is there some other reason that running serial lines is better?
Once everything's a little clearer in my head, I'd like to put together
a sample schematic and ask if anything's egregiously wrong with it.
There's a lot I can't get done without experimenting, but I can't
experiment without parts, and I can't order parts until I have some idea
what I'm doing...
Thanks, once again
PSM
.
- Follow-Ups:
- Re: Using... SPI and shift registers to expand PIC outputs
- From: Peter S. May
- Re: Using... SPI and shift registers to expand PIC outputs
- From: Rich Grise
- Re: Using... SPI and shift registers to expand PIC outputs
- References:
- Using 74xx574 D FF to expand PIC outputs
- From: Peter S. May
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Mike Silva
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Peter S. May
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Mike Silva
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Peter S. May
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Mike Silva
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Peter S. May
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Mike Silva
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Peter S. May
- Re: Using 74xx574 D FF to expand PIC outputs
- From: Mike Silva
- Using (various stuff) to expand PIC outputs
- From: Peter S. May
- Using 74xx574 D FF to expand PIC outputs
- Prev by Date: Re: Determine LC ring freq
- Next by Date: Re: electric meters
- Previous by thread: Using (various stuff) to expand PIC outputs
- Next by thread: Re: Using... SPI and shift registers to expand PIC outputs
- Index(es):
Relevant Pages
|