0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
ALC5651-CGT

ALC5651-CGT

  • 厂商:

    REALTEK(瑞昱)

  • 封装:

    QFN40_5X5MM_EP

  • 描述:

    ALC5651-CGT

  • 数据手册
  • 价格&库存
ALC5651-CGT 数据手册
ALC5651 Ultra-Low Power Two-Channel Audio CODEC with SounzRealTM Digital Sound Effect for Mobile Devices Datasheet Rev. 0.9 Realtek Semiconductor Corp. No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan Tel.: +886-3-578-0211. Fax: +886-3-577-6047 www.realtek.com ALC5651 Datasheet COPYRIGHT ©2013 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. USING THIS DOCUMENT This document is intended for the hardware and software engineer’s general information on the Realtek ALC5651 Audio 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. Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices ii Rev. 0.9 ALC5651 Datasheet REVISION HISTORY Revision 0.1 0.2 0.3 Release Date 2012/6/29 2012/10/1 20130308 Summary Preliminary version Modify typos Modify order information Modify power on/off sequence Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices iii Rev. 0.9 ALC5651 Datasheet Table of Contents 1. GENERAL DESCRIPTION .............................................................................................................................................. 1 2. FEATURES ......................................................................................................................................................................... 2 3. SYSTEM APPLICATION ................................................................................................................................................. 3 4. FUNCTION BLOCK AND MIXER PATH ..................................................................................................................... 4 4.1. 4.2. 4.3. FUNCTION BLOCK ........................................................................................................................................................ 4 AUDIO MIXER PATH..................................................................................................................................................... 5 DIGITAL MIXER PATH .................................................................................................................................................. 6 5. PIN ASSIGNMENTS ......................................................................................................................................................... 7 6. PIN DESCRIPTIONS......................................................................................................................................................... 8 6.1. 6.2. 6.3. 6.4. 7. DIGITAL I/O PINS ......................................................................................................................................................... 8 ANALOG I/O PINS ........................................................................................................................................................ 9 FILTER/REFERENCE...................................................................................................................................................... 9 POWER/GROUND ........................................................................................................................................................ 10 FUNCTION DESCRIPTION .......................................................................................................................................... 11 7.1. POWER ....................................................................................................................................................................... 11 7.2. POWER SUPPLY ON/OFF SEQUENCE ........................................................................................................................... 12 7.3. RESET ........................................................................................................................................................................ 13 7.3.1. Power-On Reset (POR) ........................................................................................................................................ 13 7.3.2. Software Reset ...................................................................................................................................................... 13 7.4. CLOCKING .................................................................................................................................................................. 14 7.4.1. Phase-Locked Loop .............................................................................................................................................. 15 7.4.2. I2C and I2S/PCM/TDM Interface .......................................................................................................................... 16 7.5. DIGITAL DATA INTERFACE ........................................................................................................................................ 20 7.5.1. Two I2S/PCM Interface ......................................................................................................................................... 20 7.6. AUDIO DATA PATH .................................................................................................................................................... 24 7.6.1. 2 Analog ADCs with 4-Channel Record Path ...................................................................................................... 24 7.6.2. 4 DACs with 4-Channel Playback Path................................................................................................................ 25 7.6.3. Mixers ................................................................................................................................................................... 26 7.7. ANALOG AUDIO INPUT PORT ..................................................................................................................................... 27 7.8. ANALOG AUDIO OUTPUT PORT .................................................................................................................................. 28 7.9. MULTI-FUNCTION PINS .............................................................................................................................................. 29 7.10. DRC AND AGC FUNCTION ........................................................................................................................................ 31 7.11. SOUNZREAL SOUND EFFECT ...................................................................................................................................... 34 7.12. EQUALIZER BLOCK .................................................................................................................................................... 34 7.13. WIND FILTER WITH DYNAMIC WIND NOISE DETECTOR ............................................................................................. 34 7.13.1. Wind Filter ....................................................................................................................................................... 34 7.14. I2C CONTROL INTERFACE .......................................................................................................................................... 37 7.14.1. Address Setting ................................................................................................................................................ 37 7.14.2. Complete Data Transfer .................................................................................................................................. 37 7.15. GPIO, INTERRUPT AND JACK DETECTION .................................................................................................................. 39 7.16. POWER MANAGEMENT............................................................................................................................................... 42 7.17. PDM INTERFACE ....................................................................................................................................................... 43 8. REGISTERS LIST ........................................................................................................................................................... 44 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices iv Rev. 0.9 ALC5651 Datasheet 8.1. 8.2. 8.3. 8.4. 8.5. 8.6. 8.7. 8.8. 8.9. 8.10. 8.11. 8.12. 8.13. 8.14. 8.15. 8.16. 8.17. 8.18. 8.19. 8.20. 8.21. 8.22. 8.23. 8.24. 8.25. 8.26. 8.27. 8.28. 8.29. 8.30. 8.31. 8.32. 8.33. 8.34. 8.35. 8.36. 8.37. 8.38. 8.39. 8.40. 8.41. 8.42. 8.43. 8.44. 8.45. 8.46. 8.47. 8.48. 8.49. 8.50. 8.51. 8.52. 8.53. 8.54. 8.55. REGISTER MAP .......................................................................................................................................................... 44 MX-00H: S/W RESET & DEVICE ID ........................................................................................................................... 47 MX-02H: HEADPHONE OUTPUT CONTROL................................................................................................................. 47 MX-03H: LINE OUTPUT CONTROL 1 ......................................................................................................................... 49 MX-05H: LINE OUTPUT CONTROL 2 ......................................................................................................................... 50 MX-0DH: IN1/2 INPUT CONTROL .............................................................................................................................. 50 MX-0EH: IN3 INPUT CONTROL ................................................................................................................................. 51 MX-0FH: INL & INR VOLUME CONTROL ................................................................................................................. 52 MX-19H: DACL1/R1 DIGITAL VOLUME ................................................................................................................... 53 MX-1AH: DACL2/R2 DIGITAL VOLUME .................................................................................................................. 53 MX-1BH: DACL2/R2 MUTE/UN-MUTE CONTROL ................................................................................................... 55 MX-1CH: STEREO1 ADC DIGITAL VOLUME CONTROL ............................................................................................. 56 MX-1DH: STEREO2 ADC DIGITAL VOLUME CONTROL ............................................................................................. 57 MX-1EH: ADC DIGITAL BOOST GAIN CONTROL ...................................................................................................... 58 MX-27H: STEREO1 ADC DIGITAL MIXER CONTROL ................................................................................................. 59 MX-28H: STEREO2 ADC DIGITAL MIXER CONTROL ................................................................................................. 59 MX-29H: STEREO ADC TO DAC DIGITAL MIXER CONTROL..................................................................................... 60 MX-2AH: STEREO DAC DIGITAL MIXER CONTROL .................................................................................................. 61 MX-2BH: DD DIGITAL MIXER CONTROL .................................................................................................................. 62 MX-2FH: INTERFACE DAC/ADC DATA CONTROL.................................................................................................... 63 MX-30H: PDM OUTPUT CONTROL ............................................................................................................................ 63 MX-31H: PDM COMMAND CONTROL 1 ..................................................................................................................... 64 MX-32H: PDM COMMAND CONTROL 21 ................................................................................................................... 64 MX-3BH: RECMIXL CONTROL 1 ............................................................................................................................. 64 MX-3CH: RECMIXL CONTROL 2 ............................................................................................................................. 65 MX-3DH: RECMIXR CONTROL 1 ............................................................................................................................. 66 MX-3EH: RECMIXR CONTROL 2 ............................................................................................................................. 67 MX-45H: HPOMIX CONTROL ................................................................................................................................... 68 MX-4DH: OUTMIXL CONTROL 1 ............................................................................................................................ 68 MX-4EH: OUTMIXL CONTROL 2 ............................................................................................................................. 69 MX-4FH: OUTMIXL CONTROL 3 ............................................................................................................................. 70 MX-50H: OUTMIXR CONTROL 1 ............................................................................................................................. 70 MX-51H: OUTMIXR CONTROL 2 ............................................................................................................................. 71 MX-52H: OUTMIXR CONTROL 3 ............................................................................................................................. 72 MX-53H: LOUTMIX CONTROL ................................................................................................................................ 72 MX-61H: POWER MANAGEMENT CONTROL 1 ............................................................................................................ 73 MX-62H: POWER MANAGEMENT CONTROL 2 ............................................................................................................ 73 MX-63H: POWER MANAGEMENT CONTROL 3 ............................................................................................................ 74 MX-64H: POWER MANAGEMENT CONTROL 4 ............................................................................................................ 75 MX-65H: POWER MANAGEMENT CONTROL 5 ............................................................................................................ 76 MX-66H: POWER MANAGEMENT CONTROL 6 ............................................................................................................ 76 MX-6AH: PRIVATE REGISTER INDEX......................................................................................................................... 77 MX-6CH: PRIVATE REGISTER DATA.......................................................................................................................... 77 MX-70H: I2S1 DIGITAL INTERFACE CONTROL .......................................................................................................... 78 MX-71H: I2S2 DIGITAL INTERFACE CONTROL .......................................................................................................... 78 MX-73H: ADC/DAC CLOCK CONTROL 1 .................................................................................................................. 79 MX-74H: ADC/DAC CLOCK CONTROL 2 .................................................................................................................. 80 MX-75H: DIGITAL MICROPHONE CONTROL .............................................................................................................. 81 MX-77H: TDM INTERFACE CONTROL 1 .................................................................................................................... 81 MX-78H: TDM INTERFACE CONTROL 2 .................................................................................................................... 82 MX-79H: TDM INTERFACE CONTROL 3 .................................................................................................................... 83 MX-80H: GLOBAL CLOCK CONTROL ......................................................................................................................... 84 MX-81H: PLL CONTROL 1......................................................................................................................................... 84 MX-82H: PLL CONTROL 2......................................................................................................................................... 85 MX-83H: ASRC CONTROL 1 ..................................................................................................................................... 85 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices v Rev. 0.9 ALC5651 Datasheet 8.56. 8.57. 8.58. 8.59. 8.60. 8.61. 8.62. 8.63. 8.64. 8.65. 8.66. 8.67. 8.68. 8.69. 8.70. 8.71. 8.72. 8.73. 8.74. 8.75. 8.76. 8.77. 8.78. 8.79. 8.80. 8.81. 8.82. 8.83. 8.84. 8.85. 8.86. 8.87. 8.88. 8.89. 8.90. 8.91. 8.92. 8.93. 8.94. 8.95. 8.96. 8.97. 8.98. 8.99. 8.100. 8.101. 8.102. 8.103. 8.104. 8.105. 8.106. 9. MX-84H: ASRC CONTROL 2 ..................................................................................................................................... 85 MX-85H: ASRC CONTROL 3 ..................................................................................................................................... 86 MX-89H: ASRC CONTROL 4 ..................................................................................................................................... 86 MX-8EH: HP AMP CONTROL 1 .................................................................................................................................. 87 MX-8FH: HP AMP CONTROL 2 .................................................................................................................................. 88 MX-93H: MICBIAS CONTROL .................................................................................................................................. 88 MX-94H: JACK DETECTION CONTROL ....................................................................................................................... 88 MX-B0H: EQ CONTROL 1 .......................................................................................................................................... 89 MX-B1H: EQ CONTROL 2 .......................................................................................................................................... 90 MX-B4H: DRC/AGC CONTROL 1 ............................................................................................................................. 91 MX-B5H: DRC/AGC CONTROL 2 ............................................................................................................................. 92 MX-B6H: DRC/AGC CONTROL 3 ............................................................................................................................. 94 MX-BBH: JACK DETECTION CONTROL 1 ................................................................................................................... 95 MX-BCH: JACK DETECTION CONTROL 2 ................................................................................................................... 96 MX-BDH: IRQ CONTROL 1 ....................................................................................................................................... 96 MX-BEH: IRQ CONTROL 2 ........................................................................................................................................ 97 MX-BFH: GPIO AND INTERNAL STATUS ................................................................................................................... 98 MX-C0H: GPIO CONTROL 1 ...................................................................................................................................... 99 MX-C1H: GPIO CONTROL 2 .................................................................................................................................... 100 MX-C2H: GPIO CONTROL 3 .................................................................................................................................... 101 MX-CFH: SOUNZREAL BASSBACK CONTROL ......................................................................................................... 102 MX-D0H: SOUNZREAL TRUTREBLE CONTROL 1 ..................................................................................................... 102 MX-D1H: SOUNZREAL TRUTREBLE CONTROL 2 ..................................................................................................... 103 MX-D3H: WIND FILTER CONTROL 1 ....................................................................................................................... 104 MX-D4H: WIND FILTER CONTROL 2 ....................................................................................................................... 104 MX-D9H: SOFT VOLUME & ZCD CONTROL ............................................................................................................ 105 MX-FAH: GENERAL CONTROL 1 ............................................................................................................................. 106 PR-3DH: ADC/DAC RESET CONTROL .................................................................................................................. 106 PR-63H: SOUNZREAL OMNISOUND CONTROL ......................................................................................................... 107 PR-A0H: EQ LOW PASS FILTER COEFFICIENT (LPF:A1) ......................................................................................... 108 PR-A1H: EQ LOW PASS FILTER GAIN (LPF:H0) ..................................................................................................... 108 PR-A2H: EQ BAND 1 COEFFICIENT (BPF1:A1) ....................................................................................................... 108 PR-A3H: EQ BAND 1 COEFFICIENT (BPF1:A2) ....................................................................................................... 108 PR-A4H: EQ BAND 1 GAIN (BPF1:H0) ................................................................................................................... 109 PR-A5H: EQ BAND 2 COEFFICIENT (BPF2:A1) ....................................................................................................... 109 PR-A6H: EQ BAND 2 COEFFICIENT (BPF2:A2) ....................................................................................................... 109 PR-A7H: EQ BAND 2 GAIN (BPF2:H0) ................................................................................................................... 109 PR-A8H: EQ BAND 3 COEFFICIENT (BPF3:A1) ....................................................................................................... 110 PR-A9H: EQ BAND 3 COEFFICIENT (BPF3:A2) ....................................................................................................... 110 PR-AAH: EQ BAND 3 GAIN (BPF3:H0) .................................................................................................................. 110 PR-ABH: EQ BAND 4 COEFFICIENT (BPF4:A1) ....................................................................................................... 110 PR-ACH: EQ BAND 4 COEFFICIENT (BPF4:A2) ....................................................................................................... 111 PR-ADH: EQ BAND 4 GAIN (BPF4:H0) .................................................................................................................. 111 PR-AEH: EQ HIGH PASS FILTER 1 COEFFICIENT (HPF1:A1) ................................................................................... 111 PR-AFH: EQ HIGH PASS FILTER 1 GAIN (HPF1:H0) .......................................................................................... 111 PR-B0H: EQ HIGH PASS FILTER 2 COEFFICIENT (HPF2:A1) ............................................................................... 112 PR-B1H: EQ HIGH PASS FILTER 2 COEFFICIENT (HPF2:A2) ............................................................................... 112 PR-B2H: EQ HIGH PASS FILTER 2 GAIN (HPF2:H0) ........................................................................................... 112 PR-B3H: EQ PRE VOLUME CONTROL ................................................................................................................. 112 PR-B4H: EQ POST VOLUME CONTROL ............................................................................................................... 113 MX-FEH: VENDOR ID ........................................................................................................................................ 113 ELECTRICAL CHARACTERISTICS ........................................................................................................................ 114 9.1. DC CHARACTERISTICS ............................................................................................................................................. 114 9.1.1. Absolute Maximum Ratings ................................................................................................................................ 114 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices vi Rev. 0.9 ALC5651 Datasheet 9.1.2. Recommended Operating Conditions ................................................................................................................. 114 9.1.3. Static Characteristics ......................................................................................................................................... 114 9.2. ANALOG PERFORMANCE CHARACTERISTICS ............................................................................................................ 115 9.3. SIGNAL TIMING ........................................................................................................................................................ 117 9.3.1. I2C Control Interface .......................................................................................................................................... 117 9.3.2. I2S/PCM Interface Master Mode ........................................................................................................................ 118 9.3.3. I2S/PCM Interface Slave Mode ........................................................................................................................... 119 10. APPLICATION CIRCUITS ..................................................................................................................................... 120 11. PACKAGE INFORMATION ................................................................................................................................... 122 12. ORDERING INFORMATION ................................................................................................................................. 123 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices vii Rev. 0.9 ALC5651 Datasheet List of Tables TABLE 1. TABLE 2. TABLE 3. TABLE 4. TABLE 5. TABLE 6. TABLE 7. TABLE 8. TABLE 9. TABLE 10. TABLE 11. TABLE 12. TABLE 13. TABLE 14. TABLE 15. TABLE 16. TABLE 17. TABLE 18. TABLE 19. TABLE 20. TABLE 21. TABLE 22. TABLE 23. TABLE 24. TABLE 25. TABLE 26. TABLE 27. TABLE 28. TABLE 29. TABLE 30. TABLE 31. TABLE 32. TABLE 33. TABLE 34. TABLE 35. TABLE 36. TABLE 37. TABLE 38. TABLE 39. TABLE 40. TABLE 41. TABLE 42. TABLE 43. TABLE 44. TABLE 45. TABLE 46. TABLE 47. TABLE 48. TABLE 49. TABLE 50. TABLE 51. DIGITAL I/O PINS .......................................................................................................................................................... 8 ANALOG I/O PINS .......................................................................................................................................................... 9 FILTER/REFERENCE ....................................................................................................................................................... 9 POWER/GROUND ......................................................................................................................................................... 10 POWER SUPPLY FOR BEST PERFORMANCE................................................................................................................... 11 POWER SUPPLY CONDITION FOR POWER DOWN LEAKAGE.......................................................................................... 11 RESET OPERATION ...................................................................................................................................................... 13 POWER-ON RESET VOLTAGE....................................................................................................................................... 13 CLOCK SETTING TABLE FOR 48K (UNIT: MHZ) .......................................................................................................... 15 CLOCK SETTING TABLE FOR 44.1K (UNIT: MHZ) ..................................................................................................... 15 THE RELATIVE OF SYSCLK/BCLK/LRCK ............................................................................................................... 16 REGISTER SETTINGS FOR ASRC FUNCTION ON SLAVE MODE ................................................................................... 18 SAMPLE RATE WITH FILTER COEFFICIENT FOR WIND FILTER..................................................................................... 35 ADDRESS SETTING (0X34H) ...................................................................................................................................... 37 WRITE WORD PROTOCOL ........................................................................................................................................ 38 READ WORD PROTOCOL .......................................................................................................................................... 38 REGISTER MAP .......................................................................................................................................................... 44 MX-00H: S/W RESET & DEVICE ID .......................................................................................................................... 47 MX-02H: HEADPHONE OUTPUT CONTROL ................................................................................................................ 47 MX-03H: LINE OUTPUT CONTROL 1 ........................................................................................................................ 49 MX-05H: LINE OUTPUT CONTROL 2 ........................................................................................................................ 50 MX-0DH: IN1/2 INPUT CONTROL ............................................................................................................................. 50 MX-0EH: IN3 INPUT CONTROL ................................................................................................................................. 51 MX-0FH: INL & INR VOLUME CONTROL................................................................................................................. 52 MX-19H: DACL1/R1 DIGITAL VOLUME .................................................................................................................. 53 MX-1AH: DACL2/R2 DIGITAL VOLUME.................................................................................................................. 53 MX-1BH: DACL2/R2 MUTE/UN-MUTE CONTROL ................................................................................................... 55 MX-1CH: STEREO1 ADC DIGITAL VOLUME CONTROL ............................................................................................ 56 MX-1DH: STEREO2 ADC DIGITAL VOLUME CONTROL ............................................................................................ 57 MX-1EH: ADC DIGITAL BOOST GAIN CONTROL ...................................................................................................... 58 MX-27H: STEREO1 ADC DIGITAL MIXER CONTROL ................................................................................................ 59 MX-28H: STEREO2 ADC DIGITAL MIXER CONTROL ................................................................................................ 59 MX-29H: STEREO ADC TO DAC DIGITAL MIXER CONTROL .................................................................................... 60 MX-2AH: STEREO DAC DIGITAL MIXER CONTROL ................................................................................................. 61 MX-2BH: DD DIGITAL MIXER CONTROL ................................................................................................................. 62 MX-2FH: INTERFACE DAC/ADC DATA CONTROL ................................................................................................... 63 MX-30 PDM OUTPUT CONTROL ............................................................................................................................... 63 MX-31 PDM COMMAND CONTROL 1........................................................................................................................ 64 MX-32 PDM COMMAND CONTROL 2........................................................................................................................ 64 MX-3BH: RECMIXL CONTROL 1 ............................................................................................................................ 64 MX-3CH: RECMIXL CONTROL 2 ............................................................................................................................ 65 MX-3DH: RECMIXR CONTROL 1 ............................................................................................................................ 66 MX-3EH: RECMIXR CONTROL 2 ............................................................................................................................ 67 MX-45H: HPOMIX CONTROL .................................................................................................................................. 68 MX-4DH: OUTMIXL CONTROL 1 ............................................................................................................................ 68 MX-4EH: OUTMIXL CONTROL 2 ............................................................................................................................ 69 MX-4FH: OUTMIXL CONTROL 3 ............................................................................................................................ 70 MX-50H: OUTMIXR CONTROL 1 ............................................................................................................................ 70 MX-51H: OUTMIXR CONTROL 2 ............................................................................................................................ 71 MX-52H: OUTMIXR CONTROL 3 ............................................................................................................................ 72 MX-53H: LOUTMIX CONTROL ............................................................................................................................... 72 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices viii Rev. 0.9 ALC5651 Datasheet TABLE 52. TABLE 53. TABLE 54. TABLE 55. TABLE 56. TABLE 57. TABLE 58. TABLE 59. TABLE 60. TABLE 61. TABLE 62. TABLE 63. TABLE 64. TABLE 65. TABLE 66. TABLE 67. TABLE 68. TABLE 69. TABLE 70. TABLE 71. TABLE 72. TABLE 73. TABLE 74. TABLE 75. TABLE 76. TABLE 77. TABLE 78. TABLE 79. TABLE 80. TABLE 81. TABLE 82. TABLE 83. TABLE 84. TABLE 85. TABLE 86. TABLE 87. TABLE 88. TABLE 89. TABLE 90. TABLE 91. TABLE 92. TABLE 93. TABLE 94. TABLE 95. TABLE 96. TABLE 97. TABLE 98. TABLE 99. TABLE 100. TABLE 101. TABLE 102. TABLE 103. TABLE 104. TABLE 105. TABLE 106. MX-61H: POWER MANAGEMENT CONTROL 1 ........................................................................................................... 73 MX-62H: POWER MANAGEMENT CONTROL 2 ........................................................................................................... 73 MX-63H: POWER MANAGEMENT CONTROL 3 ........................................................................................................... 74 MX-64H: POWER MANAGEMENT CONTROL 4 ........................................................................................................... 75 MX-65H: POWER MANAGEMENT CONTROL 5 ........................................................................................................... 76 MX-66H: POWER MANAGEMENT CONTROL 6 ........................................................................................................... 76 MX-6AH: PRIVATE REGISTER INDEX ........................................................................................................................ 77 MX-6CH: PRIVATE REGISTER DATA ......................................................................................................................... 77 MX-70H: I2S1 DIGITAL INTERFACE CONTROL.......................................................................................................... 78 MX-71H: I2S2 DIGITAL INTERFACE CONTROL.......................................................................................................... 78 MX-73H: ADC/DAC CLOCK CONTROL 1 ................................................................................................................. 79 MX-74H: ADC/DAC CLOCK CONTROL 2 ................................................................................................................. 80 MX-75H: DIGITAL MICROPHONE CONTROL .............................................................................................................. 81 MX-77 TDM INTERFACE CONTROL 1 ....................................................................................................................... 81 MX78 TDM CONTROL 2 ........................................................................................................................................... 82 MX79 TDM CONTROL 3 ........................................................................................................................................... 83 MX-80H: GLOBAL CLOCK CONTROL ........................................................................................................................ 84 MX-81H: PLL CONTROL 1 ........................................................................................................................................ 84 MX-82H: PLL CONTROL 2 ........................................................................................................................................ 85 MX-83H: ASRC CONTROL 1 ..................................................................................................................................... 85 MX-84H: ASRC CONTROL 2 ..................................................................................................................................... 85 MX-85H: ASRC CONTROL 3 ..................................................................................................................................... 86 MX-89H: ASRC CONTROL 4 ..................................................................................................................................... 86 MX-8EH: HP AMP CONTROL 1 ................................................................................................................................. 87 MX-8FH: HP AMP CONTROL 2 ................................................................................................................................. 88 MX-93H: MICBIAS CONTROL ................................................................................................................................. 88 MX-94H: JACK DETECTION CONTROL ...................................................................................................................... 88 MX-B0H: EQ CONTROL 1 ......................................................................................................................................... 89 MX-B1H: EQ CONTROL 2 ......................................................................................................................................... 90 MX-B4H: DRC/AGC CONTROL 1 ............................................................................................................................. 91 MX-B5H: DRC/AGC CONTROL 2 ............................................................................................................................. 92 MX-B6H: DRC/AGC CONTROL 3 ............................................................................................................................. 94 MX-BBH: JACK DETECTION CONTROL 1 .................................................................................................................. 95 MX-BCH: JACK DETECTION CONTROL 2 .................................................................................................................. 96 MX-BDH: IRQ CONTROL 1 ....................................................................................................................................... 96 MX-BEH: IRQ CONTROL 2 ....................................................................................................................................... 97 MX-BFH: GPIO AND INTERNAL STATUS .................................................................................................................. 98 MX-C0H: GPIO CONTROL 1 ..................................................................................................................................... 99 MX-C1H: GPIO CONTROL 2 ................................................................................................................................... 100 MX-C2H: GPIO CONTROL 3 ................................................................................................................................... 101 MX-CFH: SOUNZREAL BASSBACK CONTROL ........................................................................................................ 102 MX-D0H: SOUNZREAL TRUTREBLE CONTROL 1 .................................................................................................... 102 MX-D1H: SOUNZREAL TRUTREBLE CONTROL 2 .................................................................................................... 103 MX-D3H: WIND FILTER CONTROL 1 ....................................................................................................................... 104 MX-D3H: WIND FILTER CONTROL 2 ....................................................................................................................... 104 MX-D9H: SOFT VOLUME & ZCD CONTROL ........................................................................................................... 105 MX-FAH: GENERAL CONTROL 1............................................................................................................................. 106 PR-3DH: ADC/DAC RESET CONTROL .................................................................................................................. 106 PR-63H: SOUNZREAL OMNISOUND CONTROL ...................................................................................................... 107 PR-A0H: EQ LOW PASS FILTER COEFFICIENT (LPF:A1) ....................................................................................... 108 PR-A1H: EQ LOW PASS FILTER GAIN (LPF:H0) ................................................................................................... 108 PR-A2H: EQ BAND 1 COEFFICIENT (BPF1:A1) ..................................................................................................... 108 PR-A3H: EQ BAND 1 COEFFICIENT (BPF1:A2) ..................................................................................................... 108 PR-A4H: EQ BAND 1 GAIN (BPF1:H0) ................................................................................................................. 109 PR-A5H: EQ BAND 2 COEFFICIENT (BPF2:A1) ..................................................................................................... 109 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices ix Rev. 0.9 ALC5651 Datasheet TABLE 107. TABLE 108. TABLE 109. TABLE 110. TABLE 111. TABLE 112. TABLE 113. TABLE 114. TABLE 115. TABLE 116. TABLE 117. TABLE 118. TABLE 119. TABLE 120. TABLE 121. TABLE 122. TABLE 123. TABLE 124. TABLE 125. TABLE 126. TABLE 127. TABLE 128. TABLE 129. TABLE 130. PR-A6H: EQ BAND 2 COEFFICIENT (BPF2:A2) ..................................................................................................... 109 PR-A7H: EQ BAND 2 GAIN (BPF2:H0) ................................................................................................................. 109 PR-A8H: EQ BAND 3 COEFFICIENT (BPF3:A1) ..................................................................................................... 110 PR-A9H: EQ BAND 3 COEFFICIENT (BPF3:A2) ..................................................................................................... 110 PR-AAH: EQ BAND 3 GAIN (BPF3:H0) ................................................................................................................ 110 PR-ABH: EQ BAND 4 COEFFICIENT (BPF4:A1) .................................................................................................... 110 PR-ACH: EQ BAND 4 COEFFICIENT (BPF4:A2) .................................................................................................... 111 PR-ADH: EQ BAND 4 GAIN (BPF4:H0) ................................................................................................................ 111 PR-AEH: EQ HIGH PASS FILTER 1 COEFFICIENT (HPF1:A1) ................................................................................ 111 PR-AFH: EQ HIGH PASS FILTER 1 GAIN (HPF1:H0) ............................................................................................ 111 PR-B0H: EQ HIGH PASS FILTER 2 COEFFICIENT (HPF2:A1) ................................................................................. 112 PR-B1H: EQ HIGH PASS FILTER 2 COEFFICIENT (HPF2:A2) ................................................................................. 112 PR-B2H: EQ HIGH PASS FILTER 2 GAIN (HPF2:H0) ............................................................................................. 112 PR-B3H: EQ PRE VOLUME CONTROL ................................................................................................................... 112 PR-B4H: EQ POST VOLUME CONTROL ................................................................................................................. 113 MX-FEH: VENDOR ID........................................................................................................................................... 113 ABSOLUTE MAXIMUM RATINGS ............................................................................................................................ 114 RECOMMENDED OPERATING CONDITIONS............................................................................................................. 114 STATIC CHARACTERISTICS .................................................................................................................................... 114 ANALOG PERFORMANCE CHARACTERISTICS ......................................................................................................... 115 I2C TIMING ............................................................................................................................................................ 117 TIMING OF I2S/PCM MASTER MODE ..................................................................................................................... 118 I2S/PCM SLAVE MODE TIMING ............................................................................................................................. 119 ORDERING INFORMATION ...................................................................................................................................... 123 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices x Rev. 0.9 ALC5651 Datasheet List of Figures FIGURE 1. FIGURE 2. FIGURE 3. FIGURE 4. FIGURE 5. FIGURE 6. FIGURE 7. FIGURE 8. FIGURE 9. FIGURE 10. FIGURE 11. FIGURE 12. FIGURE 13. FIGURE 14. FIGURE 15. FIGURE 16. FIGURE 17. FIGURE 18. FIGURE 19. FIGURE 20. FIGURE 21. FIGURE 22. FIGURE 23. FIGURE 24. FIGURE 25. FIGURE 26. FIGURE 27. FIGURE 28. FIGURE 29. FIGURE 30. FIGURE 31. FIGURE 32. FIGURE 33. FIGURE 34. FIGURE 35. FIGURE 36. FIGURE 37. BLOCK DIAGRAM ....................................................................................................................................................... 4 AUDIO MIXER PATH ................................................................................................................................................... 5 DIGITAL MIXER PATH ................................................................................................................................................ 6 PIN ASSIGNMENTS ...................................................................................................................................................... 7 POWER ON/OFF SEQUENCE ...................................................................................................................................... 12 AUDIO CLOCK TREE ................................................................................................................................................. 14 SYSTEM CONNECTION FOR ASRC FUNCTION ........................................................................................................... 17 TDM INTERFACE APPLICATION - 1 ........................................................................................................................... 18 TDM INTERFACE APPLICATION - 2 ........................................................................................................................... 19 PCM MONO DATA MODE A FORMAT (BCLK POLARITY=0) ............................................................................ 20 PCM MONO DATA MODE A FORMAT (BCLK POLARITY=1) ............................................................................ 20 PCM MONO DATA MODE B FORMAT (BCLK POLARITY=0) ............................................................................ 21 PCM STEREO DATA MODE A FORMAT (BCLK POLARITY=0) ............................................................................ 21 PCM TDM DATA MODE A FORMAT (BCLK POLARITY=0) ............................................................................... 21 PCM STEREO DATA MODE B FORMAT (BCLK POLARITY=0).............................................................................. 22 PCM TDM DATA MODE B FORMAT (BCLK POLARITY=0) ................................................................................. 22 I2S DATA FORMAT (BCLK POLARITY=0)............................................................................................................. 22 I2S TDM DATA FORMAT (BCLK POLARITY=0) ................................................................................................... 23 LEFT-JUSTIFIED DATA FORMAT (BCLK POLARITY=0) ........................................................................................ 23 LEFT-JUSTIFIED TDM DATA FORMAT (BCLK POLARITY=0) ............................................................................... 23 4-CHANNEL RECORDING PATH ................................................................................................................................ 24 4-CHANNEL PLAYBACK PATH .................................................................................................................................. 25 DAC DRC FUNCTION BLOCK .................................................................................................................................. 31 ADC AGC FUNCTION BLOCK .................................................................................................................................. 31 DRC/AGC FOR PLAYBACK/RECORDING MODE ....................................................................................................... 32 DRC/AGC FOR NOISE GATE MODE ......................................................................................................................... 33 DATA TRANSFER OVER I2C CONTROL INTERFACE ................................................................................................... 37 GPIO FUNCTION BLOCK .......................................................................................................................................... 39 IRQ FUNCTION BLOCK............................................................................................................................................. 40 JD SOURCE SELECTION ............................................................................................................................................ 41 POWER MANAGEMENT ............................................................................................................................................. 42 PDM COMMAND PATTERN FORMAT ........................................................................................................................ 43 I2C CONTROL INTERFACE ....................................................................................................................................... 117 TIMING OF I2S/PCM MASTER MODE ...................................................................................................................... 118 I2S/PCM SLAVE MODE TIMING ............................................................................................................................. 119 APPLICATION CIRCUIT ........................................................................................................................................... 121 PACKAGE DIMENSION ............................................................................................................................................ 122 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices xi Rev. 0.9 ALC5651 Datasheet 1. General Description The ALC5651 is a high performance, low power, dual I2S interface audio CODEC. First I2S interface can support dual mode: normal I2S and I2S with TDM (Time Division Multiplexing) interface. The TDM interface can transmit/receive up to 8 channels data. The transmitted data can from analog input or digital microphone input. Also the received data can to headphone output, line output or PDM output. Asynchronous Sample Rate Converter (ASRC) provides independent and asynchronous connections to different processors, such as an application processor, baseband processor or wireless transceiver(BT). The Pulse Density Modulation (PDM) output interface can drive external PDM Class-D amplifier. The PDM interface is also build in 8-bits pattern control function for control external PDM amplifier. The ALC5651 features an ultra low power cap-free headphone amplifier. It consumes only less than 5.5mW power during playback, providing mobile system longer battery life under headphone listening mode. The integrated DRC(Dynamic Range Controller) and 7-band parametric Equalizer provide further digital sound processing capability of audio playback paths. The DRC in ALC5651 continuously monitors the DAC output level. When the power level is low, it increases the input signal gain to make it sound louder. At the same time, if a peaking signal is detected, it autonomously reduces the applied gain to avoid hard clipping. It ensures the maximum/consistent signal amplitude without producing audio clipping and speaker damage. The 7-band parametric Equalizer contains 7 independent filters with programmable gain, center frequency and bandwidth to tailor the frequency characteristics of embedded speaker system according to user preferences. For microphone recording, the DRC in ALC5651 can be used as AGC(Auto Gain Controller) to maintain a constant recording volume. Besides, a dynamic wind reduction filter is built in on recording path. The filter can detect the level of wind noise and on/off dynamically to keep the recording quality. SounzRealTM digital sound effect technology is configurable to provide better listening experience. OminiSound EXPTM expands the sound field of embedded stereo speaker. BassBack EXPTM (low frequency effect) to listeners without subwoofer needed. TruTreble EXPTM adds processed harmonic tones at high frequency, bringing more melody and details for music listening. ALC5651 only requires two voltage supplies and consume ultra low power, making it ideal for mobile devices. Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 1 Rev. 0.9 ALC5651 Datasheet 2. Features Analog Features:         Digital-to-Analog Converter with 100dBA SNR Analog-to-Digital Converter with 94dBA SNR Differential analog microphone inputs with boost pre-amplifiers and low noise microphone bias  +20/+24/+30/+35/+40/+44/+50/+52 dB microphone boost gain  MIC input to ADC with 50dB boost gain, SNR > 66dBA and THD+N < -65dB  Adjustable MICBIAS (0.9*MICVDD or 0.75*MICVDD) Stereo line inputs  Line input to ADC with 0dB gain, SNR >= 94dBA, THD+N = 100dBA, THD+N Slot0/1/2/3 is ADC1_L/ADC1_R/ADC2_L/ADC2_R If rx_adc_start=1’b =>Slot4/5/6/7 is ADC1_L/ADC1_R/ADC2_L/ADC2_R 1’b: adc data swap(adc2slot0/1) If rx_adc_start=0’b =>Slot0/1/2/3 is ADC2_L/ADC2_R/ADC1_L/ADC1_R If rx_adc_start=1’b =>Slot4/5/6/7 is ADC2_L/ADC2_R/ADC1_L/ADC1_R ADC1/2 to ADCDAT Data Start Location 0’b: slot0 start 1’b: slot4 start Data Swap for Slot0/1 in ADCDAT1 00’b: L/R 01’b: R/L 10’b: L/L 11’b: R/R Data Swap for Slot2/3 in ADCDAT1 00’b: L/R 01’b: R/L 10’b: L/L 11’b: R/R Data Swap for Slot4/5 in ADCDAT1 00’b: L/R 01’b: R/L 10’b: L/L 11’b: R/R Data Swap for Slot6/7 in ADCDAT1 00’b: L/R 01’b: R/L 10’b: L/L 11’b: R/R 8.50. MX-78h: TDM Interface Control 2 Default: 4000’h Table 66. MX78 TDM control 2 Name Bits Read / Write Reset Status Description sel_i2s_lrck_polarity 15 R/W 0’h LRCK Polarity Inverter 0’b: Normal 1’b: Invert tdm_ch_valid 14 R/W 1’h TDM Slot Valid Data Control 0’b: CH0/1 Valid 1’b: CH0/1/2/3 Valid tdm_ch_valid_en 13 R/W 0’h TDM Slot Valid Data Enable Control Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 82 Rev. 0.9 ALC5651 Datasheet 12 11 R R/W 0’h 0’h Reserved mute_tdm2_outl 10:8 7 R R/W 0’h 0’h mute_tdm2_outr 6 R/W 0’h mute_tdm4_outl 5 R/W 0’h mute_tdm4_outr 4 R/W 0’h 3:0 R 0’h Reserved lrck_pulse_sel Reserved 0’b: Disable 1’b: Enable Reserved LRCK Pulse Width Select (Master Mode Only) 0’b: One BCLK width 1’b: One channel slot width Reserved ADC1 Left Data Mute/Un-mute Control 0’b : Un-Mute 1’b : Mute ADC1 Right Data Mute/Un-mute Control 0’b : Un-Mute 1’b : Mute ADC2 Left Data Mute/Un-mute Control 0’b : Un-Mute 1’b : Mute ADC2 Right Data Mute/Un-mute Control 0’b : Un-Mute 1’b : Mute Reserved 8.51. MX-79h: TDM Interface Control 3 Default: 0123’h Name Reserved sel_i2s_tx_l_ch2 Reserved sel_i2s_tx_r_ch2 Reserved sel_i2s_tx_l_ch4 Reserved sel_i2s_tx_r_ch4 Table 67. MX79 TDM control 3 Bits Read / Write Reset Status Description 15 R 0’h Reserved 14:12 R/W 0’h IF1_DAC1_L Data Selection 000’b: Slot0 001’b: Slot1 100’b: Slot4 101’b: Slot5 11 R 0’h Reserved 10:8 R/W 1’h IF1_DAC1_R Data Selection 000’b: Slot0 001’b: Slot1 100’b: Slot4 101’b: Slot5 7 R 0’h Reserved IF1_DAC2_L Data Selection 6:4 R/W 2’h 000’b: Slot0 001’b: Slot1 100’b: Slot4 101’b: Slot5 3 R 0’h Reserved 2:0 R/W 3’h IF1_DAC2_R Data Selection 000’b: Slot0 001’b: Slot1 100’b: Slot4 101’b: Slot5 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 83 010’b: Slot2 110’b: Slot6 011’b: Slot3 111’b: Slot7 010’b: Slot2 110’b: Slot6 011’b: Slot3 111’b: Slot7 010’b: Slot2 110’b: Slot6 011’b: Slot3 111’b: Slot7 010’b: Slot2 110’b: Slot6 011’b: Slot3 111’b: Slot7 Rev. 0.9 ALC5651 Datasheet 8.52. MX-80h: Global Clock Control Default: 0000’h Name sel_sysclk1 sel_pll_sour reserved sel_pll_pre_div reserved Table 68. MX-80h: Global Clock Control Bits Read/Write Reset State Description 15:14 R/W 0’h System Clock Source MUX Control 00’b: MCLK 01’b: PLL 10’b: Reserved 11’b: Reserved 13:12 R/W 0’h PLL Source Selection 00’b: From MCLK 01’b: From BCLK1 10’b: From BCLK2 11’b: Reserved 11:4 R 0’h Reserved 3 R/W 0’h PLL Pre-Divider 0’b: ÷ 1 1’b: ÷ 2 2:0 R 0’h Reserved 8.53. MX-81h: PLL Control 1 Default: 0000’h Name Pll_n_code Bits 15:7 Reserved Pll_k_code 6:5 4:0 Table 69. MX-81h: PLL Control 1 Read/Write Reset State Description R/W 0’h PLL N[8:0] Code 000000000’b: Div 2 000000001’b: Div 3 … 111111111’b: Div 513 R 0’h Reserved R/W 0’h PLL K[4:0] Code 00000’b: Div 2 00001’b: Div 3 … 11111’b: Div 33 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 84 Rev. 0.9 ALC5651 Datasheet 8.54. MX-82h: PLL Control 2 Default: 0000’h Name Pll_m_code Pll_m_bypass Reserved Table 70. MX-82h: PLL Control 2 Bits Read/Write Reset State Description 15:12 R/W 0’h PLL M[3:0] Code 0000’b: Div 2 0001’b: Div 3 … 1111’b: Div 17 11 R/W 0’h Bypass PLL M Code 0’b : No bypass 1’b : Bypass 10:0 R 0’h Reserved 8.55. MX-83h: ASRC Control 1 Default: 0800’h Name sel_if1_asrc reserved sel_if2_asrc reserved sel_dmic1_mode reserved Table 71. MX-83h: ASRC Control 1 Bits Read/Write Reset State Description 15 R/W 0’h Mode Select Control for I2S1 0’b : Normal Mode 1’b : ASRC Mode 14:13 R/W 0’h Reserved 12 R/W 0’h Mode Select Control for I2S2 0’b : Normal Mode 1’b : ASRC Mode 11:10 R/W 2’h Reserved 9 R/W 0’h Select Control for ASRC Mode in DMIC1 Function 0’b : Normal Mode 1’b : ASRC Mode 8:0 R 0’h Reserved 8.56. MX-84h: ASRC Control 2 Default: 0000’h Name en_if1_asrc Bits 15 en_if2_asrc 14 Table 72. MX-84h: ASRC Control 2 Read/Write Reset State Description R/W 0’h Enable Control for I2S1 0’b: Normal Mode 1’b: ASRC Mode R/W 0’h Enable Control for I2S2 0’b: Normal Mode 1’b: ASRC Mode Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 85 Rev. 0.9 ALC5651 Datasheet Name Bits sel_stereo1_dac_mod 13 e Read/Write R/W sel_stereo2_dac_mod e 12 R/W sel_adc_mode 11 R/W 10:0 R/W reserved Reset State Description 0’h Select Control for Stereo1 DAC Filter 0’b: Normal Mode 1’b: ASRC Mode 0’h Select Control for Stereo2 DAC Filter 0’b: Normal Mode 1’b: ASRC Mode 0’h Select Control for ADC Stereo Filter 0’b: Normal Mode 1’b: ASRC Mode 0’h Reserved 8.57. MX-85h: ASRC Control 3 Default: 0008’h Table 73. MX-85h: ASRC Control 3 Name Bits Read/Write Reset State Description I2s1_asrcin_fsi_rate_ 15:12 R/W 0’h Set I2S1 Input Sample Rate manual 0’h: 48K 1’h: 96k 2’h: 192k 3’h: 32K 4’h: 48K 5’h: 96k 6’h: 192k 7’h: 32K 8’h: 48K 9’h: 96k A’h: 192k B’h: reserve C’h: 22.05K D’h: reserve E’h: 11.025K F’h: reserve I2s2_asrcin_fsi_rate_ 11:8 R/W 0’h Set I2S2 Input Sample Rate manual 0’h: 48K 1’h: 96k 2’h: 192k 3’h: 32K 4’h: 48K 5’h: 96k 6’h: 192k 7’h: 32K 8’h: 48K 9’h: 96k A’h: 192k B’h: reserve C’h: 22.05K D’h: reserve E’h: 11.025K F’h: reserve reserved 7:0 R/W 0’h Reserved 8.58. MX-89h: ASRC Control 4 Default: 0000’h Name reserved i2s1_track_prediv reserved i2s2_track_prediv Table 74. MX-89h: ASRC Control 4 Bits Read/Write Reset State Description 15 R 0’h Reserved 14:12 R/W 0’h Set I2S1 Clock Division for Stereo Filter 000’b: div1 001’b: div2 011’b: div4 100’b: div6 110’b: div12 111’b: div16 11 R 0’h Reserved 10:8 R/W 0’h Set I2S2 Clock Division for Mono Filter 000’b: div1 001’b: div2 011’b: div4 100’b: div6 110’b: div12 111’b: div16 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 86 010’b: div3 101’b: div8 010’b: div3 101’b: div8 Rev. 0.9 ALC5651 Datasheet Name reserved Bits 7:0 Read/Write R/W Reset State Description 0’h Reserved 8.59. MX-8Eh: HP Amp Control 1 Default: 0004’h Name Smttrig_hp reserved En_smt_l_hp En_smt_r_hp Pdn_hp Softgen_rstn Softgen_rstp En_out_hp Pow_pump_hp En_softgen_hp reserved Pow_capless Table 75. MX-8Eh: HP Amp Control 1 Read/Write Reset State Description Enable Softgen Trigger for Soft Mute Depop R/W 0’h 0’b: Disable 1’b: Enable Reserved 14:10 R/W 0’h Enable HP_L Mute/Un-Mute Depop 9 R/W 0’h 0’b: Disbale 1’b: Enable Enable HP_R Mute/Un-Mute Depop 8 R/W 0’h 0’b: Disbale 1’b: Enable Capless Depop Power Down Control 7 R/W 0’h 0’b: Disbale 1’b: Enable Reset Softgen to Initialize SOFTP=1 6 R/W 0’h 0’b: Disbale 1’b: Reset Reset Softgen to Initialize SOFTP=0 5 R/W 0’h 0’b: Disbale 1’b: Reset Enable Headphone Output 4 R/W 0’h 0’b: Disable 1’b: Enable Charge Pump Power Control 3 R/W 0’h 0’b: Power Down 1’b: Power On Power On Soft Generator 2 R/W 1’h 0’b: Power down 1’b: Power on Reserved 1 R/W 0’h HP Amp All Power On Control 0 R/W 0’h 0’b: Power Down 1’b: Power On Bits 15 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 87 Rev. 0.9 ALC5651 Datasheet 8.60. MX-8Fh: HP Amp Control 2 Default: 1100’h Name reserved Depop_mode_hp reserved En_depop_mode1 reserved Table 76. MX-8Fh: HP Amp Control 2 Bits Read/Write Reset State Description Reserved 15:14 R 0’h Select HP Depop Mode 13 R/W 0’h 0’b: Depop mode 1 1’b: Depop mode 2 Reserved 12:7 R/W 22’h HP Depop Mode 1 Control 6 R/W 0’h 0’b: Disbale 1’b: Enable Reserved 5:0 R/W 0’h 8.61. MX-93h: MICBIAS Control Default: 2000’h Name Sel_micbias1 reserved Pow_mic1_ovcd Mic1_ovcd_th_sel reserved Table 77. MX-93h: MICBIAS Control Bits Read/Write Reset State Description 15 R/W 0’h MICBIAS1 Output Voltage Control 0’b: 0.9 * MICVDD 1’b: 0.75 * MICVDD 14:12 R/W 2’h Reserved 11 R/W 0’h MICBIAS1 Short Current Detector Control 0’b: Disable 1’b: Enable 10:9 R/W 0’h MICBIAS1 Short Current Detector Threshold 00’b: 600uA 01’b: 1500uA 1x’b: 2000uA Note: tolerance is 200uA 8:0 R/W 0’h reserved 8.62. MX-94h: Jack Detection Control Default: 0200’h Name Reserved Jad_cmp Table 78. MX-94h: Jack Detection Control Bits Read/Write Reset State Description 15:14 R 0’h Reserved 13 R 0’h JD2 Status Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 88 Rev. 0.9 ALC5651 Datasheet Name Pullup_jd Bits 11 Read/Write R/W Pulldown_jd 10 R/W Reserved Jd_m_cmp Pullup_jd_m 9:7 6:4 3 R/W R R/W 2 R/W 1:0 R/W Pulldown_jd_m Reserved Reset State Description 0’h JD2 Pull Up Control 0’b: Off 1’b: Pull up 0’h JD2 Pull Down Control 0’b: Off 1’b: Pull down 4’h Reserved 0’h JD_M Output 0’h JD_M Pull Up Control 0’b: Off 1’b: Pull up 0’h JD_M Pull Down Control 0’b: Off 1’b: Pull down 0’h Reserved 8.63. MX-B0h: EQ Control 1 Default: 2080’h Name eq_sour eq_para_update Bits 15 14 reserved sta_hpf2 13:7 6 sta_hpf1 5 sta_bpf4 4 Table 79. MX-B0h: EQ Control 1 Read/Write Reset State Description 0’h R/W EQ Path Control 0’b: DAC path 1’b: ADC path 0’h R/W EQ Parameter Update Control 0’b: No action 1’b: Update parameter R/W 41’h Reserved R 0’h EQ High Pass Filter (HPF2) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. R 0’h EQ High Pass Filter (HPF1) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. R 0’h EQ Band-4 (BP4) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 89 Rev. 0.9 ALC5651 Datasheet Name sta_bpf3 Bits 3 Read/Write R sta_bpf2 2 R sta_bpf1 1 R sta_lpf 0 R Reset State Description 0’h EQ Band-3 (BP3) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. 0’h EQ Band-2 (BP2) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. 0’h EQ Band-1 (BP1) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. 0’h EQ Low Pass Filter (LPF) Status. 0’b: Normal 1’b: Overflow. This bit is set if overflow had ever occurred. Write 1 to clear it. 8.64. MX-B1h: EQ Control 2 Default: 0000’h Name reserved reg_typ_hpf_en Bits 15:9 8 reg_typ_lpf_en 7 en_hpf2 6 en_hpf1 5 en_bpf4 4 en_bpf3 3 Table 80. MX-B1h: EQ Control 2 Read/Write Reset State Description 0’h R Reserved 0’h R/W EQ High Pass Filter1 Mode Control 0’b: High frequency shelving filter 1’b: 1st order Butterworth HPF (-20dB per decade) 0’h R/W EQ Low Pass Filter Mode Control 0’b: Low frequency shelving filter 1’b: 1st order Butterworth LPF (-20dB per decade) 0’h R/W EQ High Pass 2nd Butterworth Filter (HPF) Control. 0’b: Disabled (bypass) and reset 1’b: Enabled 0’h R/W EQ High Pass Filter (HPF) Control. 0’b: Disabled (bypass) and reset 1’b: Enabled 0’h R/W EQ Band-4 (BP4) shelving Filter Control. 0’b: Disabled and reset 1’b: Enabled. 0’h R/W EQ Band-3 (BP3) shelving Filter Control. 0’b: Disabled and reset 1’b: Enabled. Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 90 Rev. 0.9 ALC5651 Datasheet Name en_bpf2 Bits 2 Read/Write R/W en_bpf1 1 R/W en_lpf 0 R/W Reset State Description 0’h EQ Band-2 (BP2) shelving Filter Control. 0’b: Disabled and reset 1’b: Enabled. 0’h EQ Band-1 (BP1) shelving Filter Control. 0’b: Disabled and reset 1’b: Enabled. 0’h EQ Low Pass Filter (LPF) Filter Control. 0’b: Disabled and reset 1’b: Enabled. 8.65. MX-B4h: DRC/AGC Control 1 Default: 2206’h Name sel_drc_agc Bits 15:14 Table 81. MX-B4h: DRC/AGC Control 1 Read/Write Reset State Description R/W 0’h DRC/AGC Enable 00’b: Disable DRC/AGC 01’b: Enable DRC to DAC Path 10’b: Disable DRC/AGC 11’b: Enable AGC to ADC Path update_drc_agc_para 13 R 1’h m sel_drc_agc_atk Update DRC/AGC Parameter Write 1’b to update all DRC/AGC parameter 12:8 R/W 2’h Select DRC/AGC attack rate (0.375dB/TU) 00’h: 83 uSec 01’h: 0.167 mSec … 10’h: 5.46 Sec Others: Reserved Drc_agc_rate_sel 7:5 R/W 0’h DRC/AGC Rate Control for Sample Rate Change 001’b: 48kHz 010’b: 96kHz 011’b: 192kHz 101’b: 44.1kHz 110’b: 88.2kHz 111’b: 176.4kHz Others: Reserved Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 91 Rev. 0.9 ALC5651 Datasheet Name sel_rc_rate Bits 4:0 Read/Write R/W Reset State Description 6’h Select DRC/AGC recovery rate (0.375dB/TU) 00’h: 83 uSec 01’h: 0.167 mSec … 10’h: 5.46 Sec Others: Reserved  attack time=(4*2^n)/Sample_Rate, n = MX-B4[12:8], default=0.33mS  recovery time=(4*2^n)/Sample_Rate, n = MX-B4[4:0], default=5.3mS  When change I2S’s sample rate, the DRC/AGC rate control is need to be changed same with I2S’s sample rate. When change the DRC/AGC rate, the parameter of DRC/AGC isn’t need be modified. When I2S’s sample rate is below 48kHz, that need to set the DRC/AGC rate to 48kHz and re-calculate the DRC/AGC’s parameter by I2S’s sample rate. 8.66. MX-B5h: DRC/AGC Control 2 Default: 1F00’h Name reserved Bits 15:14 sel_drc_agc_post_bst 13:8 Table 82. MX-B5h: DRC/AGC Control 2 Read/Write Reset State Description R 0’h Reserved R/W 1f’h DRC/AGC Digital Post-Boost Gain (0.375dB/step) 00’h= -11.625dB ……………….. 3F’h= 12dB Others: Reserved En_drc_agc_compres 7 R/W 0’h s DRC/AGC Compression Function Control 0’b: Disable 1’b: Enable Sel_ratio 6:5 R/W 0’h DRC/AGC Compression Ratio Selection 00’b: 1:1 01’b: 1:2 10’b: 1:4 11’b: 1:8 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 92 Rev. 0.9 ALC5651 Datasheet Name sel_drc/agc_pre_bst Bits 4:0 Read/Write R/W Reset State Description 0’h DRC/AGC Digital Pre-Boost Gain (1.5dB/step) 00’h= 0dB 01’h= 1.5dB 02’h= 3dB 03’h= 4.5dB ……………….. 13’h= 28.5dBFS Others: Reserved Gain table: DEC HEX Boost Gain DEC HEX Boost Gain DEC HEX Boost Gain DEC HEX Boost Gain DEC HEX Boost Gain 0 0 -11.625 16 10 -5.625 32 20 0.375 48 30 6.375 64 40 1 1 -11.25 17 11 -5.25 33 21 0.75 49 31 6.75 65 41 2 2 -10.875 18 12 -4.875 34 22 1.125 50 32 7.125 66 42 3 3 -10.5 19 13 -4.5 35 23 1.5 51 33 7.5 67 43 4 4 -10.125 20 14 -4.125 36 24 1.875 52 34 7.875 68 44 5 5 -9.75 21 15 -3.75 37 25 2.25 53 35 8.25 69 45 6 6 -9.375 22 16 -3.375 38 26 2.625 54 36 8.625 70 46 7 7 -9 23 17 -3 39 27 3 55 37 9 71 47 8 8 -8.625 24 18 -2.625 40 28 3.375 56 38 9.375 72 48 9 9 -8.25 25 19 -2.25 41 29 3.75 57 39 9.75 73 49 10 A -7.875 26 1A -1.875 42 2A 4.125 58 3A 10.125 74 4A 11 B -7.5 27 1B -1.5 43 2B 4.5 59 3B 10.5 75 4B 12 C -7.125 28 1C -1.125 44 2C 4.875 60 3C 10.875 76 4C 13 D -6.75 29 1D -0.75 45 2D 5.25 61 3D 11.25 14 E -6.375 30 1E -0.375 46 2E 5.625 62 3E 11.625 47 2F 6 63 3F 12 -6 0 15 F 31 1F  DEC HEX Boost Gain DEC HEX Boost Gain 0 0 0 16 10 24 1 1 1.5 17 11 25.5 2 2 3 18 12 27 3 3 4.5 19 13 28.5 4 4 6 20 14 5 5 7.5 21 15 6 6 9 22 16 7 7 10.5 23 17 Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 93 Rev. 0.9 ALC5651 Datasheet 8 8 12 24 18 9 9 13.5 25 19 10 A 15 26 1A 11 B 16.5 27 1B 12 C 18 28 1C 13 D 19.5 29 1D 14 E 21 30 1E 15 F 22.5 31 1F 8.67. MX-B6h: DRC/AGC Control 3 Default: 0000’h Name Noise_gate_boost Bits 15:12 Table 83. MX-B6h: DRC/AGC Control 3 Read/Write Reset State Description R/W 0’h Select Compensation Gain When Signal is Below Noise Gate 0’h: 0dB 1’h: 3dB 2’h: 6dB … E’h: 42dB F’h: 45dB sel_drc_agc_thmax 11:7 R/W 0’h DRC/AGC Limiter Level (1.5dB/step) 00’h= 0dBFS 01’h= -1.5dBFS 02’h= -3dBFS 03’h= -4.5dBFS … 1F’h= -46.5dBFS en_drc_agc_noise_ga 6 R/W 0’h te Enable Noise Gate function 0’b: Diaable 1’b: Enable En_drc_agc_noise_ga 5 R/W te_hold 0’h Enable Noise Gate Hold Data Function 0’b: Disable 1’b: Enable Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 94 Rev. 0.9 ALC5651 Datasheet Name sel_drc_agc_noise_th Bits 4:0 Read/Write R/W Reset State Description 0’h Noise Gate Threshold (-1.5dB/step) 00’h: -36dBFS 01’h: -375dBFS ……………….. 1F’h: -82.5 dBFS 8.68. MX-BBh: Jack Detection Control 1 Default: 0000’h Name sel_gpio_jd Bits 15:13 reserved en_jd_hpo 12 11 polarity_jd_tri_hpo 10 en_jd_pdm_l 9 polarity_jd_tri_pdm_l 8 en_jd_pdm_r 7 polarity_jd_tri_pdm_r 6 reserved en_jd_lout 5:4 3 Table 84. MX-BBh: Jack Detection Control 1 Read/Write Reset State Description R/W 0’h Jack Detect Selection 000’b: OFF 001’b: GPIO1 010’b: GPIO2 011’b: GPIO3 100’b: GPIO4 101’b: GPIO5 110’b: GPIO6 Others: Reserved R 0’h Reserved R/W 0’h Enable Jack Detect Trigger HPOUT 0’b: Disable 1’b: Enable R/W 0’h Select Jack Detect Polarity Trigger HPOUT 0’b: Low trigger 1’b: High trigger R/W 0’h Enable Jack Detect Trigger PDM_L 0’b: Disable 1’b: Enable R/W 0’h Select Jack Detect Polarity Trigger PDM_L 0’b: Low trigger 1’b: High trigger R/W 0’h Enable Jack Detect Trigger PDM_R 0’b: Disable 1’b: Enable R/W 0’h Select Jack Detect Polarity Trigger PDM_R 0’b: Low trigger 1’b: High trigger R 0’h Reserved R/W 0’h Enable Jack Detect Trigger LOUT 0’b: Disable 1’b: Enable Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 95 Rev. 0.9 ALC5651 Datasheet Name polarity_jd_tri_lout Bits 2 Read/Write R/W reserved 1:0 R/W Reset State Description 0’h Select Jack Detect Polarity Trigger LOUT 0’b: Low trigger 1’b: High trigger 0’h reserved 8.69. MX-BCh: Jack Detection Control 2 Default: 0000’h Name reserved Sel_jd_trigger reserved Bits 15:12 11:9 8:0 Table 85. MX-BCh: Jack Detection Control 2 Read/Write Reset State Description R 0’h Reserved R/W 0’h JD Trigger Source Selection 000’b: From sta_gpio_jd 001’b: From sta_jd1_1 010’b: From sta_jd1_2 011’b: From sta_jd2 Others: Reserved R 0’h Reserved 8.70. MX-BDh: IRQ Control 1 Default: 0000’h Name en_irq_gpio_jd Bits 15 Reserved en_gpio_jd_sticky 14 13 Reserved inv_gpio_jd 12 11 reserved en_irq_jd1_1 10 9 en_jd1_1_sticky 8 Table 86. MX-BDh: IRQ Control 1 Read/Write Reset State Description R/W 0’h IRQ Output Source Configure of GPIO Jack Detection Status 0’b: Disable 1’b: Enable R 0’h Reserved R/W 0’h Sticky Control for GPIO Jack Detect 0’b: Disable 1’b: Enable R 0’h Reserved R/W 0’h GPIO Jack Detection Status Polarity 0’b: Normal 1’b: Output Invert R 0’h Reserved R/W 0’h IRQ Output Source Configure of JD1_1 Jack Detection Status 0’b: Disable 1’b: Enable R/W 0’h Sticky Control for JD1_1 Jack Detect 0’b: Disable 1’b: Enable Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 96 Rev. 0.9 ALC5651 Datasheet Name inv_jd1_1 Bits 7 Read/Write R/W en_irq_jd1_2 6 R/W en_jd1_2_sticky 5 R/W inv_jd1_2 4 R/W en_irq_jd2 3 R/W en_jd2_sticky 2 R/W inv_jd2 1 R/W reserved 0 R Reset State Description 0’h JD1_1 Jack Detection Status Polarity 0’b: Normal 1’b: Output Invert 0’h IRQ Output Source Configure of JD1_2 Jack Detection Status 0’b: Disable 1’b: Enable 0’h Sticky Control for JD1_2 Jack Detect 0’b: Disable 1’b: Enable 0’h JD1_2 Jack Detection Status Polarity 0’b: Normal 1’b: Output Invert 0’h IRQ Output Source Configure of JD2 Jack Detection Status 0’b: Disable 1’b: Enable 0’h Sticky Control for JD2 Jack Detect 0’b: Disable 1’b: Enable 0’h JD2 Jack Detection Status Polarity 0’b: Normal 1’b: Output Invert 0’h Reserved 8.71. MX-BEh: IRQ Control 2 Default: 0000’h Name en_irq_micbias1_ovc d Bits 15 reserved en_micbias1_ovcd_st icky 14:12 11 reserved inv_micbias1_ovcd 10:8 7 reserved Ovc_micbias1 6:4 3 Reserved 2:1 Table 87. MX-BEh: IRQ Control 2 Read/Write Reset State Description R/W 0’h IRQ Output Source Configure of MICBIAS1 Over Current Status 0’b: Disable 1’b: Enable R/W 0’h Reserved R/W 0’h Sticky Control for MICBIAS1 Over Current 0’b: Disable 1’b: Enable R/W 0’h Reserved R/W 0’h MICBIAS1 over current status polarity 0’b: Normal 1’b: Output Invert R 0’h Reserved R 0’h MICBIAS1 Over Current Status Read: return status of each status pin Write: Write ‘0’ to clear stick bit R 0’h Reserved Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 97 Rev. 0.9 ALC5651 Datasheet Name Sta_gpio8 Bits 0 Read/Write R Reset State Description 0’h GPIO8 Pin Status Read: return status of GPIO8 pin 8.72. MX-BFh: GPIO and Internal Status Default: 0000’h Name Reserved sta_jd2 Bits 15 14 sta_jd1_2 13 sta_jd1_1 12 sta_gpio7 11 sta_gpio6 10 sta_gpio5 9 sta_gpio1 8 sta_gpio2 7 sta_gpio3 6 sta_gpio4 5 sta_gpio_jd 4 reserved 3:0 Table 88. MX-BFh: GPIO and Internal Status Read/Write Reset State Description R 0’h Reserved R 0’h JD2 Pin Status Read: return status of JD2 pin Write: Write ‘0’ to clear stick bit R 0’h JD1 Pin Status Read: return status of JD1_2 Write: Write ‘0’ to clear stick bit R 0’h JD1 Pin Status Read: return status of JD1_1 Write: Write ‘0’ to clear stick bit R 0’h GPIO7 Pin Status Read: return status of GPIO7 pin R 0’h GPIO6 Pin Status Read: return status of GPIO6 pin R 0’h GPIO5 Pin Status Read: return status of GPIO5 pin R 0’h GPIO1 Pin Status Read: return status of GPIO1 pin R 0’h GPIO2 Pin Status Read: return status of each GPIO2 pin R 0’h GPIO3 Pin Status Read: return status of each GPIO3 pin R 0’h GPIO4 Pin Status Read: return status of each GPIO4 pin R 0’h GPIO_JD Status Read: Return status of Jack Detect Select output Write: Write ‘0’ to clear stick bit R 0’h Reserved Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 98 Rev. 0.9 ALC5651 Datasheet 8.73. MX-C0h: GPIO Control 1 Default: 0100’h Name sel_gpio1_type Bits 15 sel_gpio2_type 14 reserved Sel_i2s_pin 13:9 8 sel_gpio5_type 7 sel_gpio6_type 6 sel_gpio7_type 5 sel_gpio8_type 4 sel_gpio_pdm 3 Reserved 2:0 Table 89. MX-C0h: GPIO Control 1 Read/Write Reset State Description R/W 0’h GPIO1 Pin Function Select 0’b: GPIO1 1’b: IRQ output R/W 0’h GPIO2 Pin Function Select 0’b: GPIO2 1’b: DMIC1_SCL R 0’h Reserved R/W 1’h I2S-2 Pin Function Selection 0’b: I2S function pins 1’b: GPIO function pins R/W 0’h GPIO5 Pin Function Select 0’b: GPIO5 1’b: IRQ output R/W 0’h GPIO6 Pin Function Select 0’b: GPIO6 1’b: DMIC_SDA R/W 0’h GPIO7 Pin Function Select 0’b: GPIO7 1’b: IRQ output R/W 0’h GPIO8 Pin Function Select 0’b: GPIO8 1’b: DMIC_SDA R/W 0’h GPIO7 & GPIO8 Pin Function Select 0’b: GPIO function 1’b: PDM function (GPIO7:PDM_SDA ; GPIO8: PDM_SCL) R 0’h Reserved Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 99 Rev. 0.9 ALC5651 Datasheet 8.74. MX-C1h: GPIO Control 2 Default: 0000’h Name reserved sel_gpio5 Bits 15 14 sel_gpio5_logic 13 inv_gpio5 12 sel_gpio4 11 sel_gpio4_logic 10 inv_gpio4 9 sel_gpio3 8 sel_gpio3_logic 7 inv_gpio3 6 sel_gpio2 5 sel_gpio2_logic 4 inv_gpio2 3 sel_gpio1 2 sel_gpio1_logic 1 Table 90. MX-C1h: GPIO Control 2 Read/Write Reset State Description R 0’h Reserved R/W 0’h GPIO5 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO5 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO5 Pin Polarity 0’b: Normal 1’b: Output Invert R/W 0’h GPIO4 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO4 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO4 Pin Polarity 0’b: Normal 1’b: Output Invert R/W 0’h GPIO3 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO3 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO3 Pin Polarity 0’b: Normal 1’b: Output Invert R/W 0’h GPIO2 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO2 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO2 Pin Polarity 0’b: Normal 1’b: Output Invert R/W 0’h GPIO1 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO1 Output Pin Control 0’b: Drive Low 1’b: Drive High Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 100 Rev. 0.9 ALC5651 Datasheet Name inv_gpio1 Bits 0 Read/Write R/W Reset State Description 0’h GPIO1 Pin Polarity 0’b: Normal 1’b: Output Invert 8.75. MX-C2h: GPIO Control 3 Default: 0000’h Name reserved sel_gpio8 Bits 15:9 8 sel_gpio8_logic 7 inv_gpio8 6 sel_gpio7 5 sel_gpio7_logic 4 inv_gpio7 3 sel_gpio6 2 sel_gpio6_logic 1 inv_gpio6 0 Table 91. MX-C2h: GPIO Control 3 Read/Write Reset State Description R 0’h Reserved R/W 0’h GPIO8 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO8 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO8 Pin Polarity 0’b: Normal 1’b: Output Invert R/W 0’h GPIO7 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO7 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO7 Pin Polarity 0’b: Normal 1’b: Output Invert R/W 0’h GPIO6 Pin Configuration 0’b: Input 1’b: Output R/W 0’h GPIO6 Output Pin Control 0’b: Drive Low 1’b: Drive High R/W 0’h GPIO6 Pin Polarity 0’b: Normal 1’b: Output Invert Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 101 Rev. 0.9 ALC5651 Datasheet 8.76. MX-CFh: SounzReal BassBack Control Default: 0013’h Name En_bb Sel_bb_coef Reserved Bb_boost_gain Table 92. MX-CFh: SounzReal BassBack Control Bits Read/Write Reset State Description 15 R/W 0’h Enable BassBack Function 0’b: Disable 1’b: Enable 14:12 R/W 0’h Select Control for BassBack Coefficient Type 000’b: Type A 001’b: Type B 010’b: Type C 011’b: Type D 1xx’b: Reserved 11:6 R 0’h Reserved 5:0 R/W 13’h Select Control BassBack Boost Gain 000001’b: 1.5dB 000010’b: 3dB ……… 010011’b: 24dB ……… 011111’b: 42dB, with 1.5dB/Step 8.77. MX-D0h: SounzReal TruTreble Control 1 Default: 0680’h Name reserved En_mp Mp_eg reserved  Eg Table 93. MX-D0h: SounzReal TruTreble Control 1 Bits Read/Write Reset State Description 15:14 R/W 0’h Reserved 13 R/W 0’h Enable TruTreble Function 0’b: Disable 1’b: Enable 12:8 R/W 6’h TruTreble Enhanced Gain Control  00000’b: -11.625dB 00001’b: -10.5dB ………. 00110’b: -3dB ........... 10100’b: 7.5dB 7:0 R/W 80’h Reserved Enhanced Gain Eg Enhanced Gain 1 -11.625dB 11 2.25 dB 2 -10.5 dB 12 3 dB 3 -9 dB 13 3.75 dB Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 102 Rev. 0.9 ALC5651 Datasheet 4 -6.75 dB 14 4.5 dB 5 -4.5 dB 15 4.875 dB 6 -3 dB 16 5.625 dB 7 -1.875 dB 17 6 dB 8 -0.375 dB 18 6.375 dB 9 0.375 dB 19 7.125 dB 10 1.5 dB 20 7.5 dB 8.78. MX-D1h: SounzReal TruTreble Control 2 Default: 1C17’h Name reserved mp_hp_wt mp_og reserved mp_hg Table 94. MX-D1h: SounzReal TruTreble Control 2 Bits Read/Write Reset State Description 15:14 R 0’h Reserved 13 R/W 0’h Select The Harmonic Weighting 0’b: a = 1/4(default) 1’b: a = 1/2 12:8 R/W 1C’h Select The Origin Signal Gain 00000’b: -5.8125dB 00001’b: -5.625dB … 10111’b: -0.5625 dB ... 11111’b: 12dB, with 0.1875dB/Step 7:6 R 0’h Reserved 5:0 R/W 17’h Select High Frequency Harmonic Gain 000000’b: -11.625dB 000001’b: -11.25dB … 010111’b: -3dB ... 111111’b: 12dB, with 0.375dB/Step Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 103 (0.375 /step) Rev. 0.9 ALC5651 Datasheet 8.79. MX-D3h: Wind Filter Control 1 Default: B320’h Name adj_hpf_2nd_en Bits 15 adj_hpf_coef_l_sel 14:12 Reserved adj_hpf_coef_r_sel 11 10:8 reserved 7:0 Table 95. MX-D3h: Wind Filter Control 1 Read/Write Reset State Description R/W 1’h Enable Adjustable 2nd Wind Filter 0'b : Disable (bypass mode) 1'b : Enable R/W 3’h Left Channel Coefficient Sample Rate Selection 000'b: 8K/12K/16K Hz 001'b: 24K/32K Hz 010'b: 48K/44.1K Hz 011'b: 96K/88.2K Hz 100'b: 192K/176.4K Hz Others: Reserved R 0’h Reserved R/W 2’h Right Channel Coefficient Sample Rate Selection 000'b: 8K/12K/16K Hz 001'b: 24K/32K Hz 010'b: 48K/44.1K Hz 011'b: 96K/88.2K Hz 100'b: 192K/176.4K Hz Others: Reserved R/W 20’h Reserved 8.80. MX-D4h: Wind Filter Control 2 Default: 0000’h Name Reserved adj_hpf_coef_l_num Bits 15:14 13:8 Reserved adj_hpf_coef_r_num 7:6 5:0 Table 96. MX-D3h: Wind Filter Control 2 Read/Write Reset State Description R 0’h Reserved R/W 0’h Left Channel Coefficient Fine Parameter Selection (0 ~ 63) R 0’h Reserved R/W 0’h Right Channel Coefficient Fine Parameter Selection (0 ~ 63) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 104 Rev. 0.9 ALC5651 Datasheet 8.81. MX-D9h: Soft Volume & ZCD Control Default: 0809’h Name en_softvol Bits 15 Reserved en_o_svol 14 13 en_hpo_svol 12 en_zcd_digital 11 pow_zcd 10 Reserved En_zcd_outmixr 9:8 7 En_zcd_outmixl 6 En_zcd_recmixr 5 En_zcd_recmixl 4 sel_svol 3:0 Table 97. MX-D9h: Soft Volume & ZCD Control Read/Write Reset State Description R/W 0’h Digital Soft Volume Delay Control 0’b: Disable 1’b: Enable R 0’h Reserved R/W 0’h OUTVOLL/R Soft Volume Delay Control 0’b: Disable 1’b: Enable R/W 0’h HPOVOLL/R Soft Volume Delay Control 0’b: Disable 1’b: Enable R/W 1’h Digital Volume Zero Crossing Detection Control 0’b: Disable 1’b: Enable R/W 0’h Power On Zero Crossing 0’b: Power Down 1’b: Power On R 0’h Reserved R/W 0’h OUTMIXR Mute/Un-Mute ZCD Control 0’b: Disable 1’b: Enable R/W 0’h OUTMIXL Mute/Un-Mute ZCD Control 0’b: Disable 1’b: Enable R/W 0’h RECMIXR Mute/Un-Mute ZCD Control 0’b: Disable 1’b: Enable R/W 0’h RECMIXL Mute/Un-Mute ZCD Control 0’b: Disable 1’b: Enable R/W 9’h Soft Volume Change Delay Time 0000: 1 SVSYNC 0001: 2 SVSYNC 0010: 4 SVSYNC 0011: 8 SVSYNC 0100: 16 SVSYNC 0101: 32 SVSYNC 0110: 64 SVSYNC 0111: 128 SVSYNC 1000: 256 SVSYNC 1001: 512 SVSYNC 1010: 1024 SVSYNC Others: Reserved Note: SVSYNC=1/Fs, Step:-1.5dBFS Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 105 Rev. 0.9 ALC5651 Datasheet 8.82. MX-FAh: General Control 1 Default: 0010’h Name Reserved En_detect_clk_sys Bits 15:4 3 Reserved Digital_gate_ctrl 2:1 0’h Table 98. MX-FAh: General Control 1 Read/Write Reset State Description R 1’h Reserved R/W 0’h Enable MCLK Detection and Auto Switch to Internal Clock 0’b: Disable 1’b: Enable R/W 0’h Reserved R/W 0’h MCLK Clock Gating Control 0’b: Gating input clock 0’b: Enable input clock 8.83. PR-3Dh: ADC/DAC RESET Control Default: 2800’h Name Reserved En_ckgen_adc Bits 15:13 12 Reserved Ckxen_dac 11 10 En_ckgen_dac 9 Reserved 8:0 Table 99. PR-3Dh: ADC/DAC RESET Control Read/Write Reset State Description R/W 1’h Reserved R/W 0’h Enable ADC Clock Generator 0’b: Disable 1’b: Enable R/W 1’h Reserved R/W 0’h Enable DAC Clock1 Generator 0’b: Disable 1’b: Enable R/W 0’h Enable DAC Clock2 Generator 0’b: Disable 1’b: Enable R/W 0’h Reserved Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 106 Rev. 0.9 ALC5651 Datasheet 8.84. PR-63h: SounzReal OmniSound Control Default: 3717’h Name spk3d_en Bits 15 spk3d_mix_mode 14:13 spk3d_center_gain 12:8 Reserved spk3d_surr_gain 7:5 4:0 Table 100. PR-63h: SounzReal OmniSound Control Read/Write Reset State Description R/W 0’h OmniSound Function Enable Control 0’b: Disable 1’b: Enable R/W 1’h OmniSound L/R Channel Mixing Mode 00’b: L+R, 01’b: L+0.5R, 10’b: L+0.25R, 11’b: L+0.125R R/W 17’h OmniSound Center Part Gain Control 00’h: -23.25dB … 17’h: -6dB … 1f’h: 0dB, with 0.75dB/Step R/W 0’h Reserved R/W 17’h OmniSound Surround Part Gain Control 00’h: -17.25dB … 17’h: 0dB … 1f’h: 6dB, with 0.75dB/Step Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 107 Rev. 0.9 ALC5651 Datasheet 8.85. PR-A0h: EQ Low Pass Filter Coefficient (LPF:a1) Default: 1C10’h Name lpf_a1 Table 101. PR-A0h: EQ Low Pass Filter Coefficient (LPF:a1) Bits Read/Write Reset State Description 15:0 R/W 1C10’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) 8.86. PR-A1h: EQ Low Pass Filter Gain (LPF:H0) Default: 01F4’h Name lpf_h0 Table 102. PR-A1h: EQ Low Pass Filter Gain (LPF:H0) Bits Read/Write Reset State Description 15:0 R/W 01F4’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) 8.87. PR-A2h: EQ Band 1 Coefficient (BPF1:a1) Default: C5E9’h Name Bpf1_a1 Table 103. PR-A2h: EQ Band 1 Coefficient (BPF1:a1) Bits Read/Write Reset State Description 15:0 R/W C5E9’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) 8.88. PR-A3h: EQ Band 1 Coefficient (BPF1:a2) Default: 1A98’h Name Bpf1_a2 Bits 15:0 Table 104. PR-A3h: EQ Band 1 Coefficient (BPF1:a2) Read/Write Reset State Description R/W 1A98’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a2 should be in -2 ~ 1.99) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 108 Rev. 0.9 ALC5651 Datasheet 8.89. PR-A4h: EQ Band 1 Gain (BPF1:H0) Default: 1D2C’h Name Bpf1_h0 Bits 15:0 Table 105. PR-A4h: EQ Band 1 Gain (BPF1:H0) Read/Write Reset State Description R/W 1D2C’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) 8.90. PR-A5h: EQ Band 2 Coefficient (BPF2:a1) Default: C882’h Name Bpf2_a1 Table 106. PR-A5h: EQ Band 2 Coefficient (BPF2:a1) Bits Read/Write Reset State Description 15:0 R/W C882’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) 8.91. PR-A6h: EQ Band 2 Coefficient (BPF2:a2) Default: 1C10’h Name Bpf2_a2 Table 107. PR-A6h: EQ Band 2 Coefficient (BPF2:a2) Bits Read/Write Reset State Description 15:0 R/W 1C10’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a2 should be in -2 ~ 1.99) 8.92. PR-A7h: EQ Band 2 Gain (BPF2:H0) Default: 01F4’h Name Bpf2_h0 Bits 15:0 Table 108. PR-A7h: EQ Band 2 Gain (BPF2:H0) Read/Write Reset State Description R/W 01F4’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 109 Rev. 0.9 ALC5651 Datasheet 8.93. PR-A8h: EQ Band 3 Coefficient (BPF3:a1) Default: E904’h Name Bpf3_a1 Table 109. PR-A8h: EQ Band 3 Coefficient (BPF3:a1) Bits Read/Write Reset State Description 15:0 R/W E904’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) 8.94. PR-A9h: EQ Band 3 Coefficient (BPF3:a2) Default: 1C10’h Name Bpf3_a2 Table 110. PR-A9h: EQ Band 3 Coefficient (BPF3:a2) Bits Read/Write Reset State Description 15:0 R/W 1C10’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a2 should be in -2 ~ 1.99) 8.95. PR-AAh: EQ Band 3 Gain (BPF3:H0) Default: 01F4’h Name Bpf3_h0 Bits 15:0 Table 111. PR-AAh: EQ Band 3 Gain (BPF3:H0) Read/Write Reset State Description R/W 01F4’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) 8.96. PR-ABh: EQ Band 4 Coefficient (BPF4:a1) Default: E904’h Name Bpf4_a1 Bits 15:0 Table 112. PR-ABh: EQ Band 4 Coefficient (BPF4:a1) Read/Write Reset State Description R/W E904’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 110 Rev. 0.9 ALC5651 Datasheet 8.97. PR-ACh: EQ Band 4 Coefficient (BPF4:a2) Default: 1C10’h Name Bpf4_a2 Table 113. PR-ACh: EQ Band 4 Coefficient (BPF4:a2) Bits Read/Write Reset State Description 15:0 R/W 1C10’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a2 should be in -2 ~ 1.99) 8.98. PR-ADh: EQ Band 4 Gain (BPF4:H0) Default: 01F4’h Name Bpf4_h0 Bits 15:0 Table 114. PR-ADh: EQ Band 4 Gain (BPF4:H0) Read/Write Reset State Description R/W 01F4’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) 8.99. PR-AEh: EQ High Pass Filter 1 Coefficient (HPF1:a1) Default: 1C10’h Name Hpf1_a1 Table 115. PR-AEh: EQ High Pass Filter 1 Coefficient (HPF1:a1) Bits Read/Write Reset State Description 15:0 R/W 1C10’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) 8.100. PR-AFh: EQ High Pass Filter 1 Gain (HPF1:H0) Default: 01F4’h Name Hpf1_h0 Table 116. PR-AFh: EQ High Pass Filter 1 Gain (HPF1:H0) Bits Read/Write Reset State Description 15:0 R/W 01F4’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 111 Rev. 0.9 ALC5651 Datasheet 8.101. PR-B0h: EQ High Pass Filter 2 Coefficient (HPF2:a1) Default: 2000’h Name Hpf2_a1 Table 117. PR-B0h: EQ High Pass Filter 2 Coefficient (HPF2:a1) Bits Read/Write Reset State Description 15:0 R/W 2000’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a1 should be in -2 ~ 1.99) 8.102. PR-B1h: EQ High Pass Filter 2 Coefficient (HPF2:a2) Default: 0000’h Name Hpf2_a2 Table 118. PR-B1h: EQ High Pass Filter 2 Coefficient (HPF2:a2) Bits Read/Write Reset State Description 15:0 R/W 0000’h 2’s complement in 3.13 format. (The range is from –4~3.99, the a2 should be in -2 ~ 1.99) 8.103. PR-B2h: EQ High Pass Filter 2 Gain (HPF2:H0) Default: 2000’h Name Hpf2_h0 Table 119. PR-B2h: EQ High Pass Filter 2 Gain (HPF2:H0) Bits Read/Write Reset State Description 15:0 R/W 2000’h 2’s complement in 3.13 format. (The range is from –4~3.99, the H0 should be in -4 ~ 3.99) 8.104. PR-B3h: EQ Pre Volume Control Default: 0800’h Name Eq_pre_vol Bits 15:0 Table 120. PR-B3h: EQ Pre Volume Control Read/Write Reset State Description R/W 0800’h 2’s complement in 5.11 format. (Default is 0dB) (The range is from –16~15.99, pre-gain should be in 0 ~ 15.99 [+24dB ~ -66dB]) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 112 Rev. 0.9 ALC5651 Datasheet 8.105. PR-B4h: EQ Post Volume Control Default: 0800’h Name Eq_post_vol Bits 15:0 Table 121. PR-B4h: EQ Post Volume Control Read/Write Reset State Description R/W 0800’h 2’s complement in 5.11 format. (Default is 0dB) (The range is from –16~15.99, pre-gain should be in 0 ~ 15.99 [+24dB ~ -66dB]) 8.106. MX-FEh: Vendor ID Default: 10EC’h Name Vendor_id Bits 15:0 Table 122. MX-FEh: Vendor ID Read/Write Reset State Description R 10EC’h Vendor ID Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 113 Rev. 0.9 ALC5651 Datasheet 9. Electrical Characteristics 9.1. DC Characteristics 9.1.1. Absolute Maximum Ratings Parameter Power Supplies Digital IO Buffer Digital Core Analog Analog Headphone Micbias Operating Ambient Temperature Storage Temperature 9.1.2. DBVDD DCVDD AVDD DACREF CPVDD MICVDD Ta Ts -0.3 -0.3 -0.3 -0.3 -0.3 -0.3 -25 -55 - Max Units 3.63 1.98 1.98 1.98 1.98 3.63 +85 +125 V V V V V V o C o C Max 3.6 1.9 1.9 1.9 1.9 3.6 Units V V V V V V Recommended Operating Conditions Parameter Digital IO Buffer Digital Core Analog Analog Headphone Micbias 9.1.3. Table 123. Absolute Maximum Ratings Symbol Min Typ Table 124. Recommended Operating Conditions Symbol Min Typ DBVDD 1.71 1.8 DCVDD 1.1 1.2 AVDD 1.71 1.8 DACREF 1.71 1.8 CPVDD 1.71 1.8 MICVDD 3.0 3.3 Static Characteristics Table 125. Static Characteristics Parameter Symbol Min Typ Input Voltage Range VIN -0.30 Low Level Input Voltage VIL High Level Input Voltage VIH 0.65DBVDD High Level Output Voltage VOH 0.9DBVDD Low Level Output Voltage VOL Output Buffer High Drive Current 0.6 1.8 Output Buffer Low Drive Current 0.7 2.1 Input Buffer Pull-Up Resistor 55 110 Input Buffer Pull-Down Resistor 63 130 Note: DBVDD=1.8V, DCVDD=1.2V, Tambient=40C. Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 114 Max DBVDD+0.30 0.35DBVDD 0.1DBVDD 4.3 4.8 270 300 Units V V V V V mA mA K K Rev. 0.9 ALC5651 Datasheet 9.2. Analog Performance Characteristics Table 126. Analog Performance Characteristics Parameter Min Typ Full Scale Input Voltage 0.6 Line Inputs (Single-ended) 0.6 MIC Inputs (Single-ended ) 1.2 MIC Inputs (Differential) Full Scale Output Voltage Line Outputs (Single-ended) 1.0 Line Outputs (Differential) 1.0 Headphone Amplifiers Outputs (For 10KOhm Load) 1.0 Headphone Amplifiers Outputs (For 16Ohm Load) 0.7 S/N Ratio 100 Stereo DAC Direct to HP_L/R with 32Ohm 94 Line_In to Stereo ADC with 0dB (Single-end) 94 MIC_In to Stereo ADC with 0dB (Differential or Single-end) 89 MIC_In to Stereo ADC with 20dB and MICBIAS (Differential or Single-end) MIC_In to Stereo ADC with 40dB and MICBIAS (Differential or 78 Single-end) MIC_In to Stereo ADC with 50dB and MICBIAS (Differential or 68 Single-end) Total Harmonic Distortion + Noise DAC Direct to HP_L/R with 16Ohm Po = 20mW/CH -81 DAC Direct to HP_L/R with 10KOhm -3dBFS Line_In to Stereo ADC with 0dB (Single-end) MIC_In to Stereo ADC with 0dB (Differential or Single-end) MIC_In to Stereo ADC with 20dB and MICBIAS (Differential or Single-end) MIC_In to Stereo ADC with 40dB and MICBIAS (Differential or Single-end) MIC_In to Stereo ADC with 50dB and MICBIAS (Differential or Single-end) Power Consumption (Slave I2S Mode, 24-bit, SR: 44.1KHz) P_power down (No Clock Input) P_playback (Stereo DAC to HP_OUT with 16 Ohm Load, With Clock, play silence) P_playback (Stereo DAC to HP_OUT with 16 Ohm Load, With Clock, Po=1mW/CH) P_record (LINE_IN to Stereo ADC, With Clock) Multi-Channel Audio Hub/CODEC and SounzRealTM Digital Sound Effect for Mobile Devices 115 Max Units - Vrms Vrms Vrms - Vrms Vrms Vrms Vrms 102 dBA 95 95 dBA dBA dBA dBA dBA -83 dB -86 dB -83 -83 -81 dB dB dB -74 dB -65 dB
ALC5651-CGT 价格&库存

很抱歉,暂时无法提供与“ALC5651-CGT”相匹配的价格&库存,您可以联系我们找货

免费人工找货