TC1232 MICROPROCESSOR MONITOR FEATURES GENERAL DESCRIPTION The TC1232 is a fully-integrated processor supervisor. It provides three important functions to safeguard processor sanity: precision power on/off reset control, watchdog timer and external reset override. On power-up, the TC1232 holds the processor in the reset state for a minimum of 250msec after VCC is within tolerance to ensure a stable system start-up. Microprocessor sanity is monitored by the on-board watchdog circuit. The microprocessor must provide a periodic low-going signal on the ST input. Should the processor fail to supply this signal within the selected time-out period (150msec, 600msec or 1200msec), an out-of-control processor is indicated and the TC1232 issues a processor reset as a result. The outputs of the TC1232 are immediately driven active when the PB input is brought low by an external pushbutton switch or other electronic signal. When connected to a push-button switch, the TC1232 provides contact debounce. The TC1232 is packaged in a space-saving 8-pin plastic DIP or SOIC package and requires no external components. Precision Voltage Monitor ....................... Adjustable +4.5V or +4.75V Reset Pulse Width ............................. 250msec Min No External Components Adjustable Watchdog Timer ........................ 150msec, 600msec or 1.2sec Debounced Manual Reset Input for External Override APPLICATIONS Computers Controllers Intelligent Instruments Automotive Systems Critical P Power Monitoring ORDERING INFORMATION Part No. TC1232COA TC1232COE TC1232CPA TC1232EOA TC1232EOE TC1232EPA Package Temp. Range 8-Pin SOIC 16-Pin SOIC (Wide) 8-Pin PDIP 8-Pin SOIC 16-Pin SOIC (Wide) 8-Pin PDIP 0C to +70C 0C to +70C 0C to +70C - 40C to +85C - 40C to +85C - 40C to +85C FUNCTIONAL BLOCK DIAGRAM RST VCC TOL 5%/10% TOLERANCE SELECT + RESET GENERATOR - + RST REF PB RST TC1232 DEBOUNCE TD WATCHDOG TIMEBASE SELECT WATCHDOG TIMER ST GND (c) 2001 Microchip Technology Inc. DS21370A TC1232-5 7/22/98 MICROPROCESSOR MONITOR TC1232 ABSOLUTE MAXIMUM RATINGS* *Stresses beyond those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Voltage on Any Pin (With Respect to GND) - 0.3V to +5.8V Operating Temperature Range: TC1232C .......................................... 0C to +70C TC1232E ..................................... - 40C to + 85C Storage Temperature Range ................ - 65C to +150C Lead Temperature (Soldering, 10 sec) ................. +300C DC ELECTRICAL CHARACTERISTICS: TA = TMIN to TMAX; VCC = +4.5V to 5.5V, unless otherwise specified. Symbol Parameter VCC VIH Supply Voltage ST and PB RST Input High Level ST and PB RST Input Low Level Input Leakage ST, TOL Output Current RST Current RST, RST Operating Current VCC 5% Trip Point (Note 3) VCC 10% Trip Point (Note 3) VIL IL IOH IOL ICC VCCTP VCCTP Test Conditions Min Typ Max Unit 4.5 2.0 5.0 -- 5.5 VCC +0.3 V V - 0.3 -- +0.8 V VOH = 2.4V VOL = 0.4V Note 2 TOL = GND TOL = VCC - 1.0 - 1.0 2.0 -- 4.50 4.25 -- -12 10 50 4.62 4.37 +1.0 -- -- 200 4.74 4.49 A mA mA A V V Test Conditions Min Typ Max Units -- -- -- -- 5 7 pF pF Note 1 CAPACITANCE (Note 4): TA = +25C Symbol Parameters CIN COUT Input Capacitance ST, TOL Output Capacitance RST, RST AC ELECTRICAL CHARACTERISTICS: TA = TMIN to TMAX; VCC = +5V to +10%, unless otherwise specified. Symbol Parameters Test Conditions Min Typ Max Units tPB tPBD tRST tST tTD PB RST (Note 5) PB RST Delay Reset Active Time ST Pulse Width ST Time-out Period Figure 3 Figure 3 20 1 250 20 -- 4 610 -- -- 20 1000 -- msec msec msec nsec 62.5 250 500 10 150 600 1200 -- 250 1000 2000 -- msec msec msec sec tF TC1232-5 VCC Fall Time (Note 4) 7/22/98 Figure 4 Figure 4 TD Pin = 0V TD Pin = Open TD Pin = VCC Figure 5 2 (c) 2001 Microchip Technology Inc. DS21370A MICROPROCESSOR MONITOR TC1232 AC ELECTRICAL CHARACTERISTICS: (Cont.) TA = TMIN to TMAX; VCC = +5V to +10%, unless otherwise specified. Symbol Parameter Test Conditions tR tRPD VCC Rise Time (Note 4) VCC Detect to RST High and RST Low VCC Detect to RST High and RST Open (Note 6) tRPU NOTES: 1. 2. 3. 4. 5. 6. Min Typ Max Units Figure 6 Figure 7, VCC Falling 0 -- -- -- -- 100 sec nsec Figure 8, VCC Rising 250 610 1000 msec PB RST is internally pulled up to VCC with an internal impedance of typically 40k. Measured with outputs open. All voltages referenced to GND. Guaranteed by design. PB RST must be held low for a minimum of 20msec to guarantee a reset. tR = 5sec. PIN CONFIGURATIONS PB RST TD TOL 8 1 2 3 GND 16-Pin SOIC Wide 8-Pin SOIC 8-Pin PDIP TC1232CPA TC1232EPA 4 VCC 7 ST 6 RST 5 RST PB RST 1 TD 2 TOL 3 GND 4 VCC NC 1 16 NC 7 ST PB RST 2 15 VCC RST NC 3 14 NC 6 TD 4 13 ST 5 RST 8 TC1232COA TC1232EOA NC 5 TOL 6 NC 7 10 NC GND 8 9 RST TC1232COE TC1232EOE 12 NC 11 RST PIN DESCRIPTION Pin No. Pin No. Pin No. (8-Pin PDIP) (8-Pin SOIC) (16-Pin SOIC) Symbol Description 1 1 2 2 2 4 3 3 6 4 5 4 5 8 9 6 7 8 6 7 8 11 13 15 1, 3, 5, 7, 10, 12, 14, 16 (c) 2001 Microchip Technology Inc. DS21370A PB RST Push-button Reset Input. A debounced active-low input that ignores pulses less than 1msec in duration and is guaranteed to recognize inputs of 20msec or greater. TD Time Delay Set. The watchdog time-out select input (tTD = 150msec for TD = 0V, tTD = 600msec for TD = open, tTD = 1.2sec for TD = VCC). TOL Tolerance Input. Connect to GND for 5% tolerance or to VCC for 10% tolerance. GND Ground. RST Reset Output (Active High) - goes active: 1. If VCC falls below the selected reset voltage threshold 2. If PB RST is forced low 3. If ST is not strobed within the minimum time-out period 4. During power-up RST Reset Output (Active Low, Open Drain) - see RST. ST Strobe Input. Input for watchdog timer. VCC The +5V Power-Supply Input. NC No Internal Connection. 3 TC1232-5 7/22/98 MICROPROCESSOR MONITOR TC1232 the foreground mode and set it low while in the background or interrupt mode. If both modes do not execute correctly, the watchdog timer issues reset pulses. DETAILED DESCRIPTION Power Monitor The TC1232 detects out-of-tolerance power supply conditions and warns a processor-based system of an impending power failure. When VCC is detected as below the preset level defined by TOL, the VCC comparator outputs the signals RST and RST. If TOL is connected to ground, the RST and RST signals become active as VCC falls below 4.75 volts. If TOL is connected to VCC, the RST and RST become active as VCC falls below 4.5 volts. Because the processing is stopped at the last possible moment of valid VCC, the RST and RST are excellent control signals for a P. The reset outputs will remain in their active states until VCC has been continuously in-tolerance for a minimum of 250msec allowing the power supply and P to stabilize before RST is released. Supply Monitor Noise Sensitivity The TC1232 is optimized for fast response to negativegoing changes in VDD. Systems with an inordinate amount of electrical noise on VDD (such as systems using relays), may require a 0.01F or 0.1F bypass capacitor to reduce detection sensitivity. This capacitor should be installed as close to the TC1232 as possible to keep the capacitor lead length short. +5V VCC Push-button Reset Input TD ST PB RST The debounced manual reset input (PB RST) manually forces the reset outputs into their active states. Once PB RST has been low for a time tPBD, the push-button delay time, the reset outputs go active. The reset outputs remain in their active states for a minimum of 250msec after PB RST rises above VIH (Figure 3). A mechanical push-button or active logic signal can drive the PB RST input. The debounced input ignores input pulses less than 1msec and is guaranteed to recognize pulses of 20msec or greater. No external pull-up resistor is required because the PB RST input has an internal pull-up to VCC of approximately 100A. I/O MICROPROCESSOR RST RESET TC1232 GND TOL Figure 1. Push-button Reset Watchdog Timer When the ST input is not stimulated for a preset time period, the watchdog timer function forces RST and RST signals to the active state. The preset time period is determined by the TD inputs to be 150msec with TD connected to ground, 600msec with TD floating, or 1200msec with TD connected to VCC, typical. The watchdog timer starts timing out from the set time period as soon as RST and RST are inactive. If a high-to-low transition occurs on the ST input pin prior to time-out, the watchdog timer is reset and begins to time-out again. If the watchdog timer is allowed to time-out, then the RST and RST signals are driven to the active state for 250msec minimum (Figure 2). The software routine that strobes ST is critical. The code must be in a section of software that is executed frequently enough so the time between toggles is less than the watchdog time-out period. One common technique controls the P I/O line from two sections of the program. The software might set the I/O line high while operating in TC1232-5 7/22/98 +5V 10K 3 -TERMINAL REGULATOR +5V VCC 0.1 F RST RESET MICROPROCESSOR TC1232 ST TD I/O TOL GND Figure 2. Watchdog Timer 4 (c) 2001 Microchip Technology Inc. DS21370A MICROPROCESSOR MONITOR TC1232 tPB tF tPBD PB RST VCC VIH VIL +4.75V tRST +4.25V RST RST Figure 5. Power-Down Slew Rate Figure 3. Push-button Reset. The debounced PB RST input ignores input pulses less than 1msec and is guaranteed to recognize pulses of 20msec or greater PUSH-BUTTON RESET tST ST tR tTD NOTE: +4.75V tTD IS THE MAXIMUM ELAPSED TIME BETWEEN ST HIGH-TO-LOW TRANSITIONS (ST IS ACTIVATED BY FALLING EDGES ONLY) WHICH WILL KEEP THE WATCHDOG TIMER FROM FORCING THE RESET OUTPUTS ACTIVE FOR A TIME OF tRST. tTD IS A FUNCTION OF THE VOLTAGE AT THE TD PIN, AS TABULATED BELOW. CONDITON MIN tTD TYP MAX TD PIN = 0V TD PIN = OPEN TD PIN = VCC 62.5msec 250msec 500msec 150msec 600msec 1200msec 250msec 1000msec 2000msec +4.25V VCC Figure 4. Strobe Input (c) 2001 Microchip Technology Inc. DS21370A Figure 6. Power-Up Slew Rate 5 TC1232-5 7/22/98 MICROPROCESSOR MONITOR TC1232 VCC = 5V +4.5V (5% TRIP POINT) 4.6V (5% TRIP POINT) +4.25V (10% TRIP POINT) 4.5V(10% TRIP POINT) VCC tRPD tRPU RST RST VOH VOH VOL RST VOL RST VCC SLEW RATE = 1.66mV/sec (0.5V/300sec) Figure 8. VCC Detect Reset Output Delay (Power-Up) Figure 7. VCC Detect Reset Output Delay (Power-Down) PACKAGE DIMENSIONS 8-Pin Plastic DIP PIN 1 .260 (6.60) .240 (6.10) .045 (1.14) .030 (0.76) .070 (1.78) .040 (1.02) .310 (7.87) .290 (7.37) .400 (10.16) .348 (8.84) .200 (5.08) .140 (3.56) .040 (1.02) .020 (0.51) .150 (3.81) .115 (2.92) .110 (2.79) .090 (2.29) .015 (0.38) .008 (0.20) 3 MIN. .400 (10.16) .310 (7.87) .022 (0.56) .015 (0.38) Dimensions: inches (mm) TC1232-5 7/22/98 6 (c) 2001 Microchip Technology Inc. DS21370A MICROPROCESSOR MONITOR TC1232 PACKAGE DIMENSIONS (CONT.) 8-Pin SOIC .157 (3.99) .150 (3.81) .244 (6.20) .228 (5.79) .050 (1.27) TYP. .197 (5.00) .189 (4.80) .069 (1.75) .053 (1.35) .010 (0.25) .007 (0.18) 8 MAX. .020 (0.51) .010 (0.25) .013 (0.33) .004 (0.10) .050 (1.27) .016 (0.40) 16-Pin SOIC (Wide) PIN 1 .299 (7.59) .419 (10.65) .291 (7.40) .398 (10.10) .413 (10.49) .398 (10.10) .104 (2.64) .097 (2.46) .050 (1.27) TYP. .019 (0.48) .014 (0.36) (c) 2001 Microchip Technology Inc. DS21370A 8 MAX. .012 (0.30) .004 (0.10) .013 (0.33) .009 (0.23) .050 (1.27) .016 (0.40) 7 Dimensions: inches (mm) TC1232-5 7/22/98 MICROPROCESSOR MONITOR TC1232 WORLDWIDE SALES AND SERVICE AMERICAS New York Corporate Office 150 Motor Parkway, Suite 202 Hauppauge, NY 11788 Tel: 631-273-5305 Fax: 631-273-5335 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: http://www.microchip.com Rocky Mountain 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7966 Fax: 480-792-7456 ASIA/PACIFIC (continued) San Jose Microchip Technology Inc. 2107 North First Street, Suite 590 San Jose, CA 95131 Tel: 408-436-7950 Fax: 408-436-7955 Singapore Microchip Technology Singapore Pte Ltd. 200 Middle Road #07-02 Prime Centre Singapore, 188980 Tel: 65-334-8870 Fax: 65-334-8850 Taiwan Atlanta 6285 Northam Drive, Suite 108 Mississauga, Ontario L4V 1X5, Canada Tel: 905-673-0699 Fax: 905-673-6509 500 Sugar Mill Road, Suite 200B Atlanta, GA 30350 Tel: 770-640-0034 Fax: 770-640-0307 Microchip Technology Taiwan 11F-3, No. 207 Tung Hua North Road Taipei, 105, Taiwan Tel: 886-2-2717-7175 Fax: 886-2-2545-0139 ASIA/PACIFIC Austin EUROPE China - Beijing Australia Analog Product Sales 8303 MoPac Expressway North Suite A-201 Austin, TX 78759 Tel: 512-345-2030 Fax: 512-345-6085 Boston 2 Lan Drive, Suite 120 Westford, MA 01886 Tel: 978-692-3848 Fax: 978-692-3821 Boston Analog Product Sales Unit A-8-1 Millbrook Tarry Condominium 97 Lowell Road Concord, MA 01742 Tel: 978-371-6400 Fax: 978-371-0050 Toronto Microchip Technology Beijing Office Unit 915 New China Hong Kong Manhattan Bldg. No. 6 Chaoyangmen Beidajie Beijing, 100027, No. China Tel: 86-10-85282100 Fax: 86-10-85282104 China - Shanghai Microchip Technology Shanghai Office Room 701, Bldg. B Far East International Plaza No. 317 Xian Xia Road Shanghai, 200051 Tel: 86-21-6275-5700 Fax: 86-21-6275-5060 Hong Kong 333 Pierce Road, Suite 180 Itasca, IL 60143 Tel: 630-285-0071 Fax: 630-285-0075 Microchip Asia Pacific RM 2101, Tower 2, Metroplaza 223 Hing Fong Road Kwai Fong, N.T., Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 Dallas India 4570 Westgrove Drive, Suite 160 Addison, TX 75001 Tel: 972-818-7423 Fax: 972-818-2924 Two Prestige Place, Suite 130 Miamisburg, OH 45342 Tel: 937-291-1654 Fax: 937-291-9175 Microchip Technology Inc. India Liaison Office Divyasree Chambers 1 Floor, Wing A (A3/A4) No. 11, OiShaugnessey Road Bangalore, 560 025, India Tel: 91-80-2290061 Fax: 91-80-2290062 Detroit Japan Chicago Dayton Tri-Atria Office Building 32255 Northwestern Highway, Suite 190 Farmington Hills, MI 48334 Tel: 248-538-2250 Fax: 248-538-2260 Los Angeles 18201 Von Karman, Suite 1090 Irvine, CA 92612 Tel: 949-263-1888 Fax: 949-263-1338 Mountain View Analog Product Sales 1300 Terra Bella Avenue Mountain View, CA 94043-1836 Tel: 650-968-9241 Fax: 650-967-1590 Microchip Technology Intl. Inc. Benex S-1 6F 3-18-20, Shinyokohama Kohoku-Ku, Yokohama-shi Kanagawa, 222-0033, Japan Tel: 81-45-471- 6166 Fax: 81-45-471-6122 Korea Microchip Technology Korea 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea Tel: 82-2-554-7200 Fax: 82-2-558-5934 All rights reserved. (c) 2001 Microchip Technology Incorporated. Printed in the USA. 1/01 Microchip Technology Australia Pty Ltd Suite 22, 41 Rawson Street Epping 2121, NSW Australia Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 Denmark Microchip Technology Denmark ApS Regus Business Centre Lautrup hoj 1-3 Ballerup DK-2750 Denmark Tel: 45 4420 9895 Fax: 45 4420 9910 France Arizona Microchip Technology SARL Parc diActivite du Moulin de Massy 43 Rue du Saule Trapu Batiment A - ler Etage 91300 Massy, France Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany Arizona Microchip Technology GmbH Gustav-Heinemann Ring 125 D-81739 Munich, Germany Tel: 49-89-627-144 0 Fax: 49-89-627-144-44 Germany Analog Product Sales Lochhamer Strasse 13 D-82152 Martinsried, Germany Tel: 49-89-895650-0 Fax: 49-89-895650-22 Italy Arizona Microchip Technology SRL Centro Direzionale Colleoni Palazzo Taurus 1 V. Le Colleoni 1 20041 Agrate Brianza Milan, Italy Tel: 39-039-65791-1 Fax: 39-039-6899883 United Kingdom Arizona Microchip Technology Ltd. 505 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG41 5TU Tel: 44 118 921 5869 Fax: 44-118 921-5820 Printed on recycled paper. 01/09/01 Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchipis products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, except as maybe explicitly expressed herein, under any intellectual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights reserved. All other trademarks mentioned herein are the property of their respective companies. TC1232-5 7/22/98 8 (c) 2001 Microchip Technology Inc. DS21370A