Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT46R23 Datasheet(PDF) 11 Page - Holtek Semiconductor Inc

Part # HT46R23
Description  8-Bit OTP Microcontroller
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R23 Datasheet(HTML) 11 Page - Holtek Semiconductor Inc

Back Button HT46R23 Datasheet HTML 7Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 8Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 9Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 10Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 11Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 12Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 13Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 14Page - Holtek Semiconductor Inc HT46R23 Datasheet HTML 15Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 42 page
background image
HT46R23
Rev. 1.30
11
August 17, 2001
It is recommended that a program does not use the
²CALL subroutine² within the interrupt subroutine. In-
terrupts often occur in an unpredictable manner or
need to be serviced immediately in some applications.
If only one stack is left and enabling the interrupt is not
well controlled, the original control sequence will be dam-
aged once the ²CALL² operates in the interrupt subrou-
tine.
Oscillator configuration
There are two oscillator circuits in the microcontroller.
Both are designed for system clocks, namely the RC os-
cillator and the Crystal oscillator, which are determined
by the ROM code option. No matter what oscillator type
is selected, the signal provides the system clock. The
HALT mode stops the system oscillator and ignores an
external signal to conserve power.
If an RC oscillator is used, an external resistor between
OSC1 and VSS is required and the resistance must
range from 30kW to 750kW. The system clock, divided
by 4, is available on OSC2, which can be used to syn-
chronize external logic. The RC oscillator provides the
most cost effective solution. However, the frequency of
oscillation may vary with VDD, temperatures and the
chip itself due to process variations. It is, therefore, not
suitable for timing sensitive operations where an accu-
rate oscillator frequency is desired.
If the 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 in
OSC1 and OSC2 are required (If the oscillating fre-
quency is less than 1MHz).
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 with a period of
approximately 72ms/5V. The WDT oscillator can be dis-
abled by ROM code option to conserve power.
Watchdog Timer - WDT
The clock source of the WDT is implemented by an dedi-
cated RC oscillator (WDT oscillator) or instruction clock
(system clock divided by 4) decided by ROM code op-
tions. This timer is designed to prevent a software mal-
function or sequence jumping to an unknown location
with unpredictable results. The watchdog timer can be
disabled by a ROM code option. If the watchdog timer is
disabled, all the executions related to the WDT result in
no operation.
Once an internal WDT oscillator (RC oscillator with pe-
riod 72ms normally) is selected, it is divided by 212~215
(by ROM code option to get the WDT time-out period).
The minimum period of WDT time-out period is about
300ms~600ms. This time-out period may vary with tem-
perature, VDD and process variations. By selection the
WDT ROM code option, longer time-out periods can be
realized. If the WDT time-out is selected 215, the maxi-
mum time-out period is divided by 215~216about
2.3s~4.7s.
If the WDT oscillator is disabled, the WDT clock may still
cone from the instruction clock and operate in the same
manner except that in the halt state the WDT may stop
counting and lose its protecting purpose. In this situation
the logic can only be restarted by external logic. 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.
The WDT overflow under normal operation will initialize
²chip reset² and set the status bit TO. Whereas in the halt
mode, the overflow will initialize a ²warm reset² only the
PC and SP are reset to zero. To clear the contents of WDT,
three methods are adopted; external reset (a low level to
RES), software instructions, or a HALT instruction. The
software instructions include CLR WDT and the other set -
C r y s t a l O s cill a t o r
R C O s cilla t o r
OS C 1
OS C 2
N M O S O pen D r a i n
OS C 2
f SY S /4
OS C 1
System oscillator
f s /2
8
S yst e m C l o ck/ 4
Di v i d e r
W D T P r es cal er
Ma s k O p t i o n
Ma s k
opt i o n
se l e ct
WD T
OS C
f s
CK
R
T
CK
R
T
T i m e - o ut R es et
f s /2
~ f s /2
f s /2
~ f s /2
f s /2
~ f s /2
f s /2
~ f s /2
15
16
W D T C l ear
14
15
13
14
12
13
Watchdog Timer



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


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