Owner's manual
Preliminary
APR6016 Data Sheet
Page 10 Voice Recording & Playback Device
Revision 1.0
Writing Digital Data
Di
g
ital data is written into the device usin
g
the
DIG_WRITE
command. No mixin
g
of analo
g
data and di
g
ital data within a
sector is possible. Sectors 0 throu
g
h 9 are tested and
g
uar-
anteed 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
uaranteed to provide 100%
g
ood bits. This can
be mana
g
ed with error correction or forward check-before-
store methods. Issuin
g
a
DIG_ERASE
command on sector
1279 will cause data throu
g
hout all sectors to be lost.
A sector must be erased, usin
g
the
DIG_ERASE
command,
before di
g
ital data can be written to it. This re
q
uirement is
necessar
y
whether analo
g
data or di
g
ital data was previousl
y
stored in the sector. A sector should not be erased more than
once between analo
g
or di
g
ital write operations. Executin
g
multiple erase operations on a sector will permanentl
y
dam-
a
g
e the sector. A sector can be reallocated to either analo
g
stora
g
e or di
g
ital stora
g
e at an
y
time.
The process of storin
g
di
g
ital data be
g
ins b
y
sendin
g
a
DIG_WRITE
command. The
DIG_WRITE
command is fol-
lowed immediatel
y
b
y
four buffer bits. These bits will not be
stored in the arra
y
and must be considered don’t care bits.
Immediatel
y
followin
g
the four buffer bits should be the data
that
y
ou wish to store. All 3004 bits must be stored. Four
additional buffer bits must be clocked into the device follow-
in
g
the stored data. These bits will not be stored in the arra
y
and must be considered don’t care bits. Endin
g
a di
g
ital write
command earl
y
will permanentl
y
dama
g
e the sector.
The DO pin will clock out the normal 20 bit CDS followed b
y
five don’t care bits, a cop
y
of the 3004 data bits, and finall
y
three don’t care bits.
Fi
g
ure 11 shows a timin
g
dia
g
ram which describes the di
g
ital
stora
g
e process. All timin
g
with the exception of T
pSCLK
should adhere to the specifications
g
iven in Fi
g
ure 4 and Fi
g
-
ure 7. The T
pSCLK
specification is replaced b
y
the DT
pSCLK
when storin
g
di
g
ital data. The /BUSY pin indicates when a
DIG_WRITE
is takin
g
place.
Note: The DIG_ERASE command should not be used before
storing analog data. The device will perform its own internal
erase before analog storage.
Figure 11 does not show the DIG_ERASE command which
must be executed on a sector before digital data can be
stored.
Figure 11 Writing Digital Data
/CS
SCLK
D I
DO
CDS
Cop
y
of the input data (dela
y
ed one clock c
y
cle)
Four Don’t Care Bits
Total 3032 clock c
y
cles
X
X
X
X
X
X
X
X
DIG_WRITECOMMAND
3004 bits of data to be stored
XXX
X
X
X
X
X
/BUSY










