[sdiy] 4027 flip-flop weirdness

Scott Gravenhorst music.maker at gte.net
Mon Mar 9 18:36:20 CET 2009


Karl Ekdahl <elektrodwarf at yahoo.se> wrote:
>
>Hi list, i have a strange problem; i can't get a 4027 flip-flop 
>to behave like a flip-flop. I've got J & K high, SD & CD low, and 
>i feed CP with a debounced positive-going signal. All i get is a 
>high Q while CP is high, and then a low Q as soon as CP goes low. 
>Am i missing something here? I've tried several ICs with no luck 
>BUT i do have a version i did a week or two ago that works like a 
>charm. I also tried decoupling my power-rails but to no avail... 
>


Are you _100%_ sure that your clock is really debounced?  Is it slewing
fast enough when it changes state?  

What I would do - use a nice square wave oscillator with an output that
conforms to the logic standard to drive your clock input.  Then watch
the Q output with a scope, it should be exactly 1/2 the frequency of
the input clock.  If that works, then the flip flop is toggling and
your debounce needs work.  

-- ScottG
________________________________________________________________________
-- Scott Gravenhorst
-- FPGA MIDI Synthesizer Information: home1.gte.net/res0658s/FPGA_synth/
-- FatMan: home1.gte.net/res0658s/fatman/
-- NonFatMan: home1.gte.net/res0658s/electronics/
-- When the going gets tough, the tough use the command line.




More information about the Synth-diy mailing list