Electronic – Use or remove reset capacitor

atmegaatmelmicrocontroller

I am currently connecting an AVR ATXmega 16A4U in my circuit. According to AVR (http://www.atmel.com/Images/doc8278.pdf, p6) the external reset circuit should look like

schematic

simulate this circuit – Schematic created using CircuitLab
But I want to use the RESET/PDI_CLK-Pin also for programming. For this case AVR suggests to remove all capacitance from the reset line.
What should I omit now: The capacitor, or should I risk getting a smeared CLK-signal while programming the µC?

Best Answer

You would omit the 100nF capacitor when you want to support the programming mode. In this case it is recommended that you add an additional external reset supervisor chip to your design. The reset supervisor that you select should be one with an open drain output. Depending upon which supervisor chip that you select the capacitor and reset button would be connected into the input side of the supervisor.

This provides the isolation needed to allow the programming function to operate reliably but still allows your board to get a clean reset signal over to the MCU in case of power up or switch press.