Owner's manual
Preliminary
APR6016 Data Sheet
Page 12 Voice Recording & Playback Device
Revision 1.0
Recording Audio Data
When a
SET_REC
or
REC
command is issued the device will
be
g
in samplin
g
and storin
g
the data present on ANAIN+ and
ANAIN- to the specified sector. After half the sector is used
the SAC pin will drop low to indicate that a new command can
be accepted. The device will accept commands as lon
g
as
the SAC pin remains low. An
y
command received after the
SAC returns hi
g
h will be
q
ueued up and executed durin
g
the
next SAC c
y
cle.
Fi
g
ure 13 shows a t
y
pical timin
g
dia
g
ram and OpCode
se
q
uence for a recordin
g
operation. In this example the
SET_REC
command be
g
ins recordin
g
at the specified mem-
or
y
location after T
arec
time has passed. Some time later the
low
g
oin
g
ed
g
e on the SAC pin alerts the host processor that
the first sector is nearl
y
full. The host processor responds b
y
issuin
g
a
REC
command before the SAC pin returns hi
g
h.
The
REC
command instructs the APR6016 to continue
recordin
g
in the sector immediatel
y
followin
g
the current sec-
tor. When the first sector is full the device automaticall
y
j
umps
to the next sector and returns the SAC si
g
nal to a hi
g
h state
to indicate that the second sector is now bein
g
used. At this
point the host processor decides to issue a
STOP
command
durin
g
the next SAC c
y
cle. The device follows the
STOP
command and terminates recordin
g
after TS
arec
.The /BUSY
pin indicates when actual recordin
g
is takin
g
place.
Figure 13 Typical Recording Sequence
/CS
SCLK
DI
T
arec
TS
arec
SET_REC
STOP
SAC
ANAIN+
ANAIN-
/BUSY
REC










