# When does the reset on a 74HC164 Shift Register occur?

I don't have a 74HC164 on hand to try and I'm not 100% sure from reading the datasheet.

If for example I've got a bunch of LEDs lit up from the outputs of the 164 and I pull the reset pin LOW will

A) all the outputs be immediately set to LOW as soon as I pull the reset pin low

or

B) all the outputs will keep their current state until the next clock pulse when all the outputs will be pulled low.

I'm waiting on some of these to arrive in the mail to experiment with but would love to be able to get my schematics in order while I wait. Thank you!

New contributor
Michael Cardoza is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
• Link the datasheet? This is the difference between a "synchronous" reset (wait for clock) versus "asynchronous" (immediately) – pjc50 May 21 at 18:29
• datasheet.lcsc.com/szlcsc/Nexperia-74HC164D-653_C6825.pdf The data sheet says asynchronous but I was unsure what that meant. Thank you this clears things up! – Michael Cardoza May 21 at 18:42
• @TonyStewartSunnyskyguyEE75 Sets and resets are always Async. except when they're not, for instance the difference between a 161 and a 163. Perhaps you need to qualify 'always'. – Neil_UK May 23 at 3:50

Synchronous timings are associated with a clock and in general asynchronous timings are not. (This can get confusing in terms of asynchronous events that are then aligned to a clock but that is not the case here).

Looking at the timing diagram:

You can see that the firstclear event ensures the outputs are all low aligned with the falling edge of $$\ \overline {CLR}\$$.

Had this been a synchronous clear, then at the second event the outputs would have been taken low aligned with the clock (the blue line), but they are taken low (as before) when aligned with the falling edge of $$\ \overline {CLR}\$$

So the outputs will go low in response to the falling edge of clear and the clock has no effect on this.

Asynchronous

From the data sheet

A LOW on the master reset input (MR) clears the register and forces all outputs LOW, independently of other inputs.

Asynchronous master reset

• It would be helpful if you defined asynchronous vs synchronous in this context. Not defining "asynchronous" is answering his first question with his second question: "what is asynchronous?". He actually got his answer from @pjc50's comment under the question, because @ pjc50 defined asynchronous vs synchronous. – Gabriel Staples May 22 at 19:59