
Rev. 1.21
38
�ove��e� ��� 2�1�
Rev. 1.21
3�
�ove��e� ��� 2�1�
HT66F488/HT66F489
A/D Flash MCU with EEPROM
HT66F488/HT66F489
A/D Flash MCU with EEPROM
Operating Modes and System Clocks
Present day applications require that their microcontrollers have high performance but often still
demand that they consume as little power as possible, conflicting requirements that are especially
true in battery powered portable applications. The fast clocks required for high performance will
by their nature increase current consumption and of course vice-versa, lower speed clocks reduce
current consumption. As Holtek has provided this device with both high and low speed clock
sources and the means to switch between them dynamically, the user can optimise the operation of
their microcontroller to achieve the best performance/power ratio.
System Clocks
The device has many different clock sources for both the CPU and peripheral function operation.
By providing the user with a wide range of clock options using configuration options and register
programming, a clock system can be configured to obtain maximum application performance.
The main system clock, can come from either a high frequency, f
H
, or a low frequency, f
L
, and is
selected using the HLCLK bit and CKS2~CKS0 bits in the SMOD register. The high speed system
clock can be sourced from either an HXT or HIRC oscillator, selected via a configuration option.
The low speed system clock source can be sourced from internal clock f
L
. If f
L
is selected then it
can be sourced by either the LXT or LIRC oscillator, selected via a configuration option. The other
choice, which is a divided version of the high speed system oscillator has a range of f
H
/2~f
H
/64.
There are two additional internal clocks for the peripheral circuits, the substitute clock, f
SUB
, and
the Time Base clock, f
TBC
. Each of these internal clocks is sourced by the LIRC or LXT oscillator.
The f
SUB
clock is used to provide a substitute clock for the microcontroller just after a wake-up has
occurred to enable faster wake-up times. The
f
SUB
is used for the Watchdog Timer while the f
TBC
provides the clock for the Time base and TMs.
HXT
High Speed Oscillato�s
HIRC
Low Speed Oscillato�s
f
H
6-stage P�escale�
High Speed Oscillato�
Configu�ation Option
HLCLK�
CKS2~CKS� �its
f
H
/2
f
H
/4
f
H
/8
f
H
/16
f
H
/32
f
H
/64
f
L
Fast Wake-up f�o� SLEEP Mode o�
IDLE Mode Cont�ol (fo� HXT only)
f
SYS
f
SUB
WDT
f
SUB
f
SYS
/4
Ti�e Base
f
TB
TBCK
f
TBC
f
L
LXT
LIRC
Low Speed Oscillato�
Configu�ation Option
System Clock Configurations
Note: When the system clock source f
SYS
is switched to f
L
from f
H
, the high speed oscillation will
stop to conserve the power. Thus there is no f
H
~f
H
/64 for peripheral circuit to use.