ALC662 Realtek PDF
ALC662 Realtek PDF
ALC662 Realtek PDF
DATASHEET
Rev. 1.3
03 July 2009
Track ID: JATR-1076-21
COPYRIGHT
©2009 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced,
transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any
means without the written permission of Realtek Semiconductor Corp.
DISCLAIMER
Realtek provides this document “as is”, without warranty of any kind. Realtek may make improvements
and/or changes in this document or in the product described in this document at any time. This document
could include technical inaccuracies or typographical errors.
TRADEMARKS
Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document
are trademarks/registered trademarks of their respective owners.
Though every effort has been made to ensure that this document is current and accurate, more
information may have become available subsequent to the production of this guide.
REVISION HISTORY
Revision Release Date Summary
1.0 2007/01/15 First release for ALC662.
1.1 2008/03/15 Added ALC662-VC (ALC662 C version) data.
Update passband ripple information in Table 82, page 64.
1.2 2008/12/02 Correct General Description and Software Features sections. The ALC662 supports
Dolby Digital Live (Dolby Home Theater is not supported).
ALC662-VC part number corrected to ALC662-VC0-GR.
1.3 2009/07/03 Added ALC662-VC1-GR part number information.
Revised Table 85, page 66.
5.1 Channel High Definition Audio Codec ii Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table of Contents
1. GENERAL DESCRIPTION ..............................................................................................................................................1
2. FEATURES .........................................................................................................................................................................2
2.1. HARDWARE FEATURES ................................................................................................................................................2
2.2. SOFTWARE FEATURES ..................................................................................................................................................3
2.3. ALC662-VC SERIES UPGRADED FEATURES FOR FUTURE WLP ..................................................................................4
3. SYSTEM APPLICATIONS...............................................................................................................................................4
5.1 Channel High Definition Audio Codec iv Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
9. ELECTRICAL CHARACTERISTICS ..........................................................................................................................63
9.1. DC CHARACTERISTICS ...............................................................................................................................................63
9.1.1. Absolute Maximum Ratings ..................................................................................................................................63
9.1.2. Threshold Voltage ................................................................................................................................................63
9.1.3. Digital Filter Characteristics ...............................................................................................................................64
9.1.4. SPDIF Output Characteristics .............................................................................................................................64
9.2. AC CHARACTERISTICS ...............................................................................................................................................65
9.2.1. Link Reset and Initialization Timing ....................................................................................................................65
9.2.2. Link Timing Parameters at the Codec ..................................................................................................................66
9.2.3. SPDIF Output Timing...........................................................................................................................................67
9.2.4. Test Mode .............................................................................................................................................................67
9.3. ANALOG PERFORMANCE ............................................................................................................................................68
10. APPLICATION CIRCUITS .......................................................................................................................................69
10.1. FILTER CONNECTION .................................................................................................................................................69
10.2. ONBOARD FRONT PANEL HEADER CONNECTION AND FRONT PANEL I/O ..................................................................70
10.3. ANALOG INPUT/OUTPUT CONNECTION ......................................................................................................................71
10.4. OPTIONAL SPDIF OUTPUT .........................................................................................................................................71
11. MECHANICAL DIMENSIONS.................................................................................................................................72
11.1. MECHANICAL DIMENSIONS NOTES ............................................................................................................................73
12. ORDERING INFORMATION ...................................................................................................................................74
5.1 Channel High Definition Audio Codec v Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
List of Tables
TABLE 1. DIGITAL I/O PINS .........................................................................................................................................................7
TABLE 2. ANALOG I/O PINS ........................................................................................................................................................7
TABLE 3. FILTER/REFERENCE .....................................................................................................................................................8
TABLE 4. POWER/GROUND..........................................................................................................................................................8
TABLE 5. NOT CONNECTED PINS .................................................................................................................................................8
TABLE 6. LINK RESET# ...........................................................................................................................................................10
TABLE 7. HDA SIGNAL DEFINITIONS ........................................................................................................................................10
TABLE 8. DEFINED SAMPLE RATE AND TRANSMISSION RATE ...................................................................................................16
TABLE 9. 48KHZ VARIABLE RATE OF DELIVERY TIMING .........................................................................................................16
TABLE 10. 44.1KHZ VARIABLE RATE OF DELIVERY TIMING ......................................................................................................17
TABLE 11. 40-BIT COMMANDS IN 4-BIT VERB FORMAT .............................................................................................................20
TABLE 12. 40-BIT COMMANDS IN 12-BIT VERB FORMAT ...........................................................................................................20
TABLE 13. SUPPORTED COMMANDS ...........................................................................................................................................21
TABLE 14. SUPPORTED PARAMETERS .........................................................................................................................................22
TABLE 15. SOLICITED RESPONSE FORMAT .................................................................................................................................23
TABLE 16. UNSOLICITED RESPONSE FORMAT .............................................................................................................................23
TABLE 17. SYSTEM POWER STATE DEFINITIONS ........................................................................................................................23
TABLE 18. POWER CONTROLS IN NID 01H .................................................................................................................................24
TABLE 19. POWERED DOWN CONDITIONS ..................................................................................................................................24
TABLE 20. VERB – GET PARAMETERS (VERB ID=F00H) ............................................................................................................25
TABLE 21. PARAMETER – VENDOR ID (VERB ID=F00H, PARAMETER ID=00H).........................................................................25
TABLE 22. PARAMETER – REVISION ID (VERB ID=F00H, PARAMETER ID=02H) .......................................................................25
TABLE 23. PARAMETER – SUBORDINATE NODE COUNT (VERB ID=F00H, PARAMETER ID=04H) ..............................................26
TABLE 24. PARAMETER – FUNCTION GROUP TYPE (VERB ID=F00H, PARAMETER ID=05H)......................................................26
TABLE 25. PARAMETER – AUDIO FUNCTION CAPABILITIES (VERB ID=F00H, PARAMETER ID=08H).........................................26
TABLE 26. PARAMETER – AUDIO WIDGET CAPABILITIES (VERB ID=F00H, PARAMETER ID=09H) ............................................27
TABLE 27. PARAMETER – SUPPORTED PCM SIZE, RATES (VERB ID=F00H, PARAMETER ID=0AH)...........................................28
TABLE 28. PARAMETER – SUPPORTED STREAM FORMATS (VERB ID=F00H, PARAMETER ID=0BH) ..........................................29
TABLE 29. PARAMETER – PIN CAPABILITIES (VERB ID=F00H, PARAMETER ID=0CH)...............................................................29
TABLE 30. PARAMETER – AMPLIFIER CAPABILITIES (VERB ID=F00H, INPUT AMPLIFIER PARAMETER ID=0DH) ......................30
TABLE 31. PARAMETER – AMPLIFIER CAPABILITIES (VERB ID=F00H, OUTPUT AMPLIFIER PARAMETER ID=12H)....................30
TABLE 32. PARAMETER – CONNECT LIST LENGTH (VERB ID=F00H, PARAMETER ID=0EH)......................................................31
TABLE 33. PARAMETER – SUPPORTED POWER STATES (VERB ID=F00H, PARAMETER ID=0FH)................................................31
TABLE 34. PARAMETER – PROCESSING CAPABILITIES (VERB ID=F00H, PARAMETER ID=10H) .................................................31
TABLE 35. PARAMETER – GPIO CAPABILITIES (VERB ID=F00H, PARAMETER ID=11H)............................................................32
TABLE 36. PARAMETER – VOLUME KNOB CAPABILITIES (VERB ID=F00H, PARAMETER ID=13H) ............................................32
TABLE 37. VERB – GET CONNECTION SELECT CONTROL (VERB ID=F01H) ...............................................................................33
TABLE 38. VERB – SET CONNECTION SELECT (VERB ID=701H).................................................................................................33
TABLE 39. VERB – GET CONNECTION LIST ENTRY (VERB ID=F02H).........................................................................................34
TABLE 40. VERB – GET PROCESSING STATE (VERB ID=F03H)...................................................................................................37
TABLE 41. VERB – SET PROCESSING STATE (VERB ID=703H)....................................................................................................38
TABLE 42. VERB – GET COEFFICIENT INDEX (VERB ID=DH) .....................................................................................................38
TABLE 43. VERB – SET COEFFICIENT INDEX (VERB ID=5H).......................................................................................................38
TABLE 44. VERB – GET PROCESSING COEFFICIENT (VERB ID=CH)............................................................................................39
TABLE 45. VERB – SET PROCESSING COEFFICIENT (VERB ID=4H) .............................................................................................39
TABLE 46. VERB – GET AMPLIFIER GAIN (VERB ID=BH)...........................................................................................................40
TABLE 47. VERB – SET AMPLIFIER GAIN (VERB ID=3H)............................................................................................................43
TABLE 48. VERB – GET CONVERTER FORMAT (VERB ID=AH) ...................................................................................................44
TABLE 49. GET CONVERTER FORMAT SUPPORT .........................................................................................................................44
TABLE 50. VERB – SET CONVERTER FORMAT (VERB ID=2H).....................................................................................................45
TABLE 51. VERB – GET POWER STATE (VERB ID=F05H) ...........................................................................................................46
TABLE 52. VERB – SET POWER STATE (VERB ID=705H)............................................................................................................46
5.1 Channel High Definition Audio Codec vi Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
TABLE 53. VERB – GET CONVERTER STREAM, CHANNEL (VERB ID=F06H)...............................................................................47
TABLE 54. VERB – SET CONVERTER STREAM, CHANNEL (VERB ID=706H) ...............................................................................47
TABLE 55. VERB – GET PIN WIDGET CONTROL (VERB ID=F07H)..............................................................................................48
TABLE 56. VERB – SET PIN WIDGET CONTROL (VERB ID=707H)...............................................................................................49
TABLE 57. VERB – GET UNSOLICITED RESPONSE CONTROL (VERB ID=F08H)...........................................................................50
TABLE 58. VERB – SET UNSOLICITED RESPONSE CONTROL (VERB ID=708H) ...........................................................................50
TABLE 59. VERB – GET PIN SENSE (VERB ID=F09H) .................................................................................................................51
TABLE 60. VERB – EXECUTE PIN SENSE (VERB ID=709H) .........................................................................................................51
TABLE 61. VERB – GET CONFIGURATION DEFAULT (VERB ID=F1CH/F1DH/F1EH/F1FH) ........................................................52
TABLE 62. VERB – SET CONFIGURATION DEFAULT BYTES 0, 1, 2, 3 (VERB ID=71CH/71DH/71EH/71FH FOR BYTES 0, 1, 2, 3)
..................................................................................................................................................................................52
TABLE 63. VERB – GET BEEP GENERATOR (VERB ID= F0AH)..................................................................................................53
TABLE 64. VERB – SET BEEP GENERATOR (VERB ID= 70AH)...................................................................................................53
TABLE 65. VERB – GET GPIO DATA (VERB ID= F15H) .............................................................................................................54
TABLE 66. VERB – SET GPIO DATA (VERB ID= 715H) ..............................................................................................................54
TABLE 67. VERB – GET GPIO ENABLE MASK (VERB ID= F16H) ...............................................................................................55
TABLE 68. VERB – SET GPIO ENABLE MASK (VERB ID=716H).................................................................................................55
TABLE 69. VERB – GET GPIO DIRECTION (VERB ID=F17H) ......................................................................................................56
TABLE 70. VERB – SET GPIO DIRECTION (VERB ID=717H).......................................................................................................56
TABLE 71. VERB – GET GPIO UNSOLICITED RESPONSE ENABLE MASK (VERB ID=F19H) ........................................................57
TABLE 72. VERB – SET GPIO UNSOLICITED RESPONSE ENABLE MASK (VERB ID=719H) .........................................................57
TABLE 73. VERB – GET DIGITAL CONVERTER CONTROL 1 & CONTROL 2 (VERB ID= F0DH, F0EH) .........................................58
TABLE 74. VERB – SET DIGITAL CONVERTER CONTROL 1 & CONTROL 2 (VERB ID=70DH, 70EH) ...........................................59
TABLE 75. VERB – GET SUBSYSTEM ID [31:0] (VERB ID=F20H/F21H/F22H/F23H) ..................................................................60
TABLE 76. VERB – SET SUBSYSTEM ID [31:0] (VERB ID=723H FOR [31:24], 722H FOR [23:16], 721H FOR [15:8], 720H FOR
[7:0]) .........................................................................................................................................................................60
TABLE 77. VERB – GET EAPD CONTROL (VERB ID=F0CH) ......................................................................................................61
TABLE 78. VERB – SET EAPD CONTROL (VERB ID=70CH) .......................................................................................................61
TABLE 79. VERB – FUNCTION RESET (VERB ID=7FFH) .............................................................................................................62
TABLE 80. ABSOLUTE MAXIMUM RATINGS ................................................................................................................................63
TABLE 81. THRESHOLD VOLTAGE ..............................................................................................................................................63
TABLE 82. DIGITAL FILTER CHARACTERISTICS ..........................................................................................................................64
TABLE 83. SPDIF OUTPUT CHARACTERISTICS ...........................................................................................................................64
TABLE 84. LINK RESET AND INITIALIZATION TIMING .................................................................................................................65
TABLE 85. LINK TIMING PARAMETERS AT THE CODEC ...............................................................................................................66
TABLE 86. SPDIF OUTPUT TIMING.............................................................................................................................................67
TABLE 87. ANALOG PERFORMANCE ...........................................................................................................................................68
TABLE 88. ORDERING INFORMATION ..........................................................................................................................................74
5.1 Channel High Definition Audio Codec vii Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
List of Figures
FIGURE 1. BLOCK DIAGRAM .......................................................................................................................................................5
FIGURE 2. PIN ASSIGNMENTS ......................................................................................................................................................6
FIGURE 3. HDA LINK PROTOCOL ................................................................................................................................................9
FIGURE 4. BIT TIMING ...............................................................................................................................................................10
FIGURE 5. SIGNALING TOPOLOGY .............................................................................................................................................11
FIGURE 6. SDO OUTBOUND FRAME ..........................................................................................................................................12
FIGURE 7. SDO STREAM TAG IS INDICATED IN SYNC..............................................................................................................12
FIGURE 8. STRIPED STREAM ON MULTIPLE SDOS .....................................................................................................................13
FIGURE 9. SDI INBOUND STREAM .............................................................................................................................................14
FIGURE 10. SDI STREAM TAG AND DATA ..................................................................................................................................14
FIGURE 11. CODEC TRANSMITS DATA OVER MULTIPLE SDIS ....................................................................................................15
FIGURE 12. LINK RESET TIMING .................................................................................................................................................19
FIGURE 13. CODEC INITIALIZATION SEQUENCE ..........................................................................................................................20
FIGURE 14. LINK RESET AND INITIALIZATION TIMING ................................................................................................................65
FIGURE 15. LINK SIGNAL TIMING ...............................................................................................................................................66
FIGURE 16. OUTPUT TIMING .......................................................................................................................................................67
FIGURE 17. FILTER CONNECTION ................................................................................................................................................69
FIGURE 18. ONBOARD FRONT PANEL HEADER CONNECTION AND FRONT PANEL I/O ................................................................70
FIGURE 19. ANALOG INPUT/OUTPUT CONNECTION ....................................................................................................................71
FIGURE 20. OPTIONAL SPDIF OUTPUT .......................................................................................................................................71
5.1 Channel High Definition Audio Codec viii Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
1. General Description
ALC662 products are 5.1 Channel High Definition Audio Codecs designed for Windows Vista premium
desktop and mobile PCs. The ALC662, ALC662-VC0, and ALC662-VC1 (ALC662 version C series)
meet audio performance and function requirements for the latest Microsoft WLP3.10 (Windows Logo
Program).
The ALC662-VC series (ALC662-VC0 and ALC662-VC1) are upgraded versions of the ALC662 that
pass stricter WLP performance requirements (See section 2.3 ALC662-VC Series Upgraded Features for
Future WLP, page 4).
The ALC662 series feature three stereo DACs, two stereo ADCs, and legacy analog input to analog
output mixing, to provide fully integrated audio solutions for multimedia PCs and ultra mobile devices.
All analog IO (except CD-IN and PCBEEP) are input and output capable, and three headphone amplifiers
are also integrated to drive earphones on front (port-E and port-F) and rear panel (port-D).
The ALC662 series support 16/20/24-bit SPDIF output function and a sampling rate of up to 96kHz.
They offer easy connection of PCs to high quality consumer electronic products such as digital decoders
and speakers.
The ALC662 series support host audio from Intel chipsets, and also from any other HDA compatible
audio controller. With EAX/Direct Sound 3D/I3DL2 compatibility, software utilities like Karaoke mode,
environment emulation, multi-band software equalizer, 3D positional audio, and optional Dolby® Digital
Live and DTS® CONNECT™ programs, the ALC662 series provide an excellent home entertainment
package and game experience for PC users.
5.1 Channel High Definition Audio Codec 1 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
2. Features
2.1. Hardware Features
Meets premium audio requirements for Microsoft WLP 3.10 (ALC662 and ALC662-VC series)
Meets stricter performance requirements for future WLP (ALC662-VC series)
Six-channel DAC supports 16/20/24-bit PCM format for 5.1 channel audio solution
Two stereo ADCs support 16/20-bit PCM format
All DACs support independent 44.1k/48k/96kHz sample rate
All ADCs support independent 44.1k/48k/96kHz sample rate
Supports 44.1k/48k/96kHz SPDIF output
All analog jack ports are stereo input and output re-tasking
Analog differential CD input
Supports analog PCBEEP input
Integrates digital BEEP generator
Up to four channels of microphone array input are supported for AEC/BF application
Supports legacy analog input to analog output mixer
Three built-in headphone amplifiers for port-D (rear panel), port-E and port-F (front panel)
Software selectable 2.5V and 3.2V reference output for microphone bias
Software selectable boost gain (+10/+20/+30dB) for analog microphone input
Two jack detection pins: each supports detection of up to 4 jacks
Jack detection function is supported when device is in power down mode (D3)
Supports two GPIO pins (General Purpose Input Output)
Supports EAPD (External Amplifier Power Down) control for external amplifier
Supports 1.5V~3.3V scalable I/O for HD Audio link
Supports anti-pop mode when analog power AVDD is on and digital power is off
48-pin LQFP ‘Green’ package
The ALC662-VC series is fully pin compatible with the ALC662, and both are pin-to-pin compatible
with the ALC88x series and ALC262 series audio codecs
5.1 Channel High Definition Audio Codec 2 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
WaveRT based audio function driver and logo ready for Windows Vista
3D Positional Audio
Dynamic range control (expander, compressor, and limiter) with adjustable parameters
Intuitive Configuration Panel (Realtek Audio Manager) for enhanced audio experience
Microphone Acoustic Echo Cancellation (AEC), Noise Suppression (NS), and Beam Forming (BF)
technology for voice application
5.1 Channel High Definition Audio Codec 3 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
DAC and ADC have less than ±0.02dB frequency response ripple (<±0.25dB in WLP3.10)
Meets performance measurement when sweeping 44.1kHz sample rate content across 20Hz to
20KHz (20Hz to 17.6KHz in WLP3.10)
The ALC662-VC1 improves anti-pop functions and reduces power consumption when the Audio
system is not in use. This is especially useful when designing equipment to meet the Energy Using
Products (EUP) directive for IT equipment
3. System Applications
Desktop and mobile multimedia PCs
5.1 Channel High Definition Audio Codec 4 Track ID: JATR-1076-21 Rev. 1.3
4.
04h
DAC PCM-3 SRC DAC VOL M CLfe DAC
M 0Eh 16h
03h CLfe M I/O
DAC PCM-2 SRC DAC VOL M Surr DAC CEN/LFE(Port-G)
M 0Dh
02h 15h
DAC PCM-1 SRC DAC VOL M Front DAC
0Ch Surr M I/O
M SURR(Port-A)
Sample Rate: 44.1K, 48K, 96K
Figure 1.
VOL M
1 VOL M CD-IN 1Ch
VOL M
5
VOL M Front 1Bh
Parameters VOL M CLfe M I/OA LINE2(Port-E)
VOL M Boost
Block Diagram
ADC PCM-2 SRC ADC VOL M M
M
09h M
M Front 19h
M CLfe M I/OA MIC2(Port-F)
Boost
23h
M
M 18h
M
M CLfe
ADC PCM-1 M M I/O
SRC ADC VOL M M Boost MIC1(Port-B)
M
M
08h M 0/10/20/30dB boost O A :Output w/ Amplifier
M
1Eh
06h Sample Rate: 44.1K, 48K, 96K
S/PDIF-OUT S/PDIF-OUT
Digital Converter
5. Pin Assignments
FRONT-R(PORT-D-R)
FRONT-L(PORT-D-L)
MIC1-VREFO-R
MIC1-VREFO-L
LINE2-VREFO
MIC2-VREFO
AVDD1
Sense B
AVSS1
VREF
NC
NC
36 35 34 33 32 31 30 29 28 27 26 25
NC 37 24 LINE1-R(PORT-C-R)
AVDD2 38 23 LINE1-L(PORT-C-L)
SURR-L( PORT-A-L) 39 22 MIC1-R(PORT-B-R)
JDREF 40 21 MIC1-L(PORT-B-L)
SURR-R( PORT-A-R) 41 20 CD-R
AVSS2 42
ALC662 19 CD- GND
CENTER( PORT-G-L) 43 18 CD-L
LFE( PORT-G-R) 44 17 MIC2-R (PORT-F-R)
NC 45 LLLLLLL TXXXVV 16 MIC2-L (PORT-F-L)
NC 46 15 LINE2-R (PORT-E-R)
EAPD 47 14 LINE2-L (PORT-E-L)
SPDIFO 48 13 Sense A
1 2 3 4 5 6 7 8 9 10 11 12
GPIO1
PCBEEP
SDATA-IN
DVDD
DVDD-IO
SYNC
DVSS
DVSS
SDATA-OUT
GPIO0
RESET#
BITCLK
5.1 Channel High Definition Audio Codec 6 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
6. Pin Descriptions
6.1. Digital I/O Pins
Table 1. Digital I/O Pins
Name Type Pin Description Characteristic Definition
RESET# I 11 H/W Reset Vt=0.5*DVDDIO
SYNC I 10 Sample Sync (48kHz) Vt=0.5*DVDDIO
BITCLK I 6 24MHz Bit Clock Input Vt=0.5*DVDDIO
SDATA-OUT I 5 Serial TDM Data Input Vt=0.5*DVDDIO
SDATA-IN O 8 Serial TDM Data Output In: Vt=0.5*DVDDIO;
Out: VOH=DVDDIO, VOL=DVSS
SPDIFO O 48 SPDIF Output TTL output has 12mA@75Ω driving capability
EAPD O 47 External Amplifier Power Down VOH=DVDDIO, VOL=DVSS
GPIO0 IO 2 General Purpose Input/Output 0 In: Vt=0.5*DVDD; Out: VOH=DVDD, VOL=DVSS
GPIO1 IO 3 General Purpose Input/Output 1 In: Vt=0.5*DVDD; Out: VOH=DVDD, VOL=DVSS
Total: 9 Pins
5.1 Channel High Definition Audio Codec 7 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Name Type Pin Description Characteristic Definition
Sense A I 13 Jack Detect Pin l Jack resistor network input 1
Sense B I 34 Jack Detect Pin 2 Jack resistor network input 2
Total: 20 Pins
6.3. Filter/Reference
Table 3. Filter/Reference
Name Type Pin Description Characteristic Definition
VREF - 27 Reference Voltage Typical 2.25V,10µf capacitor to analog ground
MIC1-VREFO-L O 28 Bias Voltage for MIC1 Jack 2.5V/3.2V reference voltage
MIC2-VREFO O 30 Bias Voltage for MIC2 Jack 2.5V/3.2V reference voltage
LINE2-VREFO O 31 Bias Voltage for LINE2 Jack 2.5V/3.2V reference voltage
MIC1-VREFO-R O 32 Bias Voltage for MIC1 Jack 2.5V/3.2V reference voltage
JDREF - 40 Reference Resistor for Jack 20K, 1% external resistor to analog ground
Detection
Total: 6 Pins
6.4. Power/Ground
Table 4. Power/Ground
Name Type Pin Description Characteristic Definition
AVDD1 I 25 Analog VDD Analog power for mixer and amplifier
AVSS1 I 26 Analog GND Analog ground for mixer and amplifier
AVDD2 I 38 Analog VDD Analog power for DACs and ADCs
AVSS2 I 42 Analog GND Analog ground for DACs and ADCs
DVDD I 1 Digital VDD Digital power for core
DVSS I 4 Digital GND Digital ground for core
DVDD-IO I 9 Digital VDD Digital power for HDA link (1.5V~3.3V)
DVSS I 7 Digital GND Digital ground for HDA link
Total: 8 Pins
5.1 Channel High Definition Audio Codec 8 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 9 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
BCLK
SDO 7 6 5 4 3 2 1 0 999 998 997 996 995 994 993 992 991 990
5.1 Channel High Definition Audio Codec 10 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Figure 5 shows the possible connections between the HDA controller and codecs:
• Codec 0 is a basic connection. There is one single SDO and one single SDI for normal transmission
• Codec 1 has two SDOs for doubled outbound rate, and a single SDI for normal inbound rate
• Codec 3 supports a single SDO for normal outbound rate, and two SDIs for doubled inbound rate
• Codec N has two SDOs and multiple SDIs
The multiple SDOs and multiple SDIs are used to expand the transmission rate between the controller and
codecs. Section 7.2 Frame Composition, page 12, describes the detailed outbound and inbound stream
compositions for single and multiple SDOs/SDIs.
The connections shown in Figure 5 can be implemented concurrently in an HDA system. The ALC662 is
designed to receive a single SDO stream.
SDI14
.
.
. .
.
.
SDI13
SDI2
HDA SDI1
Controller SDI0
SDO1
SDO0
SYNC
BCLK
RST#
SYNC
SYNC
SYNC
SYNC
RST#
SDO0
SDO0
SDO1
S DI0
SDO0
SDO0
SDO1
SDI0
BCLK
SDI0
RST#
SDI0
SDI1
BCLK
BCLK
BCLK
SDI1
SDI2
RST#
RST#
...
Codec 0 Codec 1 Codec 2 Codec N
5.1 Channel High Definition Audio Codec 11 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
For outbound frames, the stream tag is not in SDO, but in the SYNC signal. A new data stream is started
at the end of the stream tag. The stream tag includes a 4-bit preamble and 4-bit stream ID (Figure 7).
To keep the cadence of converters bound to the same stream, samples for these converters must be placed
in the same block.
Previous Frame
A 48kHz Frame is composed of Command stream and multiple Data streams Next Frame
BCLK
Stream Tag
msb lsb
SYNC 1010
SDO 7 6 5 4 3 2 1 0
Previous Stream
5.1 Channel High Definition Audio Codec 12 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
SDO1 is for transmitting a striped stream. The codec does not support multiple SDOs connected to
SDO0.
To ensure that all codecs can determine their corresponding stream, the command stream is not striped. It
is always transmitted on SDO0, and copied on SDO1.
5.1 Channel High Definition Audio Codec 13 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
The SDI stream tag is not carried by SYNC, but included in the SDI. A complete SDI data stream
includes one 4-bit stream tag, one 6-bit data length, and n-bit sample blocks. Zeros will be padded if the
total length of the contiguous sample blocks within a given stream is not of integral byte length
(Figure 10).
Previous Frame A 48kHz Frame is Composed of a Response Stream and Multiple Data streams Next Frame
Frame SYNC
SYNC
BCLK
Stream Tag Data Length in Bytes n-Bit Sample Block Null Pad Next Stream
5.1 Channel High Definition Audio Codec 14 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
SYNC
Frame SYNC
Stream 'A'
SDI 0 Response Stream Tag A Data A Stream 'X' Stream 'Y'
Stream 'B'
SDI 1 Response Stream Tag B Data B 0s 0s
Codec drives SDI0 and SDI1 Stream A, B, X, and Y are independent and have separate IDs
The HDA controller supports 48kHz and 44.1kHz base rates. Table 8, page 16, shows the recommended
sample rates based on multiples or sub-multiples of one of the two base rates.
Rates in sub-multiples (1/n) of 48kHz are interleaving n frames containing no sample blocks. Rates in
multiples (n) of 48kHz contain n sample blocks in a frame. Table 9, page 16, shows the delivery cadence
of variable rates based on 48kHz.
The HDA link is defined to operate at a fixed 48kHz frame rate. To deliver samples in (sub) multiple
rates of 44.1kHz, an appropriate ratio between 44.1kHz and 48kHz must be maintained to avoid
frequency drift. The appropriate ratio between 44.1kHz and 48kHz is 147/160. Meaning 147 sample
blocks are transmitted every 160 frames.
5.1 Channel High Definition Audio Codec 15 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 16 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
11.025kHz: {12}=YNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNN
{11}=YNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNNYNNN
{ - }=NNNN
22.050kHz: {12}=YNYNYNYNYNYNYNYNYNYNYNYN
{11}=YNYNYNYNYNYNYNYNYNYNYN
{ - }=NN
44.1kHz 12- =Contiguous 12 frames containing 1 sample blocks each, followed by one frame with
no sample block.
88.2kHz 122- =Contiguous 12 frames containing 2 sample blocks each, followed by one frame with
no sample block.
174.4kHz 124- =Contiguous 12 frames containing 4 sample blocks each, followed by one frame with
no sample block.
5.1 Channel High Definition Audio Codec 17 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
1. The HDA controller asserts RESET# for any reason (power up, or PCI reset)
2. Software initiates a link reset via the ‘CRST’ bit in the Global Control Register (GCR) of the HDA
controller
3. Software initiates power management sequences. Figure 12, page 19, shows the ‘Link Reset’ timing
including the ‘Enter’ sequence (n~r) and ‘Exit’ sequence (s~v)
n Software writes a 0 to the ‘CRST’ bit in the Global Control Register of the HDA controller to initiate a
link reset
o As the controller completes the current frame, it does not signal the normal 8-bit frame SYNC at the
end of the frame
p The controller drives SYNC and all SDOs to low. Codecs also drive SDIs to low
q The controller asserts the RESET# signal to low, and enters the ‘Link Reset’ state
r All link signals driven by controller and codecs should be tri-state by internal pull-low resistors
5.1 Channel High Definition Audio Codec 18 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
s If BCLK is re-started for any reason (codec, wake-up event, power management, etc.)
t Software is responsible for de-asserting RESET# after a minimum of 100µs BCLK running time (the
100µsec provides time for the codec PLL to stabilize)
u Minimum of 4 BCLKs after RESET# is de-asserted, the controller starts to signal normal frame SYNC
v The codec drives its SDI to request an initialization sequence (when the SDI is driven high at the last
bit of frame SYNC)
Previous Frame 4 BCLK 4 BCLK Link in Reset >=100 usec >= 4 BCLK Initialization Sequence
BCLK
Wake Event
SDIs Driven Low Pulled Low
9
1 3 4 5 6 7
5.1 Channel High Definition Audio Codec 19 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
o The codec stops driving the SDI during this turnaround period
t The controller releases the SDI after the CAD has been assigned
5.1 Channel High Definition Audio Codec 20 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table 13. Supported Commands
Audio In Converter
Beep Generator
Selector Widget
Power Widget*1
Volume Knob
Sum Widget
Pin Widget
Root Node
Get Verb
Set Verb
Supported Verb
5.1 Channel High Definition Audio Codec 21 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table 14. Supported Parameters
Audio In Converter
Beep Generator
Selector Widget
Power Widget*1
Parameter ID
Volume Knob
Sum Widget
Pin Widget
Root Node
Supported Parameter
Vendor ID 00 Y - - - - - - - - - - - - -
Revision ID 02 Y - - - - - - - - - - - - -
Subordinate Node Count 04 Y Y - - - - - - - - - - - -
Function Group Type 05 - Y - - - - - - - - - - - -
Audio Function Group 08 - Y - - - - - - - - - - - -
Capabilities
Audio Widget Capabilities 09 - - - - - Y Y Y Y Y - Y Y Y
Sample Size, Rate 0A - Y - - - Y Y - - - - - - -
Stream Formats 0B - Y - - - Y Y - - - - - - -
Pin Capabilities 0C - - - - - - - Y - - - - - -
Input Amp Capabilities 0D - - - - - - Y - Y Y - - - -
Output Amp Capabilities 12 - - - - - - - Y Y - - - - -
Connection List Length 0E - - - - - - Y Y Y Y - - - -
Supported Power States 0F - Y - - - Y Y Y Y Y - - - Y
Processing Capabilities 10 - - - - - - - - - - - - - Y
GPI/O Count 11 - - - - - - - - - - - - - -
Volume Knob Capabilities 13 - - - - - - - - - - - - - -
*1: The ALC662 does not support Modem/HDMI/Vendor groups and Power State widgets.
5.1 Channel High Definition Audio Codec 22 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Unsolicited Responses are sent by the codec independently of software requests. Jack Detection or GPI
status information can be actively delivered to the controller and interpreted by software. The ‘Tag’ in
Bit[31:28] is used to identify unsolicited events. This tag is undefined in the HDA specifications.
5.1 Channel High Definition Audio Codec 23 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 24 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 25 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
For function group nodes, it provides the total number of widgets associated with this function node.
Table 23. Parameter – Subordinate Node Count (Verb ID=F00h, Parameter ID=04h)
Codec Response Format
Bit Description
31:24 Reserved. Read as 0’s.
23:16 Starting Node Number. The starting node number in the sequential widgets.
15:8 Reserved. Read as 0’s.
7:0 Total Number of Nodes. For a root node, this is the total number of function groups in the root node.
For a function group, this is the total number of widget nodes in the function group.
5.1 Channel High Definition Audio Codec 26 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 27 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table 27. Parameter – Supported PCM Size, Rates (Verb ID=F00h, Parameter ID=0Ah)
Codec Response Format
Bit Description
31:21 Reserved. Read as 0’s.
20 B32. 32-bit audio format support.
0: Not supported 1: Supported
19 B24. 24-bit audio format support.
0: Not supported 1: Supported (The ALC662 DAC supports this format)
18 B20. 20-bit audio format support.
0: Not supported 1: Supported (The ALC662 DAC supports this format)
17 B16. 16-bit audio format support.
0: Not supported 1: Supported (The ALC662 DAC supports this format)
16 B8. 8-bit audio format support.
0: Not supported 1: Supported
15:12 Reserved. Read as 0’s.
11 R12. 384kHz (=8*48kHz) rate support.
0: Not supported 1: Supported
10 R11. 192kHz (=4*48kHz) rate support.
0: Not supported 1: Supported
9 R10. 176.4Hz (=4*44.1kHz) rate support.
0: Not supported 1: Supported
8 R9. 96kHz (=2*48kHz) rate support.
0: Not supported 1: Supported (The ALC662 DAC and ADC support this sample rate)
7 R8. 88.2kHz (=2*44.1kHz) rate support.
0: Not supported 1: Supported
6 R7. 48kHz rate support.
0: Not supported 1: Supported (The ALC662 DAC and ADC support this sample rate)
5 R6. 44.1kHz rate support.
0: Not supported 1: Supported (The ALC662 DAC and ADC support this sample rate)
4 R5. 32kHz (=2/3*48kHz) rate support.
0: Not supported 1: Supported
3 R4. 22.05kHz (=1/2*44.1kHz) rate support.
0: Not supported 1: Supported
2 R3. 16kHz (=1/3*48kHz) rate support.
0: Not supported 1: Supported
1 R2. 11.025kHz (=1/4*44.1kHz) rate support.
0: Not supported 1: Supported
0 R1. 8kHz (=1/6*48kHz) rate support.
0: Not supported 1: Supported
5.1 Channel High Definition Audio Codec 28 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table 28. Parameter – Supported Stream Formats (Verb ID=F00h, Parameter ID=0Bh)
Codec Response Format
Bit Description
31:3 Reserved. Read as 0’s.
2 AC3.
0: Not supported 1: Supported
1 Float32.
0: Not supported 1: Supported
0 PCM.
0: Not supported 1: Supported (The ALC662 DAC and ADC support this format)
Note: Input converters and output converters support this parameter.
7 Reserved.
6 Balanced I/O Pin. ‘1’ indicates this pin complex has balanced pins.
5 Input Capable. ‘1’ indicates this pin complex supports input.
4 Output Capable. ‘1’ indicates this pin complex supports output.
3 Headphone Drive Capable. ‘1’ indicates this pin complex has an amplifier to drive a headphone.
2 Presence Detect Capable. ‘1’ indicates this pin complex can detect whether there is a device plugged in.
1 Trigger Required. ‘1’ indicates whether a software trigger is required for an impedance measurement.
0 Impedance Sense Capable.
‘1’ indicates this pin complex can perform analog sensing on the attached device to determine its type.
Note: Only Pin Complex widgets support this parameter.
5.1 Channel High Definition Audio Codec 29 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table 30. Parameter – Amplifier Capabilities (Verb ID=F00h, Input Amplifier Parameter ID=0Dh)
Codec Response Format
Bit Description
31 (Input) Mute Capable.
30:23 Reserved. Read as 0.
22:16 Step Size.
Indicates the size of each step in the gain range.
15 Reserved. Read as 0.
14:8 Number of Steps.
Indicates the number of steps in the gain range. ‘0’ means the gain is fixed.
7 Reserved. Read as 0.
6:0 Offset.
Indicates which step is 0dB.
Table 31. Parameter – Amplifier Capabilities (Verb ID=F00h, Output Amplifier Parameter ID=12h)
Codec Response Format
Bit Description
31 (Output) Mute Capable.
30:23 Reserved. Read as 0.
22:16 Step Size.
Indicates the size of each step in the gain range. Each individual step may be 0~32dB, specified in 0.25dB
steps. ‘0’ indicates 0.25dB steps. ‘127’ indicates 32dB steps.
15 Reserved. Read as 0.
14:8 Number of Steps.
Indicates the number of steps in the gain range. ‘0’ means the gain is fixed.
7 Reserved. Read as 0.
6:0 Offset. Indicates which step is 0dB.
5.1 Channel High Definition Audio Codec 30 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Table 32. Parameter – Connect List Length (Verb ID=F00h, Parameter ID=0Eh)
Codec Response Format
Bit Description
31:8 Reserved. Read as 0.
7 Short Form.
0: Short Form 1: Long Form
6:0 Connect List Length.
Indicates the number of inputs connected to a widget. If the Connect List Length is 1, there is only one
input, and there is no Connection Select Control (not a MUX widget).
5.1 Channel High Definition Audio Codec 31 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 32 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 33 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 34 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=0Ch (Front Sum)
Bit Description
15:8 Connection List Entry (N+1).
Returns 0Bh (Mixer) for N=0~3. Returns 00h for N>3.
7:0 Connection List Entry (N).
Returns 02h (Front DAC) for N=0~3. Returns 00h for N>3.
5.1 Channel High Definition Audio Codec 35 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=16h (CEN/LFE, Port-G)
Bit Description
31:8 Connection List Entry (N+3), (N+2), (N+1).
Returns 000000h for n>3.
7:0 Connection List Entry (N).
Returns 0Eh (Sum Widget NID=0Eh) for N=0~3. Returns 00h for N>3.
5.1 Channel High Definition Audio Codec 36 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=1Eh (Pin Widget: SPDIF-OUT)
Bit Description
31:8 Connection List Entry (N+3), (N+2), (N+1).
Returns 000000h.
7:0 Connection List Entry (N).
Returns 06h (SPDIF-OUT Converter) for N=0~3. Returns 00h for N>3.
5.1 Channel High Definition Audio Codec 37 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 38 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 39 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for 02h (FRONT DAC), 03h (SURR DAC), 04h (CEN/LFE DAC)
Bit Description
31:8 0’s.
7 Bit-15 is 0 in ‘Get Amplifier Gain’: Read as 0 (No Input Amplifier Mute).
Bit-15 is 1 in ‘Get Amplifier Gain’: Read as 0 (No Output Amplifier Mute).
6:0 Bit-15 is 0 in ‘Get Amplifier Gain’: Read as 0 (No Input Amplifier Gain).
Bit-15 is 1 in ‘Get Amplifier Gain’: Output Amplifier Gain [6:0].
7-bit step value (0~64) specifying the volume from –64B~0dB in 1dB steps.
5.1 Channel High Definition Audio Codec 40 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for 09h (ADC)
Bit Description
31:8 0’s.
7 Bit-15 is 0 in ‘Get Amplifier Gain’: Input Amplifier Mute.
0: Unmute
1: Mute
Bit-15 is 1 in ‘Get Amplifier Gain’: Read as 0 (No Output Amplifier Mute).
6:0 Bit-15 is 0 in ‘Get Amplifier Gain’: Input Amplifier Gain [6:0].
7-bit step value (0~31) specifying the volume from –13.5B~+33dB in 1.5dB steps.
Bit-15 is 1 in ‘Get Amplifier Gain’: Read as 0’s (No Output Amplifier Mute).
Codec Response for NID=14h, 15h, 16h and 1Ah (Pin Widget: FRONT/SURR/CEN/LINE1)
Bit Description
31:8 0’s.
7 Bit-15 is 0 in ‘Get Amplifier Gain’: Read as 0 (No Input Amplifier Mute).
Bit-15 is 1 in ‘Get Amplifier Gain’: Output Amplifier Mute.
0: Unmute
1: Mute (Default=1)
6:0 Bit-15 is 0 in ‘Get Amplifier Gain’: Read as 0 (No Input Amplifier Gain).
Bit-15 is 1 in ‘Get Amplifier Gain’: Read as 0 (No Output Amplifier Gain).
5.1 Channel High Definition Audio Codec 41 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=18h, 19h and 1Bh (Pin Widget: MIC1/MIC2/LINE2)
Bit Description
31:8 0’s.
7 Bit-15 is 0 in ‘Get Amplifier Gain’: Read as 0 (No Input Amplifier Mute).
Bit-15 is 1 in ‘Get Amplifier Gain’: Output Amplifier Mute.
0: Unmute
1: Mute (Default=1)
6:0 Bit-15 is 0 in ‘Get Amplifier Gain’: Input Amplifier Gain [6:0] specifying the boost from
0dB/10dB/20dB/30dB in 10dB steps (Default=0, 0dB).
Bit-15 is 1 in ‘Get Amplifier Gain’: Read as 0 (No Output Amplifier Gain).
5.1 Channel High Definition Audio Codec 42 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 43 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=02h~04h, 06h (Output Converters: FRONT, SURR, CEN/LFE DAC, and SPDIF-OUT).
Codec Response for NID=08h and 09h (Input Converters: ADC 08h and ADC 09h)
Bit Description
31:16 Reserved. Read as 0.
15 Stream Type (TYPE).
0: PCM 1: Non-PCM
14 Sample Base Rate (BASE).
0: 48kHz 1: 44.1kHz
13:11 Sample Base Rate Multiple (MULT).
000b: *1 001b: *2 010b: *3 011b: *4 100b~111b: Reserved
10:8 Sample Base Rate Divisor (DIV).
000b: /1 001b: /2 010b: /3 011b: /4 100b: /5
101b: /6 110b: /7 111b: /8 Not supported. Always read as 000b.
7 Reserved. Read as 0.
6:4 Bits per Sample (BITS).
000b: 8 bits 001b: 16 bits 010b: 20 bits 011b: 24 bits 100b: 32 bits
101b~111b: Reserved
3:0 Number of Channels.
0: 1 channel 1: 2 channels 2: 3 channels ……… 15: 16 channels
5.1 Channel High Definition Audio Codec 44 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 45 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 46 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=02h~04h, 06h (Output Converters: FRONT, SURR, CEN/LFE DAC and SPDIF-OUT)
Codec Response for NID=08h and 09h (Input Converters: ADC 08h and ADC 09h)
Bit Description
31:8 Reserved. Read as 0’s.
7:4 Stream[3:0].
The link stream used by the converter. 0000b is unused, 0001b is stream 1, etc.
3:0 Channel[3:0].
The lowest channel used by the converter. A stereo converter will use the set channel n as well as n+1 for its
left and right channel.
5.1 Channel High Definition Audio Codec 47 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=14h, 15h, 16h, 18h, 19h, 1Ah, 1Bh, 1Ch, 1Dh, 1Eh.
(Pin Widget: FRONT, SURR, CENLFE, MIC1, MIC2, LINE1, LINE2, CD-IN, PCBEEP, SPDIF-OUT)
Bit Description
31:8 Reserved. Read as 0’s.
7 H-Phn Enable.
0: Disabled
1: Enabled
Note: Only NID=14h (FRONT), 19h (MIC2), and 1Bh (LINE2) support headphone amplifier.
6 Out Enable (Output Buffet Enable, EN_OBUF for an I/O unit).
0: Disabled
1: Enabled
Note: NID=1Ch (CD-IN) and 1Dh (PCBEEP) do not support output and are always read 0.
5 In Enable (Input Buffer Enable, EN_IBUF for an I/O unit).
0: Disabled
1: Enabled
Note: NID=1Eh (SPDIF-OUT) does not support output and is always read 0.
4:3 Reserved.
2:0 VrefEn (Vrefout Enable Control).
000b: Hi-Z (Disabled, default for all)
001b: 50% of AVDD (The ALC662 supports 2.5V reference output when AVDD is 5V)
010b: Ground 0V
011b: Reserved
100b: 80% of AVDD (The ALC662 supports 3.2V reference output when AVDD is 5V)
101b: 100% of AVDD
110b~111b: Reserved
Note: Only NID=18h, 19h, and 1Bh support reference output, other nodes will ignore this verb and respond
with 0.
5.1 Channel High Definition Audio Codec 48 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
‘Pin Control’ in command [7:0]: (NID=14h, 15h, 16h, 18h, 19h, 1Ah, 1Bh, 1Ch, 1Dh, 1Eh)
(Pin Widget: FRONT, SURR, CENLFE, MIC1, MIC2, LINE1, LINE2, CD-IN, PCBEEP, SPDIF-OUT)
Bit Description
31:8 Reserved. Read as 0’s.
7 H-Phn Enable.
0: Disabled
1: Enabled
Note: Only NID=14h (FRONT), 19h (MIC2), and 1Bh (LINE2) support headphone amplifier.
6 Out Enable (Output Buffet Enable, EN_OBUF for an I/O unit).
0: Disabled
1: Enabled
Note: NID=1Ch (CD-IN) and 1Dh(PCBEEP) do not support output and always read 0.
5 In Enable (Input Buffer Enable, EN_IBUF for an I/O unit).
0: Disabled
1: Enabled
Note: NID=1Eh (SPDIF-OUT) does not support output and always read 0.
4:3 Reserved.
2:0 VrefEn (Vrefout Enable Control).
000b: Hi-Z (Disabled, default for all)
001b: 50% of AVDD
010b: Ground 0V
011b: Reserved
100b: 80% of AVDD
101b: 100% of AVDD
110b~111b: Reserved
Note: Only NID=18h, 19h, and 1Bh support reference output. Other nodes will ignore this verb and
respond with 0.
5.1 Channel High Definition Audio Codec 49 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=01h (GPIO), 14h~16h, 18h~1Bh (Port jack detection)
Bit Description
31:8 Reserved. Read as 0’s.
7 Unsolicited Response is Enabled.
0: Disabled 1: Enabled
6:4 Reserved. Read as 0’s.
3:0 Assigned Tag for Unsolicited Response.
The tag[3:0] is assigned by software to determine which widget generates unsolicited responses.
5.1 Channel High Definition Audio Codec 50 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=14h, 15h, 16h, 18h, 19h, 1Ah, 1Bh
(Pin Widget: FRONT, SURR, CENLFE, MIC1, MIC2, LINE1, LINE2)
Bit Description
31 Presence Detect Status.
0: No device is attached to the pin
1: Device is attached to the pin
30:0 Measured Impedance.
The ALC662 does not support hardware impedance detect. This field is read as 0s.
‘Payload’ in Command Bit[7:0] (for NID=14h, 15h, 16h, 18h, 19h, 1Ah, 1Bh)
Bit Description
7:1 Reserved. Read as 0’s.
0 Right (Ring) Channel Select.
0: Sense Left channel (Tip)
1: Sense Right channel (Ring)
The ALC662 does not support hardware impedance detect and will ignore this control bit.
5.1 Channel High Definition Audio Codec 51 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=14h, 15h, 16h, 18h, 19h, 1Ah, 1Bh, 1Ch, 1Dh, 1Eh
(Pin Widget: FRONT, SURR, CENLFE, MIC1, MIC2, LINE1, LINE2, CD-IN, PCBEEP, SPDIF-OUT)
Bit Description
31:0 32-bit configuration information for each pin widget.
Note: The 32-bit registers for each Pin Widget are sticky and will not be reset by a LINK Reset or Codec Reset (Function
Reset Verb).
5.1 Channel High Definition Audio Codec 52 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 53 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 54 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 55 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 56 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 57 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
NID=06h (SPDIF-OUT Converter) Response to ‘Get verb’ – F0Dh (Control for SIC bit[15:0])
Bit Description – SIC (SPDIF IEC Control) Bit[7:0]
31:16 Read as 0’s.
15 Reserved. Read as 0’s.
14:8 CC[6:0] (Category Code).
7 LEVEL (Generation Level).
6 PRO (Professional or Consumer Format).
0: Consumer format
1: Professional format
5 /AUDIO (Non-Audio Data Type).
0: PCM data
1: AC3 or other digital non-audio data
4 COPY (Copyright).
0: Asserted
1: Not asserted
3 PRE (Pre-Emphasis).
0: None
1: Filter pre-emphasis is 50/15 microseconds
2 VCFG for Validity Control (control V bit and data in Sub-Frame).
1 V for Validity Control (control V bit and data in Sub-Frame).
0 Digital Enable. DigEn.
0: OFF
1: ON
5.1 Channel High Definition Audio Codec 58 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Set Command Format (Verb ID=70Eh, Set Control 2) Codec Response Format
Bit [31:28] Bit [27:20] Bit [19:8] Payload Bit [7:0] Response [31:0]
CAd=X Node ID=06h Verb ID=70Eh SIC [15:8] 0’s
5.1 Channel High Definition Audio Codec 59 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 60 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response for NID=14h (FRONT, port-D) and 15h (SURR, port-A)
Bit Description
31:3 Reserved.
2 L-R Swap. The ALC662 does not support swapping left and right channels. Read as 0.
1 EAPD Value.
0: EAPD pin state is low 1: EAPD pin state is high
0 BTL Enable. The ALC662 does not support BTL output. Read as 0.
Payload in Set command for NID=14h (FRONT, port-D) and 15h (SURR, port-A)
Bit Description
31:3 Reserved.
2 L-R Swap. The ALC662 does not support swapping left and right channels. Read as 0.
1 EAPD Value.
0: EAPD pin state is low 1: EAPD pin state is high.
Note: Only one physical logic for the EAPD signal.
0 BTL Enable. The ALC662 does not support BTL output. Read as 0.
Codec Response
Bit Description
31:0 0’s.
5.1 Channel High Definition Audio Codec 61 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
Codec Response
Bit Description
31:0 Reserved. Read as 0’s.
Note: The Function Reset command causes all widgets to return to their power-on default state.
5.1 Channel High Definition Audio Codec 62 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
9. Electrical Characteristics
9.1. DC Characteristics
9.1.1. Absolute Maximum Ratings
Table 80. Absolute Maximum Ratings
Parameter Symbol Minimum Typical Maximum Units
Power Supply
Digital Power for Core DVDD 3.0 3.3 3.6 V
Digital Power for HDA Link DVDD-IO* 1.5 3.3 3.6 V
Analog AVDD** 3.0 5.0 5.5 V
Ambient Operating Temperature Ta 0 - +70 °C
Storage Temperature Ts - - +125 °C
ESD (Electrostatic Discharge)
Susceptibility Voltage
Digital Pins 3500V
Analog Pins 4000V
*: The digital link power DVDD-IO must be lower than the digital core power DVDD.
**: The standard testing condition before shipping is AVDD = 5.0V unless specified. Customers designing with a different
AVDD should contact Realtek technical support representatives for special testing support.
5.1 Channel High Definition Audio Codec 63 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 64 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
9.2. AC Characteristics
9.2.1. Link Reset and Initialization Timing
Table 84. Link Reset and Initialization Timing
Parameter Symbol Minimum Typical Maximum Units
RESET# Active Low Pulse Width TRST 100.167 - - µs
RESET# Inactive to BCLK TPLL 100 - - µs
Startup Delay for PLL Ready Time
SDI Initialization Request TFRAME - - 25 Frame Time
Initialization
4 BCLK 4 BCLK >= 4 BCLK Sequence
BCLK
Normal Frame
SYNC SYNC
SDO
Initialization
SDI Request
RESET#
TRST
TPLL T FRAME
5.1 Channel High Definition Audio Codec 65 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
T _ c y c le
T _ h ig h
V I
H
BCLK VT
V IL
T _ lo w
T _ s e tu p T _ h o ld
SDO
T _ tc o
VO H
SDI
VOL
T _ f lig h t
Figure 15. Link Signal Timing
5.1 Channel High Definition Audio Codec 66 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
T c y c le
T h ig h T lo w
VOH
Vt
V OL
T r is e T fa ll
Figure 16. Output Timing
5.1 Channel High Definition Audio Codec 67 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 68 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
LINE2-VREFO
Front panel header option-1
MIC2-VREFO
FRONT-IO-JD
FRONT-IO-JD
MIC1-VREFOL
35
34
33
32
31
30
29
28
27
26
25
+5VA U2
AVSS1
NC
NC
VREF
AVDD1
Sense B
FRONT-L
LINE2-VREFO
FRONT-R
MIC2-VREFO
MIC1-VREFO-L
MIC1-VREFO-R
C21 + 37 24 LINE1-R
NC LINE1-R
10u 38 23 LINE1-L
AVDD2 LINE1-L
SURR-L 39 22 MIC1-R
SURR-L MIC1-R
40 21 MIC1-L
JDREF MIC1-L
SURR-R 41 20 C26 1u
R6 SURR-R CD-R 4 J1
42 19 C29 1u 3
AVSS2 CD-GND 2
20K,1% 1
CEN 43 18 C32 1u
CENTER ALC662 CD-L
LFE 44 17 MIC2-R CD-IN Header
LFE MIC2-R
SIDESURR-L 45 16 MIC2-L
NC MIC2-L
SIDESURR-R 46 15 LINE2-R
NC LINE2-R
EAPD 47 14 LINE2-L
EAPD LINE2-L
48 13 R7 5.1K,1% FRONT-JD
SDATA-OUT
DVDD-IO
PCBEEP
R8 10K,1% LINE1-JD
RESET#
BIT-CLK
LINE1-JD
GPIO0
GPIO1
DVDD
SYNC
DVSS
DVSS
R9 20K,1% MIC1-JD
MIC1-JD
S/PDIF-OUT
R10 39.2K,1% SURR-JD SURR-JD
10
11
12
1
GPIO0 SDIN
GPIO1
R17 22
BCLK
DGND AGND
C40
22P
Tied at one point only under the
codec or near the codec
SDOUT
5.1 Channel High Definition Audio Codec 69 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
MIC2-VREFO
9 10
CON10A R18 JACK 7
Onboard front R19
PORT2-SENSE-RETURN 4
panel header 20K,1% 3
39.2K,1% FIO-PORT2-R L14 FERB
5
FIO-PORT2-L L15 FERB
2
1
C41 C42
Option 2: A more flexible front panel header FIO-PORT2 (Jack-E)
100P 100P
(Each port can be in different jack detect group)
MIC2-VREFO
D5 D6
5 6 Key Sense B
100P 100P
LINE2-L C51 100u 7 8 LINE2-JD
+
9 10 Sense B
CON10A R26 39.2K,1%
Onboard front
panel header
Figure 18. Onboard Front Panel Header Connection and Front Panel I/O
5.1 Channel High Definition Audio Codec 70 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5 5
FRONT-L C3 100u L3 FERB SURR-L C4 1u L4 FERB
+
2 2
1 1
C5 C6 FRONT-OUT C7 C8
SURR-OUT
100P 100P 100P 100P
JACK 3
LINE1-JD JACK 4
4 CEN-JD
LINE1-R C9 1u L6 FERB 3 4
5 LFE C10 1u L7 FERB 3
LINE1-L C11 1u L8 FERB 5
2 CEN C14 1u L9 FERB
1 2
C15 C16 LINE-IN 1
C19 C20
100P 100P CEN/LFE-OUT
100P 100P
MIC1-VREFO-L
MIC1-VREFO-R
R4 R5
U3
TOTX178 Optical Transmitter
5 4
N.C N.C
R22 200 C43
J4 1 S/PDIF-OUT
GND
VCC
IN
S/PDIF OUTPUT
C45 R24 0.01u
(Coaxial)
1
100P 100
C47 S/PDIF-OUT
2
0.1u
+5VD
5.1 Channel High Definition Audio Codec 71 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
L1
5.1 Channel High Definition Audio Codec 72 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet
5.1 Channel High Definition Audio Codec 73 Track ID: JATR-1076-21 Rev. 1.3
ALC662 Series
Datasheet