Realtek provides this document “as is”, without warranty of any kind, neither expressed nor implied,
including, but not limited to, the particular purpose. 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.
USING THIS DOCUMENT
This document is intended for the hardware and software engineer’s general information on the Realtek
ALC269 codec IC.
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. In that event, please
contact your Realtek representative for additional information that may help in the development process.
1.2 2008/12/24 Updated analog performance in section 9.3, page 64.
1.3 2009/01/21 Revised Table 77, page 59, Note 2.
1.4 2009/02/25 Added ALC269W-GR part number in section 12, page 71.
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
ii Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
Table of Contents
1. GENERAL DESCRIPTION..............................................................................................................................................1
2. FEATURES .........................................................................................................................................................................2
2.1.HARDWARE FEATURES .................................................................................................................................................2
2.2.SOFTWARE FEATURES ..................................................................................................................................................3
3. SYSTEM APPLICATIONS ...............................................................................................................................................4
4.1.ANALOG INPUT/OUTPUT UNIT .....................................................................................................................................6
7.1.1. Signal Definitions ................................................................................................................................................. 11
7.3.RESET AND INITIALIZATION........................................................................................................................................19
7.3.1. Link Reset .............................................................................................................................................................19
7.4.VERB AND RESPONSE FORMAT...................................................................................................................................22
7.4.1. Command Verb Format ........................................................................................................................................22
8.11.VERB –GET AMPLIFIER GAIN (VERB ID=BH) ...........................................................................................................38
8.12.VERB –SET AMPLIFIER GAIN (VERB ID=3H).............................................................................................................40
8.13.VERB –GET CONVERTER FORMAT (VERB ID=AH) ....................................................................................................41
8.14.VERB –SET CONVERTER FORMAT (VERB ID=2H)......................................................................................................42
8.15.VERB –GET POWER STATE (VERB ID=F05H) ............................................................................................................43
8.16.VERB –SET POWER STATE (VERB ID=705H) .............................................................................................................43
9.1.1. Absolute Maximum Ratings..................................................................................................................................59
9.1.2. Threshold Voltage .................................................................................................................................................59
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
iv Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
9.1.3. Digital Filter Characteristics ...............................................................................................................................60
9.2.1. Link Reset and Initialization Timing.....................................................................................................................61
9.2.2. Link Timing Parameters at the Codec ..................................................................................................................62
9.2.4. Test Mode..............................................................................................................................................................63
10.2.POWER AND JACK CONNECTION.................................................................................................................................67
12. ORDERING INFORMATION ...................................................................................................................................71
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
TABLE 5.LINK SIGNAL DEFINITIONS.........................................................................................................................................11
TABLE 7.DEFINED SAMPLE RATE AND TRANSMISSION RAT E ....................................................................................................17
TABLE 8.48KHZ VARIABLE RAT E OF DELIVERY TIMING ...........................................................................................................17
TABLE 9.44.1KHZ VARIABLE RAT E OF DELIVERY TIMING ........................................................................................................18
TABLE 10.40-BIT COMMANDS IN 4-BIT VERB FORMAT ..............................................................................................................22
TABLE 11.40-BIT COMMANDS IN 12-BIT VERB FORMAT............................................................................................................22
TABLE 12.SOLICITED RESPONSE FORMAT ..................................................................................................................................22
TABLE 13.UNSOLICITED RESPONSE FORMAT .............................................................................................................................22
TABLE 14.SYSTEM POWER STATE DEFINITIONS .........................................................................................................................23
TABLE 15.POWER CONTROLS IN NID=01H ................................................................................................................................23
TABLE 16.POWERED DOWN CONDITIONS...................................................................................................................................23
TABLE 43.VERB –GET AMPLIFIER GAIN (VERB ID=BH)...........................................................................................................38
TABLE 44.VERB –SET AMPLIFIER GAIN (VERB ID=3H) ............................................................................................................40
TABLE 45.VERB –GET CONVERTER FORMAT (VERB ID=AH)....................................................................................................41
TABLE 46.VERB –SET CONVERTER FORMAT (VERB ID=2H) .....................................................................................................42
TABLE 47.VERB –GET POWER STATE (VERB ID=F05H)............................................................................................................43
TABLE 48.VERB –SET POWER STATE (VERB ID=705H).............................................................................................................43
TABLE 77.ABSOLUTE MAXIMUM RAT IN G S .................................................................................................................................59
TABLE 78.THRESHOLD VOLTAGE ...............................................................................................................................................59
TABLE 81.LINK RESET AND INITIALIZATION TIMING..................................................................................................................61
TABLE 82.LINK TIMING PARAMETERS AT THE CODEC ................................................................................................................62
TABLE 86.ORDERING INFORMATION ..........................................................................................................................................71
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
FIGURE 8.SDOSTREAM TAG IS INDICATED IN SYNC...............................................................................................................14
FIGURE 9.STRIPED STREAM ON MULTIPLE SDOS.....................................................................................................................14
FIGURE 11.SDISTREAM TAG AND DATA ....................................................................................................................................15
FIGURE 12.CODEC TRANSMITS DATA OVER MULTIPLE SDIS .....................................................................................................16
FIGURE 19.POWER AND JACK CONNECTION...............................................................................................................................67
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
viii Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
1. General Description
The ALC269 is a High Definition Audio Codec that integrates a 2+2-channel DAC, a 4-channel ADC,
and a Class-D Speaker Amplifier.
The 2+2-channel DAC supports two independent stereo sound outputs simultaneously. The 4-channel
ADC integrates two stereo and independent analog sound inputs (multiple streaming).
The ALC269 incorporates Realtek converter technology to achieve a 98dB dynamic range playback
quality and a 98dB dynamic range recording quality. It meets the current WLP3.10 (Windows Logo
Program) and future WLP requirements.
The ALC269 also supports stereo digital microphone channels (microphone array) with Acoustic Echo
Cancellation (AEC), Beam Forming (BF), and Noise Suppression (NS) technology simultaneously,
significantly improving voice quality for PC VoIP applications.
As well as basic audio functions, the ALC269 has two independent S/PDIF outputs; one could be used to
connect a PC to high-quality consumer electronic products such as digital decoders and speakers, the
other could provide a dedicated digital output to a HDMI transmitter (common in high end PCs).
There are three integrated power amplifiers. The first is a linear headphone amplifier at port C. The
second headphone amplifier at port A removes the need for external DC blocking capacitors, eliminating
pop noise caused by these capacitors. The third is an integrated stereo Class-D amplifier to directly drive
a mini-speaker. The Class-D amplifier is designed to drive speakers with as low as 4Ω impedance. Its
maximum output power is 2.3W per channel at 5V power supply. The advantage of an integrated Class-D
amplifier in the ALC269 is high efficiency with low power consumption.
The ALC269 integrates five hardware equalizer bands composed of one low-pass filter, one high-pass
filter, and three band-pass filters to compensate for mini-speaker frequency response. All the equalizer
filters are programmable via the BIOS, allowing the equalizer to function without the need to customize
the audio driver.
The ALC269 conforms to Intel’s Audio Codec low power state white paper and is ECR compliant.
Note: ALC269 version differences are listed in section 12 Ordering Information, page 71.
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
1 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
2. Features
2.1.
Hardware Features
98dB Signal-to-Noise Ratio (A-weighting) for DAC output
98dB Signal-to-Noise Ratio (A-weighting) for ADC input
Meets WLP (Windows Logo Program) 3.10 and future WLP requirements
2+2-channel DAC supports 16/20/24-bit PCM format for independent two stereo channel audio
playback
4-channel ADC supports 16/20/24-bit PCM format for independent two stereo channel audio inputs
All DACs supports 44.1/48/96/192kHz sample rate
All ADCs support 44.1/48/96kHz sample rate
S/PDIF-OUT support 16/20/24-bit format and 32/44.1/48/88.2/96/192kHz rate
Supports MONO line level output
Supports external PCBEEP input and built-in digital BEEP generator
Software selectable 2.5V/3.2V/4.2V VREFOUT as bias voltage for analog microphone input
Two jack detection pins each designed to detect up to 4 jacks
1dB resolution of input and output volume control
Programmable +10/+20/+30dB boost gain for analog microphone input
Built-in headphone amplifiers for port-A and port-C.
2 GPIOs are supported for customized applications (pin shared with digital microphone interface)
EAPD (External Amplifier Power Down) is supported (pin shared with secondary S/PDIF-OUT)
Supports Anti-pop mode when analog power AVDD is on and digital power is off
Power support: 3.3V digital core power; 1.5V~3.3V digital IO power for HDA link; 3.3V~5.0V
analog power; 3.3V~5.0V power stage voltage
Enhanced power management features
Secondary S/PDIF-OUT supports 16/20/24-bit format and 32k/44.1k/48k/88.2k/96k/192kHz rate
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
2 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
Supports stereo digital microphone input
Programmable boost gain and volume control for digital microphone input
Headphone amplifier for port-A does not require DC blocking capacitors
Stereo Bridge-Tied Load Class-D amplifier at port-D has 2Watt (rms)/4Ω per channel output
Short circuit and thermal overload protection for Class-D amplifier
Supports digital PWM output at port-D which system integrator can easily connect the output to
external power amplifier receives digital audio stream
Five band hardware equalizer designed for BTL output (port-D) to compensate for frequency
response while driving the mini-speaker
Intel low power ECR compliant: supports power status control, jack detection, and wake-up event in
D3 mode
48-pin QFN ‘Green’ package
2.2.
Software Features
Compatible with Windows Logo Program 3.10 and future requirements
WaveRT-based audio function driver for Windows Vista
EAX™ 1.0 & 2.0 compatible
Direct Sound 3D™ compatible
A3D™ compatible
I3DL2 compatible
HRTF 3D Positional Audio (Windows XP only)
Emulation of 26 sound environments to enhance gaming experience
Multi-band software equalizer and tools
Voice Cancellation and Key Shifting in Karaoke mode
Dynamic range control (expander, compressor, and limiter) with adjustable parameters
Intuitive Configuration Panel (Realtek Audio Manager) to enhance user experience
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
SRS® TrueSurround HD (optional software feature)
Fortemedia® SAM™ technology for voice processing (Beam Forming and Acoustic Echo
Cancellation) (optional software feature)
MaxxAudio technologies from Waves (optional software feature, ALC269W only)
3. System Applications
Windows Vista premium desktop and laptop PCs
Information Appliances (IA) with High Definition Audio Controller
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
4 Track ID: JATR-1076-21 Rev. 1.4
4. Block Diagram
ALC269
Datasheet
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
Figure 1. Block Diagram
5 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
4.1.
Analog Input/Output Unit
Pin widgets NID=18h, 19h, 1Ah, and 1Bh are re-tasking IO supporting input units. NID=15h and 1Ah
support amplifier units.
Output_Signal_Left
Output_Signal_Right
Input_Signal_Left
Input_Signal_Right
R
R
Figure 2. Analog Input/Output Unit
EN_OBUF
A
EN_AMP
EN_OBUF
EN_IBUF
Left
Right
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
6 Track ID: JATR-1076-21 Rev. 1.4
5. Pin Assignments
ALC269
Datasheet
AVSS2
AVDD 2
PVDD1
SPK-OUT- L +
SPK-OUT- L-
PVSS1
PVSS2
SPK - OUT- R-
SPK-OUT-R+
PVDD2
EAPD/SPDIFO2
SPDIFO
CBP
363534 33
37
38
39
40
41
42
43
44
45
46
47
48
1
2
DVDD
CBN
CPVEE
HPOUT-R
HPOUT-L
32
CPV REF
31
30 29 28
MIC1-VREFO-R
MIC2- V REFO
MIC1- V REFO- L
VREF
27
26 25
ALC269
LLLLLLLTXXXVV
3
4
6
5
PD#
7891011 12
DVSS
BCLK
SDAT A-IN
SDATA-OUT
SYNC
DVDD-IO
AVSS1
AVDD1
LINE1- R
24
23
LINE1- L
MIC 1 - R
22
MIC 1 - L
21
20
MONO - OUT
19
JDREF
18
Sense B
17
MIC 2 - R
16
MIC 2 - L
15
LINE 2 - R
LINE 2 - L
14
13
Sense A
RESET#
PCBEEP
GPIO1/D MI C-CL K
GPIO0/D MI C-D AT A
Figure 3. Pin Assignments - ALC269 (QFN-48)
5.1.
Green Package and Version Identification
Green package is indicated by a ‘G’ in the location marked ‘T’ in Figure 3. The version number is shown
in the location marked ‘VV’.
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
7 Track ID: JATR-1076-21 Rev. 1.4
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 Control Vt=0.5*DVDD
SYNC I 10 Sample Sync (48kHz) Vt=0.5*DVDD
BCLK I 6 24MHz Bit Clock Input Vt=0.5*DVDD
SDATA-OUT I 5 Serial TDM Data Input Vt=0.5*DVDD
SDATA-IN O 8 Serial TDM Data Output VOH=0.9*DVDD, VOL=0.1*DVDD
EAPD/
SPDIFO2
SPDIFO O 48 S/PDIF Output
GPIO0/
DMIC-DATA
GPIO1/
DMIC-CLK
PD# I 4
Total: 10 pins
O 47 Signal to power down ext. amp
Secondary S/PDIF output
IO 2 General Purpose Input/Output 0
Data input from digital MIC1&2
IO 3 General Purpose Input/Output 1
Clock output for digital MIC
Low to Power Down Speaker
(BTL) Output
Output to mute/un-mute external amplifier
Output has 12 mA@75Ω driving capability.
Output has 12mA@75Ω driving capability.
Input Vt=(1/2)*DVDD, output V
=DVSS, internal pulled up by 50KΩ
V
OL
Input Vt=(1/2)*DVDD, output V
V
=DVSS, Default 2.048MHz clock output
OL
Input Vt=(1/2)*DVDD, internal pulled up by 50KΩ
=DVDD,
OH
=DVDD,
OH
ALC269
Datasheet
6.2.
Analog I/O Pins
Table 2. Analog I/O Pins
Name Type Pin Description Characteristic Definition
PCBEEP I 12 External PCBEEP Input Analog input, 1.6Vrms of full-scale input
LINE2-L IO 14 2nd Line Input Left Channel Analog input/output, default is input (JACK-E)
LINE2-R IO 15 2nd Line Input Right Channel Analog input/output, default is input (JACK-E)
MIC2-L IO 16 2nd Stereo Microphone Input Left Channel Analog input/output, default is input (JACK-F)
MIC2-R IO 17 2nd Stereo Microphone Input Right Channel Analog input/output, default is input (JACK-F)
MONO-OUT O 20 MONO Output Analog mono output is summation of (L+R)/2.
MIC1-L IO 21 1st Stereo Microphone Input Left Channel
MIC1-R IO 22 1st Stereo Microphone Input Right Channel
LINE1-L IO 23 1st Line Input Left Channel
LINE1-R IO 24 1st Line Input Right Channel
SPK-OUT-L+ O 40 BTL Mode Positive Left Channel Pulse width modulation output (JACK-D)
SPK-OUT-L- O 41 BTL Mode Negative Left Channel Pulse width modulation output (JACK-D)
SPK-OUT-R- O 44 BTL Mode Negative Right Channel Pulse width modulation output (JACK-D)
Analog input/output, default is input
(JACK-B)
Analog input/output, default is input
(JACK-B)
Analog input/output, default is input
(JACK-C)
Analog input/output, default is input
(JACK-C)
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
8 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
Name Type Pin Description Characteristic Definition
SPK-OUT-R+ O 45 BTL Mode Positive Right Channel Pulse width modulation output (JACK-D)
HP-OUT-L O 32 First Out Left Channel Analog output (JACK-A)
HP-OUT-R O 33 First Out Right Channel Analog output (JACK-A)
Sense A I 13 Jack Detect Pin L
Sense B I 18 Jack Detect Pin 2
Total: 18 pins
6.3.
Filter/Reference
Table 3. Filter/Reference
Name Type Pin Description Characteristic Definition
JDREF - 19 Ref. Resistor for Jack Detect 20K, 1% accuracy resistor to analog ground
VREF - 27 2.5V Reference Voltage 1µf capacitor to analog ground
MIC1-VREFO-L O 28 Bias Voltage for MIC1 Jack 2.5V/3.2V/4.2V reference voltage
MIC2-VREFO O 29 Bias Voltage for MIC2 Jack 2.5V/3.2V/4.2V reference voltage
MIC1-VREFO-R O 30 Secondary Bias voltage for MIC1 jack 2.5V/3.2V/4.2V reference voltage
CPVREF 31 0V Reference Voltage Analog ground
CBN - 35 Reference Capacitor 2.2µf capacitor to CBP
CBP - 36 Reference Capacitor 2.2µf capacitor to CBN
Total: 8 pins
Resistor (5.1K, 10K, 20K, 39.2K) w/ 1%
accuracy
Resistor (5.1K, 10K, 20K, 39.2K) w/ 1%
accuracy
6.4.
Power/Ground
Table 4. Power/Ground
Name Type Pin Description Characteristic Definition
AVDD1 P 25 Analog VDD (5.0V or 3.3V) Analog power for mixer and amplifier
AVSS1 G 26 Analog GND Analog ground for mixer and amplifier
AVDD2 P 38 Analog VDD (5.0V or 3.3V) Analog power for DACs and ADCs
AVSS2 G 37 Analog GND Analog ground for DACs and ADCs
DVDD P 1 Digital VDD (3.3V) Digital core power for core logic
DVDD-IO P 9 Digital VDD (3.3V or 1.5V) Digital I/O power for HDA link
DVSS G 7 Digital GND Digital ground
PVDD1 P 39 Power Stage VDD 5.0V Power supply for full-bridge left channel
PVSS1 G 42 Power Stage GND Ground for full-bridge left channel
PVSS2 G 43 Power Stage GND Ground for full-bridge right channel
PVDD2 P 46 Power Stage VDD 5.0V Power supply for full-bridge right channel
CPVEE P 34 Reference Voltage Output 2.2µf capacitor to analog ground
Total: 12 pins
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
9 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
7. High Definition Audio Link Protocol
7.1.
Link Signals
The High Definition Audio (HDA) Link is the digital serial interface that connects the HDA codecs to the
HDA Controller. The HDA link protocol is controller synchronous, based on a 24.0MHz BIT-CLK sent
by the HDA controller. The input and output streams, including command and PCM data, are isochronous
with a 48kHz frame rate. Figure 4 shows the basic concept of the HDA link protocol.
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
Figure 4. HDA Link Protocol
10 Track ID: JATR-1076-21 Rev. 1.4
7.1.1. Signal Definitions
Table 5. Link Signal Definitions
Item Description
BCLK 24.0MHz bit clock sourced from the HDA controller and connected to all codecs.
SYNC
SDO
SDI
RST#
48kHz signal used to synchronize input and output streams on the link. It is sourced from the HDA
controller and connects to all codecs.
Serial Data Output signal driven by the HDA controller to all codecs. Commands and data streams are
carried on SDO. The data rate is double pumped; the controller drives data onto the SDO, the codec
samples data present on SDO with respect to each edge of BCLK. The HDA controller must support at
least one SDO. To extend outbound bandwidth, multiple SDOs may be supported.
Serial Data Input signal driven by the codec. It is point-to-point serial data from the codec to the HDA
controller. The controller must support at least one SDI, and up to a maximum of 15 SDI’s can be
supported. SDI is driven by the codec at each rising edge of BCLK, and sampled by the controller at
each rising edge of BCLK. SDI can be driven by the controller to initialize the codec’s ID.
Active low reset signal. Asserted to reset the codec to default power on state. RST# is sourced from the
HDA controller and connects to all codecs.
ALC269
Datasheet
Table 6. HDA Signal Definitions
Signal Name Source Controller Type Description
BCLK Controller Output Global 24.0MHz Bit Clock.
SYNC Controller Output Global 48kHz Frame Sync and outbound tag signal.
SDO Controller Output Serial Data Output from Controller.
SDI Codec/Controller Input/Output
RST# Controller Output Global Active Low Reset Signal.
Serial Data Input from codec. Weakly pulled down by the
controller.
BCLK
SYNC
SDO
8- Bit Frame SYNC
76540123999 998 997 996 995 994 993 992 991 990
Start of Frame
SDI
Codec samples SDO at both rising and falling edge of BCLK
Controller samples SDI at rising edge of BCLK
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
3 210499
Figure 5. Bit Timing
11 Track ID: JATR-1076-21 Rev. 1.4
498
497 496495494
ALC269
Datasheet
7.1.2. Signaling Topology
The HDA controller supports two SDOs for the outbound stream, up to 15 SDIs for the inbound stream.
RST#, BCLK, SYNC, SDO0 and SDO1 are driven by controller to codecs. Each codec drives its own
point-to-point SDI signal(s) to the controller.
Figure 6 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, 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 controller and
codecs. Section 7.2 Frame Composition, page 13 describes the detailed outbound and inbound stream
compositions for single and multiple SDOs/SDIs.
The connections shown in Figure 6 can be implemented concurrently in an HDA system. The ALC269 is
designed to receive a single SDO stream.
BCLK
SYNC
RST#
SDI0
SDO0
Figure 6. Signaling Topology
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
SDI1
BCLK
SYNC
RST#
SDI0
SDO1
SDO0
BCLK
RST#
SDI0
SYNC
SDO0
BCLK
RST#
SYNC
SDI0
SDI2
SDI1
SDO1
SDO0
12 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
7.2.
Frame Composition
7.2.1. Outbound Frame – Single SDO
An outbound frame is composed of one 32-Bit command stream and multiple data streams. There are one
or multiple sample blocks in a data stream. Only one sample block exists in a stream if the HDA
controller delivers a 48kHz rate of samples to the codec. Multiple sample blocks in a stream means the
sample rate is a multiple of 48kHz. This means there should be 2 blocks in the same stream to carry
96kHz samples (Figure 7).
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 8).
To keep the cadence of converters bound to the same stream, samples for these converters must be placed
in the same block.
SYNC
SDO
A 48kHz Frame is composed of Command stream and multiple Data streams
Frame SYNC
Command Stream
Sample Block(s)
Block 1
Sample 1 Sample 2
msb
Block 2
...
Stream 'A' TagStream 'X' Tag
(Here 'A' = 5)(Here 'X' = 6)
One or multiple blocks in a stream
..
.
..
.
msb first in a sample
lsb
Figure 7. SDO Outbound Frame
Block Y
Sample Z
Stream 'X' DataStream 'A' Data
Null Field
For 48kHz rate, only Block1 is included
For 96kHz rate, Block1 includes (N)
includes (N+1)
Z channels of PCM Sample
time of samples
th
time of samples, Block2
th
Next FramePrevious Frame
0s
Padded at the
end of Frame
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
13Track ID: JATR-1076-21 Rev. 1.4
BCLK
SYNC
Stream Tag
msblsb
0
110
ALC269
Datasheet
Stream=10
Data of Stream 10
msb
SDO
Preamble
(4-Bit)(4-Bit)
76540123
Previous Stream
Figure 8. SDO Stream Tag is Indicated in SYNC
7.2.2.Outbound Frame – Multiple SDO
The HDA controller allows two SDO signals to be used to stripe outbound data, completing transmission
in less time to get more bandwidth. If software determines the target codec supports multiple SDO
capability, it enables the stripe control bit in the controller’s Output Stream Control Register to initiate a
specific stream (Stream ‘A’ in Figure 9) to be transmitted on multiple SDOs. In this case, the MSB of
stream data is always carried on SDO0, the second bit on SDO1 and so forth.
SDO1 is for transmitting a striped stream. The codec does not support multiple SDOs connected to
SDO0.
To guarantee all codecs can determine their corresponding stream, the command stream is not striped. It
is always transmitted on SDO0, and copied on SDO1.
Figure 9. Striped Stream on Multiple SDOs
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
14 Track ID: JATR-1076-21 Rev. 1.4
ALC269
Datasheet
7.2.3. Inbound Frame – Single SDI
An Inbound Frame – Single SDI is composed of one 36-Bit response stream and multiple data streams.
Except for the initialization sequence (turnaround and address frame), SDI is driven by the codec at each
rising edge of BCLK. The controller also samples data at the rising edge of BCLK (Figure 10).
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 11).
SYNC
SDI
A 48kHz Frame is Composed of a Response Stream and Multiple Data streams
Frame SYNC
Response Stream
Sample Block(s)Stream Tag
Block 1
Sample 1 Sample 2...Sample Z
Block 2
msb...lsb
...Block Y
msb first in a sample
Figure 10. SDI Inbound Stream
Stream 'A'
Null Pad
Z channels of PCM Sample
For 48kHz rate, only Block1 is included
For 96kHz rate, Block{1, 2} includes {(N)
Stream 'X'
Null Field
Next FramePrevious Frame
0s
Padded at the end of Frame
(N+1)th} time of samples
th
BCLK
Data Length in Bytes
B
B
4
5
6
Figure 11. SDI Stream Tag and Data
SDI
Stream Tag
B
B
8
9
B
B
7
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
B
3
A Complete Stream
1
2
B
B
15 Track ID: JATR-1076-21 Rev. 1.4
n-Bit Sample Block
D
B
0
D
n-1
(Data Length in Bytes *8)-Bit
n-2
D
0
Null Pad
00
Next Stream
00
ALC269
Datasheet
7.2.4. Inbound Frame – Multiple SDI
A codec can deliver data to the controller on multiple SDIs to achieve higher bandwidth. If an inbound
stream exceeds the data transfer limits of a single SDI, the codec can divide the data onto separate SDI
signals, each of which operate independently, with different stream numbers at the same frame time. This
is similar to having multiple codecs connected to the controller. The controller samples the divided stream
into separate memory with multiple DMA descriptors, then software re-combines the divided data into a
meaningful stream.
SYNC
Frame SYNC
SDI
0
SDI
1
Codec drives SDI
Response Stream
Response Stream
and SDI
0
1
Tag A
Tag BData B
Figure 12. Codec Transmits Data Over Multiple SDIs
Stream 'A'
Data A
Stream 'B'
Stream A, B, X, and Y are independent and have separate IDs
Stream 'X'
0s
Stream 'Y'
0s
7.2.5. Variable Sample Rates
The HDA link is designed for sample rates of 48kHz. Variable rates of sample are delivered in multiple or
sub-multiple rates of 48kHz. Two sample blocks per frame result in a 96kHz delivery rate, one sample
block over two frames results in a 24kHz delivery rate. The HDA specification states that the sample rate
of the outbound stream be synchronized by the controller, not by the codec. Each stream has its own
sample rate, independent of any other stream.
The HDA controller supports 48kHz and 44.1kHz base rates. Table 7, page 17, 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 8, page 17, 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.
High Definition Audio Codec with Embedded
Class-D Speaker Amplifier
16 Track ID: JATR-1076-21 Rev. 1.4
Loading...
+ 55 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.