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

HT36A1 参数 Datasheet PDF下载

HT36A1图片预览
型号: HT36A1
PDF下载: 下载PDF文件 查看货源
内容描述: 音乐合成器的8位MCU [Music Synthesizer 8-Bit MCU]
分类和应用:
文件页数/大小: 39 页 / 281 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT36A1的Datasheet PDF文件第8页浏览型号HT36A1的Datasheet PDF文件第9页浏览型号HT36A1的Datasheet PDF文件第10页浏览型号HT36A1的Datasheet PDF文件第11页浏览型号HT36A1的Datasheet PDF文件第13页浏览型号HT36A1的Datasheet PDF文件第14页浏览型号HT36A1的Datasheet PDF文件第15页浏览型号HT36A1的Datasheet PDF文件第16页  
HT36A1  
·
·
The contents of the on-chip RAM and registers remain  
unchanged  
the other circuits to maintain their state. Some registers  
remain unchanged during any other reset conditions.  
Most registers are reset to the ²initial condition² when  
the reset conditions are met. By examining the PDF and  
TO flags, the program can distinguish between different  
²chip resets².  
The WDT and WDT prescaler will be cleared and  
starts to count again (if the clock comes from the WDT  
oscillator).  
·
·
·
All I/O ports maintain their original status.  
The PDF flag is set and the TO flag is cleared.  
TO PDF  
RESET Conditions  
RES reset during power-up  
RES reset during normal operation  
RES wake-up HALT  
The HALT pin will output a high level signal to disable  
the external ROM.  
0
u
0
1
1
0
u
1
u
1
The system can leave the HALT mode by means of an  
external reset, an interrupt, an external falling edge sig-  
nal on port A or a WDT overflow. An external reset  
causes a device initialization and the WDT overflow per-  
forms a ²warm reset². By examining the TO and PDF  
flags, the cause for a chip reset can be determined. The  
PDF flag is cleared when there is a system power-up or by  
executing the CLR WDT instruction and it is set when a  
HALT instruction is executed. The TO flag is set if the WDT  
time-out occurs, and causes a wake-up that only resets  
the program counter and SP, the others remain in their  
original status.  
WDT time-out during normal operation  
WDT wake-up HALT  
Note: ²u² stands for ²unchanged²  
To guarantee that the system oscillator has started and  
stabilized, the SST (System Start-up Timer) provides an  
extra-delay of 1024 system clock pulses during system  
power up or when the system awakes from a HALT  
state.  
When a system power-up occurs, the SST delay is  
added during the reset period. But when the reset co-  
mes from the RES pin, the SST delay is disabled. Any  
wake-up from HALT will enable the SST delay.  
The port A wake-up and interrupt methods can be con-  
sidered as a continuation of normal execution. Each bit  
in port A can be independently selected to wake-up the  
device by mask option. Awakening from an I/O port stim-  
ulus, the program will resume execution of the next in-  
struction. If awakening from an interrupt, two sequences  
may occur. If the related interrupts is disabled or the in-  
terrupts is enabled but the stack is full, the program will  
resume execution at the next instruction. If the interrupt  
is enabled and the stack is not full, a regular interrupt re-  
sponse takes place.  
The functional units chip reset status are shown below.  
Program Counter  
Interrupt  
000H  
Disable  
Clear  
Prescaler  
Clear. After master reset,  
WDT begins counting  
WDT  
Once a wake-up event occurs, it takes 1024 tSYS (sys-  
tem clock period) to resume to normal operation. In  
other words, a dummy cycle period will be inserted after  
the wake-up. If the wake-up results from an interrupt ac-  
knowledge, the actual interrupt subroutine will be de-  
layed by one more cycle. If the wake-up results in next  
instruction execution, this will execute immediately after  
a dummy period has finished. If an interrupt request flag  
is set to ²1² before entering the HALT mode, the  
wake-up function of the related interrupt will be disabled.  
Timer Counter (0/1)  
Input/output ports  
SP  
Off  
Input mode  
Points to the top of stack  
V
D
D
R
E
S
To minimize power consumption, all I/O pins should be  
carefully managed before entering the HALT status.  
Reset  
Reset Circuit  
There are 3 ways in which a reset can occur:  
·
·
·
RES reset during normal operation  
RES reset during HALT  
V
D
D
R
E
S
t
S S T  
WDT time-out reset during normal operation  
S
S
T
T
i
m
e
-
o
u
t
The WDT time-out during HALT is different from other  
chip reset conditions, since it can perform a ²warm re -  
set² that just resets the program counter and SP, leaving  
C
h
i
p
R
e
s
e
t
Reset Timing Chart  
Rev. 1.00  
12  
August 15, 2005