- Random access of multiple fixed-duration messages
- Sequential access of multiple variable-duration
messages
• User-friendly, easy-to-use operation
- Programming & development systems not required
- Level-activated recording & edge-activated play
back switches
• Low power consumption
- Operating current: 25 mA typical
- Standby current: 1 uA typical
- Automatic power-down
• Chip Enable pin for simple message expansion
General Description
The APR9600
non-volatile stora
onds. The device supports both random and sequential
access of multiple messa
able, allowin
quality and stora
microphone amplifier, and AGC circuits
tem desi
recorders, toys, and many other consumer and industrial
applications.
APLUS integrated
bility by usin
nology implem
memory process, where each memory cell can store 256 volta
e levels. This technology enables the APR9600 device to
reproduce voice si
need for encodin
distortion.
Update:2002/11/05
devi
ce offers true single-chip voice recording,
e, and playback capability for 40 to 60 sec-
es. Sample rates are user-select-
designers to customize their design for unique
e time needs. Integrated output amplifier,
n. the device is ideal for use in portable voice
achieves these high levels of storage capa-
its proprietary analog/multilevel storage tech-
ented in an advanced Flash non-volatile
nals in their natural form. It eliminates the
and compression, which often introduce
si
reatly
mplify sys-
Pinout Diagram
Figure 1 APR9600 Pinout Diagram
1
/M2_Next
/M3
/M4
/M5
/M6
OscR
/M7_END
/M8_Option
/Busy
BE
VSSD
VSSA
SP+
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
/RE
ExtCIK
MSEL2
MSEL1
/CE
/Strobe
Ana_Out
Ana_In
AGC
MicRef
Micln
VCCA
SP-
Page 1
g
g
g
q
g
g
g
g
q
y
g
g
g
g
y
g
y
y
y
g
y
g
g
g
g
g
APLUS
APR9600
Functional Description
The APR9600 block diagram is included in order to give
understandin
left hand side of the dia
ential microphone amplifier, includin
included on-chip for applications re
fied microphone si
the Ana_Out pin to the Ana_In pin through an external DC
blockin
Ana_In pin throu
connection between Ana_In and Ana_Out is still re
pla
back. The next block encountered by the input signal is
the internal anti-aliasin
its response accordin
Shannon’s Samplin
filtering is accomplished the signal is ready to be clocked into
the memor
of the APR9600 i i nternal architecture. At the
ram are the analog inputs. A differ-
integrated AGC, is
uiring its use. The ampli-
nal is fed into the device by connectin
capacitor. Recording can be fed directly into the
h a DC blocking capacitor, however, the
uired for
filter. The filter automatically adjusts
to the sampling frequency selected so
Theorem is satisfied. After anti-aliasin
array. This storage is accomplished through a
Figure 2 APR9600 Block Diagram
OscR
ExtClk
Ana_In
Ana_Out
MicIn
MicRef
AGC
Pre-
Amp
Internal
Oscillator
Automatic Gain
Control (AGC)
Mux
Anti-Aliasing
Filter
combination of the Sample and Hold circuit and the Analo
Write/Read circuit. These circuits are clocked by either the
Internal Oscillator or an external clock source. When pla
back is desired the previousl
from memor
the ri
b
connecting a speaker to the SP+ and SP- pins. Chip-wide
mana
block shown in the upper ri
a
ement is controlled through the message control block represented in the lower center of the block dia
on actual device application can be found in the
Applications
found in the
detail on messa
found in the
Sample & Hold
Circuit
Analog Write &
Read Circuits
256k Cell
Flash EPROM
Analog Storage
Array
Message Decoders
, low pass filtered, and amplified as shown on
ht hand side of the diagram. The signal can be heard
ement is accomplished through the device control
section. More detail on sampling control can be
Sample Rate and Voice Quality
e management and device control can be
Message Management
Low Pass
stored recording is retrieved
ht hand corner. Message man-
ram. More detail
section. More
section.
/CE /RE
Device Control
Filter
Amp
Sample
/Strobe
/Busy
BE
MSEL1
MSEL2
SP-
SP+
-
Power Supplies
/M2_Next
VCC VCCA VSSD VSSA/M1_Message
Page 2Single-Chip Voice Recording & Playback Device for Multiple 40- to 60-Second Messages
Message Control
/M3 /M4 /M5
/M7_END/M8_Option
/M6
y
y
g
g
g
g
g
g q
g
(
g
g
g
g
g
g
g
y
g
y
g
g
y
g
y
g
gg
y
g
(
y
)
g
y
g
g
g
g
g
g
y
y
g
g
y
g
g
g
g
g
g
)
g
g
y
(
g
g
g
y
g
APLUS
APR9600
Message Management
Message Management General Description
Pla
back and record operations are managed by on chip cir-
cuitr
. There are several available messaging modes
dependin
determine messa
external parts count. Therefore, the desi
appropriate operatin
Operatin
on factors affectin
Quality
The device supports three messa
defined by the MSEL1, MSEL2 and /M8_Option pins shown
in Fi
• Random access mode with 2, 4, or 8 fixed-duration mes-
sa
upon desired operation. These message modes
e management style, message length, and
ner must select the
before
beginning the design.
affect voice quality; for information
Sampling Rate & Voice
e management modes
modes do
section.
ures 1 and 2):
es
mode
not
uality refer to the
Table 1
ModeMSEL1MSEL2/M8_Option
Random Access 2 fixed duration messages
Random Access 4 fixed duration messages
Random Access 8 fixed duration messages
Tape mode, Normal operation
Tape mode, Auto rewind operation
01
10
11
00
00
• Tape mode, with multiple variable-duration messa
vides two options:
- Auto rewind
-Normal
Modes cannot be mixed. Switchin
has recorded an initial messa
modes are switched after an initial recordin
some unpredictable messa
mode ma
the new mode. These fra
operation in the newl
decodin
An important feature of the APR9600 messa
capabilities is the abilit
chan
superimposed on the device’s output. This feature is enabled
b
asserting a logic high level on the BE pin.
remain present, and be audible on playback, in
ments will disappear after a record
selected mode. Table 1 defines the
necessary to choose the desired mode.
to audibly prompt the user to
es in the device’s status through the use of “beeps”
Pull this pin to VCC through 100K resistor
Pull this pin to VCC through 100K resistor
Becomes the /M8 message trigger input pin
0
1
of modes after the device
e is not recommended. If
has been made
e fragments from the previous
es, pro-
e management
Random Access Mode
Random access mode supports 2, 4, or 8 messa
ments of fixed duration. As su
can be made randoml
len
th of each message segment is the total recording length
available
b
the total number of segments enabled (as decoded in
Table1
messa
as defined by the selected sampling rate) divided
. Random access mode provides easy indexing to
e segments.
in any of the selected messages. The
ested recording or playback
es seg-
Functional Description of Recording in Random Access
Mode
On power up, the device is ready to record or play back, in
an
of the enabled message segments. To record, /CE must
be set low to enable the device and /RE must be set low to
enable recordin
level on the messa
se
ment you intend to use. The message trigger pins are
labeled /M1_Messa
pin 7) for message segments 1-8 respectively.
Note:
Messa
/M7_END, and /M8_Option, have expanded names to
represent the different functionalit
. You initiate recording by applying a low
e trigger pin that represents the message
e - /M8_Option on pins 1-9 (excludin
e trigger pins /M1_Message, /M2_Next,
that these pins
assume in the other modes. In random access mode
these pins should be considered purel
er pins with the same functionality as /M3, /M4, /M5,
and /M6. For a more thorou
tionalit
to the pin description table that appears later in this
document.
When actual recordin
le beep (if the BE pin is high to enable the beep tone) at the
speaker outputs to indicate that it has started recordin
Recordin
The risin
record stops the recording operation (indicated with a single
beep
.
If the messa
maximum allocated duration, recordin
indicated with two beeps), regardless of the state of the mes-
sa
e trigger pin. The chip then enters low-power mode until
the messa
er pin returns to high, the chip enters standby mode. An
subsequent high to low transition on the same message trig-
er pin will initiate recording from the beginning of the same
of device pins in different modes please refer
begins the device responds with a sin-
continues as long as the message pin stays low.
edge of the same message trigger pin durin
e trigger pin is held low beyond the end of the
e trigger pin returns high. After the message trig-
h explanation of the func-
message trig-
stops automaticall
.
Single-Chip Voice Recording & Playback Device for Multiple 40- to 60-Second MessagesPage 3
y
g
g
y
g
y
g
y
g
g
g
g
y
y
g
ying
g
g
y
q
g
g
g
g
g
y
g
g
y
g
g
g (
q
g
g
y
)
q
g
y
g
g
g
y
g
q
g
g
q
g
g
g
g
y
g
gg
g
g
y
ge y
g
y
g
y
g
y
(
q
g
y
g
g
q
g
y
y
g
APR9600 APLUS
message segment. The entire previous message is then
overwritten b
of the new messa
er pin or the /RE pin during the record operation are ignored
after
until
the new message, regardless of the duration
e. Transitions on any other message trig-
the device enters standby mode.
Functional Description of Playback in Random Access
Mode
On power up, the device is ready to record or playback, in
an
of the enabled message segments. To playback, /CE
must be set low to enable the device and /RE must be set
hi
h to disable recording & enable playback. You initiate playback b
pin that representin
pla
is reached. If a hi
sa
messa
If a different messa
pla
cated b
ment be
clock will be encountered before the device starts pla
new messa
If a messa
pla
period of silence, of a duration e
samplin
to the user of the transition between the end and the be
nin
Tape Mode
Tape mode mana
tional cassette tape recorders. Within tape mode two options
exist, auto rewind and normal. Auto rewind mode confi
the device to automaticall
messa
messa
be recorded or pla
tional cassette tape recorder.
applying a high to low edge on the message trigger
the message segment you intend to
back. Playback will continue until the end of the message
h to low edge occurs on the
e trigger pin during playback, playback of the current
e stops immediately.
e trigger pin pulses during playback,
back of the current message stops immediately (indi-
one beep) and playback of the new message seg-
ins. A delay equal to 8,400 cycles of the sample
e.
e trigger pin is held low, the selected message is
ed back repeatedly as long as the trigger pin stays low. A
ual to 8,400 cycles of the
clock, will be inserted during looping as an indicator
of the message.
es messages sequentially much like tradi-
rewind to the beginning of the
e immediately following recording or playback of the
e. In tape mode, using either option, messages must
ed back sequentially, much like a tradi-
same
mes-
the
in-
ures
Function Description Recording in Tape Mode using the
Normal Option
On power up, the device is ready to record or play back, startin
at the first address in the memory array. To record, /CE
must be set low to enable the device and /RE must be set low
to enable recordin
initiates voice recordin
uent rising edge of the /M1_Message pin during recordin
stops the recording (also indicated by one beep). If the
/M1_Messa
memor
beeps
/M7_END pin for a duration e
, recording will stop automatically (indicated by two
. The device will then assert a logic low on the
. A falling edge of the /M1_Message pin
indicated by one beep). A subse-
e pin is held low beyond the end of the available
ual to 1600 cycles of the sam-
ple clock, re
The device returns to standb
pin
oes high again.
After recordin
to the be
wait for the next user input. The auto rewind function is convenient because it allows the user to immediatel
and review the messa
ever, caution must be practiced because a subse
record operation will overwrite the last recorded messa
unless the user remembers to pulse the /M2_Next pin in
order to increment the device past the current messa
A subse
new record operation, overwritin
message. You can preserve the previously recorded messa
e by using the /M2_Next input to initiate recording in the
next available messa
the /M2_Next pin must be pulled low for at least 400 c
the sample clock.
The auto rewind mode allows the user to record over the previous messa
first to
sa
e however requires a different sequence. You must pulse
the /CE pin low once to rewind the device to the be
the voice memor
for the specified number of times to move to the start of the
messa
messa
previousl
sa
e it becomes the last available message and all previousl
recorded messages following this message become
inaccessible. If durin
memor
double beep) and set the /M7_END pin low for a duration
e
ual to 1600 cycles of the sample clock. Playback can be
initiated on this last messa
will put the device into an “overflow state”.
Once the device enters an overflow state an
pulsin
ble beep and settin
e
ual to 400 cycles of the sample clock. To proceed from this
state the user must rewind the device to the be
memor
pin low or c
i
nored during recording.
ardless of the state of the /M1_Message pin.
mode when the /M1_Message
is finished the device will automatically rewind
inning of the most recently recorded message and
playback
e without the need to rewind. How-
uent
e.
uent falling edge on the /M1_Message pin starts a
the previously existin
e segment. To perform this function,
cles of
e simply by initiating a record sequence without
ling the /M2_Next pin. To record over any other mes-
inning of
.The /M2_Next pin must then be pulsed low
ou wish to overwrite. Upon arriving at the desired
e a record sequence can be initiated to overwrite the
recorded material. After you overwrite the mes-
a record operation all the available
is used the device will stop recording automatically,
e, but pulsing the /M2_Next pin
subsequent
of /M1_Message or /M2_Next will only result in a dou-
of the /M7_END pin low for a duration
inning of the
array. This can be accomplished by toggling the /CE
cling power. All inputs, except the /CE pin, are
e
Page 4Single-Chip Voice Recording & Playback Device for Multiple 40- to 60-Second Messages
g
g
g
g
g
g
g
y
y
y
g
y
g
g
g
y
g
q
g
y
y
g
y
q
g
g
g
(
y
y
g
g
g
y
y
q
g
y
g
g
g
g
g
g
g
y
y
g
y
q
y
g
g
g
g
g
g
y
g
g
y
y
g
g
g
y
g
ge y
g
g
g
g
y
y
g
g
g
y
g
y
g
y
g
g
g
y
g
y
g
g
g
g
APLUS
APR9600
Function Description of Playback in Tape Mode using
the Normal Option
On power-up, the device is ready to record or play back,
startin
at the first address in the memory array. Before you
can be
enable the device and /RE must be set to hi
recordin
pulse of the /M1_Message pin initiates playback from the
be
sa
pulses low the second time, pla
stops immediatel
third time, pla
its be
ousl
fashion. A 1,530 ms period of silence is inserted during loopin
be
Note that in auto rewind mode the device alwa
the be
current messa
accomplished b
The pulse must be low for least 400 c
clock. After the device is incremented to the desired message
the user can initiate pla
back se
the /M2_Next pin
current messa
the next messa
Note that if /M2_Next goes low when not in playback mode,
the device will prepare to pla
actuall
If the /CE pin
rent messa
be
pla
When
a double beep. To proceed from this state the user must
rewind the device to the be
can be accomplished b
power.
in playback, the /CE input must be set to low to
h to disable
and enable playback. The first high to low goin
inning of the current message; on power up the first mese is the current message. When the /M1_Message pin
back of the current message
. When the /M1_Message pin pulses low a
back of the current message starts again from
inning. If you hold the /M1_Message pin low continu-
the same message will play continuously in a loopin
as an indicator to the user of the transition between the
inning and end of the message.
s rewinds to
inning of the current message. To listen to a subse-
uent message the device must be fast forwarded past the
e to the next message. This function is
toggling the /M2_Next pin from high to low.
cles of the samplin
back of the message with the play-
uence described above. A special case exists when
oes low during playback. Playback of the
e will stop, the device will beep, advance to
e and initiate playback of the next message.
the next message, but will not
initiate playback).
oes low during playback, playback of the cur-
e will stop, the device will beep, reset to the
inning of the first message, and wait for a subsequent
back command.
ou reach the end of the memory array, any subse-
uent pulsing of /M1_Message or /M2_Next will only result in
inning of the memory array. This
toggling the /CE pin low or cyclin
Functional Description of Recording in Tape Mode using
Auto Rewind Option
On power-up, the device is ready to record or play back,
startin
at the first address in the memory array. Before you
can be
enable the device and /RE must be set to low to enable
recordin
device will beep once and initiate recordin
risin
insert a sin
in recording, the /CE input must be set to low to
. On a falling edge of the /M1_Message pin the
. A subsequent
edge on the /M1_Message pin will stop recording and
le beep. If the /M1_Message pin is held low
be
ond the end of the available memory, recording stops
automaticall
state of the /M1_Messa
standb
A subse
new record operation in the memor
lowin
recorded messa
To record over all previous messa
pin low once to reset the device to the be
messa
described above, to record a new messa
recentl
messa
messa
ou wish to preserve any current messages it is recom-
If
mend that Auto Rewind option be used instead of Normal
option. If Normal option is necessar
can be used. To preserve current messa
forward past the messa
record a new messa
mal option
sa
es sequentially until you arrive at the beginning of the
messa
switch back to record mode and overwrite the desired messa
e. The most recently recorded message will become the
last recorded messa
followin
except /CE are i
, and two beeps are inserted; regardless of the
e pin. The device returns to the
mode when the /M1_Message pin is returned high.
uent falling edge on the /M1_Message pin starts a
array immediately fol-
the last recorded message, thus preserving the last
e.
es you must pulse the /CE
inning of the first
e. You can then initiate a record sequence, as
e. The most
recorded message will become the last recorded
e and all previously recorded messages following this
e will become inaccessible.
the following sequence
es you must fast
es you want to keep before you can
e. To fast forward when using the Nor-
ou must switch to play mode and listen to mes-
ou wish to overwrite. At this stage you should
e and all previously recorded messages
this message will become inaccessible. All inputs,
nored during recording.
Functional Description of Playback in Tape Mode using
Auto Rewind Option
On power-up, or after a low to high transition on /RE the
device is read
address in the memor
of messa
device and /RE must be set to hi
first hi
h to low going pulse of the /M1_Message pin initiates
pla
back from the beginning of the current message. When
the /M1_Messa
pla
back of the current message stops immediately. When
the /M1_Messa
pla
back of the next message starts again from the beginnin
. If you hold the /M1_Message pin low continuously, the
current messa
one of the followin
array is reached, the last message is reached, the
/M1_messa
has alread
/M1_Messa
the /M7_END pin will
the /CE pin low once durin
the be
inning of the first message.
to record or play back starting at the first
array. Before you can begin playback
es, the /CE input must be set to low to enable the
h to enable playback. The
e pin pulses from high to low a second time,
e pin pulses from high to low a third time,
e and subsequent messages play until the
conditions is met: the end of the memor
e pin is released. If the last recorded message
played, any further transitions on the
e pin will initiate a double beep for warning and
o low. To exit this state you must pulse
standby to reset the pointer to
Single-Chip Voice Recording & Playback Device for Multiple 40- to 60-Second MessagesPage 5
y
g
y
y
y
y
y
y
y
g
y
g
ghty
y
g
g
g
g
g
g
y
y
g
y
y
g
g
y
g
q
g
g
g
q
g sy
g
y
g
g
q
g
y
y
g
g
q
q
g
q
g
g
APLUS
Microprocessor Controlled Message Management
The APR9600 device incorporates several features designed
to help simplif
ment. When controllin
tiall
toggles pins as described in the message management
sections describe previousl
/M7_END pins are included to simplif
the microprocessor and the APR9600
The /Bus
the device is bus
accepted. When this pin is high the device is ready to accept
and execute commands from the host.
The /Strobe pin pulses low each time a memor
used. Countin
to accuratel
used, and how much recordin
has a total of ei
The /M7_END pin is used as an indicator that the device has
stopped its current record or pla
recording a low going pulse indicates that all memory has
been used. Durin
last messa
Microprocessor control can also be used to link several
APR9600
recordin
microphone si
processor will then control which device currentl
speaker b
respective /CE pins. A continuous messa
recorded in multiple devices however because the transition
from one device to the next will incur a dela
able upon pla
messa
microprocessor controlled message manage-
messages the microprocessor essen-
. The /Busy, /Strobe, and
handshaking between
pin when low indicates to the host processor that
and that no commands can be currentl
segments is
pulses on this pin enables the host processor
determine how much recording time has been
time remains. The APR9600
memory segments.
back operation. Durin
playback a low pulse indicates that the
e has played.
devices to
time. In this application both the speaker and
enabling or disabling each device using their
e boundaries and device boundaries always coincide.
ether in order to increase total available
nals can be connected in parallel. The micro-
drives the
e can not be
that is notice-
back. For this reason it is recommended that
APR9600
her sampling rates increase the bandwidth and hence the
Hi
voice
same len
fewer memor
capabilities of the device, but the
nal bandwidth. The APR9600 accommodates samplin
as hi
An internal oscillator provides the APR9600samplin
Oscillator fre
tance from the OscR pin to GND. Table 2 summarizes resistance values and the correspondin
well as the resultin
Table 2 Reference Rosc Value & Sampling Frequency
uality, but they also use more memory cells for the
th of recording time. Lower sampling rates use
cells and effectively increase the duration
also reduce incoming sig-
rates
h as 8 kHz and as low a 4 kHz. You can control the
uality/duration trade off by controlling the sampling freuency.