Author Topic: Cascaded shiftregisters VS separate slave-slelect  (Read 938 times)

0 Members and 1 Guest are viewing this topic.

Offline suku

  • Contributor
  • Posts: 43
  • Country: hu
Cascaded shiftregisters VS separate slave-slelect
« on: October 06, 2016, 11:25:25 am »
I'm designing a circuit with simple I/O extension using 74 series shiftregisters connected to the micro via SPI. Is it better to cascade them and pull all the data in at once, or to give them all their separate slave select (GATE) signals and only shift in the particular data that I'm interested in?
(I know both of them have advantages and disadvantages, I guess my question is which technique is more common?)
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 19839
  • Country: nl
    • NCT Developments
Re: Cascaded shiftregisters VS separate slave-slelect
« Reply #1 on: October 06, 2016, 11:44:03 am »
I always cascade them because slave select lines tend to be long and thus inconvenient to route on a board.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 11662
  • Country: us
  • DavidH
Re: Cascaded shiftregisters VS separate slave-slelect
« Reply #2 on: October 06, 2016, 08:49:28 pm »
Which way is better just depends on layout and design considerations.  If you have a lot of shift registers in series, then eventually you can exceed the fanout of the clock, chip select, and latch signals.  You may want to read separate shift register strings in parallel for extra speed.  Or maybe you want a separate set of shift registers for galvanically isolation, low noise, or time critical I/O.
 

Online Ian.M

  • Super Contributor
  • ***
  • Posts: 9043
Re: Cascaded shiftregisters VS separate slave-slelect
« Reply #3 on: October 06, 2016, 09:34:35 pm »
Daisy-chain (cascade) them in meaningful groups.  I am not aware of any 74xx series PISO shift registers with tristatable or open collector/drain shift out pins so you will need extra logic to parallel them.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf