| Electronic Components Datasheet Search |
|
HT46CU25 Datasheet(PDF) 13 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46CU25 Datasheet(HTML) 13 Page - Holtek Semiconductor Inc |
|
13 / 63 page ![]() HT46RU25/HT46CU25 Rev. 1.30 13 March 9, 2007 Oscillator Configuration There are three oscillator circuits in the microcontroller. The device provides three oscillator circuits for system clocks, i.e., RC oscillator, crystal oscillator and 32768Hz crystal oscillator, determined by options. No matter what type of oscillator is selected, the signal is used for the system clock. The HALT mode stops the system oscillator (RC and crystal oscillator only) and ignores external signal in or- der to conserve power. The 32768Hz crystal oscillator still runs at HALT mode. If the 32768Hz crystal oscillator is selected as the system oscillator, the system oscillator is not stopped but the instruction execution is stopped. Since the 32768Hz oscillator is also designed for timing purposes, the internal timing (RTC, time base, WDT) operation still runs even if the system enters the HALT mode. If an RC oscillator is used, an external resistor between OSC1 and VSS is required and the resistance must range from 30k W to 750kW. The system clock, divided by 4, is available on OSC2 with pull-high resistor, which can be used to synchronize external logic. The RC os- cillator provides the most cost effective solution. How- ever, the frequency of oscillation may vary with VDD, temperatures and the chip itself due to process varia- tions. It is, therefore, not suitable for timing sensitive operations where an accurate oscillator frequency is desired. If a Crystal oscillator is used, 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. Instead of a crystal, a resona- tor can also be connected between OSC1 and OSC2 to get a frequency reference, but two external capacitors between OSC1 and OSC2 are required (If the oscillating frequency is less than 1MHz). There is another oscillator circuit designed for the real time clock. In this case, only the 32.768kHz crystal oscil- lator can be applied. The crystal should be connected between OSC3 and OSC4. The RTC oscillator circuit can be controlled to oscillate quickly by setting the QOSC bit (bit 4 of RTCC). It is rec- ommended to turn on the quick oscillating function upon power on, and then turn it off after 2 seconds. The WDT oscillator is a free running on-chip RC oscillator, and no external components are required. Even if the sys- tem enters the power down mode, the system clock is stopped, but the WDT oscillator still works within a period of approximately 65 ms at 5V. The WDT oscillator can be disabled by option to conserve power. If the 32768Hz crystal oscillator is selected as the system oscillator, the clock source (fS) is implemented by a real time clock os- cillator (RTC Oscillator) Watchdog Timer - WDT The WDT clock is sourced from its own dedicated RC oscillator (WDT oscillator), the instruction clock (system clock divided by 4) or the RTC oscillator, the choice of which is determined by configuration options. This timer is designed to prevent a software malfunction or se- quence jumping to an unknown location with unpredict- able results. The watchdog timer can be disabled by option. If the watchdog timer is disabled, all executions related to the WDT result in no operation. C r y s t a l O s c i l l a t o r O S C 2 O S C 1 3 2 7 6 8 H z C r y s t a l / R T C O s c i l l a t o r O S C 3 O S C 4 R C O s c i l l a t o r O S C 1 O S C 2 f S Y S / 4 V D D 4 7 0 p F System Oscillator Note: The external resistor and capacitor components connected to the 32768Hz crystal are not necessary to pro- vide oscillation. For applications where precise RTC frequencies are essential, these components may be re- quired to provide frequency compensation due to different crystal manufacturing tolerances. f s / 2 8 f s C K R T C K R T W D T C l e a r S y s t e m C l o c k / 4 R T C O S C 3 2 7 6 8 H z W D T O S C 1 2 k H z M a s k O p t i o n W D T P r e s c a l e r D i v i d e r R O M C o d e O p t i o n T i m e - o u t R e s e t 2 / f S ~ 2 / f S 2 / f S ~ 2 / f S 2 / f S ~ 2 / f S 2 / f S ~ 2 / f S 1 5 1 6 1 4 1 5 1 3 1 4 1 2 1 3 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 |