One-Shot Timing Improves Microprocessor Reset Circuit

Oct. 28, 2002
Many microprocessor-based products require a manual-reset capability that allows the user, test technician, or external circuitry to reboot the system without a full power-down/power-up cycle. To simplify the necessary timing and system interface,...

Many microprocessor-based products require a manual-reset capability that allows the user, test technician, or external circuitry to reboot the system without a full power-down/power-up cycle. To simplify the necessary timing and system interface, many microprocessor-supervisory circuits include a manual-reset input that lets you reboot via a pushbutton switch or other digital-circuit output. Standard manual-reset functions keep the processor in reset as long as the —MR input is held low (t—MR), plus an additional timeout period (tRP) that commences after —MR is released or driven high (Fig. 1).

But some applications can't allow the microprocessor to be held in reset mode for long periods of time, like when a pushbutton is held closed or driver logic is locked low. Because the processor can't perform routine system maintenance while in reset, a prolonged reset can cause improper operation or data loss. For such applications, the system designer must provide an external input that resets the processor for only a fixed, limited interval.

A manual-reset function based on a monostable multivibrator (one-shot) can easily be added to several standard microprocessor-supervisory circuits (Fig. 2). The one-shot produces a single fixed-period timeout pulse each time the pushbutton is closed—independent of the closure duration (Fig. 3). For many applications, the circuit only needs an external capacitor (C1) connected between the pushbutton switch and manual-reset input, plus an external resistor (R1) connected as a pullup to zero the initial capacitor voltage. The microprocessor-supervisor's internal reset-timeout period supplies the one-shot timing.

To initiate a manual reset, ground the minus side of C1 by closing the pushbutton switch. Because the voltage across the capacitor (0 V) can't change instantly, the plus side of C1 is pulled toward ground as well. The resulting low VIL at —MR forces a manual reset, causing the MAX6384/MAX6386 to assert a low —RESET output.

While the pushbutton remains closed, the minus side of C1 remains at ground, and the plus side charges to VCC (through the —MR pullup resistor internal to most µp-reset circuits). The supervisor de-asserts its reset output only when the voltage at —MR exceeds VIH and the supervisor's internal reset period has elapsed. That timeout period also filters any short bounces during the switch closing.

When the pushbutton switch opens, the voltage at the minus side of C1 charges to VCC through the external pullup resistor R1. This action zeros the capacitor voltage and prepares for the next manual reset (C1− = C1+ = VCC). To prevent overvoltage at —MR with respect to VCC, C1+ should be clamped to VCC through a diode. (Without clamping, the C1+ voltage could approach 2 VCC.) The diode can be internal to the supervisor, as protection circuitry on the —MR input, or external as shown by D1 in Figure 2.

To ensure that the microprocessor-reset circuit recognizes the —MR event, C1's value should be large enough—with respect to the internal —MR pullup resistor—to hold the —MR input voltage below VIL for at least 1 µs. The R1 value should be small enough to zero the capacitor in time for the next manual reset and to minimize the effects of bounce when the switch is opened. The one-shot circuit can be driven by external logic instead of a pushbutton switch. In that case, the microprocessor will reboot after a short reset timeout, even if the external logic output remains low.

Sponsored Recommendations

Understanding Thermal Challenges in EV Charging Applications

March 28, 2024
As EVs emerge as the dominant mode of transportation, factors such as battery range and quicker charging rates will play pivotal roles in the global economy.

Board-Mount DC/DC Converters in Medical Applications

March 27, 2024
AC/DC or board-mount DC/DC converters provide power for medical devices. This article explains why isolation might be needed and which safety standards apply.

Use Rugged Multiband Antennas to Solve the Mobile Connectivity Challenge

March 27, 2024
Selecting and using antennas for mobile applications requires attention to electrical, mechanical, and environmental characteristics: TE modules can help.

Out-of-the-box Cellular and Wi-Fi connectivity with AWS IoT ExpressLink

March 27, 2024
This demo shows how to enroll LTE-M and Wi-Fi evaluation boards with AWS IoT Core, set up a Connected Health Solution as well as AWS AT commands and AWS IoT ExpressLink security...

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!