Question concerning the 74HC165 parallel-to-serial shift register...ANSWERED/CL
davejames
Posts: 4,047
Hi All,
I'm a bit confused whether the 74HC165 parallel-to-serial shift register (Parallax #602-00010) requires "the first data bit ready before the first clock pulse (PRE) or after the first clock pulse (POST)".
I can't find anything written in the 165's data sheet, and the timing diagrams are so cluttered that my eyes imploded.
Anybody know?
Thanks much,
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (davejames) : 3/6/2010 4:27:57 PM GMT
I'm a bit confused whether the 74HC165 parallel-to-serial shift register (Parallax #602-00010) requires "the first data bit ready before the first clock pulse (PRE) or after the first clock pulse (POST)".
I can't find anything written in the 165's data sheet, and the timing diagrams are so cluttered that my eyes imploded.
Anybody know?
Thanks much,
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (davejames) : 3/6/2010 4:27:57 PM GMT
Comments
http://www.nxp.com/documents/data_sheet/74HC_HCT165.pdf
Example code for both the 74HC595 and the 74HC165 can be found on the Stamp Works product page. You can even download the manual for free and it completely explains the operation. I hope this helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
·
I'm calling this request closed.
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Utilized the Stamp Works example suggested by Mr. Savage, and, after wiring things correctly (duh!), I'm able to shift in 8 bits of data and display them in the debug window.
Woo-hoo!
DJ
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔