Owner's manual

Preliminary
APR6016 Data Sheet
Page 6 Voice Recording & Playback Device
Revision 1.0
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
g
ister. For more information see the
Read-
ing the SID
section.
The
SET_FWD
command instructs the device to fast forward
from the be
g
innin
g
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
g
in-
nin
g
of the same sector and be
g
in the same process a
g
ain. If
an EOD bit is found the device will stop and
g
enerate 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
q
uential sector and continue lookin
g
.
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
arra
y
is reached. When an EOD is reached
the device will stop and
g
enerate 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
q
uenc
y
and EXTCLK
divider ratio. The PWRUP command must be used to force
the device into power up mode before an
y
commands can be
executed. To select an Internal oscillator fre
q
uenc
y
set the
[A1 - A0] bits accordin
g
to the followin
g
binar
y
values:
If
y
ou are usin
g
an external sample clock si
g
nal
y
ou must
also set the EXTCLK divider ratio. This divider ratio is e
q
ual
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] [Don’t 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