8-bit microcontroller with 1k bytes flash (77 pages)
Summary of Contents for Atmel C51
Page 1
External Brown-out Protection for C51 Microcontrollers with Active High Reset Input Features Microcontrollers • Low-voltage Detector • Prevents Register and EEPROM/Flash Corruption • One Discrete Solution Application • Integrated IC Solution • Low-power/Low-cost Solution Note • Formulas for Component Value Calculations •...
The memory will keep its present content for the duration of the Reset. chip Memory Corruption Without a Detector, random MCU activity such as described in the introduction may write an unknown value to any volatile on-chip memory location. C51 MCUs 4183A–80C51–11/02...
Without a Detector, random MCU activity could initialize an unintended write to the non- volatile memory. This may cause random corruption of the memory contents. Since the C51 MCU is capable of writing to its own program memory, the internal Flash Program memory contents could be affected by a power failure situation.
1 volt. Under these conditions, the Brown-out circuit must generate a valid RST signal. Output Transition Delay Output transition (propagation delay and slew rate) must be fast enough to stop the MCU before it causes memory corruption or unexpected behavior of peripherals. C51 MCUs 4183A–80C51–11/02...
Page 5
C51 MCUs Implementation A variety of Integrated Circuit (IC) solutions are available from different manufacturers. These solutions offer high accuracy at a low price, typically they guarantee the threshold voltage to be within ± 1%. Although the elementary three-pin fixed voltage detector is...
Page 6
High Component Count • Long Response Time against V (1) (2) Figure 2. Low-power Consumption Brown-out Detector OPTIONAL RESET SWITCH Optional OPTIONAL Reset Switch RESET SWITCH Crst C51 MCU 1µF C51 MCU Crst C51 MCU 1µF Rrst HWDT Rrst HWDT 1-5K 50-200K...
C51 MCUs Introduction The circuit shown in Figure 2 on page 6 benefits from low-power consumption, which makes it suitable for battery operated applications. Standard discrete components pro- vide a low cost design. The voltage transition on the RST pin is very steep. Combined with the large hysteresis, the accuracy is high.
Capacitors C1, C2 and C3 are decoupling capacitors to minimize noise sensitivity to both RF and 50/60 Hz fields. They can all be omitted, but the noise immunity greatly depends on the values selected. C51 MCUs 4183A–80C51–11/02...
C51 MCUs Threshold Accuracy Because the threshold voltage is defined mainly by R1 and R2, inaccuracies in these resistors directly influence the threshold voltage accuracy. It is recommended to choose these with ± 1% tolerance. Power Consumption The current consumption in normal operating mode (sufficiently high V ) is found by: ...
Page 11
A selection of integrated circuits is available from various semiconductor suppliers. They vary from simple 3-pin fixed voltage detectors to advanced circuitry containing Watch- dog Timers and Power-on Reset (POR) Time-outs. Because some C51 MCUs have built-in Watchdog and POR circuitry, these functions do not need to be handled by the external IC.
Solutions source currently supplies power to the circuit. Connecting this signal to an input pin, the C51 MCU can detect the event and execute a safe power-down sequence, switching off power hungry peripheral equipment (motor, display etc.) before entering Power-down mode.
C51 MCUs Hysteresis Hysteresis in the Low-voltage Detector might be implemented in the integrated circuit, or can be added with external circuitry (Figure 7). This prevents the detector from oscillat- ing when used in battery applications. Figure 7. Adding Hysteresis to Threshold Voltage...
Page 15
No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems.