• 16ms (@ 8KHz sampling rate) Debounce Time in Key Trigger Mode.
• 65us (@ 8KHz sampling rate) Debounce Time in CPU Parallel Trigger Mode.
• RST pin set to HIGH to stop playback at once.
• Two user programmable outputs for STOP pulse, BUSY signal and flashing LED.
• Built-in oscillator to control sampling frequency with an external resistor.
• 2.6V – 5.0V; Wide range single power supply and < 5uA low stand-by current.
• PWM Vout1 and Vout2 drive speaker directly.
• D/A COUT to drive speaker through an external BJT.
• Development System support voice compilation and options selection.
DESCRIPTION
aP8921A/10A series high performance Voice OTP is fabricated with Standard CMOS process with
embedded 512K/256K bits EPROM. It can store up to 21/10sec voice message with 4-bit
ADPCM compression at 6KHz sampling rate. 8-bit PCM is also available as user selectable
option. Two trigger modes, simple Key trigger mode and Parallel CPU trigger mode facilitate
different user interface. User selectable triggering and output signal options provide maximum
flexibility to various applications. Built-in resistor controlled oscillator, 8-bit current mode D/A
output and PWM direct speaker driving output minimize the number of external components. PC
controlled programmer and developing software are available.
Ver 2.0 Dec 6, 2006
Integrated Circuits Inc. aP8921A/10A
3
1 2 3 4 5 6 7 8 16
9
OUT1
VOUT1
VOUT2
VSS
OUT2
V33
COUT
OSC
VPP
VDD
S1
S2
S3 S4 SBT
RST
PIN CONFIGURATIONS
15
14
13
12
11
10
PIN NAMES
PIN
Playback
Mode
1 OUT1 OEB Programmable output (I/O pin)
2 VOUT1 - PWM output to drive speaker directly
3 VOUT2 - PWM output to drive speaker directly
4 VSS VSS Power Ground
5 OUT2 IO Programmable output (I/O pin)
6 V33 V33 Power Supply for OTP programming
7 COUT - D/A current output
8 OSC ACLK Oscillator input
9 VPP VPP Supply voltage for OTP programming
10 S1 S1 Trigger pin (input with internal pull-down)
11 S2 S2 Trigger pin (input with internal pull-down)
OTP Program
Description
Mode
12 VDD VDD 2.6 – 5.0V Positive Power Supply
13 S3 S3 Trigger (input with internal pull-down)
14 S4 S4 Trigger (input with internal pull-down)
15 SBT PGM Trigger pin (input with internal pull-down)
16 RST DCLK Reset pin (input with internal pull-down)
Ver 2.0 Dec 6, 2006
Integrated Circuits Inc. aP8921A/10A
4
PIN DESCRIPTIONS
S1 ~ S4
Input Trigger Pins:
- S1 to S4 is used to trigger the 12 Voice Groups in both Key and CPU Parallel Trigger Mode.
- In OTP Programming Mode, S1 to S4 are used as program enable pins.
SBT
Input Trigger Pin:
- In Key Trigger Mode, this pin is trigger pin to trigger the playback of Voice Groups one by one
sequentially.
- In CPU Parallel Command Mode, this pin is used as address strobe to latch the input from S1 to
S4 and starts the voice playback.
- In OTP Programming Mode, this pin is used as PGM signal.
VDD and V33
Power Supply Pin for normal and programming operation
VSS
Power Ground Pin
VOUT1 and VOUT2
Digital PWM output pins which can drive speaker and buzzer directly for voice playback.
OSC
During voice playback, an external resistor is connected between this pin and the VDD pin to set
the sampling frequency. In OTP Programming Mode, this is the ACLK input signal.
VPP
No connection during voice playback. In OTP Programming Mode, this pin is connected to a
separate 6.5V power supply.
OUT1 and OUT2
- In Key Trigger Mode and CPU Parallel Command Mode, these pins are user programmable pins
for the STOP pulse, BUSY and LED signals.
- During OTP programming, OUT1 serves as OEB while OUT2 serves as data IO.
COUT
Analog 8-bit current mode D/A output for voice playback
RST
Chip reset in playback mode or DCLK pin in OTP programming mode.
Ver 2.0 Dec 6, 2006
Integrated Circuits Inc. aP8921A/10A
5
VOICE SECTION COMBINATIONS
Voice files created by the PC base developing system are stored in the built-in EPROM of the
aP8921A/10A chip as a number of fixed length Voice Blocks. Voice Blocks are then selected and
grouped into Voice Groups for playback. Up to 12 Voice Groups are allowed. A Voice Block
Table is used to store the information of combinations of Voice Blocks and then group them
together to form Voice Group.
Chip aP8921A aP8910A
Memory size 512K bits 256K bits
Max no. of Voice Block 126 126
No. of bytes per Voice Block 512 256
Max. no. of Voice Group 12 12
No. of Voice Table entries 960 960
Voice Length (@ 6KHz 4-bit ADPCM) 21 sec 10 sec
Example of Voice Block Combination
Assume here we have three voice files, they are “How are You?”, Sound Effect and Music. Each
of the voice file is divided into a number of fixed length Voice Block and stored into the memory.
Voice File 1 - “How are You?” is stored in Voice Block B0 to B12.
Voice File 2 - Sound Effect is stored in Voice Block B13 to B15.
Voice File 3 - Music is Voice Block B16 to B40.
Voice Blocks are grouped together using Voice Table to form Voice Group for playback:
Group no. Voice Group contents Voice Table Entries
Group 1 “How are You?”B0 … B12
Group 2 Sound Effect + “How are You?”B13 … B15 + B0 … B12
Group 3 “How are You?” + Music B0 … B12 + B16 … B40
Group 4 Music B16 … B40
Voice Data Compression
Voice File data is stored in the on-chip EPROM as either 4-bit ADPCM or 8-bit PCM format.
Voice data stored as 4-bit ADPCM provides 2:1 data compression which can save 50% of memory
space. On the other hand, voice data are stored as 8-bit PCM format means no data compression is
employed but voice playback quality will be better.
Ver 2.0 Dec 6, 2006
Integrated Circuits Inc. aP8921A/10A
6
Programmable Options
In both Key Trigger Mode and CPU Parallel Trigger Mode, user can select different trigger
functions and output signals to be sent out from the pins OUT1 and OUT2.
Options affect all Voice Group playback are called Whole Chip Options. Options only affect the
playback of individual Voice Group are called Group Options.
Whole Chip Options
• Key or CPU Parallel Trigger Mode.
• Ramp-up-down enable or disable:
When COUT is used for playback, Ramp-up-down should be enabled. This function
eliminates the ‘POP’ noise at the beginning and end of voice playback.
When VOUT1 and VOUT2 are used to drive speaker directly, Ramp-up-down should be
disabled.