Gast
#3384656
Hallo Community Für mein aktuelles Projekt benötige ich eine Porterweiterung für meinen Atmega. Im Internet wurde ich dessen auch auf Grundlage des 74HC595 fündig. Da ich den HC595 aber nicht zur Hand habe und auch nicht extra eine Bestellung für 2stk aufgeben möchte habe ich in meiner Kramkiste noch mehrere SN74LS166 gefunden. Im Datenblatt steht: The shift/load input establishes the parallel-in or serial-in mode. When high, this input enables the serial data input and couples the eight flip-flops for serial shifting with each clock pulse. Synchronous loading occurs on the next clock pulse when this is low and the parallel data inputs are enabled. Serial data flow is inhibited during parallel loading Sehe ich das richtig, dass ich den Shift/Load pin auf VCC legen muss um das Schieberegister mit SPI anzusteuern ? Wenn ja wäre die Kommunikation mit dem IC ja fast identisch wie mit dem HC595?! Ich danke euch schonmal im Vorraus. LG. 2k4