4
\$\begingroup\$

I am studying for my digital electronics final and one of the major topics is flip flop counters. I need to know how to get the asynchronous counter to preset to 2 before counting to 10. I know how to make it reset (With some well placed NAND gates), but I cant figure out how to get the counter to preset to 2 after reseting. Any help would be much appreciated. Thanks!

\$\endgroup\$
  • \$\begingroup\$ are you building your FF's out of discrete gates? \$\endgroup\$ – JustJeff Jun 9 '10 at 21:19
  • \$\begingroup\$ No I am using just JK ICs. \$\endgroup\$ – Hristos Jun 9 '10 at 21:37
  • \$\begingroup\$ are you saying you want it to count from 2 to 10, and then roll over back to 2? \$\endgroup\$ – vicatcu Jun 10 '10 at 2:43
  • \$\begingroup\$ Exactly Vicatcu \$\endgroup\$ – Hristos Jun 10 '10 at 10:39
4
\$\begingroup\$

Common JK flip flops, such as the 7476 have both preset and clear inputs. These force the state of the FF asynchronously, i.e., without waiting for a clock edge. You can use a simple R-C circuit and a schmitt trigger buffer (or inverter) to give you a short (e.g., 50usec) active-low pulse at circuit power on, and feed this signal to the 'preset' inputs of the FF's that should start at '1', and to the 'clear' inputs of the FF's that need to start at 0. (The unused preset or clear of each FF should be pulled up to prevent erratic operation.) The spec sheet for the particular part will tell you how short this pulse can be made.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.