[sdiy] 4027 flip-flop weirdness
Karl Ekdahl
elektrodwarf at yahoo.se
Tue Mar 10 14:49:50 CET 2009
> 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.
I tried the above and put a scope on the Q output of the IC. Here's the interesting thing; it didn't do anything until i probed the CP input with another scope probe - apparently it needed some capacitance in the tens of pF-range using the LFO i tried it with. This doesn't really make any sense to me but maybe it does to someone else.
So, tried it with a very extreme debouncing circuit; 20K input resistance to a 10uF cap with a 1M to ground. One scope probe on the Q output and one probe on the CP input. Here i could see the charge/discharge curve and basically the Q output just reflected the input of CP - when CP goes HIGH, so does Q, when CP goes LOW, Q will follow.
I've checked my power lines for both HF and LF oscillation but found nothing, i've put a few caps on but to no avail.
The parts i'm using are CD4027 from All Electronics, they're supposed to be new but frankly they look kinda old.. (not like pulls but NOS) i've never bought logic chips from them before, perhaps it was a bad idea.
Karl
>
> -- 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.
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy
>
__________________________________________________________
Går det långsamt? Skaffa dig en snabbare bredbandsuppkoppling.
Sök och jämför priser hos Kelkoo.
http://www.kelkoo.se/c-100015813-bredband.html?partnerId=96914325
More information about the Synth-diy
mailing list