Go Down

Topic: shiftOut not very efficient (Read 6061 times) previous topic - next topic

pYro_65

Quote
Its amazing the hoops you guys will jump thru to avoid using 1 external logic chip!
Even when it can save you IO pins.


I'm very new to the world of digital electronics so I have no clue what that circuit is supposed to do. Is it a replacement for shift registers or a way of controlling some?

CrossRoads

Its a way to select which of the WS2801 strings see the SPI clock.
High on one of the ADx lines lets the logic gate output follow the SPI clock.

So set D19 high and D18-17-16 low, and SCK4 will be active.
Set D18 high and D19017-16 low, and SCK3 will be active.

And at SPI speeds, 1/2/4 MHz clocking.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up