AD1940/AD1941
Rev. B | Page 10 of 36
Pin No.
AD1940 AD1941 I/O Mnemonic Description
22 IN CDATA Data Input for SPI.
19 IN/OUT SDA I
2
C Serial Data I/O.
20 IN SCL I
2
C Clock.
23 23 IN RESETB Reset the AD1940/AD1941.
26 26 IN/OUT LRCLK_OUT0 Left/Right Clock Output 0.
27 27 IN/OUT BCLK_OUT0 Bit Clock Output 0.
28, 33, 40 28, 33, 40 ODVDD Power Connection for Output Pins.
29 29 OUT SDATA_OUT0/TDM_O0 Serial Data Output 0/TDM (16- or 8-Channel) Output 0.
30 30 OUT SDATA_OUT1 Serial Data Output 1.
31 31 OUT SDATA_OUT2 Serial Data Output 2.
32 32 OUT SDATA_OUT3 Serial Data Output 3.
34 34 IN/OUT LRCLK_OUT1 Left/Right Clock Output 1.
35 35 IN/OUT BCLK_OUT1 Bit Clock Output 1.
38 38 OUT SDATA_OUT4/TDM_O1 Serial Data Output 4./TDM (8-Channel) Output 1.
39 39 OUT SDATA_OUT5 Serial Data Output 5.
41 41 OUT SDATA_OUT6 Serial Data Output 6.
42 42 OUT SDATA_OUT7/DCSOUT Serial Data Output 7/Data Capture Output.
43 43 INVDD Input Voltage Reference.
44 44 IN VSUPPLY Voltage Level Input to Regulator. Usually 3.3 V or 5 V.
45 45 IN VSENSE Digital Power Level. Should be tied to VDD.
46 46 OUT VDRIVE Drive for External PNP Transistor.
47 47 OUT VREF Reference Level for Voltage Regulator.
AD1940/AD1941
Rev. B | Page 11 of 36
FEATURES
The core of the AD1940/AD1941 is a 28-bit DSP (56-bit, double
precision) optimized for audio processing. The parts’ program
RAM can be loaded with a custom program after power-up.
Signal processing parameters are stored in a 1024 location
parameter RAM, which is initialized on power-up by an
internal boot ROM. New values are written to the parameter
RAM using the control port. The values stored in the parameter
RAM control individual signal processing blocks, such as IIR
equali-zation filters, dynamics processors, audio delays, and
mixer levels. A safeload feature allows parameters to be
transparently updated without causing clicks on the output
signals.
The target/slew RAM contains 64 locations and can be used as
channel volume controls or for other parameter updates. These
RAM locations take a target value for a given parameter and
ramp the current parameter value to the new value using a
specified time constant and one of a selection of linear or
logarithmic curves.
The AD1940/AD1941 contain eight independent data capture
circuits that can be programmed to tap the signal flow of the
processor at any point in the DSP algorithm flow. Six of these
captured signals can be accessed by reading from the data
capture registers through the control port. The remaining two
data capture registers can be used to send any internal captured
signal to a stereo digital output signal on Pin SDATA_OUT7 for
driving external DACs or digital analyzers.
The AD1940/AD1941 have a sophisticated control port that
supports complete read/write capability of all memory
locations. Five control registers (Core, RAM configuration,
Serial Output 0 to 7, Serial Output 8 to 15, and serial input) are
provided to offer complete control of the chips configuration
and serial modes. Handshaking is included for ease of memory
uploads/downloads. The AD1940 is SPI-controlled and the
AD1941 is controlled by an I
2
C bus.
The AD1940/AD1941 have very flexible serial data
input/output ports that allow glueless interconnection to a
variety of ADCs, DACs, general-purpose DSPs, S/PDIF
receivers and trans-mitters, and sample rate converters. The
AD1940/AD1941 can be configured in I
2
S, left-justified, right-
justified, or TDM serial port-compatible modes. It can support
16, 20, and 24 bits in all modes. The AD1940/AD1941 accepts
serial audio data in MSB first and twos complement format.
A master clock phase-locked loop (PLL) allows the AD1940/
AD1941 to be clocked from a variety of different clock speeds.
The PLL can accept inputs of 64 × f
S
, 256 × f
S
, 384 × f
S
, or 512 ×
f
S
to generate the cores internal master clock.
The AD1940/AD1941 operate from a single 2.5 V power supply.
An on-board voltage regulator can be used to operate the chip
with 3.3 V or 5 V supplies. They are fabricated on a single
monolithic integrated circuit and are housed in 48-lead
LQFP packages for operation over the –40°C to +105°C
temperature range.
04607-0-003
28 × 28
DSP CORE
DATA FORMAT:
5.23 (SINGLE PRECISION)
10.46 (DOUBLE PRECISION)
VOLTAGE REGULATORMEMORY CONTROLLERS
CONTROL
REGISITER
TRAP REG.
SAFELOAD
REGISTER
SERIAL
CONTROL
PORT
MCLK
PLL
DATA MEMORY
6k × 28
TARGET/SLEW
RAM
64 × 28
SERIAL
DATA/TDM
INPUT
GROUP
PLL MODE
SELECT
MASTER
CLOCK
INPUT
CONTROL PORT
I/O GROUP
RESETB
PROGRAM
RAM
1536 × 40
BOOT ROM
BOOT ROM
PARAMETER
RAM
1024 × 28
COEFFICIENT
ROM
512 × 28
2
2
4
4
2
2
SERIAL DATA/
TDM OUTPUT
GROUP
REGULATOR
GROUP
ADDRESS SELECT
Figure 9. Block Diagram
AD1940/AD1941
Rev. B | Page 12 of 36
PIN FUNCTIONS
Table 1 0 shows the AD1940/AD1941’s pin numbers, names, and
functions. Input pins have a logic threshold compatible with
TTL input levels and may be used in systems with 3.3 V or
5 V logic.
SDATA_IN0
SDATA_IN1
SDATA_IN2/TDM_IN1
SDATA_IN3/TDM_IN0
Serial Data/TDM Inputs. The serial format is selected by
writing to Bits 2:0 of the serial input port control register.
SDATA_IN2 and SDATA_IN3 are dual-function pins that can
be set to a variety of standard 2-channel formats or to TDM
mode. Two of these four pins (SDATA_IN2 and SDATA_IN3)
can be used as TDM inputs in either dual-wire 8-channel mode
or single-wire 16-channel mode (TDM_O0 only). In dual-wire
8-channel mode, Channels 0 to 7 are input on SDATA_IN3 and
Channels 8 to 15 on SDATA_IN2. In single-wire 16-channel
mode, Channels 0 to 15 are input on SDATA_IN2. See the
Serial Data Input/Output Ports section for further explanation.
LRCLK_IN
BCLK_IN
Left/Right and Bit Clocks for Timing the Input Data. These
input clocks are associated with the SDATA_IN0 through
SDATA_IN3 signals. The input port is always in a slave
configuration. These pins also function as frame sync and bit
clock for the input TDM stream.
SDATA_OUT0/TDM_O0
SDATA_OUT1
SDATA_OUT2
SDATA_OUT3
SDATA_OUT4/TDM_O1
SDATA_OUT5
SDATA_OUT6
SDATA_OUT7/DCSOUT
Serial Data/TDM/Data Capture Outputs. These pins are used
for serial digital outputs. For non-TDM systems, these eight
pins can output 16 channels of digital audio, using a variety of
standard 2-channel formats. They are grouped into two groups
of four pins (Pins 0 to 3 and Pins 4 to 7); each group can be
independently set to any of the available serial modes, allowing
the AD1940/AD1941 to simultaneously communicate with two
external devices with different serial formats. Two of these eight
pins (SDATA_OUT0 and SDATA_OUT4) can be used as TDM
outputs in either dual-wire 8-channel mode or single-wire 16-
channel mode (TDM_OUT0 only). In dual-wire 8-channel
mode, Channels 0 to 7 are output on SDATA_OUT0 and
Channels 8 to 15 on SDATA_OUT4. See the Serial Data
Input/Output Ports section for further explanation.
SDATA_OUT7 can also be used as a data capture output, as
described in the Data Capture Registers section.
LRCLK_OUT0
BCLK_OUT0
Output Clocks. This clock pair is used for outputs
SDATA_OUT0 through SDATA_OUT3. In slave mode, these
clocks are inputs to the AD1940/AD1941. On power-up, these
pins are set to slave mode to avoid conflicts with external
master mode devices.
LRCLK_OUT1
BCLK_OUT1
Output Clocks. This clock pair is used for outputs
SDATA_OUT4 through SDATA_OUT7. In slave mode, these
clocks are inputs to the AD1940/AD1941. On power-up, these
pins are set to slave mode to avoid conflicts with external
master mode devices.
MCLK
Master Clock Input. The AD1940/AD1941 uses a PLL to
generate the appropriate internal clock for the DSP core. An
in-depth description of using the PLL is found in the Setting
Master Clock/PLL Mode section.
PLL_CTRL0
PLL_CTRL1
PLL_CTRL2
PLL Mode Control Pins. The functionality of these pins is
described in the Setting Master Clock/PLL Mode section.
CDATA (AD1940)
Serial Data Input for the SPI Control Port.
COUT (AD1940)
Serial Data Output for the SPI Port. This is used for reading
back registers and memory locations. It is three-stated when an
SPI read is not active.
CCLK (AD1940)
SPI Bit Clock. This clock may either run continuously or be
gated off between SPI transactions.
CLATCH (AD1940)
SPI Latch Signal. This must go low at the beginning of an SPI
transaction and high at the end of a transaction. Each SPI
transaction may take a different number of CCLKs to complete,
depending on the address and read/write bit that are sent at the
beginning of the SPI transaction.
SCL (AD1941)
I
2
C Clock. This pin is always an input because the AD1941
cannot act as a master on the I
2
C bus. The line connected to this
pin should have a 2 kΩ pull-up resistor on it.
SDA (AD1941)
I
2
C Serial Data. The data line is bidirectional. The line
connected to this pin should have a 2 kΩ pull-up resistor on it.

AD1940YSTZ

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Audio DSPs IC 28-Bit Audio Processor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union