electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
Streaming now
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Shift registers as Johnson counters and 4094 serial out
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
okelk



Joined: May 08, 2014
Posts: 71
Location: Vienna

PostPosted: Mon May 25, 2015 4:02 pm    Post subject: Shift registers as Johnson counters and 4094 serial out Reply with quote  Mark this post and the followings unread

I've been playing with 4094 shift registers configured as Johnson counters to get odd divisions with equal pulse width. (parallel output > inverter > data input).

There are some things I didn't understand so far.
What is the difference between the 8th parallel bit (QP7 in my datasheet) And the serial output QS?

Also what is QS2 good for?
Back to top
View user's profile Send private message
Steveg



Joined: Apr 23, 2015
Posts: 184
Location: Perth, Australia

PostPosted: Mon May 25, 2015 5:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi okelk,

I'm looking at the intersil data sheet: http://www.intersil.com/content/dam/Intersil/documents/cd40/cd4094bms.pdf

The 4094 is a pretty complex shift register with a lot going on under the hood.
Intersil QS (pin 9) is the same as the 8th stage of the shift register and could be used to chain multiple 4094s together.
Intersil Q'S (pin 10) is the same as QS but is made available on the falling edge of the clock pulse in case your timing needs that.
To get Intersil Q8 (pin 11) to show the same as QS you have to move the current state of the shift register into the latch by triggering STROBE (pin 1) and set OUTPUT ENABLE (pin 15) high.

In it's original application the chip would be clocked by the serial data clock into the shift register without disturbing the parallel out while using QS or Q'S to chain registers.
When the last bit was clocked in STROBE would be set high to latch the contents. This made the shift register available to immediately start clocking the next serial word without any pause.
At its leisure the CPU could activate OUTPUT ENABLE to grab the contents of the latch. As long as the CPU guaranteed to grab the data before the next word had been clocked in the two parts could run at different clock rates without loss of data.
Back to top
View user's profile Send private message
okelk



Joined: May 08, 2014
Posts: 71
Location: Vienna

PostPosted: Tue May 26, 2015 3:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Steveg!

I read the datasheet before, but thanks to your explanation I finally understand it.

For my application ( and probably for most lunettta stuff ) I just connected strobe and output enable to VDD
Back to top
View user's profile Send private message
Steveg



Joined: Apr 23, 2015
Posts: 184
Location: Perth, Australia

PostPosted: Tue May 26, 2015 5:34 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm pretty sure that will work!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use