APLUS AP8821

Integrated Circuits Inc. aP8821
A
PLUS MAKE YOUR PRODUCTION A-PLUS
VOICE OTP IC
aP8821 – 21ʿVOICE OTP
APLUS
INTEGRATED CIRCUITS INC.
Address:
3 F-10, No. 32, Sec. 1, Chenggung Rd., Taipei,
Taiwan 115, R.O.C.
(115)डࢇ๵ࢺᣲࢣᅗࠥ⧊ӹ᝵ 32 ◥ 3 ᚖԷ 10.
Sales E-mail:
[email protected]
TEL: 886-2-2782-9266
FAX: 886-2-2782-9255
WEBSITE : http: //www.aplusinc.com.tw
1
Technology E-mail:
[email protected]
Integrated Circuits Inc. aP8821
21 sec VOICE OTP
„Features
z 3 programmable Outputs for STP stop
pulse, BUSY and LED
z Built-in oscillator with a single external
resistor to determine the sampling rate
z Built-in D/A converter, EPROM
z ADPCM data compression provides
high sound quality
z Optional POP noise elimination function
z COUT pin drives speaker with a transistor
z VOUT1 and VOUT2 drives buzzer or
speaker directly
zAuto-power down
z2.4V – 4.8V single power supply
operation
zLow standby current (<5uA at 3V)
zDevelopment Tools Support
z 21 Sec Voice Length at 6 KHz
z Combination of voice building blocks
extends the duration of playback
z Voice data re-use saves memory space
z Maximum 14 voice groups
z 4 trigger pins, S1 to S4 for the 4 voice
groups ( group1 ~ 4 )
z SBT for sequential playblack for the rest
of voice groups & CPU mode trigger
z CPU trigger mode for all 14 voice
groups
z Holdable, Unholdable, Edge, Level
triggering option
z Debounce time : 21ms ( Key mode ) /
85us (CPU mode ) - 6K sampling rate
z IRP interrupt pin for master reset
„General Description
aP8821 is a high quality voice synthesizer capable of varying playback duration. A proprietary
ADPCM algorithm is used. The audio message is stored in a 512K bits on-chip EPROM which can
store up to 21 seconds of voice data at 6 KHz sample rate.
The aP8821 eliminates the need of complicated circuitry in voice playback but still achieves high
voice quality for different kind of sounds. Combinations in sections achieve longer playback duration.
A pair of PWM output pins, VOUT1 and VOUT2 provides direct drive to buzzer or speaker.
A current output pin, COUT, enables the device to drive a speaker through a low cost NPN transistor.
No complex filtering or amplifier circuit is needed. An automatic ramp-down function eliminates
undesired noise at the end of playback.
2
Integrated Circuits Inc. aP8821
„Group of sections
The voice memory of the aP8821 can be subdivided into 126 memory blocks. Any combination of
playback of these memory blocks will form an individual voice group. A maximum of 14 groups are
available with triggering S1 to S4 pins together with the SBT pin sequential playback pin.
„Group Configuration
Data within each group are combinations of different fixed memory blocks of up to 126 blocks. They
are the fundamental building blocks for arranging playback without limiting sequencing. This
provides flexibility and allows data to be re-used, beneficial for applications with many repeated
sounds or words.
An example of group configuration is illustrated below:
Group no.
Section entry
Group 1
Block 1 + Block 2 + Block 3 ……. Block 109
Group 2
Block 3 + Block 2
Group 3
Block 10 + Block 11 + Block 12
Group 4
Block 10 + Block 10 + Block 5
The entries of blocks for each group is truly random and without limitation. However, there is a limit
in the total number of entries for 14 voice groups, which is 960 entries in aP8821. It is acceptable to
allocate all entries into only one group or distribute out to other groups. It depends on how many
groups of messages are required.
„Programmable Options
Each groups in aP8821 can have independent options. They include:
x
x
x
x
Edge or Level trigger
Unholdable or Holdable trigger
Re-triggerable or non-retriggerable
Outputs are programmable to LED1, LED2, BUSY and STOP pulse
Options that affect all voice groups are called whole chip options. They include:
z
z
Key trigger mode or CPU trigger mode
Ramp enable or Ramp disable
3
Integrated Circuits Inc. aP8821
„Output Selections
There are three independent output pins OUT1, OUT2 and OUT3, available for four combinations of
LED1, LED2, STOP and BUSY signals for each voice group.
OUT1
LED2
STOP
LED1
LED1
1.
2.
3.
4.
OUT2
LED1
LED1
BUSY
BUSY
OUT3
BUSY
LED2
STOP
/BUSY
LED1 and LED2 are complemented outputs flashing at a fix interval. STOP pulse gives a long
enough positive pulse at the end of the playback for each group with option to enable or disable it.
BUSY is active high depends on voice Block setting. That means BUSY signal can be set to high
when some voice Blocks are being played but set to low for the others.
„Software Support
All those Options and Output selections can be set with a dedicated OTP compiler and programmer
software supplied by APLUS.
„Key trigger mode and CPU trigger mode
In Key trigger mode, S1 to S4 will trigger four voice groups. The rest of the voice groups can only be
triggered by SBT sequential trigger pin.
In CPU trigger mode, binary data is input to S4~S1. A high pulse is input to SBT pin with pulse
width equal to or longer than the debounce time to strobe the data to initial the playblack. Data
patterns “1110” and “1111” is not allowed.
Group-n
Group1
Group2
Group3
Group4
Group5
Group6
Group7
Group8
S4
0
0
0
0
0
0
0
0
S3
0
0
0
0
1
1
1
1
S2
0
0
1
1
0
0
1
1
S1
0
1
0
1
0
1
0
1
Group-n
Group9
Group10
Group11
Group12
Group13
Group14
X
X
4
S4
1
1
1
1
1
1
1
1
S3
0
0
0
0
1
1
1
1
S2
0
0
1
1
0
0
1
1
S1
0
1
0
1
0
1
0
1
Integrated Circuits Inc. aP8821
„
Block Diagram
„
Absolute Maximum Rating
Symbol
Rating
Unit
VDD - VSS
-0.5 ~ +5.0
V
VIN
VSS - 0.3<VIN<VDD + 0.3
V
VOUT
VSS <VOUT<VDD
V
T (Operating)
-10 ~ +60
к
T (Storage)
-55 ~ +125
к
5
Integrated Circuits Inc. aP8821
„
Pin Description
Pin No.
Name
I/O/P
Function
1
OUT3
O
Programmable output 3
2
VOUT1
O
PWM audio signal output 1 for buzzer & speaker
3
VOUT2
O
PWM audio signal output 2 for buzzer & speaker
4
VSS
P
Power ground
5
OUT1
O
Programmable output 1
6
OUT2
O
Programmable output 2
7
COUT
O
Current output from internal DAC for speaker playback
8
OSC
I
Oscillator resistor pin to control sampling frequency
9
VPP
P
10
S1
I
11
S2
I
12
VDD
P
13
S3
I
14
S4
I
15
SBT
I
Key Sequential/CPU trigger, internal pull low, active
high
16
IRP
I
Interrupt to stop playback, internal pull low, active high
Program power,
must connect to VDD when playback
Trigger switch 1 / CPU Addr.1( LSB ),
internal pull low, active high
Trigger switch 2 / CPU Addr.2,
internal pull low, active high
Positive power supply
Trigger switch 3 / CPU Addr.3,
internal pull low, active high
Trigger switch 4 / CPU Addr.4 ( MSB ),
internal pull low, active high
Note: The following pins are used to program data into the memory:
pin 4, 5, 6, 8, 9, 12,15 and16.
6
Integrated Circuits Inc. aP8821
„
DC Characteristics
Symbol
Parameter
Min.
Typ.
Max.
Unit
Condition
VDD
Operating Voltage
2.4
3.0
4.8
V
ISB
Standby current

1
5
μA
VDD=3.0V, I/O open
IOP
Operating current


15
mA
VDD=3.0V, I/O open
VIH
"H" Input Voltage
2.5
3.0
3.5
V
VDD=3.0V
VIL
"L" Input Voltage
-0.3
0
0.5
V
VDD=3.0V
IOH
VOUT low O/P Current

70

mA
VDD=3.0V, Vout=0.3V
IOL
VOUT high O/P Current

-40

mA
VDD=3.0V, Vout=2.5V
ICO
COUT O/P Current

-3

mA
VDD=3.0V,VCOUT=1.0V
IOH
O/P high Current

-8

mA
VDD=3.0V, VOH=2.5V
IOL
O/P low Current

8

mA
VDD=3.0V, VOL=0.3V
'F/F
Frequency Stability
-5

7
+5
%
Fosc(2.7V) - Fosc(3.4V)
Fosc(3V)
Integrated Circuits Inc. aP8821
„Timing Diagram
1. Level, Unholdable, Non-retriggerable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
2. Level Holdable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
3. Single Button Trigger(SBT), Sequential
a. Level Unholdable
b. Level Holdable
where N is up to 14.
8
Integrated Circuits Inc. aP8821
4. Edge, Unholdable, Non-retriggerable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
5. Edge Holdable
a. Trigger is shorter than a Group output
b. Trigger is longer than a Group output
6. Single Button Trigger(SBT), Sequential
a. Edge Unholdable
b. Edge Holdable
where N is up to 14.
9
Integrated Circuits Inc. aP8821
„
Application Circuits
1. Typical Application
Fig. 1 a
2. LED Application
Fig. 1 b
3. CPU Mode control
Fig. 2
10
Integrated Circuits Inc. aP8821
4. aP8821 Individually key application :
zAPI8208A ALONE KEY TRIGGER APPLICATION :
11
Integrated Circuits Inc. aP8821
5. aP8821 & API8208A MCU CONTROL APPLICATION COMPARE :
S4
TG1
TG2
TG3
TG4
TG5
TG6
TG7
TG8
0
0
0
1
0
0
1
1
API8208A
S3
S2
0
0
1
0
0
1
1
0
0
1
0
0
1
1
0
0
S1
1
0
0
0
1
0
0
1
TG1
TG2
TG3
TG5
TG9
TG4
TG7
TG13
TG10
TG4
TG5
TG8
TG11
TG12
TG14
12
aP8821 ( CPU Mode )
S4
S3
S2
S1
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
0
1
1
0
1
1
0
0
1
0
0
1
0
0
1
1
0
1
0
0
0
1
1
1
1
0
1
0
1
0
1
1
1
1
0
1
SBT
Integrated Circuits Inc. aP8821
Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Name
OUT1
VOUT1
VOUT2
VSS
OUT2
OUT3
COUT
OSC
VPP
S1
S2
VDD
S3
S4
SBT
IRP
X
180
180
180
180
1600
1600
1600
1600
1600
1600
1600
1600
180
180
180
180
Y
1100
800
430
213
208
360
507
1014
1300
1800
1955
2114
2160
1932
1630
1402
Note:Substrate must be connected to VSS
Pad size = 90um x 90um
13