User guide

APR6008
Page 6 Voice Recording & Playback Device
Revision 2.1
The
NOP
command performs no operation in the device. It is
most often used when readin
g the current device status. For
more information on readin
g device status see the
Current
Device Status
section.
THE
SID
operation instructs the device to return the contents
of its silicon ID re
gister. For more information see the
Read-
ing the SID
section.
The
SET_FWD
command instructs the device to fast forward
from the be
ginning of the sector specified in the OpCode
parameter field. The device will fast forward until either an
EOD bit, or the end of the sector is reached. If no EOD bit or
forthcomin
g command has been received when the end of
the sector is reached, the device will loop back to the be
gin-
nin
g of the same sector and begin the same process again. If
an EOD bit is found the device will stop and
generate an
interrupt on the /INT pin. The output amplifiers are muted dur-
in
g this operation.
The
FWD
command instructs the device to fast forward from
the start of the current sector to the next EOD marker. If no
EOD marker is found within the current sector the device will
increment to the next se
quential sector and continue looking.
The device will continue to fast forward in this manner until
either an EOD is reached, a new command is sent, or the end
of the memor
y array is reached. When an EOD is reached
the device will stop and
generate an interrupt on the /INT pin.
The output amplifiers are muted durin
g this operation.
The
PWRUP
command causes the device to enter power up
mode and set the internal clock fre
quency and EXTCLK
divider ratio. To select an Internal oscillator fre
quency set the
[A1 - A0] bits accordin
g to the following binary values:
If
you are using an external sample clock signal you must
also set the EXTCLK divider ratio. This divider ratio is e
qual
to N:1 where N is an inte
ger between 1 and 256, excluding 2.
The N value should be selected to satisf
y the following equa-
SET_REC
[01000] Sector Address
[A14 - A0]
STOP,
STOP_PWDN,
SET_REC,
REC,NOP
Starts a record operation from the sector
address specified.
REC
[01001] [Dont care] STOP,
STOP_PWDN,
SET_REC,
REC,NOP
Starts a record operation from the current
sector address.
DIG_ERASE
[01010] Sector Address
[A14 - A0]
All Commands Erases all data contained in specified sec-
tor. You must not erase a sector before
recording voice signals into it. You must
erase a sector before storing digital data in
it.
DIG_WRITE
[01011] [A14 - A0][XXXX][D0 - D3004][XXXX] All Commands This command writes data bits D0 - D3003
starting at the specified address. All 3004
bits must be written.
DIG_READ
[01111] Sector Address
[A14 - A0]
All Commands This command reads data bits D0 - D3003
starting at the specified address.
SET_PLAY
[01100] Sector Address
[A14 - A0]
STOP,
STOP_PWDN,
SET_FWD, FWD,
SET_PLAY,PLAY,
NOP
Starts a play operation from the sector
address specified.
PLAY
[01101] [Don’t care] STOP,
STOP_PWDN,
SET_FWD, FWD,
SET_PLAY,PLAY,
NOP
Starts a play operation from the current
sector address.
Instruction
Name
OpCode
(5 bits) Opcode Parameters (15bits)
Allowable Follow
on Commands Summary
[Op4 - Op0]
[Address MSB - Address LSB]
[Address 14 - Address 0]
A1 A0 Sample rate
0 0 6.4 kHz
0 1 4.0 kHz
1 0 8.0 kHz
1 1 5.3 kHz