Preliminary apr6016 data sheet – Rainbow Electronics APR6016 User Manual
Page 6
![background image](/manuals/281766/6/background.png)
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 reading the current device status. For
more information on reading device status see the
Current
Device Status
section.
THE
SID
operation instructs the device to return the contents
of its silicon ID register. For more information see the
Read-
ing the SID
section.
The
SET_FWD
command instructs the device to fast forward
from the beginning 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
forthcoming command has been received when the end of
the sector is reached, the device will loop back to the begin-
ning 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-
ing 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 sequential 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 memory 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 during this operation.
The
PWRUP
command causes the device to enter power up
mode and set the internal clock frequency and EXTCLK
divider ratio. The PWRUP command must be used to force
the device into power up mode before any commands can be
executed. To select an Internal oscillator frequency set the
[A1 - A0] bits according 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 equal
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