EM73982
4-BIT MICROCONTROLLER
Volume control register
The are 8 levels of volume for sound generator. P17 is the volume control register.
Port17
Initial value : * 1111
32 1 0
*
VCR
VCR
ts/tp
1 11
8/8
ts
1 10
7/8
1 01
6/7
1 00
5/8
0 11
4/8
tp
0 10
3/8
0 01
2/8
1
tp= 60KHz
0 00
1/8
PROGRAM EXAMPLE:
LDIA #1001B ; basic frequency : 60 KHz tone output
OUTA P30
LDIA #0011B ; 600 Hz tone output
OUTA P24
LDIA #0001B
OUTA P23
SPEECH SYNTHESIZER
BLOCK DIAGRAM
Set Speech Address
(Write 3times)
P6 Write
Set Sample Rate
P5 Write
Speech ROM
Speech Decoder
7 Bits DAC
Vo
SPI
Speech
Interrupt
P6.3 read
Speech
Active
* This specification are subject to be changed without notice.
11.30.2001 24