
D6571E Data Sheet
DS6571E.2
DSP GROUP, INC., 3120 SCOTT BOULEVARD
SANTA CLARA, CA 95054 PH: 408 986-4300 FAX: 408 986-4490
87
In the first Data Pump command C1, the Host can
activate or disable audio loop back in the Data Pump
mode.
To start processing each frame the Host issues
command C2. The D6571E returns status S2 of this
command to Host. Normally status S2 will contain
telephone line status (VOX, Tone, and DTMF detection).
Upon receiving status S2 the Host issues command C3.
Command C3 contains the number of bytes that the
Host expects to receive from the D6571E in this
particular frame. In status S3, the D6571E returns the
actual number of bytes that the D6571E is going to
transmit to the Host in this frame.
The actual number of bytes to be transmitted depends
on the compression rate and may vary from frame to
frame.
After the Host reads the status S3, the actual data
transfer begins. The Host sends to the D6571E Data
Transfer commands (the number of commands depends
on the number ‘Transfer Number of Bytes’) and gets a
byte of data for each Data Transfer command that is
sent.
The Host sends the high byte (bits 15-8) of a Data
Transfer Command. In response to a command the
D6571E uses the high byte (bits 15-8) of the status word
to send a byte of data to the Host (Data Transfer status).
With Byte Transfer, the HI/LO pin (pin 4) of the D6571E
should be set to high during the command/status
sequence. In this manner, the high byte of the Host
Data Bus will be used to transfer a byte of data. The
Host can still send a word to the D6571E, but the low
byte will be ignored by the D6571E during Byte Transfer.
After sending the last byte of data to the Host, the
D6571E is ready to process another frame. The Host
then sends the next C2 command to start processing the
next frame. In this manner, the D6571E compresses and
transmits data frame by frame in real time.
While in Data Pump mode, the D6571E monitors the
telephone line and reports this data to the Host in S2.
Command C2 can instruct the D6571E to generate a tone
while in Data Pump mode. Status S2 will contain
telephone line status in this case as well.
Data Pump mode can be terminated by command C2
with a non-zero Stop parameter. This mode can be
terminated by issuing an Idle command instead of
command C2. In addition, at each command (C1, C2, C3)
the D6571E checks bits 15-12 for the correct code. If an
incorrect code is detected, the D6571E will return to Idle
mode.
Instead of sending the Data Pump C2 command, the
Host can send a Set Volume Level command to set the
volume level. The D6571E will respond with Data Pump
Status S2 as if ‘continue record’ command was sent.
For the appropriate volume level settings, refer to the
description of the Set Volume Level command in the
Self-Test and Initialization mode (Test Mode = 1000).
It is the Host’s responsibility to perform communication
quickly enough to avoid a real time problem. The length
of time it takes to process one frame, including data
transfer to the Host, should be no longer than 1 frame
(30 ms for 8 KHz sampling rate and 33 ms for 7.2 KHz
sampling rate).
The performance of the mode is the same in case of
“cold start.”
PCM Data Pump from CODEC to Host
In this mode, the D6571E receives
μ
-law or A-law PCM
data from the CODEC and transmits this data via Host
Data Bus in bursts of 120 words per frame in real time.
The first Data Pump command C1 defines the mode and
activates or disables audio loop back. To process each
frame the Host issues command C2 and then reads
status S2 of this command. Normally, status S2 will
contain line status (VOX, Tone, and DTMF detection).
Upon receiving status S2, the Host sends command C3
with the number of words the Host expects to receive
from the D6571E. The D6571E returns status S3 with the
actual number of words to be transferred from D6571E to
Host. In this mode, the number of words is 120. The
actual data transfer begins upon receiving status S3.
The Host issues 120 data transfer commands and
receives 120 words of speech data.
The Host uses the high byte (bits 15-8) to send a Data
Transfer command to the D6571E. The Host can still
send a word to the D6571E, but the low byte will be
ignored by the D6571E. In response to each command,
the D6571E will return the Data Transfer status, which
contains a word of data. After transmitting a burst of