Electrical – Purpose of capacitor for MCU reset pin

capacitormicrocontrollerreset

I know why we need a pull-up resistor on the reset lines, but what is the reason for a capacitor parallel to the reset button?

I saw it on Texas Instrument's schematic for MSP430F5529 launchpad.

Reset line for MSP430F5529

Best Answer

It is for "debouncing" of the pushbutton. Virtually all pushbuttons, when pressed, do not make a single clean contact, but instead make several repeated contacts within a period of 10-50 ms. This would cause the microcontroller to begin to reset several times on each pushbutton press. The capacitor suppresses this.

For more information on debouncing, see this article.