WM9713L
AC’97 Audio and Touchpanel Codec
DESCRIPTION
The WM9713L is a highly integrated input/output device
designed for mobile computing and communications.
The chip is architected for dual CODEC operation, supporting
hi-fi stereo CODEC functions via the AC link interface, and
additionally supporting voice CODEC functions via a PCM type
Synchronous Serial Port (SSP). A third, auxiliary DAC is
provided which may be used to support generation of
supervisory tones, or ring-tones at different sample rates to the
main CODEC.
The device can connect directly to a 4-wire or 5-wire touch-
panel, mono or stereo microphones, stereo headphones and a
stereo speaker, reducing total component count in the system.
Cap-less connections to the headphones, speakers, and
earpiece may be used, saving cost and board area. Additionally,
multiple analogue input and output pins are provided for
seamless integration with analogue connected wireless
communication devices.
All device functions are accessed and controlled through a
single AC-Link interface compliant with the AC’97 standard. The
24.576MHz master clock can be input directly or generated
internally from a 13MHz (or other frequency) clock by an on-chip
PLL. The PLL supports a wide range of input clock from
2.048MHz to 78.6MHz.
The WM9713L operates at supply voltages from 1.8V to 3.6V.
Each section of the chip can be powered down under software
control to save power. The device is available in a small
leadless 7x7mm QFN package, ideal for use in hand-held
portable systems.
FEATURES
AC’97 Rev 2.2 compatible stereo CODEC
- DAC SNR 94dB, THD –85dB
- ADC SNR 87dB, THD –86dB
- Variable Rate Audio, supports all WinCE sample rates
- Tone Control, Bass Boost and 3D Enhancement
On-chip 45mW headphone driver
On-chip 400mW mono or stereo speaker drivers
Stereo, mono or differential microphone input
- Automatic Level Control (ALC)
- Mic insert and mic button press detection
Auxiliary mono DAC (ring tone or DC level generation)
Seamless interface to wireless chipset
Resistive touchpanel interface
- Supports 4-wire and 5-wire panels
- 12-bit resolution, INL
2
LSBs (<0.5 pixels)
- X, Y and touch-pressure (Z) measurement
- Pen-down detection supported in Sleep Mode
Additional PCM/I
2
S interface to support voice CODEC
PLL derived audio clocks.
Supports input clock ranging from 2.048MHz to 78.6MHz
1.8V to 3.6V supplies (digital down to 1.62V, speaker up to
4.2V)
7x7mm 48-lead QFN package
APPLICATIONS
Smartphones
Personal Digital Assistants (PDA)
Handheld and Tablet Computers
BLOCK DIAGRAM
AGND2
AGND
CAP2 AVDD
VREF
DGND1
DGND2
DCVDD
DBVDD
SPKGND
SPKVDD
AVDD
DCVDD
HPGND
HPVDD
POR
RESETB
(pin 11)
DAC
L
MONO
Ear Speaker
32R
Hands-free
32R
HP
16/32R
VREF
50K
50K
WM9713L
rb
MICBIAS
MIC1
MICCM
MIC2A/COMP1/AUX1
MIC2B/COMP2/AUX2
LINEL
LINER
MONOIN
PCBEEP
DIFFERENTIAL
STEREO or
MONO MICS
INPUT PGAs
RECORD
SELECT
RECORD
VOLUME
ADC
L
ALC /
NOISE
GATE
ADC
R
TONE /
BASS
BOOST
3D
HPL
DAC
R
HEADPHONE
MIXER
SPEAKER
MIXER
MONO
MIXER
-
SPKVDD / 3
HPR
SPKL
ADCSEL
DEAD
BAT
-
+
AUX
ADC
AUX
DAC
SPKR
OUT3
OUT4
Stereo
Speaker (R)
8R
Stereo
Speaker (L)
8R
VREF /
AUX4
+
-
TOUCH PANEL
MATRIX
PCM/I
2
S
INTERFACE
PLL
AC'97
INTERFACE
VOICE
DAC
LOW
BAT
X+
X-
Y+
Y-
GPIO1/PCMCLK
GPIO3/PENDOWN/PCMFS
GPIO4/ADA/MASK/PCMDAC
GPIO5/SPDIF/PCMADC
MCLKB/GPIO6/(ADA/MASK)
4-wire or 5-wire
resistive touchpanel
BITCLK
SYNC
SDATAIN
SDATAOUT
RESETB/GPIO7/PENDOWN
WIPER/
AUX4/
GPIO8/
(SPDIF)
GPIO2/IRQ
TPGND
TPVDD
MCLKA
http://www.cirrus.com
Copyright
Cirrus Logic, Inc., 2008–2016
(All Rights Reserved)
Rev 4.0
DEC ‘16
WM9713L
TABLE OF CONTENTS
DESCRIPTION ................................................................................................................ 1
FEATURES ..................................................................................................................... 1
APPLICATIONS.............................................................................................................. 1
BLOCK DIAGRAM ......................................................................................................... 1
TABLE OF CONTENTS .................................................................................................. 2
PIN CONFIGURATION ................................................................................................... 4
ORDERING INFORMATION ........................................................................................... 4
PIN DESCRIPTION ......................................................................................................... 4
ABSOLUTE MAXIMUM RATINGS ................................................................................. 6
RECOMMENDED OPERATING CONDITIONS .............................................................. 6
ELECTRICAL CHARACTERISTICS .............................................................................. 7
AUDIO OUTPUTS ...................................................................................................................... 7
AUDIO INPUTS .......................................................................................................................... 8
AUXILIARY MONO DAC (AUXDAC) .......................................................................................... 8
PCM VOICE DAC (VXDAC) ....................................................................................................... 8
TOUCHPANEL AND AUXILIARY ADC ...................................................................................... 9
COMPARATORS ....................................................................................................................... 9
REFERENCE VOLTAGES ......................................................................................................... 9
DIGITAL INTERFACE CHARACTERISTICS ........................................................................... 10
POWER CONSUMPTION ............................................................................................. 10
SIGNAL TIMING REQUIREMENTS ............................................................................. 11
AC97 INTERFACE TIMING...................................................................................................... 11
PCM AUDIO INTERFACE TIMING – SLAVE MODE ............................................................... 15
PCM AUDIO INTERFACE TIMING – MASTER MODE............................................................ 16
DEVICE DESCRIPTION ............................................................................................... 17
INTRODUCTION ...................................................................................................................... 17
AUDIO PATHS OVERVIEW ..................................................................................................... 19
CLOCK GENERATION ............................................................................................................ 20
CLOCK DIVISION MODES ...................................................................................................... 20
PLL MODE ............................................................................................................................... 22
DIGITAL INTERFACES ............................................................................................................ 25
AC97 INTERFACE ................................................................................................................... 26
PCM INTERFACE .................................................................................................................... 26
AUDIO ADCS ............................................................................................................... 32
STEREO ADC .......................................................................................................................... 32
RECORD SELECTOR.............................................................................................................. 33
RECORD GAIN ........................................................................................................................ 34
AUTOMATIC LEVEL CONTROL.............................................................................................. 35
AUDIO DACS ............................................................................................................... 39
STEREO DAC .......................................................................................................................... 39
VOICE DAC .............................................................................................................................. 41
AUXILIARY DAC ...................................................................................................................... 42
VARIABLE RATE AUDIO / SAMPLE RATE CONVERSION ....................................... 44
AUDIO INPUTS............................................................................................................. 45
LINE INPUT .............................................................................................................................. 45
MICROPHONE INPUT ............................................................................................................. 45
MONOIN INPUT ....................................................................................................................... 50
PCBEEP INPUT ....................................................................................................................... 51
DIFFERENTIAL MONO INPUT ................................................................................................ 52
2
Rev 4.0
WM9713L
AUDIO MIXERS ............................................................................................................ 53
MIXER OVERVIEW .................................................................................................................. 53
HEADPHONE MIXERS ............................................................................................................ 53
SPEAKER MIXER .................................................................................................................... 53
MONO MIXER .......................................................................................................................... 54
MIXER OUTPUT INVERTERS ................................................................................................. 54
ANALOGUE AUDIO OUTPUTS ................................................................................... 55
HEADPHONE OUTPUTS – HPL AND HPR ............................................................................ 55
MONO OUTPUT....................................................................................................................... 56
SPEAKER OUTPUTS – SPKL AND SPKR .............................................................................. 57
AUXILIARY OUTPUTS – OUT3 AND OUT4 ............................................................................ 58
THERMAL SENSOR ................................................................................................................ 60
JACK INSERTION AND AUTO-SWITCHING .......................................................................... 60
DIGITAL AUDIO (S/PDIF) OUTPUT ............................................................................. 64
TOUCHPANEL INTERFACE ........................................................................................ 65
PRINCIPLE OF OPERATION – FOUR-WIRE TOUCHPANEL ................................................ 66
PRINCIPAL OF OPERATION – FIVE-WIRE TOUCHPANEL .................................................. 68
CONTROLLING THE TOUCHPANEL DIGITISER ................................................................... 69
ADDITIONAL FEATURES ............................................................................................ 78
AUXILIARY ADC INPUTS ........................................................................................................ 78
BATTERY ALARM AND ANALOGUE COMPARATORS ......................................................... 79
GPIO AND INTERRUPT CONTROL ........................................................................................ 82
POWER MANAGEMENT .............................................................................................. 86
INTRODUCTION ...................................................................................................................... 86
AC97 CONTROL REGISTER................................................................................................... 86
EXTENDED POWERDOWN REGISTERS .............................................................................. 87
ADDITIONAL POWER MANAGEMENT ................................................................................... 89
POWER-ON RESET (POR) ..................................................................................................... 90
REGISTER MAP ........................................................................................................... 91
REGISTER BITS BY ADDRESS .............................................................................................. 92
APPLICATIONS INFORMATION ............................................................................... 123
RECOMMENDED EXTERNAL COMPONENTS .................................................................... 123
LINE OUTPUT ........................................................................................................................ 124
AC-COUPLED HEADPHONE OUTPUT ................................................................................ 124
DC-COUPLED (CAPLESS) HEADPHONE OUTPUT ............................................................ 125
BTL LOUDSPEAKER OUTPUT ............................................................................................. 125
COMBINED HEADSET / BTL EAR SPEAKER ...................................................................... 126
COMBINED HEADSET / SINGLE-ENDED EAR SPEAKER .................................................. 126
JACK INSERT DETECTION .................................................................................................. 127
HOOKSWITCH DETECTION ................................................................................................. 127
TYPICAL OUTPUT CONFIGURATIONS ............................................................................... 128
PACKAGE DIMENSIONS ........................................................................................... 131
IMPORTANT NOTICE ................................................................................................ 132
REVISION HISTORY .................................................................................................. 133
Rev 4.0
3
WM9713L
PIN CONFIGURATION
GPIO4 / ADA / MASK / PCMDAC
GPIO3 / PENDOWN / PCMFS
GPIO5 / SPDIF / PCMADC
GPIO1 / PCMCLK
GPIO2 / IRQ
SPKVDD
HPGND
HPVDD
AGND2
48 47 46
DBVDD
MCLKA
MCLKB / GPIO6 / (ADA / MASK)
DGND1
SDATAOUT
BITCLK
DGND2
SDATAIN
DCVDD
SYNC
RESETB / GPIO7 / (PENDOWN)
WIPER / AUX4 / GPIO8 / (SPDIF)
1
2
3
4
5
6
45 44
43 42
41 40
39 38
37
36
35
34
33
32
31
SPKR
SPKL
SPKGND
OUT4
CAP2
MONO
MIC2B / COMP2 / AUX2
MIC2A / COMP1 / AUX1
MICBIAS
VREF
AGND
AVDD
WM9713L
7
8
9
10
11
12
13 14 15
16 17
18 19
20 21
22 23
24
30
29
28
27
26
25
Y+ / TR
Y- / BL
MICCM
LINEL
PCBEEP
X+ / BR
TPVDD
X- / TL
ORDERING INFORMATION
DEVICE
WM9713CLGEFL/V
WM9713CLGEFL/RV
Note:
Reel quantity = 2,200
TEMPERATURE
RANGE
-25 to +85
o
C
-25 to +85
o
C
PACKAGE
48-lead QFN
(Pb-free)
48-lead QFN
(Pb-free, tape and reel)
MOISTURE SENSITIVITY
LEVEL
MSL3
MSL3
PEAK SOLDERING
TEMPERATURE
260
o
C
260
o
C
PIN DESCRIPTION
PIN
1
2
3
4
5
6
NAME
DBVDD
MCLKA
MCLKB / GPIO6 / (ADA / MASK)
DGND1
SDATAOUT
BITCLK
TYPE
Supply
Digital Input
Digital In/Out
Supply
Digital Input
Digital Output
Digital I/O Buffer Supply
Master Clock A Input
Master Clock B Input / GPIO6 / (ADA output / MASK input)
Digital Ground (return path for both DCVDD and DBVDD)
Serial Data Output from Controller / Input to WM9713L
Serial Interface Clock Output to Controller
DESCRIPTION
4
MONOIN
TPGND
LINER
MIC1
OUT3
HPR
HPL
Rev 4.0
WM9713L
PIN
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Note:
1.
It is recommended that the GND_PADDLE is connected to analogue ground. Refer to “Recommended External Components”
and “Package Dimensions” for further information.
NAME
DGND2
SDATAIN
DCVDD
SYNC
RESETB / GPIO7 / (PENDOWN)
TYPE
Supply
Digital Output
Supply
Digital Input
Digital In / Out
DESCRIPTION
Digital Ground (return path for both DCVDD and DBVDD)
Serial Data Input to Controller / Output from WM9713L
Digital Core Supply
Serial Interface Synchronisation Pulse from Controller
Reset (asynchronous, active Low, resets all registers to their
default) / GPIO7 / (pen down output)
Top Sheet Connection for 5-wire Touchpanels / Auxiliary ADC
input / GPIO8 / (S/PDIF digital audio output)
Touchpanel Driver Supply
Touchpanel Connection: X+ (Right) for 4-wire / bottom right for 5-
wire
Touchpanel Connection: Y+ (Top) for 4-wire / top right for 5-wire
Touchpanel Connection: X- (Left) for 4-wire / top left for 5-wire
Touchpanel Connection: Y- (Bottom) for 4-wire / bottom left for 5-
wire
Touchpanel Driver Ground
Line Input to analogue audio mixers, typically used for beeps
Mono Input (RX)
Microphone preamp A input 1
Microphone common mode input
Left Line Input
Right Line Input
Analogue Supply (audio DACs, ADCs, PGAs, mic amps, mixers)
Analogue Ground
Internal Reference Voltage (buffered CAP2)
Bias Voltage for Microphones (buffered CAP2
1.8)
Microphone preamp A input 2 / COMP1 input / Auxiliary ADC input
Microphone preamp B input / COMP2 input / Auxiliary ADC input
Mono output driver (line or headphone)
Internal Reference Voltage (normally AVDD/2, if not overdriven)
Auxiliary output driver (speaker, line or headphone)
Speaker ground (feeds output buffers on pins 33, 35, 36 and 37)
Left speaker driver (speaker, line or headphone)
Right speaker driver (speaker, line or headphone)
Auxiliary output driver (speaker, line or headphone)
Speaker supply (feeds output buffers on pins 33, 35, 36 and 37)
Headphone left driver (line or headphone)
Headphone ground (feeds output buffers on pins 39 and 41)
Headphone right driver (line or headphone)
Analogue ground, chip substrate
Headphone supply (feeds output buffers on pins 39 and 41)
GPIO Pin 1 / PCM interface clock
GPIO Pin 2 / IRQ (Interrupt Request) output
GPIO Pin 3 / pen down output or PCM frame signal
GPIO Pin 4 / ADA (ADC data available) output or Mask input /
PCM input (DAC) data
GPIO Pin 5 / S/PDIF digital audio output / PCM output (ADC) data
Die Paddle (Note 1)
WIPER / AUX4 / GPIO8 / (S/PDIF) Analogue In / Out
TPVDD
X+/ BR
Y+/TR
X-/TL
Y-/BL
TPGND
PCBEEP
MONOIN
MIC1
MICCM
LINEL
LINER
AVDD
AGND
VREF
MICBIAS
MIC2A / COMP1 / AUX1
MIC2B / COMP2 / AUX2
MONO
CAP2
OUT4
SPKGND
SPKL
SPKR
OUT3
SPKVDD
HPL
HPGND
HPR
AGND2
HPVDD
GPIO1 / PCMCLK
GPIO2 / IRQ
GPIO3 / PENDOWN / PCMFS
GPIO4 / ADA / MASK / PCMDAC
GPIO5 / S/PDIF / PCMADC
GND_PADDLE
Supply
Analogue Input
Analogue Input
Analogue Input
Analogue Input
Supply
Analogue Input
Analogue Input
Analogue Input
Analogue Input
Analogue Input
Analogue Input
Supply
Supply
Analogue Output
Analogue Output
Analogue Input
Analogue Input
Analogue output
Analogue In / Out
Analogue Output
Supply
Analogue Output
Analogue Output
Analogue Output
Supply
Analogue Output
Supply
Analogue Output
Supply
Supply
Digital In / Out
Digital In / Out
Digital In / Out
Digital In / Out
Digital In / Out
Rev 4.0
5