| Electronic Components Datasheet Search |
|
HT86384 Datasheet(PDF) 23 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT86384 Datasheet(HTML) 23 Page - Holtek Semiconductor Inc |
|
23 / 39 page ![]() HT86XXX Rev. 1.70 23 May 6, 2004 Register Bit No. Label Function INTCH (1EH) 0 ET2I Controls the timer 2 interrupt (1= enabled; 0= disabled) 1 ET3I Controls the timer 3 interrupt (1= enabled; 0= disabled) 2, 3 ¾ Unused bit, read as ²0² 4 T2F Timer 2 interrupt request flag (1= active; 0= inactive) 5 T3F Timer 3 interrupt request flag (1= active; 0= inactive) 6, 7 ¾ Unused bit, read as ²0² INTC1 Register Interrupt Source Priority Vector External Interrupt 1 04H Timer/Event Counter 0 Overflow 2 08H Timer/Event Counter 1 Overflow 3 0CH Timer Counter 2 Overflow 4 10H Timer Counter 3 Overflow 5 14H Oscillator Configuration The HT86XXX provides two types of oscillator circuit for the system clock, i.e., RC oscillator and crystal oscilla- tor. No matter what type of oscillator, the signal is used for the system clock. The HALT mode stops the system oscillator and ignores external signal to conserve power. If the RC oscillator is used, an external resistor between OSC1 and VSS is required, and the range of the resis- tance should be from 30k W to 680kW. The system clock, divided by 4, is available on OSC2 with pull-high resis- tor, which can be used to synchronize external logic. The RC oscillator provides the most cost effective solu- tion. However, the frequency of the oscillation may vary with VDD, temperature, and the chip itself due to pro- cess variations. It is therefore not suitable for timing sensitive operations where accurate oscillator fre- quency is desired. On the other hand, if the crystal oscillator is selected, a crystal across OSC1 and OSC2 is needed to provide the feedback and phase shift required for the oscillator, and no other external components are required. A resonator may be connected between OSC1 and OSC2 to replace the crystal and to get a frequency reference, but two ex- ternal capacitors in OSC1 and OSC2 are required. There is another oscillator circuit designed for Timer3 ¢s clock source as the RTC time base which is determined by mask option. If the mask option determines that Timer3 ¢s clock source is from a 32kHz crystal, then a 32kHz crystal should be connected to XIN and XOUT. Watchdog Timer - WDT The WDT clock source is implemented by a dedicated RC oscillator (WDT oscillator) or instruction clock (sys- tem clock divided by 4), decided by mask options. This timer is designed to prevent a software malfunction or sequence jumping to an unknown location with unpre- dictable results. The Watchdog Timer can be disabled by mask option. If the Watchdog Timer is disabled, all the executions related to the WDT result in no operation. Once the internal WDT oscillator (RC oscillator with pe- riod 78 ms normally) is selected, it is first divided by 256 (8-stages) to get the nominal time-out period of approxi- mately 20 ms. This time-out period may vary with tem- perature, VDD and process variations. By invoking the WDT prescaler, longer time-out period can be realized. Writing data to WS2, WS1, WS0 (bit 2,1,0 of WDTS(09H)) can give different time-out period. If WS2, WS1, WS0 all equal to 1, the division ratio is up to 1:128, and the maximum time-out period is 2.6 sec- onds. If the device operates in a noisy environment, using the on-chip RC oscillator (WDT OSC) is strongly recom- mended, since the HALT will stop the system clock. C r y s t a l O s c i l l a t o r R C O s c i l l a t o r O S C 1 O S C 2 O S C 2 f S Y S / 4 O S C 1 V D D R T C O s c i l l a t o r X O U T X I N ( P C 6 ) System Oscillator S y s t e m C l o c k / 4 8 - b i t C o u n t e r W D T P r e s c a l e r 7 - b i t C o u n t e r 8 - t o - 1 M U X W D T T i m e - o u t W S 0 ~ W S 2 M a s k O p t i o n S e l e c t W D T O S C 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 |