ASAHI KASEI [AK4651] AK4651 16Bit ∆Σ CODEC with MIC/HP/SPK-AMP GENERAL DESCRIPTION The AK4651 targeted at PDA and other low-power, small size applications. It features a 16bit stereo CODEC with a built-in Microphone-Amplifier, Headphone-Amplifier and Speaker-Amplifier. Input circuits include a Microphone-Amplifier and an ALC (Auto Level Control) circuit. The AK4651 is connected with AC’97 controller (CPU) via AC-Link. The AK4651 is available in a very small 57pin BGA, utilizing less board space than competitive offerings. FEATURES 1. Resolution: 16bits 2. Recording Function • Mono Input (Single-ended or Differential Input) • 2 to 1 Selector (Internal and External MIC) • MIC Power: 2 outputs (Internal and External MIC) • 1st MIC Amplifier: +20dB or 0dB • 2nd Amplifier with ALC: +27.5dB ∼ −8dB, 0.5dB Step • ADC Performance (@MIC-Amp=+20dB, Single-ended): S/(N+D): 79dB, DR, S/N: 83dB • MIC Detection 3. Playback Function • Digital De-emphasis Filter (tc=50/15µs, fs=32kHz, 44.1kHz, 48kHz) • Digital Volume (0dB ∼ −63dB, 0.5dB Step, Mute) • Bass Boost • Mono Output - Full-differential Output - S/(N+D): 85dB, S/N: 95dB - Analog Volume: +6dB ∼ −15dB, 3dB Step • Headphone-Amp - Output Power: 40mW@16Ω (HVDD=3.3V) - S/(N+D): 60dB@10mW, S/N: 90dB • Headphone Jack Detection • Mono Speaker-Amp - Output Power: 300mW@8Ω (HVDD=3.3V, ALC2=OFF) - S/(N+D): 55dB@110mW, S/N: 90dB - BTL Output - ALC (Auto Level Control) circuit • Mono Beep Input • AUX Input - Full-differential Input - Analog Volume: +12dB ∼ −34.5dB, 1.5dB Step, Mute • Stereo Line Input - Single-ended Input - Analog Volume: +12dB ∼ −34.5dB, 1.5dB Step, Mute MS0503-E-00 2006/04 -1- ASAHI KASEI [AK4651] 4. System Clock: 24.576MHz, 12MHz, 3.6864MHz 5. Sampling Rate: 48kHz, 44.1kHz, 32kHz, 24kHz, 22.05kHz, 16kHz, 11.025kHz, 8kHz 6. Power Management 7. Audio & Control I/F: AC-Link I/F 8. Ta = −30 ∼ 85°C 9. Power Supply: 2.7V ∼ 3.6V (typ. 3.3V) 10. Package: 57pin BGA (5mm x 5mm) 11. AK4650 Pin Compatible MS0503-E-00 2006/04 -2- ASAHI KASEI [AK4651] Block Diagram MICOUT AIN MVREF DVSS1 DVDD2 DVDD1 DVSS2 PMMIC MPE MIC Power Supply MPI PR6-0 MIC Power Supply ALC1 (IPGA) INTN INT HPF ADC MIC-AMP 0dB or 20dB EXT RESETN MDT SYNC Audio Interface 0.075 x AVDD PMMO BITCLK ATT MOUT+ MOUT- CPU SDATAIN Control Register ATT SDATAOUT PMHPL or PMHPR or PMSPK ATT PR6-0 DAC DATT SMUTE PLL1 HVDD HVSS VRA PR5 PMHPL HPL HP-AMP MIX MIX PR5 XTO/PLL0 PLL XTI/MCKI HDT PMHPR HPR HP-AMP MIX MIX VCOC1 MUTET PMLIN PMAUX VCOC2 PMSPK SPP Volume SPKAMP MIX ALC2 Volume Volume MIX SPN PMBP MDT/RIN VCOM BEEP AVSS MIN MPE/LIN MOUT2 AUXIN+ AUXIN- AVDD Figure 1. Block Diagram MS0503-E-00 2006/04 -3- ASAHI KASEI [AK4651] Ordering Guide 57pin BGA (0.5mm pitch) −30 ∼ +85°C Evaluation board for AK4651 AK4651VG AKD4651 Pin Layout 9 8 7 6 AK4651 5 Top View 4 3 2 1 A B C D E F G H J 9 NC BEEP/IN2 AVDD VCOM AUXIN+ MPI EXT/MIC+ MPE/LIN NC 8 VCOC1 VCOC2 AVSS MVREF AUXIN− INT/MIC− MDT/RIN AIN MICOUT 7 TEST2 AVDD2 MOUT− MOUT+ 6 TEST3 TEST4 HPL HPR 5 TEST5 AVSS2 HVSS HVDD 4 TEST7 TEST6 SPP SPN 3 TEST9 TEST8 NC MUTET HDT 2 TEST10 INTN XTO/PLL0 SDATA OUT DVSS2 SDATAIN SYNC MOUT2 MIN 1 NC DVDD1 XTI/MCKI DVSS1 BITCLK DVDD2 RESETN PLL1 TEST A B C D E F G H J Top View MS0503-E-00 2006/04 -4- ASAHI KASEI [AK4651] PIN/FUNCTION No. Pin Name A1 NC - B1 DVDD1 XTI MCKI XTO I I O PLL0 I D1 D2 E1 E2 F2 F1 G2 G1 DVSS1 SDATAOUT BITCLK DVSS2 SDATAIN DVDD2 SYNC RESETN I O O I I H1 PLL1 I J1 TEST - J2 H2 MIN MOUT2 I O H3 MUTET O J3 H4 J4 H5 J5 J6 H6 H7 J7 H8 HDT SPP SPN HVSS HVDD HPR HPL MOUT− MOUT+ AIN I O O O O O O I J9 NC - C1 C2 I/O Function No Connect Pin No internal bonding. This pin should be open or connected to the ground. Digital Power Supply 1 Pin X’tal Input Pin External Master Clock Input Pin X’tal Output Pin (PLL1 pin = “L”) PLL Input Master Clock Frequency Select 0 Pin (PLL1 pin = “H”) “L”: 3.6864MHz, “H”: 12MHz Digital Ground 1 Pin Serial 256-bit AC’97 data stream from digital controller 12.288MHz(256fs) serial data clock Digital Ground 2 Pin Serial 256-bit AC’97 data stream to digital controller Digital Power Supply 2 Pin AC’97 Sync Clock, 48kHz(1fs) fixed rate sampling rate AC’97 Master Hardware Reset PLL Input Master Clock Frequency Select 1 Pin “L”: 24.576MHz (PLL0 pin = “L”) “H”: 3.6864MHz (PLL0 pin = “L”) or 12MHz (PLL0 pin = “H”) When PLL1 pin = “H”, X’tal oscillation circuit is not available. Test Pin This pin should be connected to the ground. ALC Input Pin Analog Mixing Output Pin Mute Time Constant Control Pin Connected to HVSS pin with a capacitor for mute time constant. Headphone Detect Pin (Internal pull up by 100kΩ) Speaker Amp Positive Output Pin Speaker Amp Negative Output Pin Headphone & Speaker Amp Ground Pin Headphone & Speaker Amp Power Supply Pin Rch Headphone Amp Output Pin Lch Headphone Amp Output Pin Mono Line Negative Output Pin Mono Line Positive Output Pin Analog Input Pin No Connect Pin No internal bonding. This pin should be open or connected to the ground. MS0503-E-00 2006/04 -5- ASAHI KASEI No. J8 Pin Name MICOUT MDT RIN MPE LIN EXT MIC+ INT MIC− MPI AUXIN− AUXIN+ MVREF [AK4651] I/O O I I O I I I I I O I I O Function Microphone Analog Output Pin Microphone Detect Pin (Internal pull down by 500kΩ) (RNMD bit = “0”) G8 Rch Line Input Pin (RNMD bit = “1”) MIC Power Supply Pin for External Microphone (LNMP bit = “0”) H9 Lch Line Input Pin (LNMP bit = “1”) External Microphone Input Pin (Single-ended Input: MDIF bit = “0”) G9 Microphone Positive Input Pin (Differential Input: MDIF bit = “1”) Internal Microphone Input Pin (Single-ended Input: MDIF bit = “0”) F8 Microphone Negative Input Pin (Differential Input: MDIF bit = “1”) F9 MIC Power Supply Pin for Internal Microphone E8 Mono AUX Negative Input Pin E9 Mono AUX Positive Input Pin D8 MIC Power Supply Reference Voltage Output Pin Common Voltage Output Pin D9 VCOM O Bias voltage of ADC inputs and DAC outputs. C8 AVSS2 Analog Ground 2 Pin C9 AVDD2 Analog Power Supply 2 Pin B9 BEEP I Mono Beep Signal Input Pin No Connect Pin A9 NC No internal bonding. This pin should be open or connected to the ground. Output 1 Pin for Loop Filter of PLL Circuit A8 VCOC1 O This pin should be connected to DVSS with a resistor (10kΩ) and a capacitor (4.7nF) in series. Output 1 Pin for Loop Filter of PLL Circuit B8 VCOC2 O This pin should be connected to DVSS with a resistor (10kΩ) and a capacitor (4.7nF) in series. Note: All input pins except analog input pins should not be left floating (XTI/MCKI, PLL0, SDATAOUT, SYNC, RESETN and PLL1 pins). MS0503-E-00 2006/04 -6- ASAHI KASEI [AK4651] No. B7 Pin Name AVDD2 I/O - A7 TEST2 - A6 TEST3 - B6 TEST4 - A5 TEST5 - B5 AVSS2 - B4 TEST6 - A4 TEST7 - B3 TEST8 - A3 TEST9 - B2 INTN O A2 TEST10 - C3 NC - Function Analog Power Supply 2 Pin Test 2 Pin This pin should be floating. Test 3 Pin This pin should be floating. Test 4 Pin This pin should be floating. Test 5 Pin This pin should be floating. Touch Screen Controller Ground Pin Test 6 Pin This pin should be floating. Test 7 Pin This pin should be floating. Test 8 Pin This pin should be floating. Test 9 Pin This pin should be floating. Headphone Jack Detect Interrupt Output Pin This pin should be pulled up via a 100kΩ resistor. Test 10 Pin This pin should be connected to the ground. No Connect Pin No internal bonding. This pin should be open or connected to the ground. MS0503-E-00 2006/04 -7- ASAHI KASEI [AK4651] Handling of Unused Pin The unused I/O pins should be processed appropriately as below. Classification Analog Digital Pin Name Setting These pins should be open. MIN, MOUT2, MUTET, HDT, SPP, SPN, HPR, HPL, MOUT−, MOUT+, AIN, MICOUT, MDT/RIN, MPE/LIN, EXT/MIC+, INT/MIC−, MPI, AUXIN−, AUXIN+, BEEP, INTN XTO This pin should be open. MS0503-E-00 2006/04 -8- ASAHI KASEI [AK4651] ABSOLUTE MAXIMUM RATINGS (AVSS, DVSS, HVSS=0V; Note 1, Note 2) Parameter Symbol min Power Supplies: Analog (Note 3) AVDD −0.3 Digital (Note 4) DVDD −0.3 Headphone-Amp / Speaker-Amp HVDD −0.3 |AVSS – DVSS| (Note 5) ∆GND1 |AVSS – HVSS| (Note 5) ∆GND2 Input Current, Any Pin Except Supplies IIN Analog Input Voltage (Note 6) VINA1 −0.3 (Note 7) VINA2 −0.3 Digital Input Voltage (Note 8) VIND −0.3 Ambient Temperature (powered applied) Ta −30 Storage Temperature Tstg −65 max 6.0 6.0 6.0 0.3 0.3 ±10 AVDD+0.3 HVDD+0.3 DVDD+0.3 85 150 Units V V V V V mA V V V °C °C Note 1. All voltages with respect to ground. Note 2. AVSS means AVSS1 and AVSS2. DVSS means DVSS1 and DVSS2. Note 3. AVDD means AVDD1 and AVDD2. Note 4. DVDD means DVDD1 and DVDD2. Note 5. AVSS, DVSS and HVSS must be connected to the same analog ground plane. Note 6. MIN, AIN, MDT/RIN, MPE/LIN, EXT/MIC+, INT/MIC−, AUXIN−, AUXIN+, BEEP pins Note 7. HDT pin Note 8. XTI/MCKI, XTO/PLL0, SDATAOUT, SYNC, RESETN, PLL1 pins WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes. RECOMMENDED OPERATING CONDITIONS (AVSS, DVSS, HVSS=0V; Note 1, Note 2) Parameter Symbol min typ Power Supplies: Analog (Note 3) AVDD 2.7 3.3 (Note 9) Digital (Note 4) DVDD 2.7 3.3 HP / SPK-Amp HVDD 2.7 3.3 max 3.6 AVDD 3.6 Units V V V Note 1. All voltages with respect to ground. DVDD1 and DVDD2 should be same voltage. Note 2. AVSS means AVSS1 and AVSS2. DVSS means DVSS1 and DVSS2. Note 3. AVDD means AVDD1 and AVDD2. Note 4. DVDD means DVDD1 and DVDD2. Note 9. The power up sequence between AVDD, DVDD and HVDD is not critical. When the voltage difference among AVDD, DVDD and HVDD is larger than 0.3V, the power supply current at power down mode increases (see Note 28). When the power supplies are partially powered OFF, the AK4651 must be reset by bringing PDN pin “L” after these power supplies are powered ON again. DVDD1 and DVDD2 should be same voltage. * AKM assumes no responsibility for the usage beyond the conditions in this datasheet. MS0503-E-00 2006/04 -9- ASAHI KASEI [AK4651] ANALOG CHARACTERISTICS (Ta=25°C; AVDD, DVDD, HVDD=3.3V; AVSS=DVSS=HVSS=0V; fs=48kHz; Signal Frequency=1kHz; 16bit Data; Measurement frequency=20Hz ∼ 20kHz; unless otherwise specified) Parameter min typ max Units MIC Amplifier: INT, EXT pins, MDIF bit = “0” (Single-ended input) Input Resistance 20 30 40 kΩ Gain (MGAIN bit = “0”) 0 dB (MGAIN bit = “1”) +20 dB MIC Amplifier: MIC+, MIC− pins, MDIF bit = “1” (Full-differential input), MGAIN bit = “1” (+20dB) Maximum Input Voltage (Note 10) 0.099 Vpp MIC Power Supply: MPI, MPE pins Output Voltage 1.98 2.2 2.42 V Load Resistance 2 kΩ Load Capacitance 30 pF Mic Detection: MDT pin Comparator Voltage Level 0.15 0.20 0.23 V Internal pull down Resistance 250 500 750 kΩ Input PGA Characteristics: AIN pin Input Resistance (Note 11) 5 10 15 kΩ Step Size 0.1 0.5 0.9 dB Gain Control Range (ALC1 bit = “0”) max: IPGA6-0 bits = “3FH” +27.5 dB min: IPGA6-0 bits = “00H” dB −8 ADC Analog Input Characteristics: MIC Gain=+20dB, IPGA=0dB, ALC1=OFF, MIC → IPGA → ADC Resolution 16 Bits Input Voltage (Note 12) 0.168 0.198 0.228 Vpp S/(N+D) 71 79 dB (−1dBFS) D-Range 75 83 dB (−60dBFS, A-weighted) S/N (A-weighted) 75 83 dB DAC Characteristics: Resolution 16 Bits Mono Line Output Characteristics: RL=20kΩ, DAC → MOUT+/MOUT− pins, MOGN2-0 bits = +6dB Output Voltage (Note 13) 3.56 3.96 4.36 Vpp S/(N+D) 75 85 dB (−3dBFS) S/N (A-weighted) 85 95 dB Load Resistance 20 kΩ Load Capacitance 30 pF Step Size 2 3 4 dB Gain Control Range max: MOGN2-0 bits = “111” +6 dB min: MOGN2-0 bits = “000” dB −15 Note 10. Maximum input voltage of MIC+ and MIC− pins are proportional to AVDD voltage. Vin = 0.03 x AVDD(typ). Note 11. When IPGA Gain is changed, this typical value changes between 8kΩ and 11kΩ. Note 12. Input voltage is proportional to AVDD voltage. Vin = 0.06 x AVDD. Note 13. Output voltage is proportional to AVDD voltage. Vout = 1.2 x AVDD(typ)@MOGN2-0 bits = “111” at full-differential output. Vout = 0.6 x AVDD(typ)@MOGN2-0 bits = “111” at single-ended Output. MS0503-E-00 2006/04 - 10 - ASAHI KASEI [AK4651] Parameter min typ max Units Headphone-Amp Characteristics: RL=16Ω, DAC → HPL/HPR pins, DATT=0dB Output Voltage (Note 14) 0dBFS Input 0.82 Vrms 0.32 0.41 0.50 Vrms −6dBFS Input S/(N+D) 0dBFS Input 35 dB 50 60 dB −6dBFS Input S/N (A-weighted) 80 90 dB 60 85 dB Interchannel Isolation (−6dBFS Input) 0.1 dB Interchannel Gain Mismatch (−6dBFS Input) Load Resistance 16 Ω Load Capacitance (Note 15) 300 pF Headphone Detection: HDT pin Comparator Voltage Level (Note 16) 0.99 2.31 V Internal pull up Resistance 50 100 150 kΩ Speaker-Amp Characteristics: RL=8Ω, BTL, DAC → MOUT2 pin → MIN pin → SPP/SPN pins, ALC2=OFF 1.55 Vrms Output Voltage (Note 17) −2.5dBFS Input 0.75 0.94 1.13 Vrms −7.5dBFS Input 20 dB S/(N+D) −2.5dBFS Input 40 55 dB −7.5dBFS Input S/N (A-weighted) 80 90 dB Load Resistance 8 Ω Load Capacitance 30 pF Mono Output: DAC → MIX → MOUT2 pin Output Voltage (Note 18) 1.98 Vpp Load Resistance (Note 19) 30 kΩ Load Capacitance (Note 15, Note 19) 20 pF Mono Input: MIN pin Maximum Input Voltage (Note 20) 1.98 Vpp Input Resistance (Note 21) 12 24 36 kΩ BEEP Input: BEEP pin, External input resistance = 20kΩ Maximum Input Voltage (Note 22) 1.98 Vpp Feedback Resistance 20 kΩ Output Voltage (0.8Vpp input) 0.045 0.09 0.135 Vpp BEEP pin → HPL/HPR pins 1.26 2.53 3.80 Vpp BEEP pin → SPP/SPN pins, ALC2 bit = “0” Note 14. Output voltage is proportional to AVDD voltage. Vout = 0.12 x AVDD Vrms(typ)@−6dBFS. Note 15. When the output pin drives a capacitive load, a resistor should be added in series between the output pin and capacitive load. Note 16. Comparator Voltage Level is proportional to HVDD voltage. Vth = 0.3 x HVDD(min), 0.7 x HVDD(max). Note 17. Output voltage is proportional to HVDD voltage. Vout = 0.28 x AVDD Vrms(typ)@−6dBFS at Full-differential output. Note 18. Output Voltage is proportional to AVDD voltage. Vout = 0.6 x AVDD(typ). Note 19. These values do not include the input resistance or capacitance of the MIN pin. Note 20. Maximum Input Voltage is proportional to AVDD voltage. Vin = 0.6 x AVDD(typ). Note 21. When ALC2 Gain is changed, this typical value changes between 22kΩ and 26kΩ. Note 22. Maximum Input Voltage depends on AVDD voltage, internal feedback resistance (Rf) and external input resistance (Ri). Vin = 0.6 x AVDD x Ri / Rf (typ). MS0503-E-00 2006/04 - 11 - ASAHI KASEI Parameter Line Input: LIN, RIN pins Maximum Input Voltage (Note 23) Input Resistance Step Size Gain Control Range (max: GL4-0 bits = “00H”) (min: GL4-0 bits = “1FH”) AUX Input: AUXIN+, AUXIN− pins Maximum Input Voltage (Note 24) Input Resistance AUXIN+ pin AUXIN− pin Step Size Gain Control Range (max: GN4-0 bits = “00H”) (min: GN4-0 bits = “1FH”) Power Supplies: Power Up (RESETN pin = “H”) All Circuit Power-up: AVDD+DVDD (Note 25) HVDD: HP-AMP Normal Operation No Output (Note 26) HVDD: SPK-AMP Normal Operation No Output (Note 27) Power Down (RESETN pin = “L”) (Note 28) AVDD+DVDD+HVDD [AK4651] min typ max Units 25 0.5 1.98 40 1.5 55 2.5 Vpp kΩ dB - +12 −34.5 - dB dB - 1.98 - Vpp 25 50 0.5 40 80 1.5 55 110 2.5 kΩ kΩ dB - +12 −34.5 - dB dB - 15 23 mA - 2.5 5 mA - 7 21 mA - 1 100 µA Note 23. Maximum Input Voltage is proportional to AVDD voltage. Vin = 0.6 x AVDD(typ). Note 24. Maximum Input Voltage is proportional to AVDD voltage. Vin = (AUXIN+) − (AUXIN−) = 0.6 x AVDD(typ). Note 25. PR0-6 bits = all “0”, PMMIC=PMMO=PMSPK=PMHPL=PMHPR=PMBPM=PMAUX=PMLIN= “1”. AVDD=10mA (typ.), DVDD=5mA (typ.). Note 26. PR0-6 bits = all “0”, PMMIC=PMMO=PMHPL=PMHPR=PMBPM=PMAUX=PMLIN= “1”, PMSPK= “0”. Note 27. PR0-6 bits = all “0”, PMMIC=PMMO=PMSPK=PMBPM=PMAUX=PMLIN= “1”, PMHPL=PMHPR= “0”. Note 28. All digital input pins are fixed to DVDD or DVSS. When the voltage difference among AVDD, DVDD and HVDD is larger than 0.3V, the power supply current at power down mode increases. MS0503-E-00 2006/04 - 12 - ASAHI KASEI [AK4651] FILTER CHARACTERISTICS (Ta=25°C; AVDD, HVDD, DVDD=2.7 ∼ 3.6V; fs=48kHz; DEM=OFF) Parameter Symbol min ADC Digital Filter (Decimation LPF): Passband (Note 29) PB 0 ±0.1dB −1.0dB −3.0dB Stopband SB 29.4 Passband Ripple PR Stopband Attenuation SA 65 Group Delay (Note 30) GD Group Delay Distortion ∆GD ADC Digital Filter (HPF): Frequency Response (Note 29) −3.0dB FR −0.1dB DAC Digital Filter: Passband (Note 29) PB 0 ±0.1dB −6.0dB Stopband SB 25.2 Passband Ripple PR Stopband Attenuation SA 59 Group Delay (Note 30) GD DAC Digital Filter + SCF: FR Frequency Response: 0 ∼ 20.0kHz BOOST Filter: (Note 31) Frequency Response MIN 20Hz FR 100Hz 1kHz MID FR 20Hz 100Hz 1kHz MAX 20Hz FR 100Hz 1kHz - typ max Units 21.8 23.0 17.0 0 18.9 ±0.1 - kHz kHz kHz kHz dB dB 1/fs µs 1.0 6.5 - Hz Hz 24.0 16.8 21.3 ±0.01 - kHz kHz kHz dB dB 1/fs ±1.0 - dB 5.80 3.17 0.03 10.85 7.23 0.18 16.14 11.05 0.47 - dB dB dB dB dB dB dB dB dB Note 29. The passband and stopband frequencies scale with fs (system sampling rate). For example, ADC is PB=0.454 × fs (@−1.0dB). The reference frequency of these responses is 1kHz. Note 30. The calculated delay time caused by digital filtering. This time is from the input of analog signal to setting of the 16-bit data of both channels from the input register to the output register of the ADC. This time includes the group delay of the HPF. For the DAC, this time is from setting the 16-bit data of both channels from the input register to the output of analog signal. Note 31. These frequency responses scale with fs. If a high-level and low frequency signal is input, the analog output clips to the full-scale. MS0503-E-00 2006/04 - 13 - ASAHI KASEI [AK4651] DC CHARACTERISTICS (Ta=25°C; AVDD, HVDD, DVDD=2.7 ∼ 3.6V) Parameter Symbol min High-Level Input Voltage VIH 70%DVDD Low-Level Input Voltage VIL Input Voltage at AC Coupling (Note 32) VAC 50%DVDD High-Level Output Voltage VOH (Iout=−400µA) DVDD−0.4 Low-Level Output Voltage VOL (Iout=400µA) Input Leakage Current Iin VOLP INTN “L” level output voltage (100kΩ Pull-Up) typ - Max 30%DVDD 0.4 ±10 0.8 Units V V V V V µA V Note 32. When AC coupled capacitor is connected to MCKI pin. MS0503-E-00 2006/04 - 14 - ASAHI KASEI [AK4651] SWITCHING CHARACTERISTICS (Ta=25°C; AVDD, HVDD, DVDD=2.7 ∼ 3.6V; CL=25pF) Parameter Symbol min Master Clock Timing Frequency PLL1 pin = “L”, PLL0 pin = “L” Fmclk PLL1 pin = “H”, PLL0 pin = “L” Fmclk PLL1 pin = “H”, PLL0 pin = “H” Fmclk Duty Cycle Dmclk 40 AC link Interface Timing BITCLK frequency Fbclk BITCLK clock Period(Tbclk=1/Fbclk) Tbclk BIT_BLK low pulse width Tclk_low 36 BIT_BLK low pulse width Tclk_high 36 BITCLK rise time Trise_clk BITCLK fall time Tfall_clk SYNC frequency Fsync SYNC low pulse width Tsync_low SYNC high pulse width SYNC rise time SYNC fall time Setup time(SYNC, SDATAOUT) Hold time(SYNC, SDATAOUT) SDATAIN delay time from BITCLK rising edge SDATAIN rise time SDATAIN fall time SDATAOUT rise time SDATAOUT fall time Cold Reset (SDATAOUT = “L”, SYNC = “L”) RESETN active low pulse width RESETN inactive to BITCLK delay PLL1 pin = “L” (External clock) PLL1 pin = “L” (X’tal oscillator) PLL1 pin = “H”, PLL0 pin = “L” PLL1 pin = “H”, PLL0 pin = “H” Warm Reset Timing SYNC active high pulse width SYNC inactive to BITCLK delay PLL1 pin = “L” (External clock) PLL1 pin = “L” (X’tal oscillator) PLL1 pin = “H”, PLL0 pin = “L” PLL1 pin = “H”, PLL0 pin = “H” AC-link Low Power Mode Timing End of Slot 2 to BITCLK, SDATAIN Low Activate Test Mode Timing Setup to trailing edge of RESETN Hold from RESETN rising edge Rising edge of RESETN to Hi-Z Falling edge of RESETN to “L” typ max Units 24.576 3.6864 12 - 60 MHz MHz MHz % 45 45 6 6 - 6 6 15 MHz ns ns ns ns ns kHz µs (Tbclk) µs (Tbclk) ns ns ns ns ns Tsync_high - Trise_sync Tfall_sync Tsetup Thold Tdelay 14 25 - 12.288 81.38 40.7 40.7 48 19.5 (240 cycle) 1.3 (16 cycle) - Trise_din Tfall_din Trise_dout Tfall_dout - - 6 6 6 6 ns ns ns ns Trst_low 1.0 - - µs Trst2clk Trst2clk Trst2clk Trst2clk - 42 0.5 9.5 3.2 - µs ms ms ms Tsync_high 1.0 1.3 (16 cycle) - µs (Tbclk) Trst2clk Tsync2clk Tsync2clk Tsync2clk - 42 0.5 9.5 3.2 - µs ms ms ms Ts2_pdwn - - 1.0 µs Tsetup2rst Thold2rst Toff Tlow 15.0 100 - - 50 50 ns ns ns ns MS0503-E-00 - 2006/04 - 15 - ASAHI KASEI [AK4651] Timing Diagram 1/Fmclk VIH MCKI VIL Tmclkh Tmclkl Dmclk = Tmclkh x Fmclk x 100 = Tmclkl x Fmclk x 100 Figure 2. Master Clock Timing Tbclk = 1/Fbclk Tclk_high Tclk_low BITCLK 50%DVDD Figure 3. BITCLK Timing Tsync_high Tsync_low SYNC VIH VIL 1/Fsync Figure 4. SYNC Timing Tdelay Tsetup VIH BITCLK VIL VIH SDATAIN VIL Thold VIH SDATAOUT, SYNC VIL Figure 5. Setup and Hold Timing Trise_clk Tfall_clk 90%DVDD 10%DVDD BITCLK Trise_sync SYNC Trise_din 90%DVDD 10%DVDD SDATAIN Tfall_sync Trise_dout 90%DVDD 10%DVDD Tfall_din Tfall_dout SDATAOUT 90%DVDD 10%DVDD Figure 6. Signal Rise and Fall Times (25pF external load; between 10%DVDD and 90%DVDD) MS0503-E-00 2006/04 - 16 - ASAHI KASEI [AK4651] Trst_low Trst2clk RESET# VIL SDATAOUT= “L” SYNC= “L” BITCLK Figure 7. Cold Reset Timing Tsync_high Tsync2clk SYNC VIH BITCLK Figure 8. Warm Reset Timing Slot Slot Ts2_pdwn BITCLK SDATAOUT Write to 0x26 Data PR4=1 Don’t care SDATAIN Figure 9. AC-link Low Power Mode Timing RESET# VIH VIL SDATAOUT VIH Tsetup2rst Thold2rst SDATAIN BITCLK HI-Z VIL Toff Tlow Figure 10. Activate Test Mode Timing MS0503-E-00 2006/04 - 17 - ASAHI KASEI [AK4651] OPERATION OVERVIEW Master Clock Source The AK4651 requires a master clock (MCLK). This master clock is input to the AK4651 by the following three methods: (1) Connect a X’tal oscillator between XTI and XTO pins. (2) Input an external CMOS-level clock to the XTI pin. (3) Input an external clock whose amplitude is greater than 50%DVDD to the XTI pin with AC coupling. When using a X’tal oscillator, there should be capacitors between XTI/XTO pins and DVSS (Figure 11). Master Clock X’tal Oscillator (PLL1 pin = “L”) External Clock Direct Input (PLL1 pin = “L”) Status PR5 bit Oscillator ON 0 Oscillator OFF 1 (Figure 12) Clock is input to MCKI pin. 0 MCKI pin is fixed to “L”. 1 MCKI pin is fixed to “H”. 1 MCKI pin is Hi-Z 1 External Clock Direct Input (Figure 13) Clock is input to MCKI pin. 0 (PLL1 pin = “H”) MCKI pin is fixed to “L”. 0 MCKI pin is fixed to “H”. 0 MCKI pin is Hi-Z 0 AC Coupling Input (Figure 14) Clock is input to MCKI pin. 0 (PLL1 pin = “L”) Clock isn’t input to MCKI pin. 1 Table 1. Master Clock Status by PR5 bit and MCKPD bit (Figure 11) MCKPD bit 0 1 0 0/1 0 1 0 0/1 0 1 0 1 (1) X’tal Oscillator (PLL1 pin = “L”) XTI MCKPD = "0" C PR5 = "0" 25kΩ (typ) C PLL1 = "L" XTO PLL1 = "L" AK4651 Figure 11. X’tal mode Note 33. The capacitor values depend on the X’tal oscillator used. (C : typ. 10 ∼ 30pF) MS0503-E-00 2006/04 - 18 - ASAHI KASEI [AK4651] (2) External Clock Direct Input (2-1) PLL1 pin = “L” MCKI External Clock MCKPD = "0" PR5 = "0" 25kΩ (typ) PLL1 = "L" XTO PLL1 = "L" AK4651 Figure 12. External Clock mode (PLL1 pin = “L”, Input : CMOS Level) Note 34. This clock level must not exceed DVDD level. (2-2) PLL1 pin = “H” MCKI External Clock MCKPD = "0" PR5 = "0" 25kΩ (typ) PLL1 = "H" PLL0 PLL1 = "H" AK4651 Figure 13. External Clock mode (PLL1 pin = “H”, Input : CMOS Level) Note 35. This clock level must not exceed DVDD level. (3) AC Coupling Input (PLL1 pin = “L”) C MCKI External Clock MCKPD = "0" PR5 = "0" 25kΩ (typ) PLL1 = "L" XTO PLL1 = "L" AK4651 Figure 14. External Clock mode (Input : ≥ 50%DVDD) Note 36. This clock level must not exceed DVDD level. (C : 0.1µF) MS0503-E-00 2006/04 - 19 - ASAHI KASEI [AK4651] System Clock A fully integrated analog phase locked loop (PLL) generates a clock that is selected by the PLL1-0 pins (Table 2). When the external master clock is used, the PLL should be powered-up after the external master clock is input. It takes 0.5ms(typ) for X’tal oscillator to be stable after PR5 bit = “0” which depends on the X’tal. The PLL needs 9ms lock time, whenever the sampling frequency changes or the PLL is powered-up (VRA bit = “0” → “1”). When the clock input to MCKI pin stops during normal operation of AC-Link (PR4 = PR5 = “0”), the internal PLL continues to oscillate (a few MHz), and BITCLK output goes to “L” (see Table 3). MCLK and SYNC must be present whenever the ADC or DAC is operating (PR0 = PR1 = PR3 = PR4 = PR5 = “0”). If these clocks are not provided, the AK4651 may draw excess current due to its use of internal dynamically refreshed logic. If the external clocks are not present, the ADC and DAC must be placed in the power-down mode by setting PR0-6 bits. PLL1 PLL0 MCKI L 24.576MHz L H Reserved L 3.6864MHz H H 12MHz Table 2. MCKI Input Frequency Refer to Table 1 BITCLK pin Power up Frequency set by PLL1-0 pins (Refer to Table 2) 12.288MHz Output SYNC pin Input Fixed to “L” or “H” externally MCKI pin Power down “L” PLL Unlock Frequency set by PLL1-0 pins (Refer to Table 2) “L” Input or Fixed to “L” or “H” externally Table 3. Clock Operation MS0503-E-00 2006/04 - 20 - ASAHI KASEI [AK4651] Audio Sample Rate Sample Rate for DAC and ADC is controlled by register 2CH and 32H, respectively. 16bit data in D15(MSB) to D0 show unsigned value from 0 to 65535, representing the exact sampling frequency in Hz. These sample rate setting is done at VRA bit = “1” of Extended Audio Status and Control Register(2Ah). Sample Rate (kHz) Data in D15 – D0 8.0 1F40H 11.025 2B11H 16.0 3E80H 22.05 5622H 24.0 5DC0H 32.0 7D00H 44.1 AC44H 48.0 BB80H Table 4. Audio Sample Rate The AK4651 supports these discrete frequencies. When any other codes is written in this register, the AK4651 operates at the sampling rate rounded to the closest one in Table 4 by decoding only D15-12 bits. If D15-12 = 5H, the AK4651 operates at 22.05kHz or 24kHz when D11 = “0” or “1”, respectively (Table 5). D15 – D12 0H,1H 2H 3H 4H D11 Sample Rate (kHz) x 8.0 x 11.025 x 16.0 x 22.05 0 22.05 5H 1 24.0 6H x 24.0 7H,8H x 32.0 9H,AH x 44.1 BH-FH x 48.0 Table 5. Audio Sample Rate (x: Don’t care) At VRA bit = “0”, 2CH and 32H are fixed to “BB80H” and cannot be written. When VRA bit is set to “0”, 2CH and 32H register are set to “BB80H” automatically. And the change of sample rate will be executed on the fly. MS0503-E-00 2006/04 - 21 - ASAHI KASEI [AK4651] Power Management Power management of each block is controlled via 26H and 60H register. ADC DAC VCM XTL PLL AC-Link HP SPK MIC Line In AUXIN Mono Out BEEP PR0 = “1” PD PU PU PU VRA PU PMHPL/R PMSPK PMMIC PMLIN PMAUX PMMO PMBPM PR1 = “1” PU PD PU PU VRA PU PMHPL/R PMSPK PMMIC PMLIN PMAUX PMMO PMBPM PR2 = “1” PR3 = “1” PU PD PU PD PU PD PU PU VRA PD PU PU(Note 37) PD PD PD PD PD PD PD PD PD PD PD PD PD PD Table 6. Power Management PR4 = “1” PD PD PU PU VRA PD PMHPL/R PMSPK PMMIC PMLIN PMAUX PMMO PMBPM PR5 = “1” PD PD PU PD PD PD PMHPL/R PMSPK PMMIC PMLIN PMAUX PMMO PMBPM PR6 = “1” PU PU PU PU VRA PU PD PMSPK PMMIC PMLIN PMAUX PMMO PMBPM PD: Power Down PU: Power Up PM*: depends on each PM bit. VRA VRA bit = “1”: PLL Power Up VRA bit = “0”: PLL Power Down Note 37. When PLL1 pin = “H”(MCKI=3.6864MHz or 12MHz), AC-Link is powered-down by PR3 bit = “1”. Digital High Pass Filter The ADC has a digital high pass filter for DC offset cancellation. The cut-off frequency of the HPF is 1.0Hz (@fs=48kHz) and scales with sampling rate (fs). MS0503-E-00 2006/04 - 22 - ASAHI KASEI [AK4651] MIC Input ATTM bit AK4651 MICM bit MOUT+/− ATT ALC1 bit IPGA5-0 bits INT pin MDIF bit MGAIN bit MSEL bit +20dB/0dB IPGA with ALC ATTS2-0 bits MICL bit ATT HP, SP MICAD bit ADC EXT pin MICOUT pin AIN pin Figure 15. Microphone Input The AK4651 has the following functions for Mic Input. (1) 2 Inputs Selector. The switch configure is controlled by MDIF and MSEL bits (Table 9). (2) 1st MIC Amplifier with +20dB gain, The gain can be selected ON/OFF by MGAIN bit (Table 10). (3) IPGA with ALC. This volume is controlled by IPGA5-0 bits as Table 14. (4) Attenuator for stereo mixer. The volume is controlled by ATTS2-0 bits as Table 7. (5) Attenuator for mono mixer. The attenuator level is 4dB and the ON/OFF is controlled by ATTM bit (Table 8). ATTS2-0 Attenuation STEP 0H −6dB 1H −9dB Default 2H −12dB 3H −15dB 3dB 4H −18dB 5H −21dB 6H −24dB 7H −27dB Table 7. Attenuator Table (IPGA → Stereo Mixer) ATTM Attenuation 0 0dB Default 1 −4dB Table 8. Attenuator Table (IPGA → Mono Mixer) MS0503-E-00 2006/04 - 23 - ASAHI KASEI [AK4651] MIC Input Selector AK4651 has mic input selector in front of mic amp. MSEL bit selects internal or external mic (Figure 16). When MDIF bit = “1”, INT and EXT pins become MIC− and MIC+ pins, respectively, and differential input is available (Figure 17). MDIF bit MSEL bit Selector 0 INT Default 0 1 EXT 1 x Differential Table 9. MIC Input Selector (x: Don’t care) AK4651 MPE pin MPI pin INT pin MIC-Amp EXT pin MDT pin DTMIC bit 500k 0.2V(typ) Figure 16. MIC Input (MDIF bit = “0”: Single-ended Input) AK4651 MPI pin MIC-Amp MIC− pin MIC+ pin Figure 17. MIC Input (MDIF bit = “1”: Differential Input) Note 38. In case of differential input, MGAIN bit should be set to “1”. Maximum input voltage of each input pin is | (MIC+) − (MIC−) | = 0.198Vpp(typ)@AVDD=3.3V. MS0503-E-00 2006/04 - 24 - ASAHI KASEI [AK4651] MIC Gain Amplifier The AK4651 has a Gain Amplifier for Microphone input. The gain is 0dB or +20dB, selected by the MGAIN bit. The typical input impedance is 30kΩ. MGAIN bit Input Gain 0 0dB Default 1 +20dB Table 10. MIC Input Gain MIC Power The MPI and MPE pins supply power for the Microphone. These output voltages are 2.2V (typ) and load resistance is 2kΩ (min). MPWRI and MPWRE bits control output from MPI and MPE pins, respectively. When LNMP bit = “1”, MPE pin becomes LIN pin. PMMIC bit 0 MPWRI bit MPI pin x Hi-Z Default 0 Hi-Z 1 1 Output Table 11. Internal Microphone Power Supply (x: Don’t care) PMMIC bit 0 MPWRE bit MPE pin x Hi-Z Default 0 Hi-Z 1 1 Output Table 12. External Microphone Power Supply (x: Don’t care) MIC Detection Function The AK4651 includes the detection function of microphone. Example of the detection of external microphone. (1) MPWRE bit = “1”. (2) MPE drives external microphone. (3) DTMIC bit is set by Table 13. Input Level of MDT DTMIC bit External microphone > 0.247V 1 Connect < 0.165V 0 Disconnect Table 13. Microphone detection result When RNMD bit = “1”, MDT pin becomes RIN pin. MS0503-E-00 2006/04 - 25 - ASAHI KASEI [AK4651] Manual Mode The AK4651 becomes a manual mode at ALC1 bit = “0”. The mode is used in the case shown below. (1) After exiting reset state, set up the registers for the ALC1 operation (ZTM1-0, LMTH and etc) (2) When the registers for the ALC1 operation (Limiter period, Recovery period and etc) are changed. For example; When the change of the sampling frequency. (3) When IPGA is used as a manual volume. When writing to the IPGA5-0 bits continually, the control register should be written by an interval more than zero crossing timeout. MICMT 0 1 IPGA5-0 GAIN (dB) STEP 3FH +27.5 3EH +27.0 0.5dB : : 09H +0.5 08H +0.0 07H −1.0 06H −2.0 1.0dB : : 01H −7.0 00H −8.0 x MUTE Table 14. IPGA Volume (x: Don’t care) MS0503-E-00 Default 2006/04 - 26 - ASAHI KASEI [AK4651] MIC-ALC Operation The ALC (Automatic Level Control) of MIC input is done by ALC1 block when ALC1 bit is “1”. (1) ALC1 Limiter Operation When the ALC1 limiter is enabled, and IPGA output exceeds the ALC1 limiter detection level (LMTH bit: Table 15), the IPGA value is attenuated by the amount defined in the ALC1 limiter ATT step (LMAT1-0 bits: Table 16) automatically. When the ZELMN bit = “1”, the timeout period is set by the LTM1-0 bits (Table 17). The operation for attenuation is done continuously until the IPGA output signal level becomes LMTH or less. If the ALC1 bit does not change into “0” after completing the attenuation, the attenuation operation repeats while the IPGA output signal level equals or exceeds LMTH. When the ZELMN bit = “0”, the timeout period is set by the ZTM1-0 bits (Table 18). This enables the zero-crossing attenuation function so that the IPGA value is attenuated at the zero-detect points of the waveform. LMTH 0 1 ALC1 Limiter Detection Level ALC1 Recovery Waiting Counter Reset Level ADC Input ≥ −6.0dBFS −6.0dBFS > ADC Input ≥ −8.0dBFS ADC Input ≥ −4.0dBFS −4.0dBFS > ADC Input ≥ −6.0dBFS Table 15. ALC1 Limiter Detection Level / Recovery Waiting Counter Reset Level Default LMAT1 LMAT0 ATT STEP 0 0 1 Default 0 1 2 1 0 3 1 1 4 Table 16. ALC1 Limiter ATT Step Setting Note: When IPGA gain is 0dB or less, ALC1 limiter ATT step is fixed to 1 regardless as LMAT1-0 bits. ALC1 Limiter Operation Period 8kHz 16kHz 44.1kHz 0 0 0.5/fs Default 63µs 31µs 11µs 0 1 1/fs 125µs 63µs 23µs 1 0 2/fs 250µs 125µs 45µs 1 1 4/fs 500µs 250µs 91µs Table 17. ALC1 Limiter Operation Period at zero crossing disable (ZELMN bit = “1”) LTM1 LTM0 ZTM1 ZTM0 0 0 1 1 0 1 0 1 Zero Crossing Timeout Period 8kHz 16kHz 128/fs 16ms 8ms 256/fs 32ms 16ms 512/fs 64ms 32ms 1024/fs 128ms 64ms Table 18. Zero Crossing Timeout Period MS0503-E-00 44.1kHz 2.9ms 5.8ms 11.6ms 23.2ms Default 2006/04 - 27 - ASAHI KASEI [AK4651] (2) ALC1 Recovery Operation The ALC1 recovery refers to the amount of time that the AK4651 will allow a signal to exceed a predetermined limiting value prior to enabling the limiting function. The ALC1 recovery operation uses the WTM1-0 bits to define the wait period used after completing an ALC1 limiter operation (Table 19). If the input signal does not exceed the “ALC1 Recovery Waiting Counter Reset Level” (LMTH: Table 15), the ALC1 recovery operation starts. The IPGA value increases automatically by the recovery gain step (RGAIN bit: Table 20) with zero crossing operation (timeout is set by ZTM1-0: Table 18) during this operation up to the reference level (REF5-0 bit: Table 21). The ALC1 recovery operation is done at a period set by the WTM1-0 bits. Zero crossing is detected during WTM1-0 period, the ALC1 recovery operation waits WTM1-0 period and the next recovery operation starts. During the ALC1 recovery operation, when input signal level exceeds the ALC1 limiter detection level (LMTH), the ALC1 recovery operation changes immediately into an ALC1 limiter operation. In the case of (Recovery waiting counter reset level) ≤ (IPGA Output Level) < (Limiter detection level) during the ALC1 recovery operation, the wait timer for the ALC1 recovery operation is reset. Therefore, in the case of (Recovery waiting counter reset level) > (IPGA Output Level), the wait timer for the ALC1 recovery operation starts. The ALC1 operation corresponds to the impulse noise. When the impulse noise is input, the ALC1 recovery operation becomes faster than a normal recovery operation. WTM1 WTM0 0 0 1 1 0 1 0 1 ALC1 Recovery Operation Waiting Period 8kHz 16kHz 44.1kHz 128/fs 16ms 8ms 2.9ms 256/fs 32ms 16ms 5.8ms 512/fs 64ms 32ms 11.6ms 1024/fs 128ms 64ms 23.2ms Table 19. ALC1 Recovery Operation Waiting Period Default RGAIN GAIN STEP 0 0.5dB Default 1 1.0dB Table 20. ALC1 Recovery Gain Step Setting REF5-0 GAIN (dB) STEP 3DH +26.5 3CH +26.0 : : 0.5dB 2DH +19.0 Default : : 05H +0.5 04H +0.0 03H −1.0 02H −2.0 1.0dB : : 01H −7.0 00H −8.0 Table 21. Setting Reference Value at ALC1 Recovery Operation MS0503-E-00 2006/04 - 28 - ASAHI KASEI [AK4651] (3) Example of ALC1 Operation Table 22 shows the examples of the ALC1 setting. In case of this examples, ALC1 operation starts from 0dB. Register Name LMTH LTM1-0 ZELMN ZTM1-0 WTM1-0 REF5-0 IPGA5-0 LMAT1-0 RGAIN ALC1 Comment Data 1 00 fs=8kHz Operation −4dBFS Don’t use Data 1 00 fs=16kHz Operation −4dBFS Don’t use Limiter detection Level Limiter operation period at ZELMN bit = “1” Limiter zero crossing detection 0 Enable 0 Zero crossing timeout period 00 16ms 01 Recovery waiting period *WTM1-0 bits should be the same 00 16ms 01 data as ZTM1-0 bits Maximum gain at recovery operation 3DH +26.5dB 3DH Gain of IPGA at ALC1 operation start 37H 0dB 37H Limiter ATT Step 00 0.5dB 00 Recovery GAIN Step 0 0.5dB 0 ALC1 Enable bit 1 Enable 1 Table 22. Example of the ALC1 setting fs=44.1kHz Data Operation 1 −4dBFS 00 Don’t use Enable 16ms 0 10 Enable 11.6ms 16ms 10 11.6ms +26.5dB 0dB 0.5dB 0.5dB Enable 3DH 37H 00 0 1 +26.5dB 0dB 0.5dB 0.5dB Enable The following registers should not be changed during the ALC1 operation. These bits should be changed, after the ALC1 operation is finished by ALC1 bit = “0” or PMMIC bit = “0”. • LTM1-0, LMTH, LMAT1-0, WTM1-0, ZTM1-0, RGAIN, REF5-0, ZELMN bits IPGA gain at ALC1 operation start can be changed from the default value of IPGA5-0 bits while PMMIC bit is “1” and ALC1 bit is “0”. When ALC1 bit is changed from “1” to “0”, IPGA holds the last gain value set by ALC1 operation. Example: Limiter = Zero crossing Enable Recovery Cycle = 16ms @ fs= 8kHz Limiter and Recovery Step = 0.5dB Maximum Gain = +26.5dB Limiter Detection Level = −4dBFS Manual Mode ALC bit = “1” WR (ZTM1-0, WTM1-0, LTM1-0) (1) Addr=66H, Data=4100H WR (REF5-0) (2) Addr=64H, Data=3D31H WR (IPGA5-0) * The value of IPGA should be (3) Addr=0EH, Data=0077H the same or smaller than REF’s WR (ALC1= “1”, LMAT1-0, RGAIN, LMTH, ZELMN) (4) Addr=66H, Data=6100H ALC1 Operation Note : WR : Write Figure 18. Registers set-up sequence at ALC1 operation MS0503-E-00 2006/04 - 29 - ASAHI KASEI [AK4651] De-emphasis Filter The AK4651 includes the digital de-emphasis filter (tc = 50/15µs) by IIR filter. Setting the DEM1-0 bits enables the de-emphasis filter (Table 23). DEM1 0 0 1 1 DEM0 Mode 0 44.1kHz 1 OFF Default 0 48kHz 1 32kHz Table 23. De-emphasis Control Bass Boost Function The BST1-0 bits control the amount of low frequency boost applied to the DAC output signal (Table 24). If the BST1-0 bits are set to “10” (MID Level), AC-coupling capacitor can be sized down to 47µF. If the boosted signal exceeds the full scale, the analog output clips to the full scale. Boost Filter (fs=48kHz) 20 MAX 15 Gain [dB] MID 10 MIN 5 0 -5 10 100 1000 10000 Frequency [Hz] Figure 19. Bass Boost Frequency (fs=48kHz) BST1 0 0 1 1 BST0 Mode 0 OFF 1 MIN 0 MID 1 MAX Table 24. Bass Boost Control MS0503-E-00 Default 2006/04 - 30 - ASAHI KASEI [AK4651] Digital Attenuator The AK4651 has a channel-independent digital attenuator (128 levels, 0.5dB step, Mute). The attenuation level of each channel can be set by the ATTL/R6-0 bits (Table 25). When the DATTC bit = “1”, the ATTL6-0 bits control both Lch and Rch attenuation levels. When the DATTC bit = “0”, the ATTL6-0 bits control Lch level and ATTR6-0 bits control Rch level. ATTL/R6-0 Attenuation STEP 00H 0dB 01H −0.5dB 02H −1.0dB 0.5dB : : 7DH −62.5dB 7EH −63.0dB 7FH MUTE (−∞) Table 25. DATT Attenuation Table Default The ATS bit sets the transition time between set values of ATTL/R6-0 bits as either 531/fs or 128/fs (Table 26). When ATS bit = “0”, a soft transition between the set values occurs (531 levels). It takes 531/fs (11ms@fs=48kHz) from 00H(0dB) to 7FH(MUTE). ATT speed 0dB to MUTE 1 step 0 531/fs 4/fs Default 1 128/fs 29/fs Table 26. Transition time between set values of ATTL/R6-0 bits ATS MS0503-E-00 2006/04 - 31 - ASAHI KASEI [AK4651] Soft Mute Soft mute operation is performed in the digital domain. When the SMUTE bit goes to “1”, the output signal is attenuated by −∞ (“0”) during the cycle set by the TM1-0 bits (Table 27). When the SMUTE bit is returned to “0”, the mute is cancelled and the output attenuation gradually changes to 0dB during the cycle set of the TM1-0 bits. If the soft mute is cancelled within the cycle set by the TM1-0 bits after starting the operation, the attenuation is discontinued and returned to 0dB. The soft mute is effective for changing the signal source without stopping the signal transmission (Figure 20). The soft mute function is independent of output volume and cascade connected between both functions. SM U T E bit TM 1-0 bit 0dB TM 1-0 bit (1) (3) Attenuation -∞ GD (2) GD Analog O utput Figure 20. Soft Mute Function Note: (1) The output signal is attenuated until -∞ (“0”) by the cycle set by the TM1-0 bits. (2) Analog output corresponding to digital input has the group delay (GD). (3) If the soft mute is cancelled within the cycle of setting the TM1-0 bits, the attenuation is discounted and returned to 0dB(the set value). TM1 0 0 1 1 TM0 Cycle 0 1024/fs Default 1 512/fs 0 256/fs 1 128/fs Table 27. Soft Mute Time Setting MS0503-E-00 2006/04 - 32 - ASAHI KASEI [AK4651] AUX Input AK4651 ADC AUXIN+ pin AUXIN− pin AUXAD bit AUXMT, GN4-0 bits Volume HP, SP AUXL bit Figure 21. AUX Input AUX input is a differential input. The AK4651 has a volume for AUX Input. This Volume is controlled by GN3-0 bits as shown in Table 28. The switching noise occurs when GN3-0 bits are changed. AUXMT 0 1 GN4-0 GAIN (dB) STEP 00H +12.0 01H +10.5 02H +9.0 1.5dB : : 08H +0.0 : : 1EH −33.0 1FH −34.5 x MUTE Table 28. AUX Input Gain Setting (x: Don’t care) MS0503-E-00 Default 2006/04 - 33 - ASAHI KASEI [AK4651] Stereo Line Input AK4651 LIN pin HP Lch, SP LNMT, GL4-0 bits Volume RIN pin HP Rch, SP LNMT, GR4-0 bits Volume Figure 22. Stereo Line Input When LNMP bit is “1”, MPE pin becomes LIN pin. When RNMD bit is “1”, MDT pin becomes RIN pin. LIN/RIN is single-ended input. The AK4651 has a volume for Stereo Line Input. This Volume is controlled by GL4-0 and GR4-0 bits as shown in Table 28. The switching noise occurs when GL4-0 or GR4-0 bits are changed. LNMT 0 1 GL/GR4-0 GAIN (dB) STEP 00H +12.0 01H +10.5 02H +9.0 1.5dB : : 08H +0.0 : : 1EH −33.0 1FH −34.5 x MUTE Table 29. Stereo Line Input Volume Setting (x: Don’t care) MS0503-E-00 Default 2006/04 - 34 - ASAHI KASEI [AK4651] BEEP Input When the PMBPM bit is set to “1”, mono beep input is powered up. And when the BPMHP bit is set to “1”, the signal from the BEEP pin is input to Headphone-amp. When the BPMSP bit is set to “1”, the signal from the BEEP pin is input to Speaker output. The external resisters Ri adjust the signal level of each BEEP input that are mixed to Headphone and Speaker outputs. The signal from the BEEP pin is mixed to the Headphone-amp through a –20dB gain stage. The signal from the BEEP pin is mixed to the Speaker-amp without gain. The internal feedback resistance is 20kΩ ± 30%. When BPMT bit is “1”, BEEP input is muted. AK4651 HP Lch BPMHP bit -20dB HP Rch Rf Ri SP BEEP pin BPMSP bit Figure 23. Block Diagram of BEEP pins (Rf = 20kΩ ± 30%) MS0503-E-00 2006/04 - 35 - ASAHI KASEI [AK4651] MONO LINE OUTPUT (MOUT+ and MOUT− pins) MICOUT pin AIN pin AK4651 MIC In ATT +20dB/0dB IPGA5-0 bits ATTM bit DAMO bit MICM bit 1/2 MOUT+ pin ATT+DAC MOUT− pin 1/2 MOGN2-0 bits +6dB to –15dB Figure 24. Mono Output Mono mixer mixes signals from MIC In, DAC Lch and Rch. This mixed signal is output from the MOUT+ and MOUT– pins, creating a differential output. Either the MOUT+ or MOUT– pin can be also used as single-ended output. Load resistance is 20kΩ(min). When PMMO bit is “0”, mono output is powered-down and MOUT+/– pins become Hi-Z. PMMO 0 1 MOMT x 1 0 Mode MOUT+/MOUT− pin Power-down Hi-Z Mute VCOM Normal operation Normal operation Table 30. Mono Output Setting Default Volume of path from DAC is controlled by ATTL7-0 and ATTR7-0 bits (Table 25). Volume of path from IPGA is controlled by ATTM bit (Table 8). Mono output amp has +6dB to –15dB gain that are set by the MOGN2-0 bits (Table 31). MOGN2-0 0H 1H 2H 3H 4H 5H 6H 7H GAIN (dB) STEP +6.0 +3.0 +0.0 −3.0 3dB −6.0 −9.0 −12.0 −15.0 Table 31. Mono Output Gain Control MS0503-E-00 Default 2006/04 - 36 - ASAHI KASEI [AK4651] Headphone Output Power supply voltage for the Headphone-amp is supplied from the HVDD pin and centered on the MUTET voltage. The Headphone-amp output load resistance is min.16Ω. When the HPMT bit is “1” at PMHPL=PMHPR= “1”, the common voltage rises to 0.44 x AVDD. When the HPMT bit is “1”, the common voltage of Headphone-amp falls and the outputs (HPL and HPR pins) go to HVSS. A capacitor between the MUTET pin and ground reduces pop noise at power-up/down. It is recommended that the capacitor with small variation of capacitance and low ESR (Equivalent Series Resistance) over all temperature range, since the rise and fall time in Table 32 depend on the capacitance and ESR of the external capacitor at MUTET pin. tr: Rise Time up to 0.44 x AVDD 100k x C (typ) tf: Fall Time down to 0V 200k x C (typ) Table 32. Headphone-Amp Rise/Fall Time [Example]: A capacitor between the MUTET pin and ground = 1.0µF: Rise Time up to 0.44 x AVDD: tr = 100kΩ x 1µF = 100ms(typ) Fall Time down to 0V: tf = 200kΩ x 1µF = 200ms(typ) When PMHPL and PMHPR bits are “0”, the Headphone-amp is powered-down, and the outputs (HPL and HPR pins) go to HVSS. PMHPL/R bit HPMT bit 0.44 x AVDD HPL/R pin 0.22 x AVDD tf tr (1) (2) (3) (4) Figure 25. Power-up/Power-down Timing for Headphone-amp (1) Headphone-amp power-up (PMHPL and PMHPR bits = “1”). The outputs are still HVSS. (2) Headphone-amp common voltage rises up (HPMT bit = “0”). Common voltage of Headphone-amp is rising. This rise time depends on the capacitor value connected with the MUTET pin. The rise time up to 0.44 x AVDD is tr = 100k x C(typ) when the capacitor value on MUTET pin is “C”. (3) Headphone-amp common voltage falls down (HPMT bit = “1”). Common voltage of Headphone-amp is falling to HVSS. This fall time depends on the capacitor value connected with the MUTET pin. The fall time down to 0V is tf = 200k x C(typ) when the capacitor value on MUTET pin is “C”. (4) Headphone-amp power-down (PMHPL, PMHPR bits = “0”). The outputs are HVSS. If the power supply is switched off or Headphone-amp is powered-down before the common voltage goes to HVSS, some pop noise occurs. MS0503-E-00 2006/04 - 37 - ASAHI KASEI [AK4651] The cut-off frequency of Headphone-amp output depends on the external resistor and capacitor used. Table 33 shows the cut off frequency and the output power for various resistor/capacitor combinations. The Headphone impedance RL is 16Ω. Output powers are shown at HVDD = 2.7, 3.0 and 3.3V. The output voltage of Headphone is 0.6 x AVDD (Vpp). HP-AMP R C Headphone 16Ω AK4651 Figure 26. External Circuit Example of Headphone R [Ω] 0 6.8 16 Output Power [mW] fc [Hz] fc [Hz] BOOST=OFF BOOST=MIN 2.7V 3.0V 220 45.2 17 27.9 34.5 100 99.5 42 100 69.8 28 13.7 17.0 47 148.5 74 100 49.7 19 7.0 8.6 47 105.8 46 Table 33. Relationship of external circuit, output power and frequency response C [µF] MS0503-E-00 3.3V 41.7 20.5 10.4 2006/04 - 38 - ASAHI KASEI [AK4651] Headphone Jack Detection AK4651 HVDD Headphone Jack Not inserted Inserted 100k Pins 1 and 2 Short Open HDT pin “L” (pulled-down by external 2.2k) “H” (pulled-up by internal 100k) HPDT bit HDT pin DTHPJ bit HPL pin 6.8 47u 2.2k HPR pin 6.8 1 2 3 4 5 Headphone Out 47u 2.2k Figure 27. Headphone Jack Detection Headphone jack detection sequence example: (1) HPDT bit = “1”. (2) HDT pin is pulled-up to HVDD by 100kΩ. (3) DTHPJ bit indicates whether headphone jack is inserted or not. Headphone jack detection result is reported to DTHPJ bit (Table 34). If HPINT bit is “1”, INTN pin becomes “L” when headphone jack is detected. Input Level of HDT DTHPJ bit Headphone Jack < 0.3 x HVDD 0 Not inserted > 0.7 x HVDD 1 Inserted Table 34. Headphone Jack Detection Result When ATSW bit is “1” at PMHPL=PMHPR=PMSPK= “1” and HPMT=SPPS= “0”, Headphone-amp and Speaker-amp are automatically powered-up/down according to headphone jack detection result (Table 35, Table 36). PMHPL HPMT HP-Amp PMHPR 0 x x Power Down 0 1 Power Down 1 1 0 Power UP Table 35. Headphone-amp automatic power-down (ATSW bit = “1”) DTHPJ DTHPJ PMSPK 0 SPPS SPK-Amp X Power Down 0 1 Power Save 1 0 Power UP 0 X Power Down 1 1 X Power Save Table 36. Speaker-amp automatic power-save (ATSW bit = “1”) MS0503-E-00 2006/04 - 39 - ASAHI KASEI [AK4651] Speaker Output Mono signal [(L+R)/2] converted from stereo DAC output and BEEP input signal can be output via Speaker-amp which output is BTL. DAC output signal can be input to the Speaker-amp via the ALC2 circuit. This Speaker-amp can output a maximum of 300mW@ALC2 bit = “0” and 190mW@ALC2 bit = “1”. ALC2 Po 0 300mW Default 1 190mW Table 37. Speaker-Amp Output Power Speaker blocks (MOUT2, ALC2 and Speaker-amp) can be powered-up/down by controlling the PMSPK bit. When the PMSPK bit is “0”, the MOUT2, SPP and SPN pins are placed in a Hi-Z state. When the SPPS bit is “1”, the Speaker-amp is power-save-mode. In this mode, the SPP pin is placed in a Hi-Z state and the SPN pin goes to HVDD/2 voltage. And then the Speaker output gradually changes to the HVDD/2 voltage and this mode can reduce pop noise at power-up. When the AK4651 is powered-down, pop noise can be also reduced in power-save-mode. PMSPK 0 1 SPPS x 1 0 Mode SPP pin Power-down Hi-Z Power-save Hi-Z Normal operation Normal operation Table 38. Speaker Output Setting SPN pin Hi-Z HVDD/2 Normal operation Default PMSPK bit SPPS bit SPP pin SPN pin Hi-Z Hi-Z Hi-Z HVDD/2 HVDD/2 Hi-Z Figure 28. Power-up/Power-down Timing for Speaker-amp Mono Output (MOUT2 pin) The mixed Lch/Rch signal of DAC is output from the MOUT2 pin. When the MO2 bit is “0”, this output is OFF and the MOUT2 pin is forced to VCOM voltage. The load impedance is 10kΩ (min.). When the PMSPK bit is “0”, the Speaker-amp enters power-down-mode and the output is placed in a Hi-Z state. MS0503-E-00 2006/04 - 40 - ASAHI KASEI [AK4651] ALC2 Operation Input resistance of the ALC2 (MIN pin) is 24kΩ (typ) and centered around VCOM voltage. Figure 29 shows input-output relationship at ALC2 operation (0dBV=1Vrms =2.828Vpp). The limiter detection level is proportional to HVDD. The output level is limited by the ALC2 circuit when the Speaker-amp output level exceeds +1.8dBV@HVDD=3.3V. When a continuous signal of +1.8dBV or greater is input to the ALC2 circuit, the output level is attenuated by ALC2 operation. The change period of the ALC2 limiter operation is set by the ROTM bit and the attenuation level is 0.5dB/step (Table 39). When the Speaker-amp output level is equal to or lower than −2dBV@HVDD=3.3V, the ALC2 recovery opeation starts. The ALC2 recovery operation uses zero crossings and gains of 1dB/step. The ALC2 recovery operation is done until the output level of the Speaker-amp goes to −2dBV@HVDD=3.3V. The ALC2 maximum gain is +18dB. The ROTM bit sets the ALC2 recovery operation period (Table 39). When the output signal is between +1.8dBV and −2dBV, the ALC2 limiter or recovery operations are not done. When the PMSPK bit changes from “0” to “1”, the initilization cycle (2048/fs = 46.4ms @fs=44.1kHz at ROTM bit = “0”, 512/fs = 11.6ms @fs=44.1kHz at the ROTM bit = “1”) starts. This fs value is set by Addr=32H (ADC sampling frequence). The ALC2 is disabled during the initilization cycle and the ALC2 starts after completing the initilization cycle. Parameter ALC2 Limiter operation ALC2 Recovery operation Operation Start Level +1.8dBV −2dBV ROTM bit = “0” 2048/fs = 46.4ms@fs=44.1kHz 2/fs = 45µs@fs=44.1kHz Period ROTM bit = “1” 512/fs = 46.4ms@fs=11.025kHz 2/fs = 181µs@fs=11.025kHz Zero-crossing Detection Diabled Enabled (Timeout = 2048/fs) ATT/GAIN 0.5dB step 1dB step Table 39. Limiter /Recovery of ALC2 at HVDD=3.3V SPK Out +3.8dBV (Limitter) +1.8dBV −0.2dBV (Recovery) (ALC2=OFF) 0dBFS −2dBFS −23.2dBFS −25.2dBFS −18.2dBV DAC In Figure 29. DAC input – Speaker output relationship (HVDD=3.3V, ALC2 bit = “1”) MS0503-E-00 2006/04 - 41 - ASAHI KASEI [AK4651] Example of Path Microphone Audio CODEC AK4651 ADC Mic In CPU HP Out Headphone RF Module HP Amp DAC Aux In Mono Out Figure 30. MIC recording & Headphone playback Microphone Audio CODEC AK4651 Mic In ADC Side Tone ATT CPU Headphone RF Module HP Out HP Amp DAC Aux In Mono Out Figure 31. Phone Microphone Audio CODEC AK4651 Mic In ADC Side Tone ATT CPU Headphone RF Module HP Out HP Amp DAC Aux In Mono Out Figure 32. Recording/Playback & Phone MS0503-E-00 2006/04 - 42 - ASAHI KASEI [AK4651] AC-Link Power-down The AK4651 controls the AC-link power-up/down by PR4 and PR5 bits. When PR4 bit is “1”, BITCLK and SDATAIN go to “L”, but X’tal oscillator still operates. When PR5 bit is “1”, BITCLK and SDATAIN go to “L”, and X’tal oscillator is powered-down. PLL power-up/down is controlled by VRA bit. PR4 bit = “1” PR5 bit = “1” VRAbit = “0” BITCLK/SDATAIN output X’tal oscillator Stop Normal operation Stop Stop Output Normal operation Table 40. AC-Link Power-down PLL Power Down Power Down Power Down Method using Slot 12 of SDATAIN When SLOT bit is “1”, headphone jack detection results are output via slot 12 of SDATAIN. Bit 1: Headphone jack detection result MS0503-E-00 2006/04 - 43 - ASAHI KASEI [AK4651] Connection with Digital AC ’97 Controller The AK4651 communicates with its companion AC ‘97 controller via a digital serial link, “AC-link”. All digital audio streams, and command/status information are communicated over this point to point serial interconnect. A breakout of the signals connecting the two is shown in the following figure. AC’97 Controller AK4651 SYNC BITCLK SDATAOUT SDATAIN RESETN Figure 33. Connection between AK4651 and AC ’97 controller RESETN BITCLK SYNC SDATAIN SDATAOUT (Input) (Output) (Input) (Output) (Input) : Control signal to reset the AK4651 : 12.288MHz clock output from the AK4651 : Control signal to synchronize the AK4651 with AC’97 controller : Data signal input to the controller (output from the AK4651) : Data signal output to the controller (input from the AK4651) Digital Interface The AK4651 incorporates a 5 pin digital serial interface that links it to the AC ’97 controller. AC-link is a bi-directional, fixed rate(48kHz), serial PCM digital stream. It handles input/output audio streams as well as control register accesses employing a time division multiplexed (TDM) scheme. The AC-link architecture divides each audio frame into 12 outgoing and 12 incoming data streams, each with 20-bit sample resolution. DAC and ADC resolution of the AK4651 is 16 bit resolution. The data streams currently defined by the AC ‘97 specification include: z PCM Playback 2 output slots 2 channel composite PCM output stream z PCM Record data 2 input slots 1 channel composite PCM input stream 2 output slots z Control Control register write port 2 input slots z Status Control register read port SYNC, fixed at 48kHz, is derived by dividing down the serial bit clock (BITCLK) output from the AK4651. BITCLK, fixed at 12.288 MHz, provides the necessary clocking granularity to support 12, 20-bit outgoing and incoming time slots. AC-link serial data is transitioned on each rising edge of BITCLK. The receiver of AC-link data, the AK4651 for outgoing data and AC ’97 controller for incoming data, samples each serial bit on the falling edges of BITCLK. The AC-link protocol provides for a special 16-bit slot (Slot 0) wherein each bit conveys a valid tag for its corresponding time slot within the current audio frame. A “1” in a given bit position of slot 0 indicates that the corresponding time slot within the current audio frame has been assigned to a data stream, and contains valid data. If a slot is “Tagged” invalid, it is the responsibility of the source of the data (the AK4651 for the input stream, AC ’97 controller for the output stream), to stuff all bit positions with 0’s during that slot’s active time. SYNC remains high for a total duration of 16 BITCLKs at the beginning of each audio frame. The portion of the audio frame where SYNC is high is defined as the “Tag Phase”. The remainder of the audio frame where SYNC is low is defined as the “Data Phase”. MS0503-E-00 2006/04 - 44 - ASAHI KASEI [AK4651] Note that SDATAOUT and SDATAIN data is delayed one BITCLK because AC’97 controller causes SYNC signal high at a rising edge of BITCLK which initiates a frame. “Output” stream means the direction from AC’97 controller to the AK4651, and “Input” stream means the direction from the AK4651 to AC’97 controller. AC-Link Protocol Slot 0 1 2 3 4 5 6 7 8 9 10 11 12 All “0” All “0” All ”0” All “0” All “0” All “0” All “0” All “0” All ”0” All ”0” All ”0” All “0” All “0” All “0” All “0” Jack Detect SYNC SDATA OUT TAG SDATA IN TAG Tag Phase Command Command PCM(dac) PCM(dac) Address Data Left Right Status Address Status Data PCM(adc) Left All ”0” Data Phase 48kHz Figure 34. AC-Link protocol AC-link protocol identifies 13 slots of data per frame. The frequency of SYNC is fixed to 48kHz. Only Slot 0, which is the Tag phase, is 16bits, all other slots are 20bits in length. These slots are explained in later sections. MS0503-E-00 2006/04 - 45 - ASAHI KASEI [AK4651] 1) AC-Link Audio Output Frame (SDATAOUT) [Slot 0] SYNC BIT_CLK SDATA_IN Valid Frame Slot6 Slot7 Slot8 Slot9 Slot10 Slot11 Slot12 Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 Slot1 Bit8 “0” Bit7 “0” Bit6 “0” Bit5 Bit4 Bit3 Bit2 Bit1 “0” “0” “0” “0” “0” “1/0” “1/0” 1 BIT_CLK delay Slot2 Slot3 Slot4 “1/0” “1/0” “1/0” Slot5 “0” “0” Slot 0 Bit0 “0” Slot 1 Figure 35. Slot 0 Slot 0 consists of sixteen bits (bit 15-0). Bit 15-11 are available in the AK4651. Each bit means valid by “1” and invalid by “0”. Bit 15 (Valid Frame bit): Validity of the frame “1” = At least one of bit 14-11 (slot 1-4) must be valid. Bit 10-0 are ignored. “0” = The AK4651 ignores all following information in the frame. Bit 14 (Slot 1 valid bit): Validity of slot 1 (command address input) Bit 13 (Slot 2 valid bit): Validity of slot 2 (command data input) Bit 12 (Slot 3 valid bit): Validity of slot 3 (DAC Left data input) Bit 11 (Slot 4 valid bit): Validity of slot 4 (DAC Right data input) If each bit is “0”, the AK4651 ignores the slot indicated by “0”. On the other hand, if each bit is “1”, the slot is valid. Bit 10-0 should be “0”. A new audio output frame begins with a low to high transition of SYNC. SYNC is synchronous to the rising edge of BITCLK. On the immediately following falling edge of BITCLK, the AK4651 samples the assertion of SYNC. This falling edge marks the time when both sides of AC-link are aware of the start of a new audio frame. On the next rising of BITCLK, the AC ’97 controller transitions SDATAOUT into the first bit position of slot 0 (Valid Frame bit). Each new bit position is presented to AC-link on a rising edge of BITCLK, and subsequently sampled by the AK4651 on the following falling edge of BITCLK. This sequence ensures that data transitions, and subsequent sample points for both incoming and outgoing data streams are time aligned. Data should be sent to the AK4651 with MSB first through the SDATAOUT. MS0503-E-00 2006/04 - 46 - ASAHI KASEI [AK4651] Table 41 shows the relationship of bit 14&13 and the Read/Write operation. Bit 15 Valid Frame 1 1 1 Bit 14: Slot1 Valid Bit (Command Address) 1 0 1 1 Bit 13: Slot 2 Valid Bit (Command Data) 1 1 0 Read/Write Operation 0 0 Table 41. AK4651 Addressing: Slot 0 Tag Bits Read/Write (Normal Operation) Ignore Read: Normal Operation Write: Ignore Ignore [Slot 1]: Command Address Port Slot1 gives the address of the command data, which is given in the slot 2. The AK4651 has 30 valid registers of 16bit data. See “Mixer Registers”. BIT_CLK Bit19 SDATA_OUT Bit18 “1/0” “1/0” Bit17 Bit16 Bit15 Bit14 Bit13 Bit12 “1/0” “1/0” “1/0” “1/0” “1/0” “1/0” Slot 0 Bit11 Bit10 Bit9 Bit2 Bit1 Bit0 “0” “0” “0” “0” “0” “0” Bit19 Bit18 Bit17 Bit16 Slot 2 Slot 1 Command Address Port Figure 36. Slot 1 Bit 19: Bit 18-12: Bit 11-0: Read/Write command (1bit; “1”=read, “0”=write) Control Register Index (7bit; see “Mixer Registers” for the detail) Reserved (12bit; “0”) Bit 18 of this slot 1 is equivalent to the most significant bit of the index register address. The AK4651 ignores bit 11-0. These bits will be reserved for future enhancement and must be staffed with 0’s by the AC’97 controller. [Slot 2]: Command Data Port BIT_CLK Bit19 SDATA_OUT Bit18 “1/0” “1/0” Slot 1 Bit17 Bit16 Bit15 Bit14 Bit13 Bit12 “1/0” “1/0” “1/0” “1/0” “1/0” “1/0” Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 “1/0” “1/0” “0” “0” “0” “0” Bit19 Bit18 Bit17 Bit16 Slot 3 Slot 2 Command Data Port Figure 37. Slot 2 Bit19-4: Bit3-0: Control Register Write Data (16bit) (If bit 19 of slot 1 is “1”, all bit19-4 should be “0”.) Reserved (4bit; “0”) If bit 19 in slot 1 is “0”, the AC’97 controller must output Command Data Port data in slot 2 of the same frame. If the bit 19 in slot 1 is “1”, the AK4651 will ignore any Command Data Port data in slot 2. Bit19 of this slot 2 is equivalent to D15 bit of mixer register value. MS0503-E-00 2006/04 - 47 - ASAHI KASEI [AK4651] [Slot 3]: PCM Playback Left Channel (16bit) The AK4651 uses the playback (DAC) data format in slot 3 for left channel. Playback data format is MSB first. Data format is 16bits 2’s complement. AC’97 controller should stuff bit 3-0 with “0”. If valid bit (slot 3) in the slot 0 is invalid (“0”), the AK4651 interprets the data as all “0”. Bit 19-4: Playback data (16bit) Bit 3-0: “0” (4bit) [Slot 4]: PCM Playback Right Channel (16bit) The AK4651 uses the playback (DAC) data format in slot 4 for right channel. Playback data format is MSB first. Data format is 16bits 2’s complement. AC’97 controller should stuff bit 3-0 with “0”. If valid bit (slot 4) in the slot 0 is invalid (“0”), the AK4651 interprets the data as all “0”. Bit 19-4: Playback data (16bit) Bit 3-0: “0” (4bit) [Slot 5-12]: Not implemented in the AK4651 MS0503-E-00 2006/04 - 48 - ASAHI KASEI [AK4651] 2) AC-Link Input Frame (SDATAIN) Each AC-link frame consists of one 16bit tag phase and twelve 20bit slots used for data and control. [Slot 0] Slot 0 is a special time frame, and consists of 16bits. Slot 0 is also named the Tag phase. The AK4651 supports bits 15-11 and bit 3. Each bit indicates “1”=valid(normal operation) or ready, “0”=invalid (abnormal operation) or not ready. If the first bit in the slot 0 (Bit15 = “Codec Ready”) is valid, the AK4651 is ready for normal operation. If the “Codec Ready” bit is invalid, the following bits and remaining slots are all “0”. AC’97 controller should ignore the following bits in the slot 0 and all other slots. When the ADC sampling rate is set for less than 48kHz, then bits 12 and 11 in slot 0 (corresponds to slot 3 and slot 4 respectively) will be 1’s when valid data is transferred in SDATAIN, and will be 0’s when no data is transmitted. < “On-demand” base data transaction> For variable sample rate input, the tag bit for each input slot indicates whether valid data is present or not. Thus, even in variable sample rate mode, the AK4651 is always the master. For SDATAIN (AK4651 to Controller), the AK4651 sets the TAG bit. For SDATAOUT (Controller to AK4651), the AK4651 sets the SLOTREQ bit and then checks for the TAG bit in the next frame. AK4651 expects Controller will reply TAG bit in the next frame correctly. Bit 14 means that Slot 1 (Status Address) output is valid or invalid. And Bit 13 means that Slot 2 (Status Data) is valid or invalid. Table 42 shows the relationship between bit 14,13 and each Status of the AK4651. Bit 15 (Codec Ready) 1 Bit 14 (Status Address) 1 Bit 13 (Status Data) 1 1 1 1 1 0 0 0 1 0 Status There is a Read Command in the previous frame. Then both Slot 1 and Slot 2 output normal data. If the access to non-implemented register or odd register is requested, the AK4651 returns “valid” 7-bit register address in slot 1 and returns “valid” 0000h data in slot 2 on the next AC-link frame. Prohibited or non-existing Prohibited or non-existing There is no Read Command in the previous frame. Bits 19-12 and 9-0 in Slot 1 are set to “0”. And Slot 2 outputs all “0”. Table 42. SDATAIN Slot0 Note 39. The above Read sequence is done as response for previous frames read command. That is, if the previous frame is the Write Command, AK4651 outputs bit14 =”0”, bit13 =”0” and slot 1&2 = All”0”, if there is no SLOTREQ. Note 40. The Bits 14 and 13 in Slot 0 is independent of the SLOTREQ Bits 11 and 10 in Slot 1 which the AK4651 supports. Bits 12 and 3 mean the output of Slot 3 (PCM(ADC) Left) and Slot 12 are valid or invalid, respectively. Bit 11 is same as bit 12. Slot 4 is all “0” regardless of bit 11. Bits 10-4 and 2-0 are occupied with “0”. MS0503-E-00 2006/04 - 49 - ASAHI KASEI [AK4651] A new audio input frame begins with a low to high transition of SYNC. SYNC is synchronous to the rising edge of BITCLK. On the immediately following falling edge of BITCLK, the AK4651 samples the assertion of SYNC. This falling edge marks the time when both sides of AC-link are aware of the start of a new audio frame. On the next rising of BITCLK, the AK4651 transitions SDATAIN into the first bit position of slot 0 (“Codec Ready” bit). Each new bit position is presented to AC-link on a rising edge of BITCLK, and subsequently sampled by the AC ’97 controller on the following falling edge of BITCLK. This sequence ensures that data transitions, and subsequent sample points for both incoming and outgoing data streams are time aligned. SYNC BITCLK Codec Ready SDATAIN Slot6 Slot7 Slot8 Slot11 Slot12 “1/0” “1/0” “1/0” “1/0” “1/0” “0” “0” Bit15 Bit14 Bit13 Bit12 Bit11 Bit10 Bit9 “0” Bit8 “0” Bit7 “0” Bit4 Slot1 Slot2 Slot3 Slot4 Slot5 “1/0” “0” Bit3 Bit2 “0” Bit1 “0” Bit0 Slot 1 Slot 0 Figure 38. Slot 0 [Slot 1]: Status Address Port Audio input frame slot 1’s stream echoes the control register index, for historical reference, for the data to be returned in slot 2. (Assuming that slot 1 valid bit and slot 2 valid bit in the slot 0 had been tagged “valid” by the AK4651.) BIT_CLK SDATA_IN Bit19 Bit18 Bit17 Bit16 Bit15 Bit14 Bit13 Bit12 “0” “1/0” “1/0” “1/0” “1/0” “1/0” “1/0” “1/0” Bit10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 “1/0” “1/0” “0” “0” “0” “0” “0” “0” “0” “0” “0” “0” Bit11 Slot 1 Slot 0 Bit19 Slot 2 Status Address Port Figure 39. Slot 1 This address shows register index for which data is being returned in the slot 2. This address port is the copy of slot 1 of the output frame, and index address input to SDATAOUT is looped back to the AC’97 controller through SDATAIN even for non-supported register. For “On Demand” base data transaction, when the DAC sampling rate is set less than 48kHz, then AK4651 will request new audio data as required by setting the SLOTREQ bits 11 and 10 in slot 1 to 0’s. When no data is required to support the selected sampling rate, these bits will be 1’s. When SLOTREQ bits are asserted as “send data request” during the current frame on SDATAIN, AC’97 digital controller should send data onto the corresponding slot in the next frame on SDATAOUT. If VRA bit is set to “0”, SLOTREQ bits always show “0” and sample rate is forced to 48kHz. SLOTREQ Bit 19 18-12 11 10 9-0 Description Reserved (Set to “0”) Control Register Index (7bit; Set to “0” if tagged invalid) Slot 3 Request: PCM Lch “0”: send data request, “1”: do not send Slot 4 Request: PCM Rch “0”: send data request, “1”: do not send Reserved (10bit; Set to “0”) Table 43. SLOTREQ bit MS0503-E-00 2006/04 - 50 - ASAHI KASEI [AK4651] [Slot 2]: Status Data Port Status data addressed by command address port of Output Stream is output through SDATAIN pin. Bit 19-4 Control Register Read Data (16bit; the contents of indexed address in the slot 1) Bit 3-0 “0” (4bit) Note that the address of Status Data Port data are consistent with Status Address Port data of the slot 1 in the same frame. If the read operation is issued in the frame N by AC’97 controller, Status Data Port data is output through SDATAIN in the frame N+1. Note that data is output in only this frame, only one time and that the following frames are invalid if the next read operation is not issued. [Slot 3]: PCM Record Left Channel Record (ADC) data format is MSB first. Data format is 2’s complement. As the resolution of the AK4651 is 16bit, lower 4 bits are ignored. If ADC block is powered down, slot 3 valid bit in the slot 0 is invalid (“0”), and data is output as all “0”. Bit 19-4: Audio ADC left channel output (16bit) Bit 3-0: “0” (4bit) [Slot 4-11]: Reserved for future enhancement Bit 19-0 “0” [Slot 12]: Headphone jack detection results When SLOT bit = “1”, headphone jack detection results are output. Bit 19-2: “0” (18bit) Bit 1: DTHPJ (1bit; “0”=Not inserted, “1”=Inserted) Bit 0: “0” (1bit) MS0503-E-00 2006/04 - 51 - ASAHI KASEI [AK4651] Power On Note that AK4651 must be in cold reset at power on and RESETN must be “L” until master crystal clock becomes stable, or cold reset must be done once after master clock is stable. Vdd RESET# SDATA_OUT=”L” SYNC=”L” BIT_CLK Initialize Registers start up crystal oscillation Trst2clk Figure 40. Power On Timing Cold Reset Note that both SDATAOUT and SYNC must be “L” at the rising edge of RESETN for cold reset. The AK4651 initializes all registers including the Power-down Control Registers, BIT-CLK is reactivated and each analog output except for HP-Amp is in Hi-Z state while RESETN pin is “L”. At the rising edge of RESETN, the AK4651 starts the initialization of ADC and DAC, which takes 1028TS cycles. After that, the AK4651 is ready for normal operation. At that time, VRA bit is its default value (“0”). Therefore, fs=48kHz and TS=1/fs=20.83µs. Status bit in the slot 0 is “0” (not ready) when the AK4651 is in RESET period (“L”) or in initialization process. After initialization cycles, the status bit goes to “1” (ready). Trst_low Trst2clk RESET# VIL SDATA_OUT= “L” SYNC= “L” BIT_CLK Figure 41. Cold Reset Timing MS0503-E-00 2006/04 - 52 - ASAHI KASEI [AK4651] Warm Reset The AK4651 initiates warm reset process by receiving a single pulse on the SYNC. The AK4651 clears PR4 bit and PR5 bit in the Power-down Control Register. However, warm reset does not influence PR0-3, 6 and 7 bits in Power-down Control Register. Note 41. SYNC signal should synchronize with BITCLK after AK4651 starts to output BITCLK clock. Note 42. If an external clock is used, external clocks should be supplied before issuing a sync pulse for warm reset. ADC and DAC require 1028TS for the initialization. Tsync_high Tsync2clk SYNC VIH BIT_CLK Figure 42. Warm Reset Timing Active Test Mode VIH RESET# VIH SDATA_OUT Tsetup2rst HI-Z SDATA_IN BIT_CLK Toff Figure 43. Activate Test Mode Timing Note 43. All AC-link signals are normally low through the trailing edge of RESETN. Bringing RESETN high for the rising edge of SDATAOUT causes the AK4651 AC-link outputs to go high impedance which is suitable for ATE in circuit testing. Note that the AK4651 enters in the ATE test mode regardless SYNC is high or low. Note 44. Once test modes have been entered, the only way to return to the normal operating state is to issue “cold reset” which issues RESETN with both SYNC and SDATAOUT “L”. MS0503-E-00 2006/04 - 53 - ASAHI KASEI [AK4651] Register Map Reg Num Name 00H 02H 04H 06H 08H 0AH 0CH 0EH 10H 18H 1AH 20H 26H 28H 2AH 2CH 32H 60H 62H 64H 66H 68H 6AH 72H 7CH 7EH Reset Speaker Output Headphone Output Mono Output Boost Control PC_BEEP Volume Phone Volume Mic Volume Line In Volume PCM Out Volume Record Select General Purpose Powerdown Ctrl/Stat Extended Audio ID Ext’d audio Stat/Ctrl PCM Front DAC Rate PCM LR ADC Rate Power Management Signal Select ALC/DAC Control ALC Mode Control Volume Cotrol Detect Result Slot Control Vendor ID1 Vendor ID2 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Default 0 SPPS HPMT MOMT 0 BPMT AUXMT MICMT LNMT SMUTE 0 0 0 0 0 SR15 SR15 MPWRE HPM 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 ATTL6 0 0 PR6 0 0 SR14 SR14 MPWRI 0 HPINT ALC2 0 0 0 1 1 0 0 0 0 0 0 0 0 0 ATTL5 0 0 PR5 0 0 SR13 SR13 0 0 REF5 ALC1 0 0 0 0 0 0 0 0 0 0 0 0 0 GL4 ATTL4 0 0 PR4 0 0 SR12 SR12 0 0 REF4 ZELMN 0 0 0 0 0 0 0 0 0 BST1 0 0 0 GL3 ATTL3 0 0 PR3 0 0 SR11 SR11 0 0 REF3 LMAT1 0 0 0 0 1 0 0 0 0 BST0 0 0 0 GL2 ATTL2 0 0 PR2 0 0 SR10 SR10 0 RNMD REF2 LMAT0 0 0 1 0 1 0 0 0 0 0 0 0 0 GL1 ATTL1 MICAD MDIF PR1 0 0 SR9 SR9 0 LNMP REF1 RGAIN 0 0 0 0 0 0 0 0 0 0 0 0 0 GL0 ATTL0 AUXAD MSEL PR0 0 0 SR8 SR8 MCKPD DAHS REF0 LMTH 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 LOOP 0 0 0 SR7 SR7 PMSPK AUXL DATTC 0 0 0 0 0 0 0 0 0 0 0 0 0 MGAIN 0 ATTR6 0 0 0 0 0 SR6 SR6 PMHPR MICL 0 ROTM 0 0 0 1 0 1 0 0 0 0 0 0 IPGA5 0 ATTR5 0 0 0 0 0 SR5 SR5 PMHPL MICM ATSW ZTM1 0 0 0 0 0 1 0 0 0 0 0 GN4 IPGA4 GR4 ATTR4 0 0 0 0 0 SR4 SR4 PMBPM DAMO HPDT ZTM0 ATS 0 0 0 1 0 0 0 0 0 0 GN3 IPGA3 GR3 ATTR3 0 0 0 0 0 SR3 SR3 PMLIN BPMHP TM1 WTM1 ATTM 0 0 1 0 0 0 0 MOGN2 0 0 GN2 IPGA2 GR2 ATTR2 0 0 ANL 0 0 SR2 SR2 PMMO BPMSP TM0 WTM0 ATTS2 0 0 0 0 0 0 0 MOGN1 0 0 GN1 IPGA1 GR1 ATTR1 0 0 DAC 0 0 SR1 SR1 PMAUX ALCS DEM1 LTM1 ATTS1 DTHPJ 0 1 0 0 0 0 MOGN0 0 0 GN0 IPGA0 GR0 ATTR0 0 0 ADC 1 VRA SR0 SR0 PMMIC MO2 DEM0 LTM0 ATTS0 DTMIC SLOT 1 0 0030H 8000H 8000H 8000H 0000H 8000H 8008H 8008H 8808H 0000H 0200H 0000H 0300H 0001H 0000H BB80H BB80H 0000H 0103H 2D21H 0000H 0002H X 9400H 414BH 4D10H Table 44. Register Map Writing the data to the register address that is not in Table 44 is prohibited. MS0503-E-00 2006/04 - 54 - ASAHI KASEI [AK4651] Speaker Output (02H) SPPS: Speaker-amp Power-Save-Mode (Table 38) 0: Normal Operation 1: Power Save Mode (Default) When the SPPS bit = “1”, the Speaker-amp is in power-save-mode and the SPP pin becomes Hi-Z and SPN pin is set to HVDD/2 voltage. When the PMSPK bit = “1”, this bit is valid. After the RESETN pin changes from “L” to “H”, the PMSPK bit is “0”, which powers down Speaker-amp Headphone Output (04H) HPMT: Headphone Amp Mute Control (Figure 25) 0: Mute OFF 1: Mute ON (Default) Mono Output (06H) MOMT: Mono Output Mute Control (Table 30) 0: Mute OFF 1: Mute ON (Default) MOGN2-0: MOUT Volume Control (Table 31) Default: “000” (+6dB) Boost Control (08H) BST1-0: Bass Boost Control (Table 24) Default: “00” (OFF) BEEP Volume (0AH) BPMT: BEEP Input Mute Control 0: Mute OFF 1: Mute ON (Default) Phone Volume (0CH) AUXMT: AUX Input Mute Control (Table 28) 0: Mute OFF 1: Mute ON (Default) GN4-0: AUX Input Volume Control (Table 28) Default: “08H” (0dB) MIC Volume (0EH) MICMT: Mic Input Mute Control (Table 14) 0: Mute OFF 1: Mute ON (Default) MGAIN: MIC-Amp Gain Control (Table 10) 0: 0dB (Default) 1: +20dB IPGA5-0: IPGA Control (Table 14) Default: “08H” (0dB) MS0503-E-00 2006/04 - 55 - ASAHI KASEI [AK4651] Line In Volume (10H) LNMT: Line Input Mute Control (Table 29) 0: Mute OFF 1: Mute ON (Default) GL4-0: Lch Line Input Volume Control (Table 29) Default: “08H” (0dB) GR4-0: Rch Line Input Volume Control (Table 29) Default: “08H” (0dB) PCM Volume (18H) SMUTE: Soft Mute Control (Figure 20) 0: Normal Operation (Default) 1: DAC outputs soft-muted Soft mute operation is independent of digital attenuator and is performed in the digital domain. ATTL/R6-0: Digital ATT Control (Table 25) Default: “00H”(0dB) Record Select Control Register (1AH) AUXAD: AUXIN to ADC enable 0: OFF (Default) 1: ON MICAD: IPGA to ADC enable 0: OFF 1: ON (Default) General Purpose (20H) LOOP: Internal Digital Loopback 0: OFF (Default) 1: ON When LOOP bit is “1”, VRA bit should be “0”. MSEL: Internal/External MIC Select (Table 9 at MDIF bit = “0”) 0: Internal MIC (Default) 1: External MIC MDIF: Differential MIC Input Select (Table 9) 0: Single-ended Input (Default) 1: Differential Input MS0503-E-00 2006/04 - 56 - ASAHI KASEI [AK4651] Power Management (26H) PR6-0: Power Management (Table 6) Default: “0000011” (ADC, DAC Power down) ANL: Analog Mixer Power-up (Read only) 0: NOT Ready 1: Ready DAC: DAC ready to accept data (Read only) 0: NOT Ready 1: Ready ADC: ADC ready to transmit data (Read only) 0: NOT Ready 1: Ready Extended Audio Status & Control (2AH) VRA: Enables Variable Rate Audio mode in conjunction with Audio Sample Rate Control Registers and tag-bit/SLOTREQ signaling. 0: OFF(Default). PLL is powered-down. 1: ON Audio Sample Rate control Registers (2CH, 32H) SR15-0: Sample Rate Control for DAC (2CH) and ADC (32H) (Table 4, Table 5) Default: “BB80H”(48kHz) These Sample Rate setting is done at VRA bit = “1”. MS0503-E-00 2006/04 - 57 - ASAHI KASEI [AK4651] Power Management (60H) PMMIC: MIC Block (MIC-Amp and ALC1) Power Management 0: Power down (Default) 1: Power up PMAUX: AUX Input Power Management 0: Power down (Default) 1: Power up PMMO: Mono Line Output Power Management 0: Power down (Default) 1: Power up PMLIN: Stereo Line Input Power Management 0: Power down (Default) 1: Power up PMBPM: Mono Beep Input Power Management 0: Power down (Default) 1: Power up Even if PMBPM= “0”, the path is still connected between BEEP pin and HP/SPK-Amp. BPMHP and BPMSP bits should be set to “0” to disconnect these paths, respectively. PMHPR: Headphone-Amp Rch Power Management 0: Power down (Default) 1: Power up PMHPL: Headphone-Amp Lch Power Management 0: Power down (Default) 1: Power up PMSPK: Speaker-Amp Power Management 0: Power down (Default) 1: Power up MCKPD: XTI pin pull down control 0: Master Clock input enable (Default) 1: XTI pin is internally pulled-down MPWRI: Internal MIC Power Supply Control (Table 11) 0: OFF (Default) 1: MIC Power is ON for Internal MIC. MPWRI bit is enabled when PMMIC bit = “1”. MPWRE: External MIC Power Supply Control (Table 12) 0: OFF (Default) 1: MIC Power is ON for External MIC. MPWRE bit is enabled when PMMIC bit = “1”. MS0503-E-00 2006/04 - 58 - ASAHI KASEI [AK4651] Signal Select (62H) MO2: Mono Output (MOUT2 pin) Enable 0: OFF 1: ON (Default) When MO2 bit = “0”, MOUT2 pin outputs VCOM voltage. MOUT2 pin outputs signal when MO2 bit = “1” and PMSPK bit = “1”. MOUT2 pin goes to Hi-Z state when PMSPK bit = “0”. ALCS: ALC2 to Speaker-Amp Enable 0: OFF 1: ON (Default) BPMSP: BEEP to Speaker-Amp Enable 0: OFF (Default) 1: ON BPMHP: BEEP to Headphone-Amp Enable 0: OFF (Default) 1: ON DAMO: DAC to Mono Line Output Enable 0: OFF (Default) 1: ON MICM: IPGA to Mono Line Output Enable 0: OFF (Default) 1: ON MICL: IPGA to Headphone/Speaker-Amp Enable 0: OFF (Default) 1: ON AUXL: AUXIN to Headphone/Speaker-Amp Enable 0: OFF (Default) 1: ON DAHS: DAC to Headphone/Speaker-Amp Enable 0: OFF 1: ON (Default) LNMP: LIN/MPE pin Selection 0: MPE pin (Default) 1: LIN pin RNMD: RIN/MDT pin Selection 0: MDT pin (Default) 1: RIN pin HPM: Mono Output Select of Headphone 0: Stereo (Default) 1: Mono [(L+R)/2] MS0503-E-00 2006/04 - 59 - ASAHI KASEI [AK4651] ALC/DAC Control (64H) DEM1-0: De-emphases response (Table 23) Default: “01” (OFF) TM1-0: Soft Mute Time Select (Table 27) Default: “00” (1024/fs) HPDT: Headphone Jack Insertion Detection Function Enable 0: OFF (Default) 1: ON ATSW: Headphone/Speaker Automatic Switch Function Enable by Headphone Jack Insertion (Table 35, Table 36) 0: OFF 1: ON (Default) DATTC: DAC Digital Attenuator Control Mode Select 0: Independent 1: Dependent (Default) When DATTC= “1”, ATTL6-0 bits control both Lch and Rch at the same time. ATTR6-0 bits are not changed when the ATTL6-0 bits are written. REF5-0: Maximum IPGA value at ALC1 Recovery Operation (Table 21) Default: “2DH” (+19dB) During the ALC1 recovery operation, if the IPGA value exceeds the setting maximum value (REF5-0 bits) by gain operation, then the IPGA does not become larger than the maximum value. HPINT: INTN pin Output Enable for Headphone Jack Detection Default: “0” (OFF) When HPINT bit = “1”, INTN pin is enabled to output the interrupt signal of headphone jack detection. ALC Control (66H) LTM1-0: ALC1 limiter operation period at zero crossing disable (ZELMN bit = “1”) (Table 17) Default: “00” (0.5/fs) The IPGA value is changed immediately when zero crossing is disabled (ZELMN bit = “1”). When the IPGA value is changed continuously, the change is done by the period specified by the LTM1-0 bits. WTM1-0: ALC1 Recovery Waiting Period (Table 19) Default: “00” (128/fs) WTM1-0 bits set a period of recovery operation when any limiter operation does not occur during the ALC1 operation. ZTM1-0: ALC1 zero crossing timeout selection (Table 18) Default: “00” (128/fs) When the IPGA performs zero crossing or timeout, the IPGA value is changed by the µP WRITE operation, ALC1 recovery operation or ALC1 limiter operation (ZELMN bit = “0”). MS0503-E-00 2006/04 - 60 - ASAHI KASEI [AK4651] ROTM: ALC2 Recovery Waiting Period (Table 39) 0: 2048/fs (Default) 1: 512/fs LMTH: ALC1 Limiter Detection Level / Recovery Waiting Counter Reset Level (Table 15) Default: “0” (−6dB/−8dB) The ALC1 limiter detection level and the ALC1 recovery counter reset level may be offset by about ±2dB. RGAIN: ALC1 Recovery GAIN Step (Table 20) Default: “0” (0.5dB) During the ALC1 recovery operation, RGAIN bit sets the number of steps changed from the current IPGA value. For example, when the current IPGA value is “30H” and RGAIN bit is “1”, the IPGA changes to “32H” by the ALC1 recovery operation and the output signal level is gained up by 1dB (=0.5dB x 2). When the IPGA value exceeds the maximum level (REF6-0 bits), the IPGA value does not increase. LMAT1-0: ALC1 Limiter ATT Step (Table 16) Default: “00” (0.5dB) During the ALC1 limiter operation, when IPGA value exceeds the ALC1 limiter detection level set by LMTH bit, LMAT1-0 bits set the number of steps attenuated from the current IPGA value. For example, when the current IPGA value is “47H” and LMAT1-0 bits is “11”, the IPGA value decreases to “43H” when the ALC1 limiter operation starts, resulting in the input signal level being attenuated by 2dB (=0.5dB x 4). When the attenuation value exceeds IPGA = “00” (−8dB), it clips to “00”. ZELMN: Zero crossing detection enable at ALC1 Limiter operation 0: Enable (Default) 1: Disable When the ZELMN bit = “0”, the IPGA performs a zero crossing or timeout and the IPGA value is changed by the ALC1 operation. The zero crossing timeout is the same as the ALC1 recovery operation. When the ZELMN bit = “1”, the IPGA value is changed immediately. ALC1: ALC1 enable 0: ALC1 Disable (Default) 1: ALC1 Enable ALC2: ALC2 enable 0: ALC2 Disable (Default) 1: ALC2 Enable Volume Control (68H) ATTS2-0: Volume control of signal from IPGA to Headphone/Speaker-Amp (Table 7) Default: “2H” (−12dB) ATTM: Volume control of signal from IPGA to Mono Line Output (Table 8) 0: 0dB (Default) 1: −4dB ATS: Digital attenuator transition time setting (Table 26) Default: “0” (531/fs) MS0503-E-00 2006/04 - 61 - ASAHI KASEI [AK4651] Detect Result (6AH) DTMIC: MIC detection result (Read only, Table 13) 0: Microphone is not detected. 1: Microphone is detected DTHPJ: Headphone jack insertion detection result (Read only, Table 34) 0: Headphone jack is not inserted. 1: Headphone jack is inserted. Slot Control (72H) SLOT: Headphone jack insertion detection result output select on Slot 12 0: Disable (Default) 1: Enable Vendor ID (7CH, 7EH) “A(41H), K(4BH), M(4DH), 16(10H)” (Read only) MS0503-E-00 2006/04 - 62 - ASAHI KASEI [AK4651] SYSTEM DESIGN Figure 44 shows the system connection diagram for the AK4651. An evaluation board [AKD4651] is available which demonstrates the optimum layout, power supply arrangements and measurement results. Internal MIC MIC Jack 2.2k 0.1u 2.2k 0.1u 2.2u 0.1u 4.7u 0.1u + 0.1u 10u Analog Supply 2.7 ∼ 3.6V 4.7n 10k 4.7n 10k NC BEEP AVDD VCOM AUXIN+ MPI EXT MPE NC VCOC1 VCOC2 AVSS MVREF AUXIN− INT MDT AIN MICOUT TEST2 AVDD2 TEST3 TEST4 TEST5 AVSS2 TEST7 TEST6 TEST9 TEST8 NC TEST10 INTN XTO SDATA OUT DVSS2 SDATAIN SYNC NC DVDD1 XTI DVSS1 BITCLK 0.1u MOUT− MOUT+ AK4651VG HVSS HVDD SPP SPN MUTET HDT MOUT2 MIN PLL1 TEST + 47u 2.2k HPR + 2.2k + 47u HPL Headphone Jack 0.1u 10u 100k DVDD2 RESETN 1u 8ohm Speaker 0.1u 10 + 10u 0.1u 0.1u 24.576MHz Controller Digital Ground Analog Ground Note 45. AVSS, DVSS and HVSS of the AK4651 should be distributed separately from the ground of external controllers. Note 46. All input pins except for internal pull-down pins should not be left floating. Figure 44. Typical Connection Diagram MS0503-E-00 2006/04 - 63 - ASAHI KASEI [AK4651] 1. Grounding and Power Supply Decoupling The AK4651 requires careful attention to power supply and grounding arrangements. AVDD, DVDD, HVDD and TSVDD are usually supplied from the system’s analog supply. If AVDD, DVDD and HVDD are supplied separately, the correct power up sequence should be observed. AVSS, DVSS, HVSS and TSVSS of the AK4651 should be connected to the analog ground plane. System analog ground and digital ground should be connected together near to where the supplies are brought onto the printed circuit board. Decoupling capacitors should be as near to the AK4538 as possible, with the small value ceramic capacitor being the nearest. 2. Voltage Reference VCOM is a signal ground of this chip. A 2.2µF electrolytic capacitor in parallel with a 0.1µF ceramic capacitor attached to the VCOM pin eliminates the effects of high frequency noise. No load current may be drawn from the VCOM pin. All signals, especially clocks, should be kept away from the VREF and VCOM pins in order to avoid unwanted coupling into the AK4651. 3. Analog Inputs The Mic, Beep and stereo line inputs are single-ended. AUX input is differential. The input signal range scales with nominally at 0.06 x AVDD Vpp for the Mic input, 0.6 x AVDD Vpp for the Beep input, stereo line input and AUX input, centered around the internal common voltage (0.45 x AVDD). Usually the input signal is AC coupled using a capacitor. The cut-off frequency is fc = (1/2πRC). The AK4651 can accept input voltages from AVSS to AVDD. 4. Analog Outputs The input data format for the DAC is 2’s complement. The output voltage is a positive full scale for 7FFFH(@16bit) and a negative full scale for 8000H(@16bit). Mono output from the MOUT2 pin and Mono Line Output from the MOUT+/MOUT− pins are centered at 0.45 x AVDD, Headphone-Amp is centered at 0.44 x AVDD and Speaker-Amp output is centered at HVDD/2, respectively. MS0503-E-00 2006/04 - 64 - ASAHI KASEI [AK4651] PACKAGE 57pin BGA (Unit: mm) 5.0 ± 0.1 φ 0.05 A 57 - φ 0.3 ± 0.05 M S AB 9 8 7 65 4 3 2 1 4.0 5.0 ± 0.1 A B C D E B F G H J 0.5 0.5 S 1.0MAX 0.25 ± 0.05 0.08 S Material & Lead finish Package molding compound: Interposer material: Solder ball material: Epoxy BT resin SnAgCu MS0503-E-00 2006/04 - 65 - ASAHI KASEI [AK4651] MARKING 4651 XXXX XXXX: Date code (4 digit) Pin #1 indication Revision History Date (YY/MM/DD) 06/04/24 Revision 00 Reason First Edition Page Contents IMPORTANT NOTICE • These products and their specifications are subject to change without notice. Before considering any use or application, consult the Asahi Kasei Microsystems Co., Ltd. (AKM) sales office or authorized distributor concerning their current status. • AKM assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any information contained herein. • Any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. • AKM products are neither intended nor authorized for use as critical components in any safety, life support, or other hazard related device or system, and AKM assumes no responsibility relating to any such use, except with the express written consent of the Representative Director of AKM. As used here: a. A hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. b. A critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. • It is the responsibility of the buyer or distributor of an AKM product who distributes, disposes of, or otherwise places the product with a third party to notify that party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold AKM harmless from any and all claims arising from the use of said product in the absence of such notification. MS0503-E-00 2006/04 - 66 -