Owner's manual

Preliminary
APR6016 Data Sheet
Voice Recording & Playback Device Page 9
Revision 1.0
Reading the SID
Each device in the APR60XX series family contains an
embedded Silicon Identification
(
SID
)
. The SID can be read
b
y
the host processor to identif
y
which famil
y
/ famil
y
member
is bein
g
used. Readin
g
the device SID re
q
uires issuin
g
two
OpCode commands; a SID command followed b
y
an
y
other
command, usuall
y
a NOP command. The device will clock
the SID data out on the DO pin as the command that follows
the SID command is clocked in. Fi
g
ure 9 is a dia
g
ram that
describes the process necessar
y
for readin
g
SID information.
Figure 9 SID Timing
The SID information follows the format
g
iven in Fi
g
ure 10.
The first bit shifted out, D0, is the Overflow bit. The Overflow
bit is set to a binar
y
1 if an attempt was made to record
be
y
ond the available memor
y
. The Overflow bit is set to a 0 if
an overflow has not occurred. This bit is cleared after it has
been read. The D1 bit is the End Of Data
(
EOD
)
bit. The EOD
bit is set when the device stops pla
y
in
g
or fast forwardin
g
as
a result of EOD bit in memor
y
. The EOD bit is cleared after it
has been read. The D2 bit is the Ille
g
al Address Bit. The Ille-
g
al Address Bit is set whenever an ille
g
al address is sent to
the device. The D3 bit is the Lbat bit. This bit is set when the
device senses a suppl
y
volta
g
e below specification. The fol-
lowin
g
five bits represent the product famil
y
. The APR60XX
product famil
y
code is binar
y
01000 as shown in Fi
g
ure 10.
The next four bits represent the device code. The APR6016
device code is binar
y
0010 as shown in Fi
g
ure 10 The last
seven bits are random data and should be i
g
nored.
Figure 10 SID Bit Stream
SID Command Next Command
/CS
SCLK
DI
CDS Output Data
SID Output Data
DO
Lbat
OVF
EOD
Ille
g
al Address
D0D1D3D4D5D6D7D8D9D10D11D12D13D14
D2
}
Product
Famil
y
}
000
1
0
~
~
D19
0
1
00
Device
Code
}
APR60XX Series
Famil
y
(
Binar
y)
}
APR6016 Device
Code
(
Binar
y)
}
I
g
nore These
Bits
First bit shifted outLast bit shifted out