Owner's manual
Preliminary
APR6016 Data Sheet
Voice Recording & Playback Device Page 3
Revision 1.0
Memory Organization
The APR6016 memor
y
arra
y
is or
g
anized to allow the
g
reat-
est flexibilit
y
in messa
g
e mana
g
ement and di
g
ital stora
g
e.
The smallest addressable memor
y
unit is called a “sector”.
The APR6016 contains 1280 sectors.
Figure 3 Memory Map.
Sectors 0 throu
g
h 1279 can be used for analo
g
stora
g
e. Dur-
in
g
audio recordin
g
one memor
y
cell is used per sample
clock c
y
cle. When recordin
g
is stopped an end of data
(
EOD
)
bit is pro
g
ramed into the memor
y
. This prevents pla
y
back of
silence when partial sectors are used. Unused memor
y
that
exists between the EOD bit and the end of the sector can not
be used.
Sectors 0 throu
g
h 9 are tested and
g
uaranteed for di
g
ital
stora
g
e. Other sectors, with the exception of sector 1279, can
store data but have not been tested, and are thus not
g
uaran-
teed to provide 100%
g
ood bits. This can be mana
g
ed with
error correction or forward check-before-store methods.
Once a write c
y
cle is initiated all previousl
y
written data in the
chosen sector is lost.
Mixin
g
audio si
g
nals and di
g
ital data within the same sector is
not possible.
Note: There are a total of 15bits reserved for addressing. The
APR6016 only requires 11 bits. The additional 4 bits are used
for larger device within the APR60XX family.
SPI Interface
All memor
y
mana
g
ement is handled b
y
an external host pro-
cessor. The host processor communicates with the APR6016
throu
g
h a simple Serial Peripheral Interface
(
SPI
)
Port. The
SPI port can run on as little as three wires or as man
y
as
seven dependin
g
on the amount of control necessar
y
. This
section will describe how to mana
g
e memor
y
usin
g
the
APR6016's SPI Port and associated OpCode commands.
This topic is broken down into the followin
g
sections:
• Sendin
g
Commands to the Device
• OpCode Command Description
• Receivin
g
Device Information
• Current Device Status
(
CDS
)
• Readin
g
the Silicon Identification
(
SID
)
•Writin
g
Di
g
ital Data
• Readin
g
Di
g
ital Data
• Recordin
g
Audio Data
•Pla
y
in
g
Back Audio Data
• Handshakin
g
Si
g
nals
Sending Commands to the Device
This section describes the process of sendin
g
OpCodes to
the APR6016. All Opcodes are sent in the same wa
y
with the
exception of the
DIG_WRITE
and
DIG_READ
commands
.
The
DIG_WRITE and DIG_READ
commands
are
described
in the
Writing Digital Data
and
Reading Digital Data
sections
that follow. The minimum SPI confi
g
uration needed to send
commands uses the DI, /CS, and SCLK pins. The device will
accept inputs on the DI pin whenever the /CS pin is low.
OpCode commands are clocked in on the risin
g
ed
g
e of the
SPI clock. Fi
g
ure 4 shows the timin
g
dia
g
ram for shiftin
g
OpCode commands into the device. Fi
g
ure 5 is a description
of the OpCode stream.
You must wait for a command to finish executin
g
before send-
in
g
a new command. This is accomplished b
y
monitorin
g
the
/BUSY pin. You can substitute monitorin
g
of the bus
y
pin b
y
insertin
g
a fixed dela
y
between commands. The re
q
uired
dela
y
is specified as
T
next1
,T
next2
,T
next3
or T
next4
. Fi
g
ure 6
shows the timin
g
dia
g
ram for sendin
g
consecutive com-
mands. Table 1 describes which
T
next
specification to use.
Sector 0
Sector 1
Sector 1279
Can Not be Used for Di
g
ital Data
SAC Tri
gg
er Point










