ALC5610_09 REALTEK | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 93

Technical content

AC’97 AUDIO CODEC + TOUCH PANEL CONTROLLER + VOICE PCM INTERFACE DATASHEET Rev. 1.4

07 August 2009

Track ID: JATR-1076-21 Realtek Semiconductor Corp. No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan www.realtek.com

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface ii Track ID: JATR-1076-21 Rev. 1.4 COPYRIGHT ©2009 Realtek Semiconductor Corp. A ll 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 de scribed in this document at any time. This document could include technical inaccuracies or typographical errors. TRADEMARKS Realtek is a trademark of Realtek Semiconductor Cor poration. 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 ALC5610 Audio Codec IC. Though every effort has been made to ensure th at this document is cu rrent and accurate, more information may have become available subsequent to the production of this guide.

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface iii Track ID: JATR-1076-21 Rev. 1.4

REVISION HISTORY

Revision Release Date Summary 1.0 2007/06/07 First release 1.1 2007/08/15 Revised Table 85, page 68. Added section 9.1.2 Recommended Operating Conditions, page 68. 1.2 2008/01/11 Revised section 1 General Description, page 1. Revised Figure 1, page 4. Revised Figure 2, page 5. Added note in Table 4, page 9. Revised Figure 7 to Figure 14, page 15 to 17. Revised section 7.8.1 Speaker Output, page 24. Revised section 7.9 Touch Panel Control, page 26. Revised Table 21, page 36. Revised Table 32, page 41. Revised Table 33, page 42. Revised Table 36, page 45. Revised Table 86, page 68. Revised section 10 Application Circuits, page 78. Revised section 13 Ordering Information, page 84. 1.3 2008/07/23 Revised section 13 Ordering Information, page 84. 1.4 2009/08/07 Revised Figure 1 Block Diagram, page 4. Revised Table 3 Filter/Reference, page 8. Revised Table 4 Power/Ground, page 9. Revised Table 88 Analog Performance Characteristics, page 69. Added section 9.3.8 I 2S/PCM Interface Master Mode, page 76. Added section 9.3.9 I2S/PCM Interface Slave Mode, page 77. Revised section 11 Mechanical Dimensions, page 79. Revised Table 98 Ordering Information, page 84.

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface iv Track ID: JATR-1076-21 Rev. 1.4 Table of Contents

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface v Track ID: JATR-1076-21 Rev. 1.4

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface vi Track ID: JATR-1076-21 Rev. 1.4

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 1 Track ID: JATR-1076-21 Rev. 1.4 1. General Description The ALC5610 is a highly-integrated dual AC'97/PCM interface audio codec with multiple input/output ports and a 4-wire touch panel controller. The ALC5610 is designed fo r mobile computing and communications. Stereo audio is supported via the AC’97 interface, and voice functions via a PCM/I2S interface. To reduce component count, the device can connect directly to:

  • A 4-wire touch panel
  • MONO or stereo differential analog inputs
  • Stereo headphone
  • Single-ended or BTL MONO output
  • MONO or Stereo Bridge-Tied Load (BTL) speaker Multiple analog input and output pins are provided for seamless integration with analog connected wireless communication devices. Differential input/output connec tions efficiently reduce noise interference, providing bette r sound quality. Class-AB or Class- D amplifiers are easily swapped via simple register configuration, and the 1.7 Watt speaker removes the need for an additional amplifier, further cutting both cost and required board area. Additionally, a flexible hardware 5-band equalizer with configurable gain, bandwidth, and center frequency, and enriches the sound experience. ALC5610 Digital power operates at supply voltages from 1.8V to 3.6V. Analog power operates from 2.3V to 3.6V, and Speaker power operates from 2.3V to 5V. To extend battery lif e, each section of the device can be powered down individua lly under software control. Leakage current in maximum power saving state is less than 10µA. The ALC5610 is available in a 7x7mm ‘Green’ QFN package, maki ng it ideal for use in handheld portable systems.

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 2 Track ID: JATR-1076-21 Rev. 1.4 2. Features „ Single-chip AC’97 Rev 2.2 compatible codec ‹ 16-bit stereo DAC SNR 90dB, THD+N -85dB ‹ 16-bit stereo ADC SNR 85dB, THD+N -80dB ‹ Supports PCM/I2S input and output interface ‹ Supports all WinCE variable rates (8kHz, 11.025kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz) „ One analog stereo input (LINE-IN) „ One analog MONO single-ended or differential input (PHONE and PHONEN input) „ Stereo, single-ended MONO, or differential analog microphone inputs, with boost pre-amplifiers (+20/+30/+40dB) „ BTL (Bridge-Tied Load) Max. output with on-chip 1.7W speaker driver (SPKVDD=5V, 8Ω load, 10% THD+N) „ Stereo headphone output with on-chip 45mW headphone driver (HPVDD=3.3V, 16Ω load) „ 25mW SE or 75mW BTL MONO output support (AVDD=3.3V, 32Ω load) „ Microphone switch detection „ Integrated 16-bit I2S/PCM interface voice DAC for blue-tooth and other external devices „ Power management and enhanced power saving „ Supports digital 5-band equalizer (EQ) „ Supports digital spatial sound and pseudo stereo effect „ Supports pop noise suppression „ Internal PLL can receive wide range of clock input (Digital IO power > 1.8V) „ Digital power supplies from 1.8V to 3.6V, speaker amplifier power supplies from 2.3V to 5V „ Analog power, headphone power, and touch panel power supplies from 2.3V to 3.6V

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 3 Track ID: JATR-1076-21 Rev. 1.4 „ Resistive touch panel interface ‹ Supports 4-wire panel ‹ X, Y axis and pressure measurement ‹ 12-bit resolution AUX_ADC for battery measurement, DNL<±1 LSB, INL<±2 LSBs ‹ Supports pen-down detection in power down mode „ 48-pin QFN package 3. System Applications „ Tablet PC system/Ultra-Mobile PC (UMPC) „ GPS/Personal Navigation Device (PND) or Multi-Media phone „ PDA Phone/Smartphone „ Personal Media Player (PMP)

Figure 1. Block Diagram

Figure 2. Audio Mixer Path

Figure 3. Pin Assignments ‘Green’ package is indicated by a ‘G’ in the location marked ‘T’ in Figure 3.

Table 1. AC’97 Digital I/O Pins

11 H/W Reset Input

Table 2. Analog I/O Pins Table 3. Filter/Reference

Table 4. Power/Ground Note1: DVDD1 ≥ DVDD2, SPKVDD ≥ AVDD1, HPVDD ≥ AVDD1 ≥ DVDD2, TPVDD ≥ DVDD2. Note2: SPDVDD connect 10µF Capacitor to SPKGND is required. Note3: The Thermal pad must be connected to system ground.

TPVDD≥DVDD2, and AVDD1=TPVDD. Table 5. Power Setting for Best Performance There are 4 types of reset operation: Power-On Reset (POR), Cold, Warm, and Register reset. Table 6. Reset Operation Resets all hardware logic and all registers to default values. except some PLL related control registers and logic. related control registers and logic. Reactivates AC-Link. No change to register values. Power-On Reset (POR) will generate an internal reset signal (POR reset ‘LOW’) to reset the whole chip. Table 7. Power-On Reset Voltage Note: VPOR_OFF must be below VPOR_ON.

externally, and the driver should arrange the clock of each block and setup each divider. will be determined by MCLK and the setting of Extclk_out_sel. depend on the accuracy of PLL output. Table 8. AC-Link Clock Setting Table (Unit: MHz) output is used as Stereo_SYSCLK. Note: The ALC5610 will only be enabled after an AC-Link Warm Reset.

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 12 Track ID: JATR-1076-21 Rev. 1.4 7.3.2. AC’97 Mode For the AC-Link controller, the BIT_CLK driven by PLL will only be enabled after a warm reset. The sampling rate of the stereo ADC and stereo DAC can be configured separate ly and is controlled by Reg2C (stereo DAC) and Reg32 (stereo ADC). 7.3.3. Voice_I2S/PCM Interface The ALC5610 supports an independent digital in terface for Voice Audio. The voice audio digital interface is used to input digital data to the voi ce DAC, or output digital data from the voice ADC. The Voice Audio Digital Interface can be configured to Master mode or Slave mode. Whether in Master mode or Slave mode, the sample rate of the Voice ADC and Voice DAC is set via Reg64 and Reg66. In Master mode, the main clock of the Voice_I 2S/PCM interface can be input selected from MCLK (with or without a PLL) or EXTCLK. V BCLK and VSLRCK will be configured as output. DRIVER has to set each divider (Reg64 & Reg66) to arrange the clock distribution. See section 12 Appendix A: Voice PCM Interface, page 81 for details. In Slave mode, the main clock of the Voice_I 2S/PCM can be input from MCLK or EXTCLK. VBCLK is synchronized externally. VBCLK and VSLRCK will be co nfigured as input. The driver has to set each divider (Reg64 and Reg66) to arrange the cloc k distribution (see section 12.2 Slave Mode: (voice_port_sel=1), page 83, for more information. If VBCLK provides 64Fs, 128Fs, or 256Fs externall y, the ACL5610 can use VBCLK input as the main clock of the Voice_I2S/PCM. See section 12 Appendix A: Voice PCM Interface, page 81 for details. 7.3.4. Voice ADC The ALC5610 supports Voice ADC for transmitting voice data to a Bluetooth device. The Voice ADC is implemented by sharing from the Right Channel of the Stereo ADC (by setting voice_adc_enable). When voice_adc_enable=0, the L/R channel stereo ADC sample rate is set according to the stereo sample rate (ADC_SAMPLE_RATE) and output to slots 3 & 4 of the AC’97 interface. When voice_adc_enable=1, the sample rate of the Left channel is set by the stereo sample rate (ADC_SAMPLE_RATE). The sample rate of the Right channel is set by the voice sample rate (Reg64 & Reg66). The Left channel ADC data is output to the Left (slot 3) and duplicated to the Right (slot 4) of the AC’97 interface. The Right channel of the Stereo ADC data is then used as a Voice ADC and output to voice_I2S/PCM.

SDATA_IN on the rising edge of BIT_CLK. an unimplemented slot or bit with 0 in SDATA-IN. Note that AC-Link is MSB-justified. See the ‘Audio CODEC ’97 Component Specification Revision 2.2’ for detailed information. Figure 4. AC-Link Wake Up Timing

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 19 Track ID: JATR-1076-21 Rev. 1.4 7.5. Audio Data Path 7.5.1. Stereo ADC and Voice ADC The stereo ADC is used for recording stereo sound or , by setting voice_adc_enable, can be configured to MONO PCM ADC (Left channel of stereo ADC) + voi ce ADC (Right channel of stereo ADC) when using bluetooth and recording at the same time.

  • When voice_adc_enabl=0, the sample rate of the stereo ADC can be configured via setting Reg32.
  • When voice_adc_enabl=1, the sample rate of the voice ADC is set by Reg66, and the sample rate of the MONO PCM ADC is set by Reg32. The sample rate of the stereo ADC is independent of the stereo DAC sample rate. In order to save power, the left and right ADC can be powered down separately by setting Reg3C [6], [7]. PR0=1 will disable both channels of the ADC. The volume control of the stereo ADC is set via Reg12[11:7][4:0]. 7.5.2. Stereo DAC The sample rate of the stereo DAC is controlled by Reg2C. Reg0C[12:8][4:0] can be used to control the volume of DAC output. 7.5.3. Voice to Stereo Digital Path The ALC5610 supports a voice to dig ital stereo path for voice comma nd through Bluetooth by setting Reg42[15]=1. The Voice data will be transferred from the voice I 2S/PCM to the AC’97 directly. This function is only supported when the Voice and Stereo I2S/PCM are in Master Mode. The driver should set the same sample rate between the Voice DAC and the stereo ADC. When a voice to stereo digital path is enabled, the signal from Voice_I2S/PCM is direct output to Left (slot 3) and is duplicated to Right (slot 4) of the AC’97 interface. The Voice to Stereo Digital Path and Voice ADC functions can exist at the same time.

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 20 Track ID: JATR-1076-21 Rev. 1.4 7.5.4. Voice DAC The Voice DAC is dedicated to playback of receive d voice signals from the voice_I2S/PCM interface. Typically, it is used at an 8kHz sample rate. In Voice I2S/PCM Master mode, the sample rate is set by the VoDAC clock Divider (Reg64). In addition, Reg66[7:4][2:0] is used to set the over-sample rate clock divider of the Voice ADC/DAC filter to 64Fs or 128Fs. Reg66[13] must be set according to the over-sample rate clock. Performance at 128Fs is better than 64Fs, but with higher power consumption. For best performance, the frequency of the Voice DAC Sigma Delta clock must be equal to, or higher than, the Voice DA filter over-sampling rate. The volume control of the Voice DAC is set via Reg18[12:8]. 7.6. Mixers The ALC5610 supports four mixers for all audio function requirements:

  • Headphone mixer for 2 channels
  • MONO mixer
  • Speaker mixer
  • ADC record mixer 7.6.1. Headphone Mixer The headphone mixer is used to drive stereo output, including HP_OUT_L/R, SPK_OUT_L/R (SPK_OUT_LN/RN) and MONO_OUT (MONO_OUTN). The output of the headphone mixer can be input to the ADC record mixer. The following signals can be mixed into the headphone mixer:
  • LINE-IN_L/R (Controlled by Reg0A)
  • PHONEP/N (Controlled by Reg08)
  • MIC1P/N and MIC2P/N (Controlled by Reg22 & Reg10)
  • Stereo DAC output (Controlled by Reg0C)
  • V oice DAC output (Controlled by Reg18)
  • ADC record mixer output (Controlled by Reg12 & Reg14). Note: The headphone mixer can be powered down by setting Reg3C[5][4].

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 21 Track ID: JATR-1076-21 Rev. 1.4 7.6.2. MONO Mixer The MONO mixer is used to drive M ONO_OUT (MONO_OUTN) and SPK_OUT_L/R (SPK_OUT_LN/RN). The output of the MONO mixer can be input to the ADC record mixer. The output of the MONO mixer is two channels with the same signal. The following signals can be mixed into the MONO mixer:

  • LINE-IN_L/R (Controlled by Reg0A)
  • MIC1P/N and MIC2P/N (Controlled by Reg22 & Reg10)
  • Stereo DAC output (Controlled by Reg0C)
  • V oice DAC output (Controlled by Reg18)
  • ADC record mixer output (Controlled by Reg12 & Reg14). Note: The MONO mixer can be powered down by setting Reg3C[2]. 7.6.3. Speaker Mixer The speaker mixer is the same as the MONO mi xer and is used to drive MONO_OUT (MONO_OUTN) and SPK_OUT_L/R (SPK_OUT_LN/RN). The output of the speaker mixer can be input to the ADC record mixer. The output of the speaker mixer is two channels with the same signal. The following signals can be mixed into the speaker mixer:
  • LINE-IN_L/R (Controlled by Reg0A)
  • PHONEP/N (Controlled by Reg08)
  • MIC1P/N and MIC2P/N (Controlled by Reg22 & Reg10)
  • Stereo DAC output (Controlled by Reg0C)
  • V oice DAC output (Controlled by Reg18) Note: The speaker mixer can be powered down by setting Reg3C[3].

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 22 Track ID: JATR-1076-21 Rev. 1.4 7.6.4. ADC Record Mixer The ADC record mixer is used to mix analog signals as input to the Stereo ADC for recording. Output of the ADC record mixer can be input to the headphone mixer, MONO mixer, and speaker mixer. The following signals can be mixed into the ADC record mixer:

  • LINE-IN_L/R (Controlled by Reg0A)
  • PHONEP/N (Controlled by Reg08)
  • MIC1P/N and MIC2P/N (Controlled by Reg22 & Reg10)
  • Headphone mixer output
  • MONO mixer output
  • Speaker mixer output Note: The ADC record mixer can be powered down by setting Reg3C[1][0]. 7.7. Analog Audio Input Path The ALC5610 supports four Analog Audio Input paths:
  • Line_IN_L/R
  • PHONEP/N
  • MIC1
  • MIC2 7.7.1. Line Input Line_In_L and Line_In_R provide 2-channel stereo single-ended input that can be mixed into the MONO mixer, Headphone mixer, Speaker mixer, or the ADC record mixer. The Line_In_L/R volume and mute are controlled by Reg0A. Reg3E[7:6] can be used to power down Line_In volume control.

that can be mixed into the ADC record mixer, or any analog output mixer except for the MONO mixer. PHONEP is main input when differential mode is disabled. PHONEP/N volume control and mixer. inputs when differential mode is disabled. MIC1N is pin-shared to AUX3 input. by Reg22[9:8] (for MIC2). The MIC1/2 volume and mute are controlled by Reg0E. control. Reg3E[1][0] can be used to power down MIC1/2 boost. AUX_ADC. The driver must set the related register as shown in Table 10. Table 10. Pin Sharing Configuration Table

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 24 Track ID: JATR-1076-21 Rev. 1.4 7.8. Analog Audio Output Data Path The ALC5610 supports three Analog Audio output paths:

  • SPK_OUT_L/R
  • HP_OUT_L/R
  • MONO_OUT 7.8.1. Speaker Output SPK_OUT_L/R provides two-channel differential output. The SPK_OUT_L source is set in Reg1C[15:14]. Sources are shown below:
  • Vmid
  • Headphone left mixer
  • Speaker mixer
  • MONO mixer The SPK_OUT_R source is set in Reg1C[12:11]. Sources are shown below:
  • Vmid
  • Headphone right mixer
  • Speaker mixer
  • MONO mixer The ALC5610 speaker supports Class- AB and Class-D type amplifiers (set in Reg1C[13]:spk_out_sel). As the voltage of SPKVDD is usually higher than AVDD, the driver should set the Class-AB Vmid ratio in Reg40[5:3], and the Class-D Vmid ratio in Reg40[7:6] in order to extend the output level. In Class-AB mode, for L+R MONO speaker solutions, SPK_OUT_R can select a di fferent signal source (SPKR Volume output or SPKL Volume output by Reg1C[14]) but SPK_OUT_RN only outputs SPKR Volume Negative Output. The SPK_OUT_L/R volume and mute are controlled by Reg02. Reg3E[13:12] and Reg3E[9:8] can be used to power down SPK output. Reg3C[14]: pow_clsab is used to power down Class-AB output. SPK_OUT_L/R supports the zero-cross detect f unction (enabled at Re g02[6][14]: sp_l_dezero/ sp_r_dezero).

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 25 Track ID: JATR-1076-21 Rev. 1.4 7.8.2. Headphone Output HP_OUT_L/R provides two-channe l single-ended output. The HP_OUT_L/R source is set in Reg1C[9][8]. Sources are shown below:

  • Vmid
  • Headphone mixer The HP_OUT_L/R volume and mute are controlled by Reg04. Reg3E[11]: pow_hp_l_vol and Reg3E[10]: pow_hp_r_vol ca n be used to power down the volume of HP output. HP_OUT supports the zero-cross detect function (enabled at Reg04[14][6]:hp_l_dezero/ hp_r_dezero). 7.8.3. MONO Output MONO_OUT provide one-channel differential or si ngle-ended output confi gured by Reg08[15]. The MONO_OUT source is set in Reg1C[7:6]. Sources are shown below:
  • Vmid
  • Headphone mixer (L+R)
  • Speaker mixer
  • MONO mixer The MONO_OUT volume and mute are controlled by Reg08. Reg3E[14]: pow_MONO_out_vol can be used to power down the volume of MONO_OUT. MONO_OUT supports the zero-cross detect function (enabled at Reg08[6]:MONO_dezero).

touch pressure, and AUX measurement are supported by using AUX_ADC. Figure 17. 4-Wire Resistive Touch Panel Circuit Reg76[15] =1. The ALC5610 will clear the Reg76[15] after measurement is complete.

ADC to an expected sound level by setting THmax and THmin. gain to attenuate the quantized Pulse Code Modulation (PCM) signal to a lower amplitude than THmax. than THmin. The quantized PCM has an average level between THmin and THmax. Figure 18. Auto Volume Control Block Diagram

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 28 Track ID: JATR-1076-21 Rev. 1.4 7.11. Hardware Sound Effects The Sound Effect block is composed of Pseudo Ster eo, Spatial 3D and Equaliz er blocks. The Pseudo Stereo block is used to convert a MONO source into virtualized stereo output. The Spatial 3D block is a surround sound generator with adjustab le amplitude (Gain) and surroun d depth (Ratio). The Equalizer block can be used to compensate fo r speaker response, or to make e nvironment sound effects, e.g., ‘Pub’, ‘Live’, ‘Rock’,… etc.. 7.11.1. Equalizer Block The Equalizer block cascades 5 bands of equalizer to compensate for speaker response and to emulate environment sound. One high-pass filter cascaded in the front end is used to drop low frequency tone, which has a larger amplitude and may damage a mini speaker. The high-pass filter can also be used to adjust Treble strength with ga in control. A low-pass filter with gain control can adjust the Bass strength. Three bands of bi-quad ban dpass filters are used to emulate environment sounds. To avoid PCM sample saturation, the digital volume control has up to 18dB of attenuation before the equalizer. A 0~+18dB digital gain after the equalizer is used to correct PCM output to a suitable level. 7.11.2. Pseudo Stereo and Spatial 3D Sound There are two spatial effects in post-processing; the Ps eudo-Stereo Effect + Spatial Effect, and the Stereo Expansion Effect. The Pseudo-Stereo Effect + Spatial Effect convert s a MONO signal to a stereo signal by changing the phase and amplitude of the original signal followed by enhancing the spatial effect. The Stereo Expansion Effect enhances the spatial effect when the input signal is Stereo. 7.12. Odd-Addressed Register Access The ALC5610 will return ‘0000h’ when odd-addressed and unimplemented registers are read.

active when both Reg26 and Reg3C/3E are set to ‘Enable’. can set other control bits to save power according to system requirements.

  • Pen-down Detection
  • GPIO and Interrupts
  • Analog to analog path when control registers Reg 3C & 3E are enabled There are two methods to wake the ALC5610 from Sleep mode
  • Warm Reset and Cold Reset from AC Link
  • Wake-up from GPIO (configured as Input) and Internal event signal (pen-down, over-temperature) when the wake-up bit is set at Reg52.

Figure 19. Example of ALC5610 Power-Down/Power-Up Flow

The ALC5610 supports up to five GPIOs. Each GP IO can be configured as Input/Output by Reg4C.

  • Sticky by setting Reg50
  • Changed polarity by setting Reg4E
  • Wake-up by setting Reg52 The wake-up function will drive SDATA_In ‘high’ when the AC-Link is in sleep mode, and set GPIO_INT (Slot12 bit0) when the AC-Link is awake. The wake up f unction can only be enabled when Wake-up control (Reg5E[1])=1. The driver can write each bit of Reg54=1 to clear each IRQ status flag. When VoPCM_En (Reg36[15])=1, GPIOs 1, 3, 4, and 5 will be dedicated as VoDAC_I2S/PCM interface, regardless of GPIO Pin Configure (Reg4C[5:3,1]). These pin cannot be used as GPIOs in this case. GPIO pin2 can be configured and pin-shared with IRQ_Output by setting Reg56.

Figure 20. GPIO Implementation

Accessing odd numbered registers, or reading unimplemented registers, will return a 0. Table 11. Reg-00h: Reset Table 12. Reg-02h: Speaker Output Volume

Table 13. Reg-04h: Headphone Output Volume Table 14. Reg-08h: Phone Input/MONO Output Volume

Table 15. Reg-0Ah: LINE_IN Volume Table 16. Reg-0Ch: STEREO DAC Volume

Table 17. Reg-0Eh: MIC Volume Table 18. Reg-10h: MIC Routing Control

Table 19. Reg-12h: ADC Record Gain Table 20. Reg-14h: ADC Record Mixer Control

Table 21. Reg-18h: Voice DAC Output Volume Table 22. Reg-1Ch: Output Mixer Control Note: SPK_OUT_RN: SPKR Volume Negative Output.

Table 23. Reg-22h: Microphone Control Table 24. Reg-26h: Power Down Control/Status

Table 25. Truth Table for Power Down Mode (PD=Power Down)

Table 26. Reg-2Ah: Tone Control Table 27. Reg-2Ch: AC’97 Stereo DAC Rate/DPE Rate The ALC5610 supports the following PC99/PC2001 design guide sampling rates. Table 28. PC99/PC2001 Design Guide Sampling Rates

44100 AC44h

48000 BB80h

When ac_src_en=0 (VRA is disabled), any non-zero value in this register will be forced to BB80h.

Table 29. Reg-32h: AC’97 Stereo ADC Rate adc_sample_rate 15:0 RW BB80’h IISR[15:0] Output Sampling Rate. The ALC5610 supports the following PC99/PC2001 design guide sampling rates. Table 30. PC99/PC2001 Design Guide Sampling Rates Table 31. Reg-36h: Extend Serial Data Port Control (VoDAC_I2S/PCM)

Table 32. Reg-3Ah: Power Management Addition 1

Table 33. Reg-3Ch: Power Management Addition 2 Note: Disabled includes Voice_I2S interface.

Table 34. Reg-3Eh: Power Management Addition 3

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 44 Track ID: JATR-1076-21 Rev. 1.4 Figure 21. Power Control to MIC Input Table 35. Reg-40h: General Purpose Control Register 1

Description

sel_sysclk 15 RW 0’h Clock Source MUX Control 0: MCLK 1: PLL Output Extclk_dir 14 RW 0’h EXTCLK Direction Control 0: Input 1: Output Reserved 13:10 RW 1’h Reserved hp_amp_ctrl 9:8 RW 0’h Headphone Amplifier V MID Ratio Control (Output Gain Control) 00: 1 01: 1.25 1x: 1.5 spk_ampD_ctrl 7:6 RW 0’h Speaker Class-D Amplifier V MID Ratio Control (Output Gain Control) 00: 1.75 Vdd 01: 1.5 Vdd 10: 1.25 Vdd 11: 1.0 Vdd spk_ampAB_ctrl 5:3 RW 5’h Speaker Class-AB Amplifier V MID Ratio Control (Output Gain Control) 000: 2.25 Vdd 001: 2.00 Vdd 010: 1.75 Vdd 011: 1.5 Vdd 100: 1.25 Vdd 101: 1 Vdd Others: Not allowed Reserved 2:0 RW 0’h Reserved

Table 36. Reg-42h: General Purpose Control Register 2

15 RW 0’b V oice to Stereo Digital Path Enable

Table 37. Reg-44h: PLL Control Note: The PLL transmit formula is FOUT = (MCLK * (N+2))/((M+2) * (K+2)) {Typical K=2}.

Table 38. AC-Link PLL Clock Setting Table (Unit: MHz) Note: PLL will only be enabled after a warm reset of the AC-Link. Table 39. Reg-4Ch: GPIO Pin Configuration

Table 40. Reg-4Eh: GPIO Pin Polarity Table 41. Reg-50h: GPIO Pin Sticky

Table 42. Reg-52h: GPIO Pin Wake-Up

10 RW 0’h MICBIAS1 Short Current Detect Wake-Up Enable

9 RW 0’h MICBIAS2 Short Current Detect Wake-Up Enable

Table 43. Reg-54h: GPIO Pin Status Table 44. Reg-56h: Pin Sharing

Figure 22. GPIO and IRQ Logic Table 45. GPIO and IRQ Logic

Table 46. Reg-58h: Over-Temp/Current Status

Table 47. Reg-5Ch: GPIO_Output Pin Control Table 48. Reg-5Eh: MISC Control disabled before playback/record.

  1. Set the GPIO of the controller as output and set the
  2. After Reset, Set the GPIO of the controller as Input

and set the ALC5610 as Pendown_Output.

  1. Enable the GPIO of the controller to receive INT.
  2. After the controller Received INT, the controller

disables INT and starts to check AUXADC.

  1. Pen-up will be reported by Reg78[15].

The Jack-insert-detect pull-up resistor is implemented via an external circuit (see Figure 23). Figure 23. Jack-Insert-Detect Pull-Up Resist or Implemented via an External Circuit

Table 49. Reg-64h: VoDAC_PCM Clock Control_1 Note: The driver must determine the Voice AD/DA filter clock, and select the filter by setting Voice_64osr (see Table 50).

Table 50. Reg-66h: VoDAC_PCM Clock Control_2

Table 51. Reg-68h: Pseudo Stereo and Spatial Effect Block Control 0: Disable (Bypass) and reset. Spatial coefficients cannot be modified when Spatial is enabled.

Table 52. Reg-6Ah: Index Address Table 53. Reg-6Ch: Index Data Table 54. Reg-6Eh: EQ Status This bit is set if overflow has occurred. Write 1 to clear. This bit is set if overflow has occurred. Write 1 to clear. This bit is set if overflow has occurred. Write 1 to clear. This bit is set if overflow has occurred. Write 1 to clear. This bit is set if overflow has occurred. Write 1 to clear.

Table 55. Index-00h: EQ Band-0 Coefficient (LP0: a1) Note: For low pass filter for Bass control – LP0 has filter coefficient a1 and gain Ho must be set (see Table 56). Table 56. Index-01h: EQ Band-0 Gain (LP0: Ho) Table 57. Index-02h: EQ Band-1 Coefficient (BP1: a1) Table 58. Index-03h: EQ Band-1 Coefficient (BP1: a2)

Table 59. Index-04h: EQ Band-1 Gain (BP1: Ho) Table 60. Index-05h: EQ Band-2 Coefficient (BP2: a1) Table 61. Index-06h: EQ Band-2 Coefficient (BP2: a2) Table 62. Index-07h: EQ Band-2 Gain (BP2: Ho)

Table 63. Index-08h: EQ Band-3 Coefficient (BP3: a1) Table 64. Index-09h: EQ Band-3 Coefficient (BP3: a2) Table 65. Index-0Ah: EQ Band-3 Gain (BP3: Ho) Table 66. Index-0Bh: EQ Band-4 Coefficient (HPF: a1) Table 67. Index-0Ch: EQ Band-4 Gain (HPF: Ho)

Table 68. Index-10h: EQ Control and Status Register

15 RW EQ Block Control

4 RW EQ High-Pass Filter (HPF) Control

3 RW EQ Band-3 (BP3) Control

2 RW EQ Band-2 (BP2) Control

1 RW EQ Band-1 (BP1) Control

0 RW EQ Low-Pass Filter (LPF) Control

Note: Individual EQ coefficients cannot be modified when EQ is enabled. Table 69. Index-11h: EQ Input Volume Control Table 70. Index-12h: EQ Output Volume Control

Table 71. Index-20h: Auto Volume Control Register 0

15 RW Select the Controlled Gain Block for A VC (Default: 00b)

Note: The Monitor Window can only be changed after soft-reset when AVC is enabled.

0 RW A VC Reference Channel Selection (Default: 0b)

Table 72. Index-21h: Auto Volume Control Register 1 Table 73. Index-22h: Auto Volume Control Register 2

Table 74. Index-23h: Auto Volume Control Register 3 Note: Initial Index23=0001’h. Table 75. Index-24h: Auto Volume Control Register 4 Table 76. Index-25h: Auto Volume Control Register 5 Note: CNTMAXTH1 < CNTMAXTH2. Table 77. Index-39h: Digital Internal Register

15 RW Pad Drive Capability

Table 78. Index-4Ah: Class-D Temperature Sensor

15 RW Reserved

11 RW Reserved

7 RW Reserved

3 RW Reserved

Table 79. Index-54h: AD_DA_Mixer_Internal Register Note: To reduce DAC power consumption, we suggest that Index54=E184’h be initialized.

Table 80. Reg-74h: Touch Panel Control Byte 1 will be turned ON once pen-down is detected. will not be turned ON even if pen-down is detected.

Table 81. Reg-76h: Touch Panel Control Byte 2

Table 82. Reg-78h: Touch Panel Indication Table 83. Reg-7Ch: VENDOR ID 1 Table 84. Reg-7Eh: VENDOR ID 2

  1. Electrical Characteristics

Table 85. Absolute Maximum Ratings Note 1: SPKVDD=5V with 3.5% duty cycle Power bouncing up to SPKVDD=8V is acceptable. Table 86. Recommended Operating Conditions the SPKVDD pin of the ALC5610. Table 87. Static Characteristics Note: DVDD=3.3V , Tambient=25°C, with 50pF external load.

Table 88. Analog Performance Characteristics

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 70 Track ID: JATR-1076-21 Rev. 1.4 Parameter Min Typ Max Units MONO_OUT Amplifier Quiescent Current (32Ω Load)/CH - 700 - µA MONO_OUT Amplifier Efficiency (fIN=1kHz, 32Ω Load) Single-Ended Mode (Output Power=25mW) BTL Mode (Output Power=75mW) MONO_OUT Amplifier THD+N Single-Ended Mode (10KΩ Load) Output Power=0.1mW BTL Mode (10KΩ Load) Output Power=0.1mW 0.01 0.01 MONO_OUT Amplifier PSRR - 60 - dB Headphone Amplifier Output Power (32Ω Load) - - 31.25 mW Headphone Amplifier Quiescent Current (32Ω Load) - 700 - µA Headphone Amplifier Efficiency (fIN=1kHz, 32Ω Load, Output Power=25mW) 50 - - % Headphone Amplifier THD+N (32Ω Load) Output Power=20mW Output Power=25mW -70 -70 dB dB Headphone Amplifier PSRR - 68 - dB Class-D BTL Speaker Amplifier Output Power (SPKVDD=5V with 8Ω Load, 1% THD+N) (SPKVDD=5V with 8Ω Load, 10% THD+N) (SPKVDD=5V with 4Ω Load, 1% THD+N) (SPKVDD=5V with 4Ω Load, 10% THD+N) 1.2 1.4 1.7 W W W W Class-D BTL Speaker Amplifier Output Power (SPKVDD=4.2V with 8Ω Load, 1% THD+N) (SPKVDD=4.2V with 8Ω Load, 10% THD+N) (SPKVDD=4.2V with 4Ω Load, 1% THD+N) (SPKVDD=4.2V with 4Ω Load, 10% THD+N) 0.7 0.9 1.2 W W W W BTL Speaker Amplifier Quiescent Current (8Ω Load, SPKVDD=3.7V) Class-AB_Strong Class-D mA mA BTL Speaker Amplifier Efficiency (fIN=1kHz, 8Ω Load, Output Power=700mW) Class-AB Class-D BTL Speaker Amplifier THD + N (8Ω Load, SPKVDD=5V) Class-AB_Strong Output Power=350mW Output Power=600mW Class-D Output Power=350mW Output Power=600mW -70 -70 -70 -60 dB dB dB dB

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 71 Track ID: JATR-1076-21 Rev. 1.4 Parameter Min Typ Max Units BTL Speaker Amplifier THD + N Class-AB_Weak (10KΩ/50pF Load) -85 dB BTL Speaker Amplifier SNR (A-Weighted) Class-AB_Weak (10KΩ/50pF Load) dB BTL Speaker Amplifier PSRR - 65 - dB Quiescent Playback Current (DAC to HP_OUT with 16Ω Load) Quiescent Record Current (LINE_IN to ADC) 7.4 11.3 mA mA Power Down Current IDDA (Analog Block) IDDD (Digital Block) µA µA MICBIAS1 Output V oltage 0.75*A VDD Setting 0.9*A VDD Setting 2.475 2.97 V V MICBIAS1 and MICBIAS2 Drive Current - 16 - mA MICBIAS2 Output V oltage 0.75*A VDD Setting 0.9*A VDD Setting 2.475 2.97 V V Vref Pull Up Resistor - 50 - KΩ Note: Standard test conditions: Tambient = 25°C, DVDD = AVDD = HPVDD=3.3V , SPKVDD = 4.2V . 1kHz input sine wave; PCM Sampling frequency = 48kHz; 0dB = 1Vrms, Test bench Characterization BW: 10Hz~22kHz, 0dB attenuation; EQ and 3D disabled.

Table 91. AC-Link Clock Parameters Note: Worse case duty cycle restricted to 45/55. Figure 26. Data Output and Input Timing Table 92. AC-Link Data Timing Parameters Note 1: Timing is for SDATA and SYNC outputs with respect to BIT_CLK at the device driving the output. Note: Timing is for SDATA and SYNC outputs with respect to BIT_CLK at the device driving the output. Note: Combined rise or fall plus flight times are provided for worst case scenario modeling purposes.

Figure 27. Signal Rise and Fall Timing Table 93. AC-Link Signal Rise and Fall Timing Parameters Note 1: 55pF external load (50pF in AC’97 rev2.1), only for PC system verify case. Note 2: Rise is from 10% to 90% of Vdd (Vol to Voh). Note 3: Fall is from 90% to 10% of Vdd (Voh to Vol).

Figure 28. AC-Link Low Power Mode Timing Table 94. AC-Link Low Power Mode Timing Parameters Table 95. AC-Link IO Pin Capacitance Parameters

Figure 29. I 2S/PCM Master Mode Timing Table 96. I 2S/PCM Master Mode Timing

Figure 30. I 2S/PCM Slave Mode Timing Table 97. I 2S/PCM Slave Mode Timing

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 78 Track ID: JATR-1076-21 Rev. 1.4 10. Application Circuits DVDD DVDD SPKVDD AVDD AVDDDVDD DVDD AVDD AVDD SPKVDDAVDDAVDD AVDD DVDD DVDD AC97_VBCLK AC97_VSLRCK AC97_VSDAC AC97_VSADC AC97_XP AC97_YP AC97_XN AC97_YN AC97_LINER AC97_LINEL AC97_MONO_OUTN AC97_MONO_OUT AC97_MIC1N AC97_MIC1P AC97_MIC2P AC97_MIC_BIAS2 AC97_AUX3 AC97_LINEL AC97_LINER AC97_MIC1P AC97_MIC1N AC97_MIC2P AC97_MIC2N AC97_PHONEP AC97_PHONEN AC97_AUX4 AC97_MONO_OUT AC97_MONO_OUTN AC97_HP_OUT_L AC97_HP_OUT_R AC97_SPK_OUT_L AC97_SPK_OUT_LN AC97_SPK_OUT_R AC97_SPK_OUT_RN AC97_EXTCLK AC97_BITCLK AC97_SDIN AC97_SDOUT AC97_SYNC AC97_RESET AC97_MIC_BIAS1 AC97_MIC_BIAS2 AC97_SPK_OUT_LN AC97_SPK_OUT_L AC97_SPK_OUT_RN AC97_SPK_OUT_R AC97_GPIO2 AC97_MIC_BIAS1 AC97_HP_OUT_R AC97_HP_OUT_L AC97_VSADC AC97_PHONEN AC97_PHONEP AVDD1 RESET BITCLK SYNC RESET TPVDD1 BITCLK SYNC RESET SPKVDD1 HPVDD1 SPKVDD1HPVDD1 AVDD1 DVDD2 DVDD1 DVDD2 DVDD1 TPVDD1 BEAD FB16 C17 100P C26 0.01u BEAD FB4 PESD5V0S2BT BEAD FB5 C27 0.01u C28 0.01u C20 4.7u 0.1u POR1 RESET2 300/NC 10u RESET1 10k/NC C22 4.7u 10u C21 0.1u 0.1u 100P 100P HP_OUT1 Front R2 0 R3 0 C29 100P BEAD RGND2 R4 0 C30 100P MIC1_CON RGND1 NC 100k C42 BEAD FB1 10K C18 100P C23 220u C43 C48 10u BEAD FB2 R1 0 C19 100P C24 220u R5 0 BEAD FB6 C36 0.1u PESD5V0S2BT BEAD FB7 BEAD FB11 C34 22p C35 22p BEAD FB12 4.7k PESD5V0S2BT 4.7k C37 22p MONO_CON C44 100P BEAD FB8 BEAD FB9 C45 100P BEAD FB13 BEAD FB15 R14 5.6k PESD5V0S2BT OSC 24.576MHz 1 4 2 3 +C10 10u PHONE_CON C11 0.1u BEAD FB3 C31 4.7u 0.1u 10u R10 0.1u C49 0.1u PESD5V0S2BT C14 0.1u C15 10u SPKL_CON MIC2_CON C38 SPKR_CON R11 680 C39 R13 5.6k R12 680 C32 C40 100P BEAD FB10 C41 100P C33 100P U2-1 ALC5610 DVDD1 MCLK EXTCLK DGND1 SDATA_OUT BIT_CLK DGND2 SDATA_IN DVDD2 SYNC RESET_ TPVDD HP_OUT_R HP_OUT_L SPKGND HPVDD MONO_OUTN MONO_OUT MIC2N MIC2P AUX4 VREF AGND1 AVDD1 GPIO5BARVSADC GPIO4BARVSDAC GPIO3BARVSLRCK GPIO2BARIRQOUT GPIO1BARVBCLK SPK_OUT_RN AGND2 SPK_OUT_R SPK_OUT_LN SPK_OUT_L SPKVDD HPGND XPLUS YPLUS XMINUS YMINUS TPGND PHONEN PHONEP MICBIAS MIC1P MIC1N LINE_IN_L LINE_IN_R LINE_IN1 C46 100P C25 0.01u C47 100P R15 680 C12 10u C13 0.1u PESD5V0S1BA BEAD FB14 C16 100P MONO_DIFF_OUT MONON_DIFF_OUT PHONEP_DIFF_IN PHONEN_DIFF_IN *NOTE: For SPKVDD by pass cap , C15>= 10u is necessary SPK_OUT_L SPK_OUT_R DGND Tied at one point only under the codec or near the codec AGND BTL Output MIC_DIFF_IN BTL Input Single_End Output Single_End Input MIC_SIG_IN

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 79 Track ID: JATR-1076-21 Rev. 1.4 11. Mechanical Dimensions Plastic Quad Flat No-Lead Package 48 Leads 7x7mm Outline

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 80 Track ID: JATR-1076-21 Rev. 1.4 Symbol Dimension in mm Dimension in inch Min Nom Max Min Nom Max A3 0.20REF 0.008REF D/E 7.00BSC 0.276BSC D1/E1 6.75BSC 0.266BSC e 0.50BSC 0.020BSC θ 0o - 14 o 0 o - 14 o Note 1: CONTROLLING DIMENSION: MILLIMETER (mm). Note 2: REFERENCE DOCUMENT: JEDEC MO-220.

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 81 Track ID: JATR-1076-21 Rev. 1.4 12. Appendix A: Voice PCM Interface 12.1. Master Mode: (voice_port_sel=0)

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 82 Track ID: JATR-1076-21 Rev. 1.4

AC’97 Audio Codec + Touch Panel Controller + Voice PCM Interface 83 Track ID: JATR-1076-21 Rev. 1.4 12.2. Slave Mode: (voice_port_sel=1) X ==> Don’t Care – ==> forbidden

Table 98. Ordering Information Note 1: See page 6 for Green package and version identification. Note 2: Above parts are tested under AVDD=3.3V .