欢迎访问ic37.com |
会员登录 免费注册
发布采购

HT45R06 参数 Datasheet PDF下载

HT45R06图片预览
型号: HT45R06
PDF下载: 下载PDF文件 查看货源
内容描述: A / D型8位OTP MCU [A/D Type 8-Bit OTP MCU]
分类和应用:
文件页数/大小: 41 页 / 312 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT45R06的Datasheet PDF文件第7页浏览型号HT45R06的Datasheet PDF文件第8页浏览型号HT45R06的Datasheet PDF文件第9页浏览型号HT45R06的Datasheet PDF文件第10页浏览型号HT45R06的Datasheet PDF文件第12页浏览型号HT45R06的Datasheet PDF文件第13页浏览型号HT45R06的Datasheet PDF文件第14页浏览型号HT45R06的Datasheet PDF文件第15页  
HT45R06  
Watchdog Timer - WDT  
Both are designed for system clocks, namely the RC os-  
cillator and the Crystal oscillator, which are determined  
by the options. No matter what oscillator type is se-  
lected, the signal provides the system clock. The HALT  
mode stops the system oscillator and ignores an exter-  
nal signal to conserve power.  
The WDT clock source is implemented by a dedicated  
RC oscillator (WDT oscillator) or instruction clock (sys-  
tem clock divided by 4) determined by 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  
option. If the watchdog timer is disabled, all executions  
related to the WDT result in no operation.  
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.  
Once the internal WDT oscillator (RC oscillator with a  
period of 65ms at 5V normally) is selected, it is first di-  
vided by 216 to get the nominal time-out period of ap-  
proximately 5.1s at 5V. This time-out period may vary  
with temperature, VDD and process variations. By in-  
voking the WDT, prescaler, longer time-out periods can  
be realized. If the WDT oscillator is disabled, the WDT  
clock may still come from the instruction clock and oper-  
ates in the same manner except that in the HALT state  
the WDT may stop counting and lose its protecting pur-  
pose. In this situation the logic can only be restarted by  
external logic.  
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  
resonator 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 frequency is less than 1MHz).  
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 oscillator is a free running on-chip RC oscilla-  
tor, and no external components are required. Even if  
the system enters the power down mode, the system  
clock is stopped, but the WDT oscillator still works with a  
period of approximately 65ms@5V. The WDT oscillator  
can be disabled by options to conserve power.  
The WDT overflow under normal operation will initialize  
a ²chip reset² and set the status bit ²TO². But in the  
HALT mode, the overflow will initialize a ²warm reset²,  
and only the Program Counter and SP are reset to zero.  
To clear the WDT contents (including the WDT  
prescaler), three methods are adopted; external reset (a  
low level to RES), software instruction and a ²HALT² in-  
struction. The software instructions include ²CLR WDT²  
and the other set - ²CLR WDT1² and ²CLR WDT2². Of  
these two types of instruction, only one can be active de-  
pending on the option - ²CLR WDT times selection op-  
tion². If the ²CLR WDT² is selected (i.e. CLRWDT times  
equal one), any execution of the ²CLR WDT² instruction  
will clear the WDT. In the case that ²CLR WDT1² and  
²CLR WDT2² are chosen (i.e. CLRWDT times equal  
two), these two instructions must be executed to clear  
the WDT, otherwise, the WDT may reset the chip as a  
result of time-out.  
Oscillator Control Register - OSCC  
The QOSC is a control bit for system quick start-up os-  
cillation. The QOSC default setting is enabled. After sys-  
tem start-up is finished, the QOSC must be cleared by  
user to reduce power consumption.  
Bit  
Label  
Function  
No.  
0
System quick start-up oscillation  
QOSC 0=Disable  
1=Enable (Default setting)  
1~7  
¾
Unused bit, read as ²0²  
OSCC (09H) Register  
S
y
s
t
e
m
C
l
o
c
k
/
4
f
s
O
p
t
i
o
n
W
f
D T T i m e - o u t  
5
s
~ f / 2  
8
-
b
i
t
C
o
u
n
t
e
r
7
-
b
i
t
C
o
u
n
t
e
r
T
T
1
1
6
S
e
l
e
c
t
s
/
2
W
D
T
C
L
R
W
D
T
O
S
C
Watchdog Timer  
Rev. 1.00  
11  
May 24, 2005