Owner's manual

Preliminary
APR6016 Data Sheet
Page 8 Voice Recording & Playback Device
Revision 1.0
Receiving Device Information
The device communicates data to the user b
y
shiftin
g
out
data on the DO pin. The device will shift out data accordin
g
to
the timin
g
parameters
g
iven in fi
g
ure 7. The device can shift
out three different t
y
pes of data streams: Device status, Sili-
con ID, and user stored di
g
ital data. Device status and silicon
ID are described in the next two sections. Retrieval of user
data is described in the
Reading Digital Data
section.
Figure 7 Data Out Timing
Current Device Status (CDS)
As described in the previous section, three different t
y
pes of
data streams are shifted out on the DO pin as data is shifted
in on the DI pin. One of these streams is the current device
status. The CDS will be shifted out unless the previous com-
mand is SID command. Fi
g
ure 8 shows the format of the
CDS bit stream. The first bit shifted out, D0, is the Overflow
fla
g
. The Overflow fla
g
is set to a binar
y
1 if an attempt was
made to record be
y
ond the available memor
y
. The Overflow
fla
g
is set to a 0 if an overflow has not occurred. This fla
g
is
cleared after it has been read. The D1 bit is the End of Data
fla
g
. The EOD fla
g
is set when the device stops pla
y
in
g
, or
fast forwardin
g
as a result of an EOD bit in memor
y
. The EOD
fla
g
is cleared after it has been read. The D2 bit is the Ille
g
al
Address fla
g
. The Ille
g
al Address fla
g
is set whenever an ille-
g
al address is sent to the device. The D3 bit is the Lbat fla
g
.
This fla
g
is set when the device senses a suppl
y
volta
g
e
below specification. The D4 bit is not used and should be
i
g
nored. The last fifteen bits represent the address of the cur-
rent or last active sector.
Figure 8 Format for CDS Bit Stream
Op4
Op3
Op2 Op1
A1
A2
A0
/CS
SCLK
DI
D0
D1 D2 D18 D17 D19 D16
D3
~
~
~
~
~
~
DO
T
fcsDO
T
fSCLK
T
hzD0
D15
~
~
A3
Lbat
OVF
EOD
Ille
g
al Address
D0 D1 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D2
~
~
D19
}
First bit shifted outLast bit shifted out
Sector Address
Sector Address MSBSector Addr
ess
LSB