| Electronic Components Datasheet Search |
|
HT49R50 Datasheet(PDF) 17 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49R50 Datasheet(HTML) 17 Page - Holtek Semiconductor Inc |
|
17 / 59 page ![]() HT49R50 17 October 22, 1999 Watchdog timer - WDT The WDT clock source is implemented by a ded- icated RC oscillator (WDT oscillator) or an in- struction clock (system clock/4) or a real time clock oscillator (RTC oscillator). The timer is designed to prevent a software malfunction or sequence from jumping to an unknown location with unpredictable results. The WDT can be disabled by options. But if the WDT is disabled, all executions related to the WDT lead to no op- eration. After the WDT clock source is selected, the time-out period isfS/215~fS/216. If the WDT clock source chooses the internal WDT oscillator, the time-out period may vary with temperature, VDD, and process variations. On the other hand, if the clock source selects the instruction clock and the halt instruction is ex- ecuted, WDT may stop counting and lose its pro- tecting purpose, and the logic can only be restarted by an external logic. When the device operates in a noisy environ- ment, using the on-chip RC oscillator (WDT OSC) is strongly recommended, since the HALT can stop the system clock. The WDT overflow under normal operation initializes a "chip reset" and sets the status bit "TO". In the HALT mode, the overflow initializes a "warm reset", and only the PC and SP are reset to zero. To clear the contents of the WDT, there are three methods to be adopted, i.e., external reset (a low level to RES), software instruction, and a HALT instruction. There are two types of software instructions; "CLR WDT" and the other set - "CLR WDT1" and "CLR WDT2". Of these two types of instruction, only one type of instruction can be active at a time depending on the options - "CLR WDT" times selection option . If the "CLR WDT" is se- lected (i.e., CLR WDT times equal one), any ex- ecution of the "CLR WDT" instruction clears the WDT. In the case that "CLR WDT1" and "CLR WDT2" are chosen (i.e., CLR WDT times equal two), these two instructions have to be ex- ecuted to clear the WDT; otherwise, the WDT may reset the chip due to time-out. Multi-function timer The HT49R50 provides a multi-function timer for the WDT, time base and RTC but with different time-out periods. The multi-function timer con- sists of a 7-stage divider and an 8-bit prescaler, with the clock source coming from the WDT OSC or RTC OSC or the instruction clock (i.e.., system clock divided by 4). The multi-function timer also provides a selectable frequency signal (ranges from fS/22 to fS/28) for LCD driver circuits, and a selectable frequency signal (ranges from fS/22 to fS/29) for the buzzer output by options. It is rec- ommended to select a near 4kHz signal to LCD driver circuits for proper display. S yst e m C l o ck/ 4 D i v i der P r e sca l e r W D T C l ear Ma s k Op t i o n Se l e c t WD T OS C 12k H z RT C OS C 327 68H z CK T R CK T R f S T i m e - o ut R es et f S /2 15 ~f S /2 16 Watchdog timer |
|
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 |