Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HT66F016 Datasheet(PDF) 42 Page - Holtek Semiconductor Inc

Part # HT66F016
Description  Enhanced Flash Type 8-Bit MCU with EEPROM
PDF  116 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT66F016 Datasheet(HTML) 42 Page - Holtek Semiconductor Inc

Back Button HT66F016 Datasheet HTML 38Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 39Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 40Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 41Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 42Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 43Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 44Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 45Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 46Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 116 page
background image
HT66F016/HT66F017/HT68F016/HT68F017
Rev. 1.00
42
May 14, 2012
Reset and Initialisation
A reset function is a fundamental part of any
microcontroller ensuring that the device can be set to
some predetermined condition irrespective of outside
parameters. The most important reset condition is after
power is first applied to the microcontroller. In this case,
internal circuitry will ensure that the microcontroller, af-
ter a short delay, will be in a well defined state and ready
to execute the first program instruction. After this
power-on reset, certain important internal registers will
be set to defined states before the program com-
mences. One of these registers is the Program Counter,
which will be reset to zero forcing the microcontroller to
begin program execution from the lowest Program
Memory address.
Another type of reset is when the Watchdog Timer over-
flows and resets the microcontroller. All types of reset
operations result in different register conditions being
setup. Another reset exists in the form of a Low Voltage
Reset, LVR, where a full reset is implemented in situa-
tions where the power supply voltage falls below a cer-
tain threshold.
Reset Functions
There are five ways in which a microcontroller reset can
occur, through events occurring both internally and ex-
ternally:
· Power-on Reset
The most fundamental and unavoidable reset is the
one that occurs after power is first applied to the
microcontroller. As well as ensuring that the Program
Memory begins execution from the first memory ad-
dress, a power-on reset also ensures that certain
other registers are preset to known conditions. All the
I/O port and port control registers will power up in a
high condition ensuring that all pins will be first set to
inputs.
· Low Voltage Reset
- LVR
The microcontroller contains a low voltage reset cir-
cuit in order to monitor the supply voltage of the de-
vice. The LVR function is always enabled with a
specific LVR voltage VLVR. If the supply voltage of the
device drops to within a range of 0.9V~VLVR such as
might occur when changing the battery, the LVR will
automatically reset the device internally and the LVRF
bit in the CTRL register will also be set to 1. For a valid
LVR signal, a low supply voltage, i.e., a voltage in the
range between 0.9V~VLVR must exist for a time
greater than that specified by tLVR in the A.C. charac-
teristics. If the low supply voltage state does not ex-
ceed this value, the LVR will ignore the low supply
voltage and will not perform a reset function. The ac-
tual VLVR value can be selected by the LVS bits in the
LVRC register. If the LVS7~LVS0 bits are changed to
some certain values by the environmental noise or
software setting, the LVR will reset the device after
2~3 LIRC clock cycles. When this happens, the LRF
bit in the CTRL register will be set to 1. After power on
the register will have the value of 01010101B.
Note that the LVR function will be automatically dis-
abled when the device enters the power down mode.
· Watchdog Time-out Reset during Normal Operation
The Watchdog time-out Reset during normal opera-
tion is the same as LVR reset except that the Watch-
dog time-out flag TO will be set to
²1².
· Watchdog Time-out Reset during SLEEP or IDLE
Mode
The Watchdog time-out Reset during SLEEP or IDLE
Mode is a little different from other kinds of reset. Most
of the conditions remain unchanged except that the
Program Counter and the Stack Pointer will be
cleared to
²0² and the TO flag will be set to ²1². Refer
to the A.C. Characteristics for tSST details.
Note:
The tSST is 15~16 clock cycles if the system clock
source is provided by HIRC. The tSST is 128 clock
for HXT. The tSST is 1~2 clock for LIRC.
V D D
I n t e r n a l R e s e t
t R S D T + t S S T
Note: tRSTD is power-on delay, typical time=50ms
Power-On Reset Timing Chart
L V R
I n t e r n a l R e s e t
t R S T D + t S S T
Note: tRSTD is power-on delay, typical time=16.7ms
Low Voltage Reset Timing Chart
t R S T D + t S S T
W D T T i m e - o u t
I n t e r n a l R e s e t
Note: tRSTD is power-on delay, typical time=50ms
WDT Time-out Reset during Normal Operation
Timing Chart
t S S T
W D T T i m e - o u t
I n t e r n a l R e s e t
WDT Time-out Reset during SLEEP or IDLE
Timing Chart



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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