ESS Tecnology Maestro 2E Audio Accelerator
ESS Tecnology Maestro 2E Audio Accelerator
ESS Tecnology Maestro 2E Audio Accelerator
System
Chipset CPU
DRAM
PCI BUS
Mic in
3.3 V PCI Line in
WaveCache
master Aux 1 (CD audio)
C24
Aux 2 (DVD)
RING BUS
APM 1.2
AC’97 CODEC Aux 3 (digital TV)
SB Pro ACPI 1.0 AC-Link
PPMI 1.0 Phone
legacy Line out
audio Headset out
20-Bit
AC-Link #1 Mono_out
64-Channel ES978 docking interface
ES978 digital I/F
Wave
Processor EEPROM interface EEPROM for device I/O customization
ROM SRAM
Maestro-2E
Command
FIFO
64 Streams
Multi-stream
Interface
64
Source Envelope Filter Effects
Sum
DOCKING APPLICATIONS
Mic in
Maestro-2E Line in
ES978 Mode-3 Line out
20-Bit 5
AC’97 2
Line out
XA1,XA3
AC-link Differential CD
CODEC
CD audio
2 XA0,XA2 Transceiver
Aux 2 (L,R) Aux B
ES978 2
Digital Interface Line in
XSC Digital
XSD Controller Mic
Maestro-2E 5 AC’97
20-Bit
CODEC
AC-link #1
ext. 1.03/2.00
Line out
AC’97 Line in
20-Bit 5
CODEC Mic in
AC-link #2 ext. 2.00
CD audio
MIDI
GPIO
ES978 2
ES978 Analog joystick
Digital Interface Hardware volume
I2S Zoomed Video
Portable Unit Docking Unit
PINOUT
G P I O 11 / S I R Q # / S P D I F O
G P I O 8 / I D ATA ( I 2S D ATA )
G P I O 6 / I S C L K ( I 2S C L K )
GD7 / VOLDN / ECLK
GD6 / VOLUP / EDIN
G P I O 7 / I L R ( I 2S L R )
GPIO10 / PCREQ#
SDFS3 / DOCKED
GPIO9 / PCGNT#
GD5 / EDOUT
SDFS2
SCLK2
OSCO
SDO2
OSCI
SDI2
GND
GND
VCC
VCC
GD4
GD3
GD2
GD1
GD0
75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
SCLK1 76 50 GPIO5 / VOLUP / R1#
SDFS1 77 49 GPIO4 / VOLDN / GS1
SDI1 78 48 GPIO3 / ILR / SPDIFO
SDO1 79 47 GPIO2 / IDI / R0#
XSC / TxD 80 46 GPIO1 / IDO / GS0
XSD / RxD 81 45
GPIO0 / ISCLK
GND 82 44
GND
C24 83 43
CLKRUN# / ECS
RST# 84 42 PME#
INT# 85 41 GND
VCC 86 40 AD0
PCICLK
GND
87
88 Maestro-2E 39
38
AD1
AD2
GNT# 89 37 AD3
REQ# 90 100-Pin TQFP 36 AD4
GND 91 35 AD5
AD31 92 34 AD6
AD30 93 33 AD7
AD29 94 32 VCC
AD28 95 31 C/BE0#
AD27 96 30 AD8
AD26 97 29 AD9
AD25 98 28 AD10
AD24 99 27 A D 11
VCC 100 26 AD12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
C/BE3#
IDSEL
GND
AD23
AD22
AD21
AD20
AD19
AD18
AD17
AD16
VCC
C/BE2#
FRAME#
IRDY#
TRDY#
DEVSEL#
STOP#
LOCK#
PA R
C/BE1#
GND
AD15
AD14
AD13
PIN DESCRIPTION
Name Number I/O Definition
C/BE[3:0]# 1,13,21,31 I/O Multiplexed command/byte enable. These pins indicate cycle type during the address phase of a
transaction. They indicate active-low byte enable information for the current data phase during
the data phases of a transaction. These pins are inputs during slave operation and outputs dur-
ing bus mastering operation.
IDSEL 2 I ID select, active-high. This pin is used as a chip select during PCI configuration read and write
cycles.
AD[31:0] 92:99,4:11, I/O Multiplexed address and data lines.
23:30,33:40
FRAME# 14 I/O Cycle frame, active-low. The current PCI bus master drives this pin to indicate the beginning and
duration of a transaction.
IRDY# 15 I/O Initiator ready, active-low. The current PCI bus master drives this pin to indicate that as the initi-
ator it is ready to transmit or receive data (and complete the current data phase).
TRDY# 16 I/O Target ready, active-low. The current PCI bus master drives this pin to indicate that as the target
device it is ready to transmit or receive data (and complete the current data phase).
DEVSEL# 17 I/O Device select, active-low. The PCI bus target device drives this pin to indicate that it has
decoded the address of the current transaction as its own chip select range.
STOP# 18 I/O Stop transaction, active-low. The current PCI bus target drives this pin active to indicate a
request to the master to stop the current transaction.
LOCK# 19 I/O Lock.
PAR 20 I/O Parity, active-high. This pin indicates even parity across AD[31:0] and C/BE[3:0]# for both
address and data phases. The signal is delayed one PCI clock from either the address or data
phase for which parity is generated.
PME# 42 O Power management enable interrupt output to wake up the system.
CLKRUN# I/O Dual-purpose pin. CLKRUN# is an input for clock status and an output to start/speed-up clock.
43
ECS O ECS# is the EEPROM chip select. ECS is active during power-on reset; turned off after reset.
I/O Dual-purpose pin. GPIO0 is general purpose input/output 0. Selected by
GPIO0
Maestro2E_Base+68h[11:0].
45
I ISCLK is the serial shift clock for the DSP serial interface. Selected by setting PCI 52h[4] = 1 and
ISCLK
Maestro2E_Base+36h[15] = 1.
I/O Multi-purpose pin. GPIO1 is general purpose input/output 1. Selected Strap pin:
GPIO1
by Maestro2E_Base+68h[11:0]. 1 = TDMA mode for
46 O IDO is the serial data output for the DSP serial interface. Selected by 440LX chipset (default).
IDO 0 = PC/PCI mode for
setting PCI 52h[4] = 1 and Maestro2E_Base+36h[15] = 1.
440LX chipset.
GS0 O GS0 is PCI bus grant select 0. Selected by setting PCI 58h[0] = 1.
I/O Multi-purpose pin. GPIO2 is general purpose input/output 2. Selected by
GPIO2
Maestro2E_Base+68h[11:0].
47 I IDI is the serial data input for the DSP serial interface. Selected by setting PCI 52h[4] = 1 and
IDI
Maestro2E_Base+36h[15] = 1.
R0# I R0# is PCI bus request 0. Selected by setting PCI 58h[0] = 1.
I/O Multi-purpose pin. GPIO3 is general purpose input/output 3. Selected by
GPIO3
Maestro2E_Base+68h[11:0].
I ILR is the frame sync signal for the DSP serial interface. Selected by setting PCI 52h[4] = 1 and
ILR 48
Maestro2E_Base+36h[15] = 1.
O SPDIFO is the S/PDIF output. Selected by setting PCI 53h[0] = 1 and PCI 58h[1] = 0. Alterna-
SPDIFO
tively, the SPDIFO at pin 62 may be used. SPDIFO at pin 48 is the default.
OSCO 65 PCREQ# * 61
C24 83 SIRQ# * 62
IDI * 47 R1# * 50
ILR * 48 GS0 * 46
POWER MANAGEMENT
The Maestro-2E is a high-performance device with low For the operating system to manage the device power
power consumption. Besides the low-power CMOS states on the PCI bus, the PCI function should support four
technology used to process the Maestro-2E, various power-management operations:
features are designed into the device to provide benefits
– capabilities reporting
from popular power-saving techniques. These features
and techniques are discussed in this section. – power status reporting
– setting the power state
CLKRUN Protocol – system wake-up
The PCI CLKRUN feature is one of the primary methods The operating system identifies the capabilities of the PCI
of power management on the PCI bus interface of the function by traversing the new capabilities list. The
Maestro-2E for the notebook computer. Since some presence of new capabilities is indicated by setting bit [4]
chipsets do not implement CLKRUN, this is not always in the PCI Status register and providing access through a
available to the system designer, and alternate power- capabilities pointer to a capabilities list.
saving features are provided.
The capabilities pointer provides access to the first item in
PCI Power Management Interface (PPMI) the linked list of capabilities. For the Maestro-2E, the
capabilities pointer is mapped to an offset, C0h, indicated
The PCI Power Management Interface (PPMI)
in the PCI Configuration register at 34h. The first byte of
specification establishes the infrastructure required to let
each capability register block is required to be a unique ID
the operating system control the power of PCI functions.
of the capability. PCI power management has been
This is done by defining a standard PCI interface and
assigned an ID of 01h. The next byte is a pointer to the
operations to manage the power of PCI functions on the
next pointer item in the list of capabilities. There are no
bus. The PCI functions can be assigned one of five power
more items in the list, so the next item pointer is set to zero.
management states that result in varying levels of power
The registers following the next item pointer are specific to
savings.
that function’s capability. The PPMI capability implements
The five power-management states of PCI functions are: the register block outlined in Table 1.
• D0 – full power The Power-Management Capabilities register (PCI
• D1 and D2 – intermediate states Configuration register C2h in the Maestro-2E) is a static
read-only register that provides information on the
• D3 hot – off state; power supply is on capabilities of the functions related to power-
• D3 cold – off state; power supply is off management. The Power-Management Control/Status
register enables control of power-management states and
enables and monitors power-management events. The
Data register is an optional register that displays state-
dependent power measurements such as power
consumed or heat dissipation.
Table 1 Power-Management Registers
Register Name Offset
Power-Management capabilities Next-Item pointer Capability ID 0
Data PMCSR bridge support extensions Power-Management control status (CSR) 4
power-on reset D0
uninitia-
lized
PC
Ir
es
et
D0 pause
D2
active resume (200 µs, 100 ms)
timer e
resume (0 ms,100 ms)
so f
x
pires
t re
pause
se t
po D3cold
we
rd
ow
n d
ve
emo
r
C
VC
D1 D3hot
DESCRIPTION
The ES1921 CODEC is a general-purpose 18-bit stereo, full • Single, high-performance, mixed-signal, 18-bit stereo VLSI
duplex, audio codec that conforms to the analog component chip
specification of the Rev 2.1 AC'97 (Audio Codec 97) • Meets or exceeds Audio CODEC ’97 Rev. 2.1 performance
Component Specification.
specifications
The ES1921 implements a high-performance accelerated PCI • Supports 2-CODEC architecture for configuration with one
audio solution when used with the ESS Maestro™ PCI Digital ES1921 in notebook and one in docking station
Audio Controller. The ES1921 is equipped with a stereo 18-bit
DAC, a stereo 18-bit ADC, 6 line-level inputs (4 stereo and 2
• AC-Link digital serial interface (TDM format) to a Maestro or
mono), 3 outputs (2 stereo and 1 mono), and a Time Division other digital controller
Multiplexed (TDM) serial AC-Link to a Maestro or other digital Record and Playback Features
controller. • Full-duplex stereo operation for simultaneous record and
playback
The ES1921 may be used as a primary or secondary CODEC in
multiple codec configurations conforming to the AC'97 Rev. 2.1 • 18-bit stereo ADC and DAC; 3rd 18-bit ADC for mic input
specification. • 48 kHz playback and record sample rate
The ES1921 audio CODEC can record and play back voice, Inputs/Outputs
sound, and music at 48 kHz sample rate. The playback mixer has • 4 stereo inputs for line-in, CD, video, and auxiliary line-in
4 stereo inputs (Line, CD, Video, Aux, and PCM digital audio) • 2 selectable mono inputs for microphone sharing a single mixer
and 2 mono inputs (Mic and Phone, plus PC beep). The record input and 1 mono input for phone
multiplexer has 5 stereo inputs (Line, CD, Video, Aux, Mixer) • PC speaker input
and 3 mono inputs (Mic, Phone, and Mono mix). The mixer has
3 outputs (Line, True Line Level, and Mono). Line out can be
• 2 stereo outputs for line-out (for example, multimedia speakers
used for stereo output to multimedia speakers while Mono out and DVD Pure Audio)
can be used to output to a telephony subsystem or down-line Power
phone. • Advanced Configuration and Power Interface (ACPI) support.
The ES1921 can be used on motherboards, add-on cards, or • EAPD - External Amplifier Power Down Control
PCMCIA cards. The ES1921 is available in an industry- • 3.3 V or 5.0 V digital and 5.0 V analog power supply (AVDD
standard 48-pin Thin Quad Flat Pack (TQFP). >= DVDD)
APPLICATIONS Compatibility
• Meets Microsoft PC98 and PC99 1.0 specifications for
• Multimedia PCs • Business Audio
Baseline and Advanced Audio with FAQ updates
• 3-D PC Games • Audio Conferencing
• Meets Intel’s Audio CODEC ’97 Rev 2.1 specifications
FEATURES
PINOUT
LINE_OUT_R
LINE_OUT_L
ANTI_POP
VREFOUT
AFILT2
AFILT1
AVDD1
AVSS1
CAP3
CAP2
CAP1
VREF
36 35 34 33 32 31 30 29 28 27 26 25
MONO_OUT 37 24 LINE_IN_R
AVDD2 38 23 LINE_IN_L
LNLVL_OUT_L 39 22 MIC2
NC 40 21 MIC1
LNLVL_OUT_R 41 20 CD_R
AVSS2 42 19 CD_GND
NC 43
ES1921 18 CD_L
NC 44 48-PIN TQFP 17 VIDEO_R
ID0 45 16 VIDEO_L
ID1 46 15 AUX_R
EAPD 47 14 AUX_L
NC 48 13 PHONE
1 2 3 4 5 6 7 8 9 10 11 12
XTL_IN
BIT_CLK
XTL_OUT
SDATA_IN
SYNC
SDATA_OUT
DVDD1
DVDD2
RESET#
PC_BEEP
DVSS1
DVSS2
PIN DESCRIPTION
Name Number I/O Description
DVDD1 1 PWR Digital VDD
XTL_IN 2 I Oscillator input (24.576 MHz)
XTL_OUT 3 I Oscillator output
DVSS1 4 DGND Digital ground
SDATA_OUT 5 I AC ‘97 Serial data in
BIT_CLK 6 O Serial data clock (12.288 MHz)
DVSS2 7 DGND Digital ground
SDATA_IN 8 O AC ‘97 Serial data out
DVDD2 9 PWR Digital VDD
SYNC 10 I Fixed rate sample sync (48 kHz).
RESET # 11 I Hardware reset
PC_BEEP 12 I PC speaker out
PHONE 13 I Telephone speaker input
AUX_L 14 I Aux left channel input
AUX_R 15 I Aux right channel input
VIDEO_L 16 I Video left channel input
VIDEO_R 17 I Video right channel input
CD_L 18 I CD left channel input
CD_GND 19 I CD ground
CD_R 20 I CD right channel input
MIC1 21 I First microphone input
MIC2 22 I Second microphone input
LINE_IN_L 23 I Line-in left channel input
LINE_IN_R 24 I Line-in right channel input
AVDD1 25 PWR Analog VDD
AVSS1 26 AGND Analog ground
VREF 27 I DAC reference voltage filter capacitor
VREFOUT 28 O Mic reference voltage output (2.5 V, 1.25 mA)
AFILT1 29 O Anti-Aliasing Filter Cap - ADC channel
AFILT2 30 O Anti-Aliasing Filter Cap - ADC channel
CAP1 31 O Analog output hold-off delay
CAP2 32 O ADC Reference Capacitor
CAP3 33 O Anti-Pop Power Sustain Delay
ANTI_POP 34 O Anti-Pop Output Ground Shunt Control
LINE_OUT_L 35 O Line Out Left Channel
LINE_OUT_R 36 O Line Out Right Channel
MONO_OUT 37 O Mono out
AVDD2 38 PWR Analog VDD
LNLVL_OUT_L 39 O True Line Level Output Left Channel
NC 40 NC No connect
LNLVL_OUT_R 41 O True Line Level Output Right Channel
AVSS2 42 AGND Analog ground
NC 43, 44, 48 NC No connect
ID0 45 I Multi-CODEC ID select - bit 0
ID1 46 I Multi-CODEC ID select - bit 1
FUNCTIONAL DESCRIPTION
This section shows the overall structure of the ES1921 and The major subunits of the ES1921 are shown in Figure 2 and
discusses its major functional subunits. described briefly in the following paragraphs.
DVSS DVDD
AVDD
CD
LINE_IN
RECORD AVSS
VIDEO SOURCE
AUX
MIC1
PREAMP/MIC BOOST PLAYBACK
MIC2
PHONE MIXER
PC_BEEP ID[1:0]
PCM-out DACs
RESET# Left 18-BIT
BIT_CLK DACDAC
STEREO
SYNC
SDATA_IN RIght 18-BIT
MONO_OUT
SDATA_OUT STEREO
DACDAC
MONO
18-BIT Left VOL
AFILT[1:0] FILTER CTRL
ADC
AC-LINK
18-BIT Right
FILTER
ADC
LNLVL
PCM-in ADCs MASTER
VOL
CTRL
VREF
VREFOUT LINE_OUT
REF GEN POWER MGMT
MASTER
VOL
CTRL
A simplified ES1921 block diagram is given in Figure 2. The ADCs take any mix of mono or stereo sources and convert it to
ES1921 performs fixed 48K sample rate D-A and A-D a stereo PCM-in signal. All ADCs and DACs operate at 18-bit
conversion, mixing, and analog processing. Its digital interface resolution.
communicates with the AC'97 digital controller, such as an ESS
Maestro™ PCI Digital Audio controller, via the five-wire AC-
Link. Two fixed 48Ks/s DACs support two stereo PCM-out
channels. The digital mix of all sources, including the internal
synthesizer and any other digital sources, is performed in the
digital controller. The Mixer block mixes the PCM_OUT with
any analog sources, then outputs to LINE_OUT and
LNLVL_OUT. The MONO_OUT delivers either mic only or a
mono mix of sources from the mixer. The two fixed 48Ks/s
Digital Subsystems • 18-Bit stereo ADC – for audio record. Audio is returned to the
• AC-Link – a four line serial link between the ES1921 and a host via the AC-Link and the digital controller.
Maestro or other digital controller. The fifth line, RESET#, is • Record source and input volume control – input source and
linked directly to the host or to the Maestro. This link is the volume control for recording. The Mic source can be mixed
control interface for the ES1921. It also carries audio data post input volume with its own independent input volume
between the ES1921 and its digital controller. control. The recording source can be selected from one of eight
choices:
Analog Subsystems – Line In
• Playback Mixer – eight input stereo mixer. All inputs can be – CD Audio In
muted. Each of the following inputs has a 5-bit volume control: – Auxiliary In
– PCM Out (digital audio from the Maestro digital control- – Video Audio In
ler)
– Stereo mix
– Line In
– Mono mix
– CD audio In
– Mic In
– Video Audio In
– Phone
– Auxiliary In
• Output volume and mute – The output master volume
– Phone In
supports 5 bits per channel plus mute. There are separate
– Mic1 or Mic2 Mono In volume controls for mono out and stereo outs.
This input has a 4-bit volume control: • Reference generator – analog reference voltage generator.
– PC Beep Throughput • Pre-amp – 20 dB microphone pre-amplifier with bypass.
• 18-Bit stereo DAC – for audio playback of digital audio from
the Maestro digital controller.
Mixer Input
The mixer provides recording and playback of any audio
sources or output mix of all sources. The ES1921 supports the
following input sources:
• any mono or stereo source
• mono or stereo mix of all sources
DAC
stereo line
PCM out
digital audio mono line
PC BEEP
PHONE Playback
Mixer
Bypass
MIC1
LNLVLout
MIC2 Mic Preamp Line Level
Select Volume
LINE IN Line out
-6 dB Master
Volume
CD
ADC
Record PCM in
Source digital audio
Record
Volume
ES1921
ID0 EAPD
ID1 ANTI_POP
DVSS2
Optional
CAP1
10 µF 10 µF VREFOUT
0.1
LNLV_L True Level
LNLV_R Line Out
CAP2
10 µF 0.1 µF
LINE_OUT_L
Optional
LINE_OUT_R
To Stereo
CAP3
22 µF Amplifier
MONO_OUT
ES1921
ES1921
10 µF
VREF
DVDD
0.1 µF 3.3 V or 5.0 V
VREF OUT
CAP2 10 µF AVDD
5.0 V
0.1 µF
Anti-Aliasing Filter
The filter pins AFILT1 and AFILT2 are shown in Figure 4.
ES1921
560 to 1000 pF
AFILT1
560 to 1000 pF
AFILT2
XTAL_IN
SDATA_IN
There are 3 types of resets as detailed under “Timing
Characteristics”.
• a “cold” reset where all ES1921 logic including registers
Figure 6 ES1921's AC-Link to the Maestro Digital Controller is initialized to its default state
• a “warm” reset where the contents of the ES1921 register
set are left unaltered
Clocking • a “register” reset which only initializes the ES1921
The beginning of all audio frames transferred over the AC-Link registers to their default states
is synchronized to the rising edge of the SYNC signal driven by After signaling a reset to the ES1921, the AC'97 digital
the Maestro or other digital controller. Data is transmitted controller should not attempt to play or capture audio data until
through the AC-Link on every rising edge of BIT_CLK, and it has sampled a “Codec Ready” indication (bit 15 Slot 0) via
subsequently sampled by the receiving side on each register 26h from the ES1921.
immediately following falling edge of BIT_CLK.
For proper reset operation SDATA_OUT should be “0” during
There are three different clock inputs available to the ES1921. “cold” reset. See “Testability” section for more information.
The potential inputs are a Maestro digital controller, an external
crystal, and a master ES1921. Master-Slave Operation
Maestro Digital Controller as Source Certain applications require multiple CODECs supporting a
single digital controller. For example, a notebook computer and
The ES1921 can derive its clock internally from the Maestro
its docking station is such an application. In this example, a
digital controller through the XTAL_IN pin. See Figure 6. This
digital controller and CODEC reside in the notebook while an
eliminates the need for an extra component. Synchronization
additional CODEC is in the docking station. The docking station
with the Maestro digital controller is achieved through the
CODEC provides access to the audio resources available to the
BIT_CLK pin at 12.288 MHz (half of crystal frequency).
docking station. These two CODECs are in a master-slave
External Crystal relationship.
The clocking for the ES1921 can be derived from a 24.576 MHz The master CODEC generates BIT_CLK for both the Maestro
external crystal connected to the XTAL_IN and XTAL_OUT digital controller and the slave CODEC. This ensures that all
pins. See Figure 7. three chips are in sync. In addition, internal chip clocking for the
slave CODEC is derived by doubling the BIT_CLK input from
Master CODEC as Source
the master CODEC.
In cases where the ES1921 is a slave CODEC and can’t be
driven by the Maestro digital controller, its internal clocking is The master and slave CODECs are determined by the status of
derived by doubling the BIT_CLK input. The BIT_CLK input the ID pins. If either of the two ID pins is tied low, the CODEC
received from master CODEC synchronizes the AC-link and is a slave.
Table 2 CODEC Master-Slave Relationship (External Pins) Table 3 Maestro-2E/ES1921 Pin Assignments
ID0 ID1 CODEC Relationship Master
Maestro-2E
DVDD or Floating DVDD or Floating Master Interface ES1921
Pin Name Pin Name
GND DVDD or Floating GPO0 RESET#
SCLK1 BIT_CLK
DVDD or Floating GND Slave Master SDFS1 SYNC
CODEC SDI1 SDATA_IN
GND GND SDO1 SDATA_OUT
C24 XTAL_IN
The Maestro-2E digital controller provides for two CODEC
Maestro-2E Slave ES1921
interfaces. For an example, see Figure 8 below. Interface
Pin Name Pin Name
GPO3 RESET#
SDI2 SDATA_IN
SDO2 SDATA_OUT
Slave
CODEC
SDFS2 SYNC
SCLK2 BIT_CLK
Maestro-2E
SCCK2 BIT_CLK
SDO2 SDATA_OUT ID0
SDI2 SDATA_IN
GPO3 RESET# ID1
Maestro-2E and Dual ES1921s for Notebook Plus Docking Station Configuration
Figure 8 Example of Dual CODEC Design