| Electronic Components Datasheet Search |
|
ST2204 Datasheet(PDF) 20 Page - Sitronix Technology Co., Ltd. |
|
|
|||||||||||||||||||||||||||||
ST2204 Datasheet(HTML) 20 Page - Sitronix Technology Co., Ltd. |
|
20 / 24 page ![]() ST2204 Ver 0.6 20/24 2008/11/10 1 18 8.. W WA AT TC CH HD DO OG G T TIIM ME ER R The watchdog timer (WDT) is an added check that a program is running and sequencing properly. When the application software is running, it is responsible for keeping the 2- or 8-second watchdog timer from timing out. If the watchdog timer times out, it is an indication that the software is no longer being executed in the intended sequence. At this time the watchdog timer generates a reset signal to the system. 18.1 WDT Operations The WDT is enabled by setting the WDT enable flag WDTEN (MISC[3]). Two time settings, 2 and 8 seconds, are selectable with selection bit WDTPS (MISC[2]).WDT is clocked by the 2Hz clock from the base timer and therefore has 0.5-second resolution. It is recommended that the watchdog timer be periodically cleared by software once it is enabled. Otherwise, software reset will be generated when the timer reached a binary value of 4 or 16. Note:The WDT can be reset by writing any value to MISC register. After a system reset, WDTEN is cleared. Then the WDT returns to be idle. 1 19 9.. L LO OW W V VO OL LT TA AG GE E D DE ET TE EC CT TO OR R ST2204 has a built-in low voltage detector for power management. Two voltage signals can be selected by the control bit LVDS (MISC[4]). First is the power applied to ST2204 and the typical detection level is 2.6V. Second is the signal applied to input pin VIN, and the typical detection level is 1.25V. When LVDEN (SYS[0]) is set, LVD is enabled and the detection result will be outputted at the same bit after 3 µs. Using read instruction twice can get this result: first read will enable initial stableness control. Second read equal '0' represents 'low voltage'. Once LVD is enabled, it keeps on consuming power. So it is important to write “0” to LVDEN and disable the detector after detection is completed. FIGURE 19-1 shows an application circuit for detecting low battery voltage of 2.5V. Note that the DC current of two external resistors can be cut off by setting PC0 to open. Also add one capacitor to VIN to minimize noise and narrow the low voltage detection range. FIGURE 19-1 Application of LVD The detection voltage for FIGURE 19-1 is: 25 . 1 * 2 2 1 Rv Rv Rv Voltage Detection + = Equation22-1 If Rv1=Rv2=100k Then the detection voltage is 2.5V 2 20 0.. L LO OW W V VO OL LT TA AG GE E R RE ES SE ET T ((L LV VR R)) Power bouncing during power on is a major problem when designing a reliable system. The ST2204 equips Low Voltage Reset function to keep whole system in reset status when power is not stable. Once low voltage status is detected, an active low pulse will be output from pin LVR /ICE1. Connect this output to RESET to perform this protection. After the power backs to normal, LVR /ICE1 will output high and the system may recover its original states and keeps working correctly. The connection between LVR /ICE1 and RESET can be fixed internally by the LVR code option. This code option selects only the internal connection without turning on/off the LVR circuit or the output of LVR /ICE1. The LVR circuit always works and it consumes very few current. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |