This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SN74LVC1G74: one button control 2 LED as increase circuits

Part Number: SN74LVC1G74
Other Parts Discussed in Thread: SN74HCS74, SN74LVC2G32, SN74LVC1G97

I saw SN74LVC1G74 can support the power button function as shown in Figure 9-1 in the datasheet.

The circuit is one button that controls one output logic state.

My function needs to support one button input to control 2 outputs' logic states to switch my PCB JTAG access path.

When I press the button once, logic-1 turn to a high state / logic-2 keeps a low state.

When I press secondary time, logic-1 keeps the state in a high state/ logic-2 needs to switch to the high state.

If I press the third time, logic-1 / logic-2 needs to return to the low state.

Also, the power on default is kept low state for both.

  • Build a two-bit counter with flip-flops. Reset it on power up or when it reaches the fourth state. Use an OR gate to create the logic-1 output from the 01 or 10 state.

    The flip-flop and the AND gate need Schmitt-trigger inputs, so use SN74HCS74 and SN74LVC1G97. Use any OR gates like the SN74LVC2G32.