Preliminary apr6016 data sheet – Rainbow Electronics APR6016 User Manual
Page 9

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
by the host processor to identify which family / family member
is being used. Reading the device SID requires issuing two
OpCode commands; a SID command followed by any other
command, usually 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. Figure 9 is a diagram that
describes the process necessary for reading SID information.
Figure 9 SID Timing
The SID information follows the format given in Figure 10.
The first bit shifted out, D0, is the Overflow bit. The Overflow
bit is set to a binary 1 if an attempt was made to record
beyond the available memory. 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 playing or fast forwarding as
a result of EOD bit in memory. The EOD bit is cleared after it
has been read. The D2 bit is the Illegal Address Bit. The Ille-
gal Address Bit is set whenever an illegal address is sent to
the device. The D3 bit is the Lbat bit. This bit is set when the
device senses a supply voltage below specification. The fol-
lowing five bits represent the product family. The APR60XX
product family code is binary 01000 as shown in Figure 10.
The next four bits represent the device code. The APR6016
device code is binary 0010 as shown in Figure 10 The last
seven bits are random data and should be ignored.
Figure 10 SID Bit Stream
S ID C om m and
N e xt C om m and
/C S
SCLK
D I
C D S O utput D ata
S ID O utpu t D ata
D O
L ba t
OVF
EOD
Illegal Address
D0
D1
D3
D4
D5
D6
D7
D8
D9
D10
D11
D12
D13
D14
D2
}
Product
Family
}
0
0
0
1
0
~
~
D19
0
1
0
0
Device
Code
}
APR60XX Series
Family (Binary)
}
APR6016 Device
Code (Binary)
}
Ignore These
Bits
First bit shifted out
Last bit shifted out