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

HT36A2 参数 Datasheet PDF下载

HT36A2图片预览
型号: HT36A2
PDF下载: 下载PDF文件 查看货源
内容描述: 8位音乐合成器MCU [8-Bit Music Synthesizer MCU]
分类和应用:
文件页数/大小: 24 页 / 213 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT36A2的Datasheet PDF文件第4页浏览型号HT36A2的Datasheet PDF文件第5页浏览型号HT36A2的Datasheet PDF文件第6页浏览型号HT36A2的Datasheet PDF文件第7页浏览型号HT36A2的Datasheet PDF文件第9页浏览型号HT36A2的Datasheet PDF文件第10页浏览型号HT36A2的Datasheet PDF文件第11页浏览型号HT36A2的Datasheet PDF文件第12页  
HT36A2  
cate the major 16 bits i.e. WA[15:5] and the undefined  
data from WA[4~0] is always set to 00000b. So the start  
address of each sample have to be located at a multiple  
of 32. Otherwise, the sample will not be read out cor-  
rectly because it has a wrong starting code.  
between 20H~2AH. The remaining space before the  
30H is reserved for future expanded usage and reading  
these locations will return the result 00H. The general  
purpose data memory, addressed from 30H to FFH, is  
used for data and control information under instruction  
command.  
Stack Register - Stack  
I
n
d
i
r
e
c
t
A
d
d
r
e
s
s
i
n
g
R
e
g
i
s
t
e
r
0
0
0
0
1
H
H
This is a special part of the memory which is used to  
save the contents of the program counter (PC) only. The  
stack is organized into 8 levels and is neither part of the  
data nor part of the program space, and is neither read-  
able nor writeable. The activated level is indexed by the  
stack pointer (SP) and is neither readable nor writeable.  
At a subroutine call or interrupt acknowledgment, the  
contents of the program counter are pushed onto the  
stack. At the end of a subroutine or an interrupt routine,  
signaled by a return instruction (RET or RETI), the pro-  
gram counter is restored to its previous value from the  
stack. After a chip reset, the SP will point to the top of the  
stack.  
M
P
0
0
2
H
I
n
d
i
r
e
c
t
A
d
d
r
e
s
s
i
n
g
R
e
g
i
s
t
e
r
1
0
3
H
M
P
1
0
4
H
0
5
H
A
C
C
0
6
H
P
C
L
0
7
H
T
B
L
P
T
B
L
H
0
8
H
W
D
T
S
0
9
H
S
T
A
T
U
S
0
0
A
B
H
H
I
N
T
C
0
C
H
H
0
D
T
M
R
0
L
S
p
e
c
i
a
l
P
u
r
p
o
s
e
0
E
H
T
M
R
0
C
D
A
T
A
M
E
M
O
R
Y
0
F
H
If the stack is full and a non-masked interrupt takes  
place, the interrupt request flag will be recorded but the  
acknowledgment will be inhibited. When the stack  
pointer is decremented (by RET or RETI), the interrupt  
will be serviced. This feature prevents stack overflow al-  
lowing the programmer to use the structure more easily.  
In a similar case, if the stack is full and a CALL is subse-  
quently executed, a stack overflow occurs and the first  
entry will be lost (only the most recent eight return ad-  
dress are stored).  
1
1
0
1
H
H
T
M
R
1
L
T
M
R
1
C
P
A
1
2
H
P
A
C
1
3
H
P
B
1
4
H
P
B
C
1
5
H
P
C
1
6
H
P
C
C
1
7
H
1
8
H
1
9
H
1
1
A
B
H
H
Data Memory - RAM  
P
F
1
C
H
The data memory is designed with 256 ´ 8 bits. The data  
memory is divided into three functional groups: special  
function registers, wavetable function register, and gen-  
eral purpose data memory (208´8). Most of them are  
read/write, but some are read only.  
D
A
C
h
i
g
h
b
y
t
e
1
D
H
1
E
H
D
A
C
l
o
w
b
y
t
e
1
F
H
H
H
H
H
H
H
H
H
H
H
D
A
C
c
o
n
t
r
o
l
2
2
0
1
C
h
a
n
n
e
l
n
u
m
b
e
r
s
e
l
e
c
t
F
r
e
q
u
e
n
c
y
n
u
m
b
e
r
h
i
g
h
b
y
t
e
2
2
F
r
e
q
u
e
n
c
y
n
u
m
b
e
r
l
o
w
b
y
t
e
W
a
v
e
t
a
b
l
e
F
u
n
c
t
i
o
n
The special function registers include the Indirect Ad-  
dressing register 0 (00H), the Memory Pointer register 0  
(MP0;01H), the Indirect Addressing register 1 (02H), the  
Memory Pointer register 1 (MP1;03H), the Accumulator  
(ACC;05H), the Program Counter Lower-byte register  
(PCL;06H), the Table Pointer (TBLP;07H), the Table  
Higher-order byte register (TBLH;08H), the Watchdog  
Timer option Setting register (WDTS;09H), the Status  
register (STATUS;0AH), the Interrupt Control register  
(INTC;0BH), the Timer Counter 0 Lower-order byte reg-  
ister (TMR0L;0DH), the Timer Counter 0 Control regis-  
ter (TMR0C;0EH), the Timer Counter 1 Lower-order  
byte register (TMR1L;10H), the Timer Counter 1 Control  
register (TMR1C;11H), the I/O registers (PA;12H,  
PB;14H, PC;16H) and the I/O control registers  
(PAC;13H, PBC;15H, PCC;17H). The program ROM  
bank select (PF;1CH). The DAC High byte (DAH;1DH).  
The DAC low byte (DAL;1EH). The DAC control  
(DAC;1FH). The wavetable function registers is defined  
2
3
S
t
a
r
t
a
d
d
r
e
s
s
h
i
g
h
b
y
t
e
R
e
g
i
s
t
e
r
2
4
S
t
a
r
t
a
d
d
r
e
s
s
l
o
w
b
y
t
e
2
5
R
e
p
e
a
t
n
u
m
b
e
r
h
i
g
h
b
y
t
e
2
6
R
e
p
e
a
t
n
u
m
b
e
r
l
o
w
b
y
t
e
2
7
V
o
l
u
m
e
c
o
n
t
r
o
l
h
i
g
h
2
8
2
9
2
2
A
B
H
H
V
o
l
u
m
c
o
n
t
r
o
l
l
o
w
2
F
H
H
3
0
:
U
n
u
s
e
d
.
R
e
a
d
a
s
"
0
0
"
G
e
n
e
r
a
l
P
u
r
p
o
s
e
D
A
T
A
M
E
M
O
R
Y
(
2
0
8
B
y
t
e
s
)
F
F
H
RAM mapping  
Rev. 1.00  
8
June 19, 2003