參數(shù)資料
型號: HT83R074
廠商: Holtek Semiconductor Inc.
英文描述: Q-Voice
中文描述: 調Q語音
文件頁數(shù): 18/38頁
文件大?。?/td> 252K
代理商: HT83R074
HT83R074
Rev. 1.00
18
May 17, 2007
Pulse Width Modulation Output
PWML/PWMH (27H/28H)
The HT83R074 provide one 12-bit PWM interface for driving an external 8
voice data to register PWML/PWMH (27H/28H)
speaker. The programmer must write the
Pulse Width Modulation Control Register
PWMCR (26H)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3 (R/W)
Bit 2 (R/W)
Bit 1
Bit 0 (R/W)
MSB_SIGN
Single_PWM
VROMC
PWMC
%
0
:
0
/
%
.
# #
% 7 * ' = 9
5 % .
%
7 .
2 4 .
9
D
# 0 E
/
% #
%
3
:
;
% )
* 2 =
D
/
; *
&
&
;
F
F
/
* % #
%
3
:
.
5 % 7
% )
9
% .
PWM
PWMC: Start bit of PWM output
PWM start counter: 0 to 1
PWM stop counter: 1 to 0
After waiting one cycle end , stop the PWM counter and
keep in low signal
VROMC: Enable voice ROM power circuit
(1=enable; 0=disable)
Single_PWM: Driving PWM single by PWM1 output
(1=PWM1 output; 0=PWM1/PWM2 output)
The HT83R074 provide an 12-bit (bit 7 is a sign bit, if
Single_PWM = 0) PWM interface. The PWM provides
two pad outputs: PWM1, PWM2 which can directly drive
a piezo or an 8
ement (green mode), or using only port PWM1 (Set Sin-
speaker without adding any external el-
gle_PWM=1) to drive piezo or an 8
external element.
speaker with
When Setting Single_PWM= 1, choose voice data7~
data1 as the output data (no sign bit on it).
If the sign bit is 0, then the signal is output to PWM1and
the PWM2 will get a GND level voltage after setting start
bit to 1. If the sign bit is 1, then the signal is output to
PWM2 and the PWM1 will get a GND level voltage after
setting start bit to 1.
PWM output Initial low level , and stop in low level
If PWMC from low to high then start PWM output latch
new data , if no update then keep the old value.
If PWMC from high to low, in duty end, stop PWM output
and stop the counter.
Voice ROM Data Address Latch Counter
The voice ROM data address latch counter is the hand-
shaking between the microcontroller and voice ROM,
where the voice codes are stored. One 8-bit of voice
ROM data will be addressed by setting 18-bit address
latch counter LATCH0H/LATCH0M/LATCH0L. After the
8-bit voice ROM data is addressed, a few instruction cy-
cles (4 s at least) will be generated to latch the voice
ROM data, then the microcontroller can read the voice
data from LATCHD (2AH).
Example: Read an 8-bit voice ROM data which is lo-
cated at address 000007H by address latch 0
set
[26H].2
; Enable voice ROM circuit
mov
A, 07H
;
mov
LATCH0L, A
; Set LATCH0L to 07H
mov
A, 00H
;
mov
LATCH0M, A ; Set LATCH0M to 00H
mov
A, 00H
;
mov
LATCH0H, A ; Set LATCH0H to 00H
call
Delay Time
; Delay a short period of time
mov
A, LATCHD
; Get voice data at 000007H
相關PDF資料
PDF描述
HT84036 Magic VoiceTM
HT84XXX Magic VoiceTM
HT84072 Magic VoiceTM
HT84144 Magic VoiceTM
HT84192 Magic VoiceTM
相關代理商/技術參數(shù)
參數(shù)描述
HT83V31(24SDIP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
HT83V31(28SDIP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
HT83V32(24SDIP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
HT83V32(28SDIP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC
HT83V33(24SDIP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Analog IC