ASAHI KASEI [AK4632] AK4632 16-Bit ∆Σ Mono CODEC with ALC & MIC/SPK/Video-AMP GENERAL DESCRIPTION The AK4632 is a 16-bit mono CODEC with Microphone-Amplifier, Speaker-Amplifier and VideoAmplifier. Input circuits include a Microphone-Amplifier and an ALC (Automatic Level Control) circuit. Output circuits include a Speaker-Amplifier and Mono Line Output. Video circuits include a LPF and Video-Amplifier. The AK4632 suits a moving picture of Digital Still Camera and etc. This speaker-Amplifier supports a Piezo Speaker. The AK4632 is housed in a space-saving 32-pin QFN package. 1. 2. 3. 4. 5. 6. 7. 8. FEATURE 16-Bit Delta-Sigma Mono CODEC Recording Function • 1ch Mono Input • 1st MIC Amplifier: 0dB, 20dB, 26dB or 32dB • 2nd Amplifier with ALC: -8dB ∼ +27.5dB, 0.5dB Step • ADC Performance: S/(N+D): 80dB, DR, S/N: 85dB Playback Function • Digital Volume: +12dB ∼ -115dB, 0.5dB Step, Mute • Mono Line Output Performance: S/(N+D): 85dB, S/N: 93dB • Mono Speaker-Amp - Speaker-Amp Performance: S/(N+D): 60dB, S/N: 90dB (150mW@ 8Ω) - BTL Output - ALC (Automatic Level Control) Circuit - Output Power: 400mW @ 8Ω, SVDD=3.3V 3.0Vrms@SVDD=5V • Beep Input Power Management Video Function • A Composite Video Input • Gain Control (-1.0dB ∼ +10.5dB, 0.5dB Step) • Low Pass Filter • A Video-Amp for Composite Video Signal(+6dB) • DC Direct Output or Sag Compensation Output Flexible PLL Mode: • Frequencies: 11.2896MHz, 12MHz, 12.288MHz, 13.5MHz, 24MHz, 27MHz (MCKI pin) 1fs (FCK pin) 16fs, 32fs or 64fs (BICK pin) EXT Mode: • Frequencies: 256fs, 512fs or 1024fs (MCKI pin) Sampling Rate: • PLL Slave Mode (FCK pin) : 7.35kHz ~ 26kHz • PLL Slave Mode (BICK pin) : 7.35kHz ~ 48kHz • PLL Slave Mode (MCKI pin): 8kHz, 11.025kHz, 12kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz • PLL Master Mode: 8kHz, 11.025kHz, 12kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz MS0396-E-00 2005/06 -1- ASAHI KASEI [AK4632] • EXT Slave Mode: 7.35kHz ~ 48kHz (256fs), 7.35kHz ~ 26kHz (512fs), 7.35kHz ~ 13kHz (1024fs) 9. Output Master Clock Frequency: 256fs 10. Serial µP Interface: 3-wire 11. Master / Slave Mode 12. Audio Interface Format: MSB First, 2’s compliment • ADC: DSP Mode, 16bit MSB justified, I2S • DAC: DSP Mode, 16bit MSB justified, 16bit LSB justified, I2S 13. Ta = -10 ∼ 70°C 14. Power Supply • CODEC: 2.6 ∼ 3.6V (typ. 3.3V) • Speaker-Amp: 2.6 ∼ 5.25V (typ. 3.3V/5.0V) • Video-Amp: 2.8 ∼ 5.25V (typ. 3.3V/5.0V) 15. Power Supply Current: 23.5 mA (All Power ON) 16. Package: 32pin QFN 17. Register Compatible with AK4631 Block Diagram AVSS AVDD VCOM MICOUT MPI AIN PMMIC MIC Power Supply PMADC DVDD ALC1 (IPGA) MIC MIC-AMP 0dB or 20dB or 26dB or 32dB ADC DVSS HPF PDN ALC1A PMAO Audio Interface PMDAC FCK BICK DACA DAC AOUT BEEPA SVDD DACM DVOL SDTO ALC1M SDTI SVSS DSP and uP PMSPK SPP SPKAMP MIX ALC2 CSN Control Register SPN BEEP CDTI PMBP PMPLL PMV GCA VOUT +6dB CCLK -1dB ~ +10.5dB Step 0.5dB MCKO LPF PLL CLAMP MCKI VSAG VIN MIN MOUT VCOC VVDD Figure 1. AK4632 Block Diagram MS0396-E-00 2005/06 -2- ASAHI KASEI [AK4632] Ordering Guide −10 ∼ +70°C 32pin QFN (0.5mm pitch) Evaluation board for AK4632 AK4632VN AKD4632 MIN SVSS SVDD SPP SPN MCKO MCKI DVSS 24 23 22 21 20 19 18 17 Pin Layout SDTO MICOUT 29 Top View 12 SDTI MIC 30 11 CDTI MPI 31 10 CCLK VCOM 32 9 CSN 8 13 PDN AK4632VN 7 28 VSAG AIN 6 FCK VOUT 14 5 27 VIN BEEP 4 BICK VVDD 15 3 26 AVSS AOUT 2 DVDD AVDD 16 1 25 VCOC MOUT Compare with AK4632 Function Video Function Package AK4631 No 28pin QFN (5.2mm x 5.2mm) AK4632 Yes 32pin QFN (5.0mm x 5.0mm) The audio function of the AK4632 is compatible with that of the AK4631. Since the register map of audio function is the same as the AK4631’s, the software of the audio function can run on the ak4632 without any change. MS0396-E-00 2005/06 -3- ASAHI KASEI [AK4632] PIN/FUNCTION No. Pin Name I/O 1 VCOC O 2 3 4 5 6 7 AVDD AVSS VVDD VIN VOUT VSAG I O I 8 PDN I 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 CSN CCLK CDTI SDTI SDTO FCK BICK DVDD DVSS MCKI MCKO SPN SPP SVDD SVSS MIN MOUT AOUT BEEP AIN MICOUT MIC MPI 32 VCOM I I I I O I/O I/O I O O O I O O I I O I O O Function Output Pin for Loop Filter of PLL Circuit This pin should be connected to AVSS with one resistor and capacitor in series. Analog Power Supply Pin Analog Ground Pin Video Block Power Supply Pin. Composite Video Signal Input Pin Composite Video Signal Driver Pin Composite Video Signal Output Feedback Input Pin Power-Down Mode Pin “H”: Power up, “L”: Power down reset and initialize the control register. Chip Select Pin Control Data Clock Pin Control Data Input Pin Audio Serial Data Input Pin Audio Serial Data Output Pin Frame Clock Pin Audio Serial Data Clock Pin Digital Power Supply Pin Digital Ground Pin External Master Clock Input Pin (Internal Pull Down 25kΩ@PDN pin =“L”) Master Clock Output Pin Speaker Amp Negative Output Pin Speaker Amp Positive Output Pin Speaker Amp Power Supply Pin Speaker Amp Ground Pin ALC2 Input Pin Mono Analog Output Pin Mono Line Output Pin Beep Signal Input Pin IPGA (ALC1) Input Pin Microphone Analog Output Pin Microphone Input Pin (Mono Input) MIC Power Supply Pin for Microphone Common Voltage Output Pin. Common Voltage = 0.45 x AVDD Bias voltage of ADC inputs and DAC outputs. Note : All input pins except analog input pins (MIC, AIN, MIN, BEEP and VIN pins) should not be left floating. Note : The exposed pad on the bottom surface of the package must be open. MS0396-E-00 2005/06 -4- ASAHI KASEI [AK4632] Handling of Unused Pin The unused I/O pins should be processed appropriately as below. Classification Pin Name Analog Input MIC, AIN, BEEP, MIN, VSAG Analog Output MICOUT, MPI, AOUT, MOUT, SPP, SPN, VOUT MCKI, SDTI, FCK(when M/S bit = “0”), BICK(when M/S bit = “0”) MCKO, SDTO, FCK(when M/S bit = “1”), BICK(when M/S bit = “1”) Digital Input Digital Output Setting These pins should be open and each path should be switched off. These pins should be open. These pins should be connected to DVSS. These pins should be open. ABSOLUTE MAXIMUM RATINGS (AVSS, DVSS, SVSS=0V; Note 1) Parameter Symbol min Power Supplies: Analog AVDD −0.3 Digital DVDD −0.3 Speaker-Amp SVDD −0.3 Video VVDD −0.3 |AVSS – DVSS| (Note 2) ∆GND1 |AVSS – SVSS| (Note 2) ∆GND2 Input Current, Any Pin Except Supplies IIN Analog Input Voltage(Audio) (Note 3) VINA −0.3 Analog Input Voltage(Video) (Note 4) VINV −0.3 Digital Input Voltage VIND −0.3 Ambient Temperature (powered applied) Ta −10 Storage Temperature Tstg −65 Maximum Power Dissipation (Note 5) Pd - max 6.0 6.0 6.0 6.0 0.3 0.3 ±10 AVDD+0.3 VVDD+0.3 DVDD+0.3 70 150 700 Units V V V V V V mA V V V °C °C mW Note 1. All voltages with respect to ground. Note 2. AVSS, DVSS and SVSS must be connected to the same analog ground plane. Note 3. MIC, AIN, BEEP, MIN pins Note 4. VIN pin Note 5. In case that PCB wiring density is 100%. This power is the AK4632 internal dissipation that does not include power of externally connected speaker. WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes. MS0396-E-00 2005/06 -5- ASAHI KASEI [AK4632] RECOMMENDED OPERATING CONDITIONS (AVSS, DVSS, SVSS=0V; Note 1) Parameter Symbol min typ Power Supplies Analog AVDD 2.6 3.3 (Note 6) Digital DVDD 2.6 3.3 Speaker-Amp (Note 7) SVDD 2.6 3.3 / 5.0 Video (Note 8) VVDD 2.8 or AVDD 3.3 / 5.0 Difference AVDD-DVDD -0.3 0 max 3.6 3.6 5.25 5.25 0.3 Units V V V V V Note 1. All voltages with respect to ground Note 6. The power up sequence between AVDD, DVDD and SVDD is not critical. When the power supplies are partially powered OFF, the AK4632 must be reset by bringing PDN pin “L” after these power supplies are powered ON again. Note 7. SVDD = 2.6 ∼ 3.6V when 8Ω dynamic speaker is connected to the AK4632. If SVDD is more than 3.6V when 8Ω dynamic speaker is connected to the AK4632, the output of Speaker-Amp should be restricted in consideration of maximum power dissipation as the following. SPoMax SPKMPD Rmin Vmax : Maximum Output Power of SPK-Amp[mW] : Maximum Power Dissipation of SPK-Amp[mW] : Minimum Impedance of speaker[Ω] : Maximum permission output voltage of SPK-Amp[Vrms] SPKMPD = 700 – AVDD(max) x 17.5 – VVDD(max) x 12 – SVDD(max) x 27 A = 2 x sqrt(2) x SVDD(max) / π B = A x A – 4 x Rmin x SPKMPD / 1000 Vmax= (A – sqrt(B)) / 2 SPoMax = 1000 x Vmax x Vmax / Rmin Maximum Output Power of SPK-Amp at B < 0 : No limitation Maximum Output Power of SPK-Amp at B ≥ 0: This power should be less than or equal to SPoMax[mW]. Regardless of the condition of B, the distortion of output signal increases, when SPK-Amp output power exceeds 240mW. Note 8. Minimum value is higher value between 2.8V and AVDD[V]. * AKM assumes no responsibility for the usage beyond the conditions in this datasheet. MS0396-E-00 2005/06 -6- ASAHI KASEI [AK4632] ANALOG CHRACTERISTICS (Ta=25°C; AVDD, DVDD, SVDD, VVDD=3.3V; AVSS=DVSS=SVSS=0V; fs=8kHz, BICK=64fs; Signal Frequency=1kHz; 16bit Data; Measurement frequency=20Hz ∼ 3.4kHz; EXT Slave Mode; unless otherwise specified) min typ max Units Parameter MIC Amplifier Input Resistance 20 30 40 kΩ Gain (MGAIN1-0 bits = “00”) dB 0 dB 20 (MGAIN1-0 bits = “01”) dB 26 (MGAIN1-0 bits = “10”) dB 32 (MGAIN1-0 bits = “11”) MIC Power Supply: MPI pin Output Voltage (Note 9) 2.22 2.47 2.72 V Load Resistance 2 kΩ Load Capacitance 30 pF Input PGA Characteristics: Input Resistance (Note 10) 5 10 15 kΩ Step Size 0.05 0.5 0.9 dB Gain Control Range +27.5 dB −8 ADC Analog Input Characteristics: MIC Æ IPGA Æ ADC, MIC Gain=20dB, IPGA=0dB, ALC1=OFF Resolution 16 Bits Input Voltage (MIC Gain=20dB, Note 11) 0.168 0.198 0.228 Vpp 68 80 dB S/(N+D) (−1dBFS) (Note 12) 75 85 dB D-Range (−60dBFS) S/N 75 85 dB DAC Characteristics: Resolution 16 Bits Mono Line Output Characteristics: AOUT pin, DAC → AOUT, RL=10kΩ 1.78 1.98 2.18 Vpp Output Voltage (Note 13) 73 85 dB S/(N+D) (0dBFS) (Note 12) 83 93 dB D-Range (-60dBFS) 83 93 dB S/N 10 Load Resistance kΩ 30 pF Load Capacitance Note 9. Output voltage is proportional to AVDD voltage. Vout = 0.75 x AVDD (typ) Note 10. When IPGA Gain is changed, this typical value changes between 8kΩ and 11kΩ. Note 11. Input voltage is proportional to AVDD voltage. Vin = 0.06 x AVDD (typ) Note 12. When a PLL reference clock is FCK pin in PLL Slave Mode, S/(N+D) is 77dB (typ). Note 13. Output voltage is proportional to AVDD voltage. Vout = 0.6 x AVDD (typ) MS0396-E-00 2005/06 -7- ASAHI KASEI [AK4632] min typ max Units Parameter Speaker-Amp Characteristics: SPP/SPN pins, MIN Æ SPP/SPN, ALC2=OFF, RL=8Ω, BTL, SVDD=3.3V Output Voltage 2.47 3.09 3.71 Vpp SPKG1-0 bits = “00” (-0.5dBFS) (Note 14) 3.10 4.00 4.80 Vpp SPKG1-0 bits = “01” (-0.5dBFS) S/(N+D) at 150mW Output 20 60 dB at 240mW Output 50 dB at 400mW Output 20 dB 80 90 dB S/N (Note 16) Load Resistance 8 Ω 30 pF Load Capacitance Speaker-Amp Characteristics: MIN Æ SPP/SPN pins, ALC2=OFF, CL=3µF, Rserial=10Ω x 2, BTL, SVDD=5.0V Output Voltage 6.72 Vpp SPKG1-0 bits = “10” (Note 14) 6.80 8.50 10.20 Vpp SPKG1-0 bits = “11” 60 dB S/(N+D) (Note 14) SPKG1-0 bits = “10” (Note 15) 20 50 dB SPKG1-0 bits = “11” 80 80 90 dB S/N (Note 15) (Note 16) Load Impedance (Note 17) 50 Ω 3 Load Capacitance µF BEEP Input: BEEP pin, External Input Resistance= 20kΩ Maximum Input Voltage (Note 18) 1.98 Vpp Output Voltage (Input Voltage=0.6Vpp) 0.74 1.48 2.22 Vpp BEEP Æ SPP/SPN (SPKG1-0 bits = “00”) 0.3 0.6 0.9 Vpp BEEP Æ AOUT Mono Input: MIN pin 2.18 Vpp Maximum Input Voltage (Note 19) 12 24 36 Input Resistance (Note 20) kΩ Mono Output: MOUT pin, DAC→ MOUT 1.78 1.98 2.18 Vpp Output Voltage (Note 21) Load Resistance 10 kΩ 30 pF Load Capacitance Note 14. The full scale of Input signal of MIN pin is 1.98Vpp. Note 15. In case of measuring between SPP pin and SPN pin directly. Note 16. There are no relations with the setup of SPKG1-0 bits, and it is the same value. Note 17. Load impedance is total impedance of series resistance and piezo speaker impedance at 1kHz in Figure 35. Load capacitance is capacitance of piezo speaker. When piezo speaker is used, 10Ω or more series resistors should be connected at both SPP and SPN pins, respectively. Note 18. The maximum input voltage of the BEEP is proportional to AVDD voltage and external input resistance(Rin). Vout = 0.6 x AVDD x Rin/20kΩ(max). Note 19. Maximum Input Voltage is proportional to AVDD voltage. Vin = 0.66 x AVDD (max) Note 20. When ALC2 Gain is changed, this typical value changes between 22kΩ and 26kΩ. Note 21. Output Voltage is proportional to AVDD voltage. Vout = 0.6 x AVDD (typ) MS0396-E-00 2005/06 -8- ASAHI KASEI [AK4632] Parameter min Y Input Characteristics: Maximum Input Voltage (Note 22) Pull Down Current V Output Characteristics: Output Gain VIN=100kHz (GCA=0dB) 5.0 Maximum Output at DC output 2.4 Voltage at Sag Compensation Output 100µF+2.2 uF, VVDD ≥ 3.135 V at Sag Compensation Output 47µF+1.0uF, VVDD ≥ 3.135 V Clamp Voltage at DC output S/N BW=100kH ∼ 6MHz Secondary Distortion VIN=3.58MHz, 1.0Vpp(Sin Wave) (Note 23) Load Resistance 140 Load Capacitance C1(See Figure 2) C2(See Figure 2) (Note 24) LPF Frequency Response -3.0 Response at 6.75MHz Input=1.26Vpp, Sin Wave Response at 27MHz (0dB at 100kHz) Group Delay |GD3MHz −GD6MHz| GCA Characteristics: Step Size 0.1 GCA = -1.0dB ∼ +10.5dB Power Supplies Power Up (PDN = “H”) All Circuit Power-up: (Note 25) AVDD+DVDD fs=8kHz 9 fs=48kHz 11.5 SVDD: Speaker-Amp Normal Operation (SPPS bit = “1”, No Output) SVDD=3.3V 7 SVDD=5.0V 9 VVDD (Note 26) VVDD=3.3V 7.5 VVDD=5.0V 8 Power Down (PDN = “L”) (Note 27) 10 AVDD+DVDD+SVDD+VVDD typ max Units 1.2 2.0 - Vpp µA 6.0 2.52 2.4 7.0 - dB Vpp Vpp 2.4 - Vpp 0.15 66 -45 - V dB dB 150 - 15 400 Ω pF pF -0.5 -30 -20 dB dB 10 100 nsec 0.5 0.9 dB 17.5 mA mA 27 mA mA 12 mA mA 100 µA Note 22. Input Voltage doesn’t depend on VVDD. Note 23. In the case of using Sag Compensation Circuit with 47µF+ 1.0uF and SAGC1-0 bits = “10” Note 24. R1 and C2 compose of Low Pass Filter(LPF) in Figure 2. The cut off frequency of LPF is 10.6MHz at C2 = 400pF. R1 75 ohm Video Signal Output R2 75 ohm C1 C2 Figure 2. Load Capacitance C1 and C2 MS0396-E-00 2005/06 -9- ASAHI KASEI [AK4632] Note 25. PLL Master Mode (MCKI=12.288MHz) and PMV=PMMIC = PMADC = PMDAC = PMSPK = PMVCM = PMPLL = MCKO = PMAO = PMBP = MPWR = M/S =“1”. And output current from MPI pin is 0mA. When the AK4632 is EXT mode (PMPLL = MCKO = M/S = “0”), “AVDD+DVDD” is typically 7mA@fs=8kHz, 9.5mA@fs=48kHz). Note 26. This is the case of SAGC bits = “00” and no load resistance and capacitance. When SAGC bits = “10” and Black signal is output, this current is typ.8mA. In the case of DC Output, this current increases by DC voltage / 150 Ω. DC Output Voltage is 0V at PMV bit = “0”, and then DC current doesn’t flow. When any signal isn’t input at using Sag Compensation Circuit, PMV bit should be set to “0”. Note 27. MCKI pin is fixed to DVSS and all digital inputs pins except MCKI pin are fixed to DVSS or DVSS. FILTER CHRACTERISTICS (Ta = 25°C; AVDD, DVDD = 2.6 ∼ 3.6V; SVDD =2.6 ∼ 5.25V; VVDD =2.8 ∼ 5.25V; fs=8kHz) Parameter Symbol min typ max ADC Digital Filter (Decimation LPF): ±0.16dB PB 0 3.0 Passband (Note 28) −0.66dB 3.5 −1.1dB 3.6 −6.9dB 4.0 Stopband (Note 28) SB 4.7 Passband Ripple PR ±0.1 Stopband Attenuation SA 73 Group Delay (Note 29) GD 17.1 Group Delay Distortion ∆GD 0 ADC Digital Filter (HPF): Frequency Response (Note 28) −3.0dB FR 0.62 −0.5dB 1.81 −0.1dB 3.99 DAC Digital Filter: Passband (Note 28) ±0.1dB PB 0 3.6 −0.7dB 3.6 −6.0dB 4.0 Stopband (Note 28) SB 4.6 Passband Ripple PR ±0.01 Stopband Attenuation SA 59 Group Delay (Note 29) GD 16.8 DAC Digital Filter + Analog Filter: Frequency Response: 0 ∼ 3.4kHz FR ±1.0 Units kHz kHz kHz kHz kHz dB dB 1/fs µs Hz Hz Hz kHz kHz kHz dB dB 1/fs dB Note 28. The passband and stopband frequencies are proportional to fs (system sampling rate). For example, ADC is PB=0.45*fs (@-1.1dB). A reference of frequency response is 1kHz. Note 29. 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 a channel 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 a channel from the input register to the output of analog signal. DC CHRACTERISTICS (Ta = 25°C; AVDD, DVDD = 2.6 ∼ 3.6V; SVDD =2.6 ∼ 5.25V) Parameter Symbol min High-Level Input Voltage VIH 70%DVDD Low-Level Input Voltage VIL High-Level Output Voltage (Iout=−80µA) VOH DVDD−0.4 Low-Level Output Voltage (Iout= 80µA) VOL Input Leakage Current Iin - MS0396-E-00 typ - max 30%DVDD 0.4 ±10 Units V V V V µA 2005/06 - 10 - ASAHI KASEI [AK4632] SWITING CHARACTERISTICS (Ta = 25°C; AVDD, DVDD = 2.6 ∼ 3.6V; SVDD =2.6 ∼ 5.25V ; VVDD =2.8 ∼ 5.25V; CL=20pF) Parameter Symbol min typ max PLL Master Mode (PLL Reference Clock = MCKI pin) (Figure 3) MCKI Input: Frequency Pulse Width Low Pulse Width High MCKO Output: Frequency Duty Cycle except fs=29.4kHz, 32kHz fs=29.4kHz, 32kHz (Note 30) FCK Output: Frequency Duty Cycle BICK: Period (BCKO1-0 = “00”) (BCKO1-0 = “01”) (BCKO1-0 = “10”) Duty Cycle Audio Interface Timing DSP Mode: (Figure 4, Figure 5) FCK “↑” to BICK “↑” (Note 31) FCK “↑” to BICK “↓” (Note 32) BICK “↑” to SDTO (BCKP = “0”) BICK “↓” to SDTO (BCKP = “1”) SDTI Hold Time SDTI Setup Time Except DSP Mode: (Figure 6) BICK “↓” to FCK Edge FCK to SDTO (MSB) (Except I2S mode) BICK “↓” to SDTO SDTI Hold Time SDTI Setup Time Units fCLK tCLKL tCLKH 11.2896 0.4/fCLK 0.4/fCLK - 27.0 - MHz ns ns fMCK dMCK dMCK fFCK dFCK tBCK tBCK tBCK dBCK 40 8 - 256 x fFCK 50 33 50 1/16fFCK 1/32fFCK 1/64fFCK 50 60 48 - kHz % % kHz % ns ns ns % tDBF tDBF tBSD tBSD tSDH tSDS 0.5 x tBCK -40 0.5 x tBCK -40 -70 -70 50 50 0.5 x tBCK 0.5 x tBCK - 0.5 x tBCK + 40 0.5 x tBCK +40 70 70 - ns ns ns ns ns ns tBFCK tFSD -40 -70 - 40 70 ns ns tBSD tSDH tSDS -70 50 50 - 70 - ns ns ns MS0396-E-00 2005/06 - 11 - ASAHI KASEI [AK4632] Parameter Symbol min PLL Slave Mode (PLL Reference Clock: FCK pin) (Figure 7, Figure 8) FCK: Frequency DSP Mode: Pulse Width High Except DSP Mode: Duty Cycle BICK: Period Pulse Width Low Pulse Width High fFCK tFCKH duty tBCK tBCKL tBCKH 7.35 tBCK-60 45 1/64fFCK 240 240 typ max Units 8 - 26 1/fFCK-tBFCK 55 1/16fFCK - kHz ns % ns ns ns 8 1/16fFCK 1/32fFCK 1/64fFCK - 48 1/fFCK-tBFCK 55 - kHz ns % ns ns ns ns ns PLL Slave Mode (PLL Reference Clock: BICK pin) (Figure 7, Figure 8) FCK: Frequency DSP Mode: Pulse width High Except DSP Mode: Duty Cycle BICK: Period (PLL3-0 = “0001”) (PLL3-0 = “0010”) (PLL3-0 = “0011”) Pulse Width Low Pulse Width High fFCK tFCKH duty tBCK tBCK tBCK tBCKL tBCKH 7.35 tBCK-60 45 0.4 x tBCK 0.4 x tBCK PLL Slave Mode (PLL Reference Clock: MCKI pin) (Figure 9) MCKI Input: Frequency Pulse Width Low Pulse Width High MCKO Output: Frequency Duty Cycle except fs=29.4kHz, 32kHz fs=29.4kHz, 32kHz (Note 30) FCK: Frequency DSP Mode: Pulse width High Except DSP Mode: Duty Cycle BICK: Period Pulse Width Low Pulse Width High Audio Interface Timing DSP Mode: (Figure 10,Figure 11) FCK “↑” to BICK “↑” (Note 31) FCK “↑” to BICK “↓” (Note 32) BICK “↑” to FCK “↑” (Note 31) BICK “↓” to FCK “↑” (Note 32) BICK “↑” to SDTO (BCKP = “0”) BICK “↓” to SDTO (BCKP = “1”) SDTI Hold Time SDTI Setup Time Except DSP Mode: (Figure 13) FCK Edge to BICK “↑” (Note 33) BICK “↑” to FCK Edge (Note 33) FCK to SDTO (MSB) (Except I2S mode) BICK “↓” to SDTO SDTI Hold Time SDTI Setup Time fCLK fCLKL fCLKH 11.2896 0.4/fCLK 0.4/fCLK - 27.0 - MHz ns ns fMCK dMCK dMCK fFCK tFCKH duty tBCK tBCKL tBCKH 40 8 tBCK-60 45 1/64fFCK 0.4 x tBCK 0.4 x tBCK 256 x fFCK 50 33 - 60 48 1/fFCK-tBFCK 55 1/16fFCK - kHz % % kHz ns % ns ns ns tFCKB tFCKB tBFCK tBFCK tBSD tBSD tSDH tSDS 0.4 x tBCK 0.4 x tBCK 0.4 x tBCK 0.4 x tBCK 50 50 - 80 80 - ns ns ns ns ns ns ns ns tFCKB tBFCK tFSD tBSD tSDH tSDS 50 50 50 50 - 80 80 - ns ns ns ns ns ns MS0396-E-00 2005/06 - 12 - ASAHI KASEI [AK4632] Parameter EXT Slave Mode (Figure 12) Symbol min typ Max Units MCKI Frequency: 256fs 512fs 1024fs Pulse Width Low Pulse Width High FCK Frequency (MCKI = 256fs) (MCKI = 512fs) (MCKI = 1024fs) Duty Cycle BICK Period BICK Pulse Width Low Pulse Width High fCLK fCLK fCLK tCLKL tCLKH fFCK fFCK fFCK duty tBCK tBCKL tBCKH 1.8816 3.7632 7.5264 0.4/fCLK 0.4/fCLK 7.35 7.35 7.35 45 312.5 130 130 2.048 4.096 8.192 8 8 8 - 12.288 13.312 13.312 48 26 13 55 - MHz MHz MHz ns ns Audio Interface Timing (Figure 13) FCK Edge to BICK “↑“ (Note 33) BICK “↑“ to FCK Edge (Note 33) FCK to SDTO (MSB) (Except I2S mode) BICK “↓“ to SDTO SDTI Hold Time SDTI Setup Time tFCKB tBFCK tFSD tBSD tSDH tSDS 50 50 50 50 - 80 80 - ns ns ns ns ns ns kHz kHz % ns ns ns Note 30. Duty Cycle = (the width of “L” ) / (the period of clock) × 100 Note 31. MSBS, BCKP bits = “00” or “11” Note 32. MSBS, BCKP bits = “01” or “10” Note 33. BICK rising edge must not occur at the same time as FCK edge. Parameter Control Interface Timing: CCLK Period CCLK Pulse Width Low Pulse Width High CDTI Setup Time CDTI Hold Time CSN “H” Time CSN “↓“ to CCLK “↑“ CCLK “↑“ to CSN “↑“ Reset Timing PDN Pulse Width PMADC “↑“ to SDTO valid (Note 34) (Note 35) Symbol min typ max Units tCCK tCCKL tCCKH tCDS tCDH tCSW tCSS tCSH 200 80 80 40 40 150 150 50 - - ns ns ns ns ns ns ns ns tPD tPDV 150 - 1059 - ns 1/fs Note 34. The AK4632 can be reset by the PDN pin = “L” Note 35. This is the count of FCK “↑“ from the PMADC = “1”. MS0396-E-00 2005/06 - 13 - ASAHI KASEI [AK4632] Timing Diagram 1/fCLK VIH MCKI VIL tCLKH tCLKL 1/fFCK 50%DVDD FCK dFCK dFCK 1/fMCK 50%DVDD MCKO tMCKOH tMCKOL dMCK = tMCKOL x fMCK x 100 Figure 3. Clock Timing (PLL Master mode) FCK 50%DVDD tBCK tDBF dBCK BICK (BCKP = "0") 50%DVDD BICK (BCKP = "1") 50%DVDD tBSD SDTO MSB tSDS 50%DVDD tSDH VIH SDTI MSB VIL Figure 4. Audio Interface Timing (PLL Master mode & DSP mode: MSBS = “0”) MS0396-E-00 2005/06 - 14 - ASAHI KASEI [AK4632] FCK 50%DVDD tBCK tDBF dBCK BICK (BCKP = "1") 50%DVDD BICK (BCKP = "0") 50%DVDD tBSD SDTO 50%DVDD MSB tSDS SDTI tSDH VIH MSB VIL Figure 5. Audio Interface Timing (PLL Master mode & DSP mode: MSBS = “1”) 50%DVDD FCK tBFCK dBCK BICK 50%DVDD tFSD tBSD SDTO 50%DVDD tSDH tSDS VIH SDTI VIL Figure 6. Audio Interface Timing (PLL Master mode & Except DSP mode) MS0396-E-00 2005/06 - 15 - ASAHI KASEI [AK4632] 1/fFCK VIH FCK VIL tFCKH tBFCK tBCK VIH BICK (BCKP = "0") VIL tBCKH tBCKL VIH BICK (BCKP = "1") VIL Figure 7. Clock Timing (PLL Slave mode; PLL Reference clock = FCK or BICK pin & DSP mode; MSBS = 0) 1/fFCK VIH FCK VIL tFCKH tBFCK tBCK VIH BICK (BCKP = "1") VIL tBCKH tBCKL VIH BICK (BCKP = "0") VIL Figure 8. Clock Timing (PLL Slave mode; PLL Reference Clock = FCK or BICK pin & DSP mode; MSBS = 1) MS0396-E-00 2005/06 - 16 - ASAHI KASEI [AK4632] 1/fCLK VIH MCKI VIL tCLKH tCLKL 1/fFCK VIH FCK VIL tFCKH tFCKL tBCK VIH BICK VIL tBCKH tBCKL 1/fMCK 50%DVDD MCKO tMCKOH tMCKOL dMCK = tMCKOL x fMCK x 100 Figure 9. Clock Timing (PLL Slave mode; PLL Reference Clock = MCKI pin & Except DSP mode) MS0396-E-00 2005/06 - 17 - ASAHI KASEI [AK4632] tFCKH VIH FCK VIL tFCKB VIH BICK VIL (BCKP = "0") VIH BICK (BCKP = "1") VIL tBSD SDTO 50%DVDD MSB tSDS tSDH VIH SDTI MSB VIL Figure 10. Audio Interface Timing (PLL Slave mode & DSP mode; MSBS = 0) tFCKH VIH FCK VIL tFCKB VIH BICK VIL (BCKP = "1") VIH BICK (BCKP = "0") VIL tBSD SDTO MSB tSDS 50%DVDD tSDH VIH SDTI MSB VIL Figure 11. Audio Interface Timing (PLL Slave mode, DSP mode; MSBS = 1) MS0396-E-00 2005/06 - 18 - ASAHI KASEI [AK4632] 1/fCLK VIH MCKI VIL tCLKH tCLKL 1/fFCK VIH FCK VIL tFCKH tFCKL tBCK VIH BICK VIL tBCKH tBCKL Figure 12. Clock Timing (EXT Slave mode) VIH FCK VIL tBFCK tFCKB VIH BICK VIL tBSD tFSD SDTO MSB 50%DVDD tSDH tSDS VIH SDTI VIL Figure 13. Audio Interface Timing (PLL, EXT Slave mode & Except DSP mode) MS0396-E-00 2005/06 - 19 - ASAHI KASEI [AK4632] VIH CSN VIL tCCKL tCSS tCCKH VIH CCLK VIL tCCK tCDH tCDS VIH CDTI C1 C0 R/W VIL Figure 14. WRITE Command Input Timing tCSW VIH CSN VIL tCSH VIH CCLK VIL VIH CDTI D2 D1 D0 VIL Figure 15. WRITE Data Input Timing VIH CSN VIL tPDV SDTO 50%DVDD Figure 16. Power Down & Reset Timing 1 tPD PDN VIL Figure 17. Power Down & Reset Timing 2 MS0396-E-00 2005/06 - 20 - ASAHI KASEI [AK4632] OPERATION OVERVIEW System Clock There are the following four clock modes to interface with external devices. (See Table 1 and Table 2) Mode PMPLL bit M/S bit PLL3-0 bit PLL Master Mode 1 1 See Table 4 PLL Slave Mode 1 1 0 See Table 4 (PLL Reference Clock: MCKI pin) PLL Slave Mode 2 1 0 See Table 4 (PLL Reference Clock: FCK or BICK pin) EXT Slave Mode 0 0 X Invalid state (Note 36) 0 1 X Table 1. Clock Mode Setting (X: Don’t care) MCKPD bit 0 Figure Figure 19 0 Figure 20 1 Figure 21 0 X Figure 22 - Note 36. If this mode is selected, the invalid clocks are output from MCKO, FCK and BICK pins. Mode PLL Master Mode PLL Slave Mode 1 (PLL Reference Clock: MCKI pin) PLL Slave Mode 2 (PLL Reference Clock: FCK or BICK pin) EXT Slave Mode MCKO bit MCKO pin MCKI pin BICK pin FCK pin 0 “L” Output 1 256fs Output Master Clock Input for PLL (Note 37) 16fs/32fs/64fs Output 1fs Output 0 “L” Output 1 256fs Output Master Clock Input for PLL (Note 37) 16fs/32fs/64fs Input 1fs Input 0 “L” Output GND 16fs/32fs/64fs Input 1fs Input 256fs/ 512fs/ ≥ 32fs 0 “L” Output 1024fs Input Input Note 37. 11.2896MHz/12MHz/12.288MHz/13.5MHz/24MHz/27MHz Table 2. Clock pins state in Clock Mode 1fs Input [Pull-down resistor of MCKI pin] When the master clock is input, MCKPD bit should be “0”. When the MCKI pin is floating, the pin should be pulled-down by internal 25kΩ resistor at MCKPD bit = “1”(Default). MCKI MCKPD bit ="0" 25kΩ AK4632 Figure 18. Pull-down resistor of MCKI pin MS0396-E-00 2005/06 - 21 - ASAHI KASEI [AK4632] Master Mode/Slave Mode The M/S bit selects either master or slave modes. M/S bit = “1” selects master mode and “0” selects slave mode. When the AK4632 is power-down mode (PDN pin = “L”) and exits reset state, the AK4632 is slave mode. After exiting reset state, the AK4632 goes master mode by changing M/S bit = “1”. When the AK4632 is used by master mode, FCK and BICK pins are a floating state until M/S bit becomes “1”. FCK and BICK pins of the AK4632 should be pulled-down or pulled-up by about 100kΩ resistor externally to avoid the floating state. M/S bit Mode 0 Slave Mode Default 1 Master Mode Table 3. Select Master/Salve Mode PLL Mode When PMPLL bit is “1”, a fully integrated analog phase locked loop (PLL) generates a clock that is selected by the PLL3-0 and FS3-0 bits. The PLL lock time is shown in Table 4, whenever the AK4632 is supplied to a stable clocks after PLL is powered-up (PMPLL bit = “0” → “1”) or sampling frequency changes. 1) Setting of PLL Mode R and C of PLL Input VCOC pin Reference Frequency Clock Input C[F] R[Ω] Pin 0 FCK pin 1fs 6.8k 220n 1 BICK pin 16fs 10k 4.7n 0 BICK pin 32fs 10k 4.7n 1 BICK pin 64fs 10k 4.7n 0 MCKI pin 11.2896MHz 10k 4.7n 1 MCKI pin 12.288MHz 10k 4.7n 0 MCKI pin 12MHz 10k 4.7n 1 MCKI pin 24MHz 10k 4.7n 0 MCKI pin 13.5MHz 10k 10n 1 MCKI pin 27MHz 10k 10n N/A Table 4. Setting of PLL Mode (*fs: Sampling Frequency) Mode PLL3 bit PLL2 bit PLL1 bit 0 1 2 3 4 5 6 7 12 13 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 Others Others PLL0 bit PLL Lock Time (max) 160ms 2ms 2ms 2ms 40ms 40ms 40ms 40ms 40ms 40ms Default 2) Setting of sampling frequency in PLL Mode. When PLL2 bit is “1” (PLL reference clock input is MCKI pin), the sampling frequency is selected by FS2-0 bits as defined in Table 5. Mode FS3 bit FS2 bit FS1 bit FS0 bit Sampling Frequency 0 0 0 0 0 8kHz Default 1 0 0 0 1 12kHz 2 0 0 1 0 16kHz 3 0 0 1 1 24kHz 4 0 1 0 0 7.35kHz 5 0 1 0 1 11.025kHz 6 0 1 1 0 14.7kHz 7 0 1 1 1 22.05kHz 10 1 0 1 0 32kHz 11 1 0 1 1 48kHz 14 1 1 1 0 29.4kHz 15 1 1 1 1 44.1kHz Others Others N/A Table 5. Setting of Sampling Frequency at PLL2 bit = “1” and PMPLL bit = “1” MS0396-E-00 2005/06 - 22 - ASAHI KASEI [AK4632] When PLL2 bit is “0” (PLL reference clock input is FCK or BICK pin), the sampling frequency is selected by FS3, FS1-0 bits. (See Table 6) Mode 0 1 2 3 6 7 Others FS3 bit 0 0 0 0 1 1 FS2 bit FS1 bit FS0 bit Sampling Frequency Range Don’t care 0 Default 0 7.35kHz ≤ fs ≤ 8kHz Don’t care 1 0 8kHz < fs ≤ 12kHz Don’t care 0 1 12kHz < fs ≤ 16kHz Don’t care 1 1 16kHz < fs ≤ 24kHz Don’t care 0 1 24kHz < fs ≤ 32kHz Don’t care 1 1 32kHz < fs ≤ 48kHz Others N/A Table 6. Setting of Sampling Frequency at PLL2 bit = “0” and PMPLL bit = “1” PLL Unlock State 1) PLL Master Mode (PMPLL bit = “1”, M/S bit = “1”) In this mode, irregular frequency clocks are output from FCK, BICK and MCKO pins after PMPLL bit = “0” Æ “1” or sampling frequency is changed. After that PLL is unlocked, BICK and FCK pins output “L” for a moment, and invalid frequency clock is output from MCKO pin at MCKO bit = “1”. If MCKO bit is “0”, MCKO pin is output to “L”. (See Table 7) After the PLL is locked, a first period of FCK and BICK may be invalid clock, but these clocks return to normal state after a period of 1/fs. MCKO pin BICK pin FCK pin MCKO bit = “0” MCKO bit = “1” Invalid Invalid Invalid After that PMPLL bit “0” Æ “1” “L” Output PLL Unlock Invalid “L” Output “L” Output “L” Output 256fs Output 1fs Output PLL Lock See Table 9 “L” Output Table 7. Clock Operation at PLL Master Mode (PMPLL bit = “1”, M/S bit = “1”) PLL State 2) PLL Slave Mode (PMPLL bit = “1”, M/S bit = “0”) In this mode, an invalid clock is output from MCKO pin after PMPLL bit = “0” Æ “1” or sampling frequency is changed. After that, 256fs is output from MCKO pin when PLL is locked. ADC and DAC output invalid data when the PLL is unlocked. For DAC, the output signal should be muted by writing “0” to DACA and DACM bits in Addr=02H. MCKO pin MCKO bit = “0” MCKO bit = “1” Invalid After that PMPLL bit “0” Æ “1” “L” Output PLL Unlock Invalid “L” Output PLL Lock 256fs Output “L” Output Table 8. Clock Operation at PLL Slave Mode (PMPLL bit = “1”, M/S bit = “0”) PLL State MS0396-E-00 2005/06 - 23 - ASAHI KASEI [AK4632] PLL Master Mode (PMPLL bit = “1”, M/S bit = “1”) When an external clock (11.2896MHz, 12MHz , 12.288MHz, 13.5MHz, 24MHz or 27MHz) is input to MCKI pin, the MCKO, BICK and FCK clocks are generated by an internal PLL circuit. The MCKO output frequency is fixed to 256fs, the output is enabled by MCKO bit. The BICK is selected among 16fs, 32fs or 64fs, by BCKO1-0 bits. (See Table 9) When BICK output frequency is 16fs, the audio interface format supports only Mode 0 (DSP Mode). 11.2896MHz, 12MHz, 12.288MHz 13.5MHz, 24MHz, 27MHz AK4632 DSP or µ P MCKI MCKO BICK FCK 256fs 16fs, 32fs, 64fs 1fs MCLK BCLK FCK SDTO SDTI SDTI SDTO Figure 19. PLL Master Mode Mode 0 1 2 3 BICK Output Frequency 0 0 16fs 0 1 32fs 1 0 64fs 1 1 N/A Table 9. BICK Output Frequency at Master Mode BCKO1 BCKO0 MS0396-E-00 Default 2005/06 - 24 - ASAHI KASEI [AK4632] PLL Slave Mode (PMPLL bit = “1”, M/S bit = “0”) A reference clock of PLL is selected among the input clocks to MCKI, BICK or FCK pin. The required clock to the AK4632 is generated by an internal PLL circuit. Input frequency is selected by PLL3-0 bits. When BICK input frequency is 16fs, the audio interface format supports only Mode 0 (DSP Mode). a) PLL reference clock: BICK or FCK pin In the case of using BICK as PLL reference clock, the sampling frequency corresponds to 7.35kHz to 48kHz by changing FS3-0 bits. In the case of using FCK, the sampling frequency corresponds to 7.35kHz to 26kHz. (SeeTable 6) AK4632 DSP or µ P MCKO MCKI BICK FCK 16fs, 32fs, 64fs 1fs BCLK FCK SDTO SDTI SDTI SDTO Figure 20. PLL Slave Mode 1 (PLL Reference Clock: FCK or BICK pin) b) PLL reference clock: MCKI pin BICK and FCK inputs should be synchronized with MCKO output. The phase between MCKO and FCK dose not matter. Sampling frequency can be selected by FS3-0 bits. (See Table 5) 11.2896MHz, 12MHz, 12.288MHz 13.5MHz, 24MHz, 27MHz AK4632 DSP or µ P MCKI MCKO BICK FCK 256fs 16fs, 32fs, 64fs 1fs MCLK BCLK FCK SDTO SDTI SDTI SDTO Figure 21. PLL Slave Mode 2 (PLL Reference Clock: MCKI pin) The external clocks (MCKI, BICK and FCK) should always be present whenever the ADC or DAC is in operation (PMADC bit = “1” or PMDAC bit = “1”). If these clocks are not provided, the AK4632 may draw excess current and it is not possible to operate properly because utilizes dynamic refreshed logic internally. If the external clocks are not present, the ADC and DAC should be in the power-down mode (PMADC bit =PMDAC bit = “0”). MS0396-E-00 2005/06 - 25 - ASAHI KASEI [AK4632] EXT Slave Mode (PMPLL bit = “0”, M/S bit = “0”) When PMPLL bit is “0”, the AK4632 becomes EXT mode. Master clock is input from MCKI pin, the internal PLL circuit is not operated. This mode is compatible with I/F of the normal audio CODEC. The clocks required to operate are MCKI (256fs, 512fs or 1024fs), FCK (fs) and BICK (32fs∼). The master clock (MCKI) should be synchronized with FCK. The phase between these clocks does not matter. The input frequency of MCKI is selected by FS3-0 bits. (See Table 10) Mode 0 1 2 3 FS3-2 bits FS1 bit FS0 bit MCKI Input Sampling Frequency Frequency Range Don’t care 0 256fs 0 7.35kHz ≤ fs ≤ 48kHz Don’t care 1 1024fs 0 7.35kHz < fs ≤ 13kHz Don’t care 0 256fs 1 7.35kHz < fs ≤ 48kHz Don’t care 1 512fs 1 7.35kHz < fs ≤ 26kHz Table 10. MCKI Frequency at EXT Slave Mode (PMPLL bit = “0”, M/S bit = “0”) Default External Slave Mode does not support Mode 0 (DSP Mode) of Audio Interface Format. The S/N of the DAC at low sampling frequencies is worse than at high sampling frequencies due to out-of-band noise. When the out-of-band noise can be improved by using higher frequency of the master clock. The S/N of the DAC output through AOUT amp at fs=8kHz is shown in Table 11. S/N (fs=8kHz, 20kHzLPF + A-weight) 256fs 83dB 512fs 93dB 1024fs 93dB Table 11. Relationship between MCKI and S/N of AOUT MCKI The external clocks (MCKI, BICK and FCK) should always be present whenever the ADC or DAC is in operation (PMADC bit = “1” or PMDAC bit = “1”). If these clocks are not provided, the AK4632 may draw excess current and it is not possible to operate properly because utilizes dynamic refreshed logic internally. If the external clocks are not present, the ADC and DAC should be in the power-down mode (PMADC bit = PMDAC bit = “0”). AK4632 DSP or µ P MCKO 256fs, 512fs or 1024fs MCKI BICK FCK MCLK 32fs, 64fs 1fs BCLK FCK SDTO SDTI SDTI SDTO Figure 22. EXT Slave Mode MS0396-E-00 2005/06 - 26 - ASAHI KASEI [AK4632] Audio Interface Format Four types of data formats are available and are selected by setting the DIF1-0 bits. (See Table 12) In all modes, the serial data is MSB first, 2’s complement format. Audio interface formats can be used in both master and slave modes. FCK and BICK are output from AK4632 in master mode, but must be input to AK4632 in slave mode. In Mode 1-3, the SDTO is clocked out on the falling edge of BICK and the SDTI is latched on the rising edge. Mode 0 1 2 3 DIF1 0 0 1 1 DIF0 0 1 0 1 SDTO (ADC) SDTI (DAC) BICK DSP Mode DSP Mode ≥ 16fs MSB justified MSB justified ≥ 32fs MSB justified MSB justified ≥ 32fs I2S compatible I2S compatible ≥ 32fs Table 12. Audio Interface Format Figure See Table 13 Figure 27 Figure 28 Figure 29 Default In Mode0 (DSP mode), the audio I/F timing is changed by BCKP and MSBS bits. When BCKP bit is “0”, SDTO data is output by rising edge of BICK, SDTI data is latched by falling edge of BICK. When BCKP bit is “1”, SDTO data is output by falling edge of BICK, SDTI data is latched by rising edge of BICK. MSB data position of SDTO and SDTI can be shifted by MSBS bit. The shifted period is a half of BICK. MSBS bit BCKP bit Audio Interface Format 0 0 Figure 23 0 1 Figure 24 1 0 Figure 25 1 1 Figure 26 Table 13. Audio Interface Format in Mode 0 Default If 16-bit data that ADC outputs is converted to 8-bit data by removing LSB 8-bit, “−1” at 16bit data is converted to “−1” at 8-bit data. And when the DAC playbacks this 8-bit data, “−1” at 8-bit data will be converted to “−256” at 16-bit data and this is a large offset. This offset can be removed by adding the offset of “128” to 16-bit data before converting to 8-bit data. System Reset Upon power-up, reset the AK4632 by bringing the PDN pin = “L”. This ensures that all internal registers reset to their initial values. The ADC enters an initialization cycle that starts when the PMADC bit is changed from “0” to “1”. The initialization cycle time is 1059/fs, or 133ms@fs=8kHz. During the initialization cycle, the ADC digital data outputs of both channels are forced to a 2's compliment, “0”. The ADC output reflects the analog input signal after the initialization cycle is complete. The DAC does not require an initialization cycle. MS0396-E-00 2005/06 - 27 - ASAHI KASEI [AK4632] FCK 15 0 1 8 2 8 9 10 11 12 13 14 15 0 1 8 2 8 9 10 11 12 13 14 15 0 BICK(16fs) SDTO(o) 0 15 14 SDTI(i) 0 15 14 15 0 1 8 8 7 6 5 4 3 2 1 0 15 14 8 7 6 5 4 3 2 1 0 15 14 8 2 14 15 16 17 18 29 30 31 0 1 8 7 6 5 4 3 2 1 0 15 7 6 5 4 3 2 1 0 15 8 2 8 9 10 11 12 13 30 31 0 15 0 BICK(32fs) SDTO(o) 15 14 SDTI(i) 15 14 8 2 1 0 2 1 0 Don’t Care 15 14 8 2 1 0 15 14 8 2 1 0 1/fs Don’t Care 1/fs 15:MSB, 0:LSB Figure 23. Mode 0 Timing (BCKP = “0”, MSBS = “0”) FCK 15 0 1 8 2 8 9 10 11 12 13 14 15 0 1 8 2 8 9 10 11 12 13 14 BICK(16fs) SDTO(o) 0 15 14 SDTI(i) 0 15 14 15 0 1 8 8 7 6 5 4 3 2 1 0 15 14 8 7 6 5 4 3 2 1 0 15 14 8 2 14 15 16 17 18 29 30 31 0 1 8 7 6 5 4 3 2 1 0 15 7 6 5 4 3 2 1 0 15 8 2 8 9 10 11 12 13 30 31 0 BICK(32fs) SDTO(o) 15 14 SDTI(i) 15 14 8 2 1 0 2 1 0 Don’t Care 15 14 8 2 1 0 15 14 8 2 1 0 1/fs Don’t Care 1/fs 15:MSB, 0:LSB Figure 24. Mode 0 Timing (BCKP = “1”, MSBS = “0”) MS0396-E-00 2005/06 - 28 - ASAHI KASEI [AK4632] FCK 15 0 1 8 2 8 9 10 11 12 13 14 15 0 1 8 2 8 9 10 11 12 13 14 15 0 BICK(16fs) SDTO(o) 0 15 14 SDTI(i) 0 15 14 15 0 1 8 8 7 6 5 4 3 2 1 0 15 14 8 7 6 5 4 3 2 1 0 15 14 8 2 14 15 16 17 18 29 30 31 0 1 8 7 6 5 4 3 2 1 0 15 7 6 5 4 3 2 1 0 15 8 2 8 9 10 11 12 13 30 31 0 15 0 BICK(32fs) SDTO(o) 15 14 SDTI(i) 15 14 8 2 1 0 2 1 0 Don’t Care 15 14 8 2 1 0 15 14 8 2 1 0 1/fs Don’t Care 1/fs 15:MSB, 0:LSB Figure 25. Mode 0 Timing (BCKP = “0”, MSBS = “1”) FCK 15 0 1 8 2 8 9 10 11 12 13 14 15 0 1 8 2 8 9 10 11 12 13 14 BICK(16fs) SDTO(o) 0 15 14 SDTI(i) 0 15 14 15 0 1 8 8 7 6 5 4 3 2 1 0 15 14 8 7 6 5 4 3 2 1 0 15 14 8 2 14 15 16 17 18 29 30 31 0 1 8 7 6 5 4 3 2 1 0 15 7 6 5 4 3 2 1 0 15 8 2 8 9 10 11 12 13 30 31 0 BICK(32fs) SDTO(o) 15 14 SDTI(i) 15 14 8 2 1 0 2 1 0 Don’t Care 15 14 8 2 1 0 15 14 8 2 1 0 1/fs Don’t Care 1/fs 15:MSB, 0:LSB Figure 26. Mode 0 Timing (BCKP = “1”, MSBS = “1”) MS0396-E-00 2005/06 - 29 - ASAHI KASEI [AK4632] FCK 0 1 2 8 3 9 10 11 12 13 14 15 0 1 2 3 8 9 10 11 12 13 14 15 0 1 BICK(32fs) SDTO(o) 15 14 13 SDTI(i) 15 14 13 0 1 2 8 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 3 14 15 16 17 18 31 15 15 Don’t Care 0 1 2 3 14 15 16 17 18 31 0 1 BICK(64fs) SDTO(o) 15 14 13 2 1 0 15 Don’t Care SDTI(i) 15 14 1 Don’t Care 0 15:MSB, 0:LSB Data 1/fs Figure 27. Mode 1 Timing FCK 0 1 2 8 9 10 11 12 13 14 15 0 1 2 8 9 10 11 12 13 14 15 0 1 BICK(32fs) SDTO(o) 15 14 8 7 6 5 4 3 2 1 0 SDTI(I) 15 14 8 7 6 5 4 3 2 1 0 0 1 2 3 14 15 16 17 18 31 15 15 Don’t Care 0 1 2 3 14 14 15 16 17 18 31 0 1 BICK(64fs) SDTO(o) 15 14 13 13 2 1 0 SDTI(i) 15 14 13 13 2 1 0 15 Don’t Care Don’t Care 15 15:MSB, 0:LSB Data 1/fs Figure 28. Mode 2 Timing MS0396-E-00 2005/06 - 30 - ASAHI KASEI [AK4632] FCK 0 1 2 3 4 9 10 11 12 13 14 15 0 1 2 3 1 2 3 4 9 10 11 12 13 14 15 16 17 18 14 15 0 1 31 0 1 BICK(32fs) SDTO(o) 15 14 13 SDTI(i) 15 14 13 0 1 2 4 3 7 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 14 15 16 17 18 31 0 4 BICK(64fs) SDTO(o) 15 14 13 2 1 0 SDTI(i) 15 14 13 2 1 0 15:MSB, 0:LSB Don’t Care Don’t Care Data 1/fs Figure 29. Mode 3 Timing 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.25Hz (@fs=8kHz) and scales with sampling rate (fs). MIC Gain Amplifier The AK4632 has a Gain Amplifier for Microphone input. This gain is 0dB, +20dB, +26dB or +32dB, selected by the MGAIN1-0 bit. The typical input impedance is 30kΩ. MGAIN1 bit 0 0 1 1 MGAIN0 bit Input Gain 0 0dB 1 +20dB 0 +26dB 1 +32dB Table 14. Input Gain Default MIC Power The MPI pin supplies power for the Microphone. This output voltage is typically 0.75 x AVDD and the load resistance is minimum 2kΩ. No capacitor must not be connected directly to MPI pin. (See Figure 30) MIC Power MPI pin ≥ 2k Ω Microphone MIC pin MIC-Amp Figure 30. MIC Block Circuit MS0396-E-00 2005/06 - 31 - ASAHI KASEI [AK4632] Manual Mode The AK4632 becomes a manual mode at ALC1 bit = “0”. This 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 IPGA6-0 bits are written at manual mode, the counter for zero cross time out is reset and restart. The IPGA6-0 bits value are reflected to IPGA at zero cross or zero cross time out. The time of zero cross time out is set by ZTM1-0 bits. When writing to IPGA6-0 bits continually, the control register should be written by an interval of more than zero crossing timeout. 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), the IPGA value is attenuated by the amount defined in the ALC1 limiter ATT step (LMAT1-0 bits) automatically. When the ZELM bit = “1”, the timeout period is set by the LTM1-0 bits. The operation for attenuation is done continuously until the input 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 input signal level equals or exceeds LMTH. When the ZELM bit = “0”, the timeout period is set by the ZTM1-0 bits. This enables the zero-crossing attenuation function so that the IPGA value is attenuated at the zero-detect points of the waveform. [2] ALC1 Recovery Operation The ALC1 recovery refers to the amount of time that the AK4632 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. If the input signal does not exceed the “ALC1 Recovery Waiting Counter Reset Level”, the ALC1 recovery operation starts. The IPGA value increases automatically during this operation up to the reference level (REF6-0 bits). 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. MS0396-E-00 2005/06 - 32 - ASAHI KASEI [AK4632] [3] Example of ALC1 Operation Table 15 shows the example of the ALC1 setting. In case of this example, ALC1 operation starts from 0dB. fs=8kHz Operation -4dBFS Don’t use Enable 16ms Register Name Comment LMTH LTM1-0 ZELM ZTM1-0 Limiter detection Level Limiter operation period at ZELM = 1 Limiter zero crossing detection Zero crossing timeout period Recovery waiting period *WTM1-0 bits should be the same data 00 16ms as ZTM1-0 bits Maximum gain at recovery operation 47H +27.5dB IPGA gain at the start of ALC1 operation 10H 0dB Limiter ATT Step 00 1 step Recovery GAIN Step 0 1 step ALC1 Enable bit 1 Enable Table 15. Examples of the ALC1 Setting WTM1-0 REF6-0 IPGA6-0 LMAT1-0 RATT ALC1 Data 1 00 0 00 fs=16kHz Data Operation 1 -4dBFS 00 Don’t use 0 Enable 01 16ms 01 16ms 47H 10H 00 0 1 +27.5dB 0dB 1 step 1 step 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, RATT, REF6-0, ZELM bits When setting IPGA gain at the start of ALC1 operation, IPGA6-0 bits should be set while PMMIC bit is “1” and ALC1 bit is “0”. When PMMIC bit = “1”, IPGA6-0 bits value aren’t reflected to IPGA. When ALC1 bit is changed from “1” to “0”, IPGA holds the last gain value set automatically by ALC1 operation. Example: Limiter = Zero crossing Enable Recovery Cycle = 16ms @ fs= 8kHz Limiter and Recovery Step = 1 Maximum Gain = +27.5dB Limiter Detection Level = -4dBFS Manual Mode ALC2 bit = “1” (default) WR (ZTM1-0, WTM1-0, LTM1-0) (1) Addr=06H, Data=00H WR (REF6-0) (2) Addr=08H, Data=47H WR (IPGA6-0) * The value of IPGA should be (3) Addr=09H, Data=10H the same or smaller than REF’s WR (ALC1= “1”, LMAT1-0, RATT, LMTH, ZELM) (4) Addr=07H, Data=61H ALC1 Operation Note : WR : Write Figure 31. Registers set-up sequence at the ALC1 operation MS0396-E-00 2005/06 - 33 - ASAHI KASEI [AK4632] Digital Output Volume The AK4632 has a digital output volume (256 levels, 0.5dB step, Mute). The volume can be set by the DVOL7-0 bits. The volume is included in front of a DAC block, a input data of DAC is changed from +12 to –115dB with MUTE. This volume has a soft transition function. It takes 1061/fs or 256/fs from 00H to FFH. DVOL7-0 Gain 00H +12.0dB 01H +11.5dB 02H +11.0dB • • 18H 0dB Default • • FDH −114.5dB FEH −115.0dB FFH MUTE (−∞) Table 16. Digital Output Volume Code Table DVTM bit 0 1 The transition time from 00H to FFH of DVOL7-0 bits Transition Time fs=8kHz fs=22.05kHz 1061/fs 133msec 48msec 256/fs 32msec 12msec Table 17.Setting of transition time BEEP Input When the PMBP bit is set to “1”, the beep input is powered-up. And when the BEEPS bit is set to “1”, the input signal from the BEEP pin is output to Speaker-Amp. When the BEEPA bit is set to “1”, the input signal from the BEEP pin is output to the mono line output amplifier. The external resister Ri adjusts the signal level of BEEP input. The gains are shown in Table 18, when Ri = 20kΩ. These gain are in inverse proportion to Ri. Rf Ri - BEEP + Figure 32. Block Diagram of BEEP pin SPKG1-0 bits 00 01 10 11 BEEP Æ SPP/SPN Gain BEEP Æ AOUT Gain +7.89dB 0dB +9.93dB 0dB +14.11dB 0dB +16.15dB 0dB Table 18. Beep input gain at Ri = 20kΩ MS0396-E-00 2005/06 - 34 - ASAHI KASEI [AK4632] MONO LINE OUTPUT (AOUT pin) A signal of DAC is output from AOUT pin. When the DACA bit is “0”, this output is OFF. The load resistance is 10kΩ(min). When PMAO bit is “0” and AOPSN bit is “0”, the mono line output enters power-down and is pulled down by 100Ω(typ). If PMAO bit is controlled at AOPSN bit = “1”, POP noise will be reduced at power-up and down. Then, this line should be pulled down by 20kΩ of resister after C-coupling shown in Figure 33. This rising and falling time is max 300 ms at C=1.0µF . When PMAO bit is “1” and AOPSN bit is “0”, the mono line output enters power-up state. 1µF AOUT 220Ω 20kΩ Figure 33. AOUT external circuit in case of using POP Reduction function. AOUT Control Sequence in case of using POP Reduction Circuit (2 ) (5 ) P M A O b it (1 ) (3 ) (4 ) (6 ) A O P S N b it A O U T p in N o r m a l O u tp u t ≥ 300 m s ≥ 300 m s Figure 34. Mono Line Output Control Sequence in case of using POP Reduction function.. (1) Set AOPSN bit = “1”. Mono line output enters the power-save mode. (2) Set PMAO bit = “1”. Mono line output exits the power-down mode. AOUT pin rises up to VCOM voltage. Rise time is 200ms (max 300ms) at C=1µF. (3) Set AOPSN bit = “0” after AOUT pin rises up. Mono line output exits the power-save mode. Mono line output is enabled. (4) Set AOPSN bit = “1”. Mono line output enters power-save mode. (5) Set PMAO bit = “1”. Mono line output enters power-down mode. AOUT pin falls down to AVSS. Fall time is 200ms (max 300ms) at C=1µF. (6) Set AOPSN bit = “0” after AOUT pin falls down. Mono line output exits the power-save mode. MS0396-E-00 2005/06 - 35 - ASAHI KASEI [AK4632] Speaker Output The power supply voltage for Speaker-Amp SVDD can be set to from 2.6V to 5.25V. However, SVDD should be set to from 2.6V to 3.6V, when the load resistance is less than 50Ω(ex. a dynamic speaker). The output signal from DAC is input to the Speaker-amp via the ALC2 circuit. This Speaker-amp is a mono output controlled by BTL and a gain of the Speaker-Amp is set by SPKG1-0 bit. In the case of ALC2 OFF, the output voltage depends on AVDD and SPKG1-0 bits. In the case of ALC2 ON, the output voltage depends on SVDD and SPKG1-0 bits. The output level of ALC2 is proportional to SVDD. SPKG1-0 bits Gain 00 0dB 01 +2.04dB 10 +6.22dB 11 +8.26dB (Note) These Gain from the level at SPKG1-0bits= “00”. Table 19. Gain of Speaker-Amp at ALC2 OFF Output Voltage from Speaker-Amp Output Voltage from SPKG1-0 bits AVDD SVDD at ALC2 OFF and DAC Input=0dBFS Speaker-Amp at ALC ON 00 3.3V 3.3V 3.27Vpp, 167mW@8Ω 3.09Vpp, 150mW@8Ω 01 3.3V 3.3V 4.15Vpp, 269mW@8Ω 3.92Vpp, 240mW@8Ω 10 3.3V 3.3V 6.91Vpp (Note) Not Available 11 3.3V 3.3V 8.50Vpp (Note) Not Available 00 3.3V 5.0V 3.27Vpp Not Available 01 3.3V 5.0V 4.15Vpp Not Available 10 3.3V 5.0V 6.91Vpp 6.34Vpp 11 3.3V 5.0V 8.50Vpp 8.02Vpp (Note) This output voltage is assumed that the signal is not clipped. In actual, the signal will be clipped when DAC outputs 0dBFS signal. The output power is 400mW@8Ω, SVDD=3.3V. Table 20. Speaker-Amp Output Voltage [Caution for using Piezo Speaker] When a piezo speaker (load capacitance > 30pF) is used, resistances more than 10Ω should be inserted between SPP/SPN pins and speaker in series, respectively, as shown in Figure 35. Zener diodes should be inserted between speaker and GND as shown in Figure 35, in order to protect SPK-Amp of AK4632 from the power that the piezo speaker outputs when the speaker is pressured. Zener diodes of the following Zener voltage should be used. 92% of SVDD ≤ Zener voltage of Zener diodo(ZD of Figure 35) ≤ SVDD+0.3V Ex) In case of SVDD = 5.0V : 4.6V ≤ ZD ≤ 5.3V For example, Zener diode which Zener voltage is 5.1V(Min :4.97V, Max 5.24V) can be used. MS0396-E-00 2005/06 - 36 - ASAHI KASEI [AK4632] ZD SPK-Amp SPP ≥10Ω SPN ≥10Ω ZD Figure 35. Circuit of Speaker Output(Load Capacitance > 30pF) <Control Sequence of Speaker Amp> Speaker blocks (MOUT, ALC2 and Speaker-amp) can be powered-up/down by controlling the PMSPK bit. When the PMSPK bit is “0”, the MOUT, SPP and SPN pins are placed in a Hi-Z state. When the PMSPK bit is “1” and SPPS bit is “0”, the Speaker-amp enters power-save-mode. In this mode, the SPP pin is placed in a Hi-Z state and the SPN pin goes to SVDD/2 voltage. And then the Speaker output gradually changes to the SVDD/2 voltage and this mode can reduce pop noise at power-up. When the AK4632 is powered-down, pop noise can be also reduced by first entering power-save-mode. PMSPK bit SPPS bit SPP pin SPN pin Hi-Z Hi-Z Hi-Z SVDD/2 SVDD/2 >t1(Note) Hi-Z >0 Figure 36. Power-up/Power-down Timing for Speaker-Amp (Note) “t1” depends on the time constant of input resistance of MIN and capacitor between MOUT pin and MIN pin. If Speaker-Amp output is enabled before MIN-Amp (ALC2) becomes stable, pop noise may occur. Ex) C of MOUT pin – MIN pin = 0.1 µF, Input resistance of MIN pin = 36kΩ(Max) : t1 = 5τ = 18ms C of MOUT pin – MIN pin and the Input resistance(Rin) of MIN pin compose of HPF which cut off frequency(fc) are the followings. fc = 66Hz@Rin=24kΩ(typ), 133Hz@Rin=12kΩ(min), 44Hz@Rin=36kΩ(max) MS0396-E-00 2005/06 - 37 - ASAHI KASEI [AK4632] SPK-ALC Operation The ALC (Automatic Level Control) operation of speaker output is done by ALC2 block when ALC2 bit is “1”. Input resistance of the ALC2 is 24kΩ (typ) and centered around VCOM voltage. The ALC2 level diagram is shown in Figure 37 ~Figure 40. The limiter detection level is proportional to SVDD voltage. The output level is limited by the ALC2 circuit when the input signal exceeds –7.1dBV (@SPKG1 bit = “0”, SVDD=3.3V or @SPKG1 bit = “1”, SVDD = 5V). When a continuous signal of –7.1dBV or greater is input to the ALC2 circuit, the change period of the ALC2 limiter operation is 250µs (=2/fs@fs=8kHz) and the attenuation level is 0.5dB/step. The ALC2 recovery operation uses zero crossings and gains of 1dB/step. The ALC2 recovery operation is done until the input level of the Speaker-amp goes to –9.1dBV (@SPKG1 bit = “0”, SVDD=3.3V or @SPKG1 bit = “1”, SVDD = 5V). Maximum gain of the ALC2 recovery operation is set by RFS5-0 bits. When the input signal is between –9.1dBV and –7.1dBV, the ALC2 limiter or recovery operations are not done. When the PMSPK bit changes from “0” to “1”, the initilization cycle (512/fs = 64ms @fs=8kHz at ROTM bit = “0”) starts. The ALC2 is disabled (The ALC2 gain is fixed to “-3.5dB”.) during the initilization cycle and the ALC2 starts from “–2dB” after completing the initilization cycle. The ROTM bit and RFS5-0 bits set during the PMSPK bit = “0”. When the ALC2 is disable, a gain of the ALC2 block is fixed to -3.5dB. Therefore, a gain of internal speaker block is shown in Table 22. Parameter Operation Start Level Period ALC2 Recovery operation −5.2dBV −7.2dBV fs=8kHz 2/fs = 250µs 512/fs=64ms fs=16kHz 2/fs = 125µs 512/fs=32ms No Yes (Timeout = Period Time) Zero-crossing Detection ATT/GAIN ALC2 Limiter operation 0.5dB step 1dB step Table 21. Limiter /Recovery of ALC2 (ROTM bit = “0”) SPKG1-0 bits Gain 00 +4.4dB 01 +6.4dB 10 +10.6dB 11 +12.7dB Table 22. Gain of Speaker-Amp at ALC2 OFF(Full-differential Output) MS0396-E-00 2005/06 - 38 - ASAHI KASEI [AK4632] 0.8dBV -3.1dBV +7.9dB FS-4.0dB = -7.1dBV -3.1dBV FS -4.0dB 0dBV -1.2dBV +7.9dB +1.9dB -8dB -10dBV -11.1dBV -15.1dBV FS-6.0dB = -9.1dBV -15.1dBV +6.0dB +14.0dB -8dB Single-ended -5.2dBV +2.0dB FS-12dB Full-differential -20dBV -23.1dBV -30dBV DVOL DAC ALC2 SPK-AMP (AVDD=3.3V, SVDD=3.3V, DVOL=−8.0dB/0dB, SPKG1-0 bit = “00”,) * FS = Full Scale Figure 37. Speaker-Amp Output Level Diagram 10dBV Full-differential 2.8dBV FS-4dB = -7.1dBV 0.8dBV 0dBV -3.1dBV -3.1dBV +9.9dB FS +9.9dB -3.2dBV Single-ended +3.9dB -4.0dB -8dB +2.0dB -10dBV -11.1dBV FS-12dB FS-6.0dB = -9.1dBV -15.1dBV +6.0dB -15.1dBV +14.0dB -8dB -20dBV -23.1dBV -30dBV DVOL DAC ALC2 SPK-AMP (AVDD=3.3V, SVDD=3.3V, DVOL=−8.0dB/0dB, SPKG1-0 bit = “01”,) * FS = Full Scale Figure 38. Speaker-Amp Output Level Diagram MS0396-E-00 2005/06 - 39 - ASAHI KASEI [AK4632] 10dBV 7.0dBV +14.1dB +14.1dB Full-differential 5.0dBV Single-ended 1.0dBV 0dBV -3.1dBV -3.1dBV FS FS-4dB = -7.1dBV +8.1dB -4.0dB -8dB +2.0dB -10dBV -11.1dBV FS-12dB FS-6.0dB = -9.1dBV -15.1dBV +6.0dB -15.1dBV +14.0dB -8dB -20dBV -23.1dBV -30dBV DVOL DAC ALC2 SPK-AMP (AVDD=3.3V, SVDD=5.0V, DVOL=−8.0dB/0dB, SPKG1-0 bit = “10”,) * FS = Full Scale Figure 39. Speaker-Amp Output Level Diagram 10dBV 9.1dBV +16.2dB Full-differential 7.1dBV Single-ended 3.1dBV +16.2dB 0dBV -3.1dBV -3.1dBV FS FS-4dB = -7.1dBV +10.2dB -4.0dB -8dB +2.0dB -10dBV -11.1dBV FS-12dB FS-6.0dB = -9.1dBV -15.1dBV +6.0dB -15.1dBV +14.0dB -8dB -20dBV -23.1dBV -30dBV DVOL DAC ALC2 SPK-AMP (AVDD=3.3V, SVDD=5.0V, DVOL=−8.0dB/0dB, SPKG1-0 bit = “11”,) * FS = Full Scale Figure 40. Speaker-Amp Output Level Diagram MS0396-E-00 2005/06 - 40 - ASAHI KASEI [AK4632] Video Block Video-Amp has a drivability for a load resistance of 150Ω. The AK4632 has a composite input and output. A Low Pass Filter(LPF) and Gain Control Amp(GCA) are integrated and both DC output and Sag Compensation circuit are supported as shown in Figure 41 and Figure 42. The capacitance for Sag Compensation circuit is 100µ F+2.2µ F or 47µ F+1.0µ F. When DC output is used, VOUT pin and VSAG pin must be shorted. The output clamp voltage is 150mV(typ) at DC output. SAGC1-0 bits and VVDD voltage should be set as shown in Table 23. Table 25 shows the gain and step of the gain control. The gain is set by VGCA4-0 bits. PMV bit controls the power up and down of the video block. VOUT pin outputs AVSS level at PMV bit = “1”. YIN CLAMP LPF C1 GCA -1dB ~ +10.5dB Step 0.5dB +6dB 75Ω VOUT VSAG C2 (C1=100µ F, C2=2.2µ F) or (C1=47µ F, C2=1.0µ F) Figure 41. Video block (using Sag Compensation circuit) YIN CLAMP LPF 75Ω GCA -1dB ~ +10.5dB Step 0.5dB +6dB VOUT VSAG Figure 42. Video block (at DC Output)) SAGC1 bit 0 0 1 1 SAGC0 bit VVDD voltage Output Circuit 0 DC output 2.8 V ≤ VVDD ≤ 3.6V 1 Not Available 0 Sag compensation 2.85V ≤ VVDD < 4.75V 1 Sag compensation 4.5 V ≤ VVDD < 5.25V Table 23. Setting of VVDD and video output circuit. Default Output Circuit DC output Sag compensation 100µ F+2.2µ F VVDD voltage GCA setting 0dB 2.8 V ≤ VVDD ≤ 3.6V 0dB 3.135 V ≤ VVDD ≤ 5.25V -1dB (Note) 2.85V ≤ VVDD < 3.135 V 0dB Sag compensation 47µ F+1.0µ F 3.135 V ≤ VVDD ≤ 5.25V -1dB (Note) 2.85V ≤ VVDD < 3.135 V Note : When the sag compensation circuit is used at less than 3.135V of VVDD, the GCA should be set to -1dB in order to avoid clipping of output video signal. Note that the video will become dark at that time. Table 24. Gain compensation MS0396-E-00 2005/06 - 41 - ASAHI KASEI [AK4632] VGCA4-0 bits GAIN(dB) STEP 17H 16H 15H : 04H 03H 02H 01H 00H +10.5dB +10.0dB +9.5dB : +1.0dB +0.5dB 0.0dB -0.5dB -1.0dB Table 25. Setting of GCA 0.5dB Default Serial Control Interface Internal registers may be written by using the 3-wire µP interface pins (CSN, CCLK and CDTI). The data on this interface consists of a 2-bit Chip address (Fixed to “10”), Read/Write (Fixed to “1”), Register address (MSB first, 5bits) and Control data (MSB first, 8bits). Address and data is clocked in on the rising edge of CCLK and data is clocked out on the falling edge. The clock speed of CCLK is 5MHz (max). The value of internal registers is initialized at PDN pin = “L”. CSN 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 CCLK CDTI C1 C0 R/W A4 A3 A2 A2 A0 D7 D6 D5 D4 D3 D2 D1 D0 “1” “0” “1” C1-C0: R/W: A4-A0: D7-D0: Chip Address (C1 = “1”, C0 = “0”); Fixed to “10” READ/WRITE (“1”: WRITE, “0”: READ); Fixed to “1” Register Address Control data Figure 43. Serial Control I/F Timing MS0396-E-00 2005/06 - 42 - ASAHI KASEI [AK4632] Register Map Addr 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH Register Name Power Management 1 Power Management 2 Signal Select 1 Signal Select 2 Mode Control 1 Mode Control 2 Timer Select ALC Mode Control 1 ALC Mode Control 2 Input PGA Control Digital Volume Control ALC2 Mode Control Video Mode Control D7 0 PMV SPPS 0 PLL3 0 DVTM 0 0 0 DVOL7 0 0 D6 PMVCM 0 BEEPS AOPSN PLL2 0 ROTM ALC2 REF6 IPGA6 DVOL6 0 SAGC1 D5 PMBP 0 ALC2S MGAIN1 PLL1 FS3 ZTM1 ALC1 REF5 IPGA5 DVOL5 RFS5 SAGC0 D4 PMSPK 0 DACA SPKG1 PLL0 MSBS ZTM0 ZELM REF4 IPGA4 DVOL4 RFS4 VGCA4 D3 PMAO M/S DACM SPKG0 BCKO1 BCKP WTM1 LMAT1 REF3 IPGA3 DVOL3 RFS3 VGCA3 D2 PMDAC MCKPD MPWR BEEPA BCKO0 FS2 WTM0 LMAT0 REF2 IPGA2 DVOL2 RFS2 VGCA2 D1 PMMIC MCKO MICAD ALC1M DIF1 FS1 LTM1 RATT REF1 IPGA1 DVOL1 RFS1 VGCA1 D0 PMADC PMPLL MGAIN0 ALC1A DIF0 FS0 LTM0 LMTH REF0 IPGA0 DVOL0 RFS0 VGCA0 The PDN pin = “L” resets the registers to their default values. Note: Unused bits must contain a “0” value. Note: Only write to address 00H to 0CH. MS0396-E-00 2005/06 - 43 - ASAHI KASEI [AK4632] Register Definitions Addr 00H Register Name Power Management 1 Default D7 0 0 D6 PMVCM 0 D5 PMBP 0 D4 PMSPK 0 D3 PMAO 0 D2 PMDAC 0 D1 PMMIC 0 D0 PMADC 0 PMADC: ADC Block Power Control 0: Power down (Default) 1: Power up When the PMADC bit changes from “0” to “1”, the initialization cycle (1059/fs=133ms@8kHz) starts. After initializing, digital data of the ADC is output. PMMIC: MIC In Block (MIC-Amp and ALC1) Power Control 0: Power down (Default) 1: Power up PMDAC: DAC Block Power Control 0: Power down (Default) 1: Power up PMAO: Mono Line Out Power Control 0: Power down (Default) 1: Power up PMSPK: Speaker Block Power Control 0: Power down (Default) 1: Power up PMBP: BEEP In Power Control 0: Power down (Default) 1: Power up Even if PMBP bit is “0”, the path is still connected between BEEP and AOUT/SPK-Amp. BEEPS and BEEPA bits should be set to “0” to disconnect these paths. PMVCM: VCOM Block Power Control 0: Power down (Default) 1: Power up Each block can be powered-down respectively by writing “0” in each bit. When the PDN pin is “L”, all blocks are powered-down. When PMPLL and MCKO bits and all bits in 00H address are “0”, all blocks are powered-down. Though the IPGA resisters are initialized, the other registers remain unchanged. (refer to the IPGA6-0 bits description) When any of the blocks are powered-up, the PMVCM bit must be set to “1”. When PMPLL and MCKO bits and all bits in 00H address are “0”, PMVCM bit can write to “0”. When BEEP signal is output from Speaker-Amp (Signal path: BEEP pin Æ SPP/SPN pins) or Mono Lineout-Amp (Signal path: BEEP pin Æ AOUT pin) only, the clocks may not be present. When ADC, DAC, ALC1 or ALC2 is in operation, the clocks must always be present. MS0396-E-00 2005/06 - 44 - ASAHI KASEI Addr 01H Register Name Power Management 2 Default [AK4632] D7 PMV 0 D6 0 0 D5 0 0 D4 0 0 D3 M/S 0 D2 MCKPD 1 D1 MCKO 0 D0 PMPLL 0 PMPLL: PLL Block Power Control Select 0: PLL is Power down and External is selected. (Default) 1: PLL is Power up and PLL Mode is selected. MCKO: Master Clock Output Enable 0: “L” Output (Default) 1: 256fs Output MCKPD: MCKI pin pull down control 0: Master Clock input enable 1: Pull down by 25kΩ (typ.) (Default) M/S: Select Master / Slave Mode 0: Slave Mode (Default) 1: Master Mode PMV: Video Block Power Control 0: Power down (Default) 1: Power up MS0396-E-00 2005/06 - 45 - ASAHI KASEI Addr 02H Register Name Signal Select 1 Default [AK4632] D7 SPPS 0 D6 BEEPS 0 D5 ALC2S 0 D4 DACA 0 D3 DACM 0 D2 MPWR 0 D1 MICAD 0 D0 MGAIN0 1 MGAIN1-0 : 1st MIC-amp Gain control(See Table 26) MGAIN 1 bit is located at D6 bit of 03H MGAIN1 bit 0 0 1 1 MGAIN0 bit Input Gain 0 0dB 1 +20dB 0 +26dB 1 +32dB Table 26. Input Gain Default MICAD: Switch Control from MIC In to ADC. 0: OFF (Default) 1: ON When MICAD bit is “1”, the ALC1 output signal is input to ADC. MPWR: Power Supply Control for Microphone 0: OFF (Default) 1: ON When PMMIC bit is “1”, MPWR bit is enabled. DACM: Switch Control from DAC to mono amp. 0: OFF (Default) 1: ON When PMSPK bit is “1”, DACM bit is enabled. When PMSPK bit is “0”, MOUT pin is Hi-Z state. DACA: Switch Control from DAC to mono line amp 0: OFF (Default) 1: ON When PMAO bit is “1”, DACA bit is enabled. When PMAO bit is “0”, the AOUT pin is AVSS. ALC2S: ALC2 output to Speaker-Amp Enable 0: OFF (Default) 1: ON When ALC2S bit is “1”, the ALC2 output signal is input to Speaker-Amp. BEEPS: BEEP pin to Speaker-Amp Enable 0: OFF (Default) 1: ON When BEEPS bit is “1”, the beep signal is input to Speaker-Amp. SPPS: Speaker-amp Power-Save-Mode 0: Power Save Mode (Default) 1: Normal Operation When SPPS bit is “1”, the Speaker-amp is in power-save-mode and the SPP pin becomes Hi-z and SPN pin is set to SVDD/2 voltage. When the PMSPK bit = “1”, this bit is valid. After the PDN pin changes from “L” to “H”, the PMSPK bit is “0”, which powers down Speaker-amp. MS0396-E-00 2005/06 - 46 - ASAHI KASEI Addr 03H Register Name Signal Select 2 Default [AK4632] D7 0 0 D6 0 0 D5 MGAIN1 0 D4 SPKG1 0 D3 SPKG0 0 D2 BEEPA 0 D1 ALC1M 0 D0 ALC1A 0 ALC1A: Switch Control from ALC1 output signal to mono line output amp. 0: OFF (Default) 1: ON When PMAO bit is “1”, ALC1A bit is enabled. When PMAO bit is “0”, the AOUT pin is AVSS. ALC1M: Switch Control from ALC1 output signal to mono amp. 0: OFF (Default) 1: ON When PMSPK bit is “1”, ALC1M is enabled. When PMSPK bit is “0”, the MOUT pin goes Hi-Z state. BEEPA: Switch Control from beep signal to mono line output amp. 0: OFF (Default) 1: ON When PMAO bit is “1”, BEEPA is enabled. When PMAO bit is “0”, the AOUT pin is AVSS. SPKG1-0: Select Speaker-Amp Output Gain (See Table 27) SPKG1-0 bits Gain 00 0dB 01 +2.2dB 10 +4.4dB 11 +8.7dB Table 27. Gain of Speaker-Amp MGAIN1: Mic-Amplifier Gain Control(See Table 26) ALC1M IPGA ALC2S DACM MIX ALC2 SPK DAC BEEPS BEEP ALC1A DACA AOUT BEEPA Figure 44. Speaker and Mono Lineout-Amps switch control MS0396-E-00 2005/06 - 47 - ASAHI KASEI [AK4632] AOPSN: Mono Line Output Power-Save Mode 0: Normal Operation 1: Power-Save Mode (Default) Power-save mode is enable at AOPSN bit = “1”. POP noise at power-up/down can be reduced by changing at AOPSN bit = “1”. (See Figure 34) Addr 04H Register Name Mode Control 1 Default D7 PLL3 0 D6 PLL2 0 D5 PLL1 0 D4 PLL0 0 D3 BCKO1 0 D2 BCKO0 0 D1 DIF1 1 D0 DIF0 0 DIF1-0: Audio Interface Format (See Table 28) Mode 0 1 2 3 DIF1 bit 0 0 1 1 DIF0 bit 0 1 0 1 SDTO (ADC) SDTI (DAC) DSP Mode DSP Mode MSB justified LSB justified MSB justified MSB justified I2S compatible I2S compatible Table 28. Audio Interface Format BICK ≥ 16fs ≥ 32fs ≥ 32fs ≥ 32fs Figure See Table 34 Figure 27 Figure 28 Figure 29 Default BCKO1-0: Select BICK output frequency at Master Mode (See Table 29) Mode 0 1 2 3 BICK Output Frequency 0 0 16fs 0 1 32fs 1 0 64fs 1 1 N/A Table 29. BICK Output Frequency at Master Mode BCKO1 bit BCKO0 bit Default PLL3-0: Select input frequency at PLL mode (See Table 30) Mode 0 1 2 3 4 5 6 7 12 13 Others PLL3 bit 0 0 0 0 0 0 0 0 1 1 PLL2 bit 0 0 0 0 1 1 1 1 1 1 PLL1 bit 0 0 1 1 0 0 1 1 0 0 PLL0 bit 0 1 0 1 0 1 0 1 0 1 PLL Reference Input Clock Input Pin Frequency FCK pin 1fs BICK pin 16fs BICK pin 32fs BICK pin 64fs MCKI pin 11.2896MHz MCKI pin 12.288MHz MCKI pin 12MHz MCKI pin 24MHz MCKI pin 13.5MHz MCKI pin 27MHz Others N/A Table 30. Setting of PLL Mode (*fs: Sampling Frequency) MS0396-E-00 Default 2005/06 - 48 - ASAHI KASEI Addr 05H [AK4632] Register Name Mode Control 2 Default D7 0 0 D6 0 0 D5 FS3 0 D4 MSBS 0 D3 BCKP 0 D2 FS2 0 D1 FS1 0 D0 FS0 0 FS3-0: Setting of Sampling Frequency (See Table 31 and Table 32) and MCKI Frequency (See Table 33) These bits are selected to sampling frequency at PLL mode and MCKI frequency at EXT mode. Mode 0 1 2 3 4 5 6 7 10 11 14 15 Others Mode 0 1 2 3 6 7 Others Mode 0 1 2 3 FS3 bit 0 0 0 0 0 0 0 0 1 1 1 1 FS2 bit 0 0 0 0 1 1 1 1 0 0 1 1 FS1 bit 0 0 1 1 0 0 1 1 1 1 1 1 FS0 bit 0 1 0 1 0 1 0 1 0 1 0 1 Sampling Frequency 8kHz Default 12kHz 16kHz 24kHz 7.35kHz 11.025kHz 14.7kHz 22.05kHz 32kHz 48kHz 29.4kHz 44.1kHz Others N/A Table 31. Setting of Sampling Frequency at PLL2 bit = “1” and PMPLL bit = “1” FS3 bit 0 0 0 0 1 1 FS2 bit FS1 bit FS0 bit Sampling Frequency Range Don’t care 0 0 Default 7.35kHz ≤ fs ≤ 8kHz Don’t care 1 0 8kHz < fs ≤ 12kHz Don’t care 0 1 12kHz < fs ≤ 16kHz Don’t care 1 1 16kHz < fs ≤ 24kHz Don’t care 0 1 24kHz < fs ≤ 32kHz Don’t care 1 1 32kHz < fs ≤ 48kHz Others N/A Table 32. Setting of Sampling Frequency at PLL2 bit = “0” and PMPLL bit = “1” FS3-2 bits FS1 bit FS0 bit MCKI Input Sampling Frequency Frequency Range Don’t care 0 256fs 0 7.35kHz ≤ fs ≤ 48kHz Don’t care 1 1024fs 0 7.35kHz < fs ≤ 13kHz Don’t care 0 256fs 1 7.35kHz < fs ≤ 48kHz Don’t care 1 512fs 1 7.35kHz < fs ≤ 26kHz Table 33. MCKI Frequency at EXT Slave Mode (PMPLL bit = “0”, M/S bit = “0”) Default BCKP, MSBS: “00” (Default) (See Table 34) MSBS bit BCKP bit Audio Interface Format 0 0 Figure 23 0 1 Figure 24 1 0 Figure 25 1 1 Figure 26 Table 34. Audio Interface Format in Mode 0 MS0396-E-00 Default 2005/06 - 49 - ASAHI KASEI Addr 06H [AK4632] Register Name Timer Select Default D7 DVTM 0 D6 ROTM 0 D5 ZTM1 0 D4 ZTM0 0 D3 WTM1 0 D2 WTM0 0 D1 LTM1 0 D0 LTM0 0 LTM1-0: ALC1 limiter operation period at zero crossing disable (ZELM bit = “1”) (See Table 35) The IPGA value is changed immediately. When the IPGA value is changed continuously, the change is done by the period specified by the LTM1-0 bits. Default is “00” (0.5/fs). ALC1 Limiter Operation Period 8kHz 16kHz 0 0 0.5/fs Default 63µs 31µs 0 1 1/fs 125µs 63µs 1 0 2/fs 250µs 125µs 1 1 4/fs 500µs 250µs Table 35. ALC1 Limiter Operation Period at zero crossing disable (ZELM bit=“1”) LTM1 bit LTM0 bit WTM1-0: ALC1 Recovery Waiting Period (See Table 36) A period of recovery operation when any limiter operation does not occur during the ALC1 operation. Default is “00” (128/fs). ALC1 Recovery Operation Waiting Period 8kHz 16kHz 0 128/fs 16ms 8ms 1 256/fs 32ms 16ms 0 512/fs 64ms 32ms 1 1024/fs 128ms 64ms Table 36. ALC1 Recovery Operation Waiting Period WTM1 bit 0 0 1 1 WTM0 bit Default ZTM1-0: ALC1 Zero crossing timeout Period (See Table 37) When the IPGA perform zero crossing or timeout, the IPGA value is changed by the µP WRITE operation, ALC1 recovery operation or ALC1 limiter operation (ZELM bit = “0”). Default is “00” (128/fs). ZTM1 bit 0 0 1 1 Zero Crossing Timeout Period 8kHz 16kHz 0 128/fs 16ms 8ms 1 256/fs 32ms 16ms 0 512/fs 64ms 32ms 1 1024/fs 128ms 64ms Table 37. Zero Crossing Timeout Period ZTM0 bit Default ROTM: Period time for ALC2 Recovery operation, ALC2 Zero Crossing Timeout and ALC2 initializing cycle. 0: 512/fs (Default) 1: 1024/fs The ROTM bit is set during the PMSPK bit = “0”. DVTM : Digital Volume Soft Transition Time Control 0: 1061/fs (Default) 1: 256/fs This is the time to FFH from 00H of DVOL7-0 bits. MS0396-E-00 2005/06 - 50 - ASAHI KASEI Addr 07H [AK4632] Register Name ALC Mode Control 1 Default D7 0 0 D6 ALC2 1 D5 ALC1 0 D4 ZELM 0 D3 LMAT1 0 D2 LMAT0 0 D1 RATT 0 D0 LMTH 0 LMTH: ALC1 Limiter Detection Level / Recovery Waiting Counter Reset Level (See Table 38 ) The ALC1 limiter detection level and the ALC1 recovery counter reset level may be offset by about ±2dB. Default is “0”. LMTH bit 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 38. ALC1 Limiter Detection Level / Recovery Waiting Counter Reset Level Default RATT: ALC1 Recovery GAIN Step (See Table 39) During the ALC1 recovery operation, the number of steps changed from the current IPGA value is set. For example, when the current IPGA value is 30H and RATT bit = “1” is set, 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 reference level (REF6-0 bits), the IPGA value does not increase. RATT bit GAIN STEP 0 1 Default 1 2 Table 39. ALC1 Recovery Gain Step Setting LMAT1-0: ALC1 Limiter ATT Step (See Table 40) During the ALC1 limiter operation, when IPGA output signal exceeds the ALC1 limiter detection level set by LMTH, the number of steps attenuated from the current IPGA value is set. For example, when the current IPGA value is 47H and the LMAT1-0 bits = “11”, the IPGA transition 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”. LMAT1 bit LMAT0 bit ATT STEP 0 0 1 0 1 2 1 0 3 1 1 4 Table 40. ALC1 Limiter ATT Step Setting Default ZELM: Enable zero crossing detection at ALC1 Limiter operation 0: Enable (Default) 1: Disable When the ZELM bit = “0”, the IPGA of each L/R channel perform a zero crossing or timeout independently and the IPGA value is changed by the ALC1 operation. The zero crossing timeout is the same as the ALC1 recovery operation. When the ZELM bit = “1”, the IPGA value is changed immediately. MS0396-E-00 2005/06 - 51 - ASAHI KASEI [AK4632] ALC1: ALC1 Enable 0: ALC1 Disable (Default) 1: ALC1 Enable When ALC1 bit is “1”, the ALC1 operation is enabled. ALC2: ALC2 Enable 0: ALC2 Disable 1: ALC2 Enable (Default) After completing the initializing cycle (512/fs = 64ms @fs=8kHz at ROTM bit = “0”), the ALC2 operation is enabled. When the PMSPK bit changes from “0” to “1” or PDN pin changes from “L” to “H”, the initilization cycle starts. Addr 08H Register Name ALC Mode Control 2 Default D7 0 0 D6 REF6 0 D5 REF5 1 D4 REF4 1 D3 REF3 0 D2 REF2 1 D1 REF1 1 D0 REF0 0 REF6-0: Reference value at ALC1 Recovery Operation (See Table 41) During the ALC1 recovery operation, if the IPGA value exceeds the setting reference value by gain operation, then the IPGA does not become larger than the reference value. For example, when REF7-0 = “30H”, RATT = 2step, IPGA = 2FH, even if the input signal does not exceed the “ALC1 Recovery Waiting Counter Reset Level”, the IPGA does not change to 2FH + 2step = 31H, and keeps 30H. Default is “36H”. DATA (HEX) GAIN (dB) STEP 47 +27.5 46 +27.0 45 +26.5 : : 36 +19.0 Default : : 10 +0.0 : : 0.5dB 06 −5.0 05 −5.5 04 −6.0 03 −6.5 02 −7.0 01 −7.5 00 −8.0 Table 41. Setting Reference Value at ALC1 Recovery Operation MS0396-E-00 2005/06 - 52 - ASAHI KASEI Addr 09H Register Name Input PGA Control Default [AK4632] D7 0 0 D6 IPGA6 0 D5 IPGA5 0 D4 IPGA4 1 D3 IPGA3 0 D2 IPGA2 0 D1 IPGA1 0 D0 IPGA0 0 IPGA6-0: Input Analog PGA (See Table 42) Default: “10H” (0dB) When IPGA gain is changed, IPGA6-0 bits should be written while PMMIC bit is “1” and ALC1 bit is “0”. IPGA6-0 bits should be set at 2/fs(250µs@fs=8kHz) after PMMIC bit is set to “1”. IPGA gain is reset when PMMIC bit is “0”, and then IPGA operation starts from the default value when PMMIC bit is changed to “1”. When ALC1 bit is changed from “1” to “0”, IPGA holds the last gain value set automatically by ALC1 operation. In a manual mode, IPGA can be set to any values in Table 42.The ZTM1-0 bits set zero crossing timeout period when IPGA value is changed. When the control register is written from the µP, the zero crossing counter is reset and its counter starts. When the signal zero crossing or zero crossing timeout, the written value from the µP becomes valid. DATA (HEX) GAIN (dB) STEP 47 +27.5 46 +27.0 45 +26.5 : : 36 +19.0 : : 10 +0.0 : : 0.5dB 06 −5.0 05 −5.5 04 −6.0 03 −6.5 02 −7.0 01 −7.5 00 −8.0 Table 42. Input Gain Setting Addr 0AH Register Name Digital Volume Control Default D7 DVOL7 0 D6 DVOL6 0 D5 DVOL5 0 D4 DVOL4 1 Default D3 DVOL3 1 D2 DVOL2 0 D1 DVOL1 0 D0 DVOL0 0 DVOL7-0: Output Digital Volume (See Table 43) The AK4632 has a digital output volume (256 levels, 0.5dB step, Mute). The gain can be set by the DVOL7-0 bits. The volume is included in front of a DAC block, a input data of DAC is changed from +12 to –115dB with MUTE. This volume has a soft transition function. It takes 1061/fs (=133ms @ fs = 8kHz) or 256/fs (=32ms @ fs = 8kHz) from 00H to FFH. Soft Transition Time is set by DVTM bit. DVOL7-0 Gain 00H +12.0dB 01H +11.5dB 02H +11.0dB • • 18H 0dB Default • • FDH −114.5dB FEH −115.0dB FFH MUTE (−∞) Table 43. Digital Volume Code Table MS0396-E-00 2005/06 - 53 - ASAHI KASEI Addr 0BH [AK4632] Register Name ALC2 Mode Control Default D7 0 0 D6 0 0 D5 RFS5 1 D4 RFS4 1 D3 RFS3 1 D2 RFS2 1 D1 RFS1 0 D0 RFS0 0 D1 VGCA1 1 D0 VGCA0 0 RFS6-0: Reference value at ALC2 Recovery Operation (See Table 44) REFS5-0 bits Volume[dB] Step 3F +19.5 3E +19.0 3D +18.5 3C +18.0 Default : : 0.5dB 19 +0.5 18 +0.0 17 -0.5 : : 03 -10.5 02 -11.0 01 -11.5 00 -12.0 Table 44. Setting Reference Value at ALC2 Recovery Operation Addr 0CH Register Name Video Mode Control Default D7 0 0 D6 SAGC1 0 D5 SAGC0 0 D4 VGCA4 0 D3 VGCA3 0 D2 VGCA2 0 VGCA4-0: Gain Control of Video output(See Table 25) SAGC1-0: Select Video Output Circuit (See Table 23) MS0396-E-00 2005/06 - 54 - ASAHI KASEI [AK4632] SYSTEM DESIGN Figure 45 shows the system connection diagram. An evaluation board [AKD4632] is available which demonstrates the optimum layout, power supply arrangements and measurement results. 20k C 10µ 0.1µ + AOUT 26 BEEP 27 AIN 28 MIC 30 MPI 31 + SPP 21 R2 Top View DVSS 17 16 DVDD 8 PDN 15 BICK MCKI 18 14 FCK 7 VSAG 13 SDTO MCKO 19 12 SDTI 6 VOUT 9 CSN Analog Supply 2.6∼5.25V Speaker SPN 20 Cv SAGC1-0 bits = “00” Cv : Short Cs : Short SAGC1-0 bits = “10” or “11” Cv=100µF & Cs=2.2µF or Cv=47µF & Cs=1.0µF 10µ SVDD 22 5 VIN Cs 0.1µ 3 AVSS 11 CDTI 75 MIN 24 SVSS 23 4 VVDD 0.1u 0.1µ 1µ 2 AVDD 10 CCLK Analog Supply 2.8∼5.25V 0.1µ MICOUT 29 1 VCOC VCOM 32 Cp Rp + 10µ R 0.1µ 10µ Analog Supply 2.6∼3.6V 220 0.22µ 1µ MOUT 25 2.2k R1 ZD2 ZD1 Dynamic SPK : R1,R2 : Short ZD1,ZD2 : Open Peizo SPK : R1,R2 : 10Ω ZD1,ZD2 : Required 0.1µ 10 + 10µ DSP or µP Figure 45. Typical Connection Diagram Notes: - AVSS, DVSS and SVSS of the AK4632 should be distributed separately from the ground of external controllers. - The exposed pad on the bottom surface of the package must be open. - All digital input pins except pull-down pin should not be left floating. - Value of R and C of BEEP pin should depend on system. - When the AK4632 is EXT mode (PMPLL bit = “0”), a resistor and capacitor of VCOC pin is not needed. - When the AK4632 is PLL mode (PMPLL bit = “1”), a resistor and capacitor of VCOC pin is shown in Table 45. - Input resistance of AIN pin and Capacitance between MICOUT pin and AIN pin compose of HPF. When the capacitance is 0.22µF, the cut off frequency is typ.72Hz(typ)(min. 48Hz, max. 145Hz). Mode PLL3 bit PLL2 bit PLL1 bit PLL0 bit 0 1 2 3 4 5 6 7 12 13 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 0 1 0 1 0 1 0 1 0 1 Others Others PLL Reference Clock Input Pin Input Frequency Rp and Cp of VCOC pin Rp[Ω] Cp[F] 6.8k 220n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 10n 10k 10n FCK pin 1fs BICK pin 16fs BICK pin 32fs BICK pin 64fs MCKI pin 11.2896MHz MCKI pin 12.288MHz MCKI pin 12MHz MCKI pin 24MHz MCKI pin 13.5MHz MCKI pin 27MHz N/A Table 45. Setting of PLL Mode (*fs: Sampling Frequency) MS0396-E-00 PLL Lock Time (max) 160ms 2ms 2ms 2ms 40ms 40ms 40ms 40ms 40ms 40ms Default 2005/06 - 55 - ASAHI KASEI [AK4632] 1. Grounding and Power Supply Decoupling The AK4632 requires careful attention to power supply and grounding arrangements. AVDD, DVDD, SVDD and VVDD are usually supplied from the system’s analog supply. If AVDD, DVDD, SVDD and VVDD are supplied separately, the correct power up sequence should be observed. AVSS, DVSS and SVSS of the AK4632 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 AK4632 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 VCOM pin in order to avoid unwanted coupling into the AK4632. 3. Analog Inputs The Mic and Beep inputs are single-ended. The input signal range scales with nominally at 0.06 x AVDD Vpp for the Mic input and 0.6 x AVDD Vpp for the Beep input, centered around the internal common voltage (approx. 0.45 x AVDD). Usually the input signal is AC coupled using a capacitor. The cut-off frequency is fc = (1/2πRC). The AK4632 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 MOUT pin and Mono Line Output from the AOUT pin are centered at 0.45 x AVDD (typ). The Speaker-Amp output is centered at SVDD/2. MS0396-E-00 2005/06 - 56 - ASAHI KASEI [AK4632] CONTROL SEQUENCE Clock Set up When ADC, DAC, ALC1, ALC2 and IPGA are used, the clocks must be supplied. 1. In case of PLL Master Mode. Power Supply Example: (1) Audio I/F Format: DSP Mode, BCKP = MSBS = “0” BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 11.2896MHz MCKO : Enable Sampling Frequency:8kHz PDN pin (2) (3) PMVCM bit (Addr:00H, D6) (4) MCKPD bit (1) Power Supply & PDN pin = “L” Æ “H” (Addr:01H, D2) (5) MCKO bit (Addr:01H, D1) (2)Addr:01H, Data:0CH Addr:04H, Data:48H Addr:05H, Data:00H PMPLL bit (Addr:01H, D0) (6) MCKI pin Input (3)Addr:00H, Data:40H M/S bit (Addr:01H, D3) 40msec(max) (7) BICK pin FCK pin (4)Addr:01H, Data:0BH Output (8) 1msec (max) MCKO, BICK and FCK output 40msec(max) (10) MCKO pin (9) Output Figure 46. Clock Set Up Sequence (1) <Example> (1) After Power Up, PDN pin = “L” → “H” “L” time (1) of 150ns or more is needed to reset the AK4632. (2) DIF1-0, PLL3-0, FS3-0, BCKO1-0, MSBS, BCKP and M/S bits should be set during this period. (3) Power UpVCOM: PMVCM bit = “0” → “1” VCOM should first be powered-up before the other block operates. (4) Release the pull-down resistor of the MCKI pin: MCKPD bit = “1” → “0” (5) In case of using MCKO output: MCKO bit = “1” In case of not using MCKO output: MCKO bit = “0” (6) PLL lock time is 40ms(max) after PMPLL bit changes from “0” to “1” and MCKI is supplied from an external source. (7) The AK4632 starts to output the FCK and BICK clocks after the PLL becomes stable. The normal operation of the block which a clock is necessary for becomes possible. (8) The invalid frequencies are output from FCK and BICK pins during this period. (9) The invalid frequency is output from MCKO pin during this period. (10) The normal clock is output from MCKO pin after the PLL is locked. MS0396-E-00 2005/06 - 57 - ASAHI KASEI [AK4632] 2. When the external clocks (FCK or BICK pin) are used in PLL Slave Mode. Example: Power Supply Audio I/F Format : DSP Mode, BCKP = MSBS = “0” PLL Reference clock: BICK BICK frequency: 64fs Sampling Frequency: 8kHz (1) PDN pin (2) (3) 4fs (1)ofPower Supply & PDN pin = “L” Æ “H” PMVCM bit (Addr:00H, D6) MCKPD bit (2) Addr:04H, Data:30H Addr:05H, Data:00H (4) "H" (Addr:01H, D2) PMPLL bit (Addr:01H, D0) (3) Addr:00H, Data:40H FCK pin BICK pin Input (5) (4) Addr:01H, Data:05H Internal Clock (6) BICK and FCK input Figure 47. Clock Set Up Sequence (2) <Example> (1) After Power Up: PDN pin “L” → “H” “L” time (1) of 150ns or more is needed to reset the AK4632. (2) DIF1-0, FS3-0, PLL3-0, MSBS and BCKP bits should be set during this period. (3) Power Up VCOM: PMVCM bit = “0” → “1” VCOM should first be powered up before the other block operates. (4) Pull down of the MCKI pin: MCKPD bit = “1” (5) PLL starts after the PMPLL bit changes from “0” to “1” and PLL reference clock (FCK or BICK pin) is supplied. PLL lock time is 160ms(max) when FCK is a PLL reference clock. And PLL lock time is 2ms(max) when BICK is a PLL reference clock. (6) Normal operation stats after the PLL is locked. MS0396-E-00 2005/06 - 58 - ASAHI KASEI [AK4632] 3. When the external clock (MCKI pin) is used in PLL Slave Mode. Example: Audio I/F Format: DSP Mode, BCKP = MSBS = “0” BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 11.2896MHz MCKO : Enable Sampling Frequency:8kHz Power Supply (1) PDN pin (2) (3) PMVCM bit (1) Power Supply & PDN pin = “L” Æ “H” (Addr:00H, D6) (4) MCKPD bit (Addr:01H, D2) (2)Addr:01H, Data:04H Addr:04H, Data:48H Addr:05H, Data:00H (5) MCKO bit (Addr:01H, D1) PMPLL bit (Addr:01H, D0) (3)Addr:00H, Data:40H (6) MCKI pin Input (4)Addr:01H, Data:03H 40msec(max) (7) MCKO pin Output (8) MCKO output start (9) BICK pin FCK pin Input BICK and FCK input start Figure 48. Clock Set Up Sequence (3) <Example> (1) After Power Up: PDN pin “L” → “H” “L” time (1) of 150ns or more is needed to reset the AK4632. (2) DIF1-0, PLL3-0, FS3-0, BCKO1-0, MSBS, BCKP and M/S bits should be set during this period. (3) Power Up VCOM: PMVCM bit = “0” → “1” VCOM should first be powered up before the other block operates. (4) Release the pull-down resistor of the MCKI pin: MCKPD bit = “1” → “0” (5) Enable MCKO output: MCKO bit = “1” (6) PLL starts after the PMPLL bit changes from “0” to “1” and PLL reference clock (MCKI pin) is supplied. PLL lock time is 40ms(max). (7) The normal clock is output from MCKO after PLL is locked. (8) The invalid frequency is output from MCKO during this period. (9) BICK and FCK clocks should be synchronized with MCKO clock. MS0396-E-00 2005/06 - 59 - ASAHI KASEI [AK4632] 4. EXT Slave Mode Example Audio I/F Format:MSB justified (ADC and DAC) Input MCKI frequency: 1024fs Sampling Frequency:8kHz MCKO: Disable Power Supply (1) (1) Power Supply & PDN pin = “L” Æ “H” PDN pin (2) (3) PMVCM bit (Addr:00H, D6) (2) Addr:04H, Data:02H Addr:05H, Data:01H MCKPD bit (Addr:01H, D2) (4) (3) Addr:00H, Data:40H PMPLL bit (Addr:01H, D0) "L" (5) MCKI pin Input (4) Addr:01H, Data:00H (5) FCK pin BICK pin Input MCKI, BICK and FCK input Figure 49. Clock Set Up Sequence (4) <Example> (1) After Power Up: PDN pin “L” → “H” “L” time (1) of 150ns or more is needed to reset the AK4632. (2) DIF1-0 and FS1-0 bits should be set during this period. (3) Power Up VCOM: PMVCM bit = “0” → “1” VCOM should first be powered up before the other block operates. (4) Release the pull-down resistor of the MCKI pin: MCKPD bit = “1” → “0” Power down PLL: PMPLL bit = “0” (5) Normal operation starts after the MCKI, FCK and BICK are supplied. MS0396-E-00 2005/06 - 60 - ASAHI KASEI [AK4632] MIC Input Recording Example: FS3-0 bits (Addr:05H, D5,D2-0) XXXX MIC Control (Addr:02H, D2-0) ALC1 Control 1 (Addr:06H) ALC1 Control 2 (Addr:08H) ALC1 Control 3 (Addr:07H) PLL Master Mode Audio I/F Format:DSP Mode, BCKP=MSBS=“0” Sampling Frequency:8kHz Pre MIC AMP:+20dB MIC Power On ALC1 setting:Refer to Figrure 29 ALC2 bit=“1”(default) XXX (1) 001 X1X (1) Addr:05H, Data:00H 00H (2) Addr:02H, Data:07H 47H (3) Addr:06H, Data:00H 61H or 21H (4) Addr:08H, Data:47H (2) XXH (3) XXH (4) XXH (5) ALC1 State ALC1 Disable ALC1 Enable ALC1 Disable (5) Addr:07H, Data:61H PMADC bit (6) Addr:00H, Data:43H (Addr:00H, D0) (6) PMMIC bit 1059 / fs (Addr:00H, D1) ADC Internal State (7) Power Down Recording Initialize Normal State Power Down (7) Addr:00H, Data:40H Figure 50. MIC Input Recording Sequence <Example> This sequence is an example of ALC1 setting at s=8kHz. If the parameter of the ALC1 is changed, please refer to “Figure 31. Registers set-up sequence at the ALC1 operation“ At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up a sampling frequency (FS3-0 bit). When the AK4632 is PLL mode, MIC and ADC should be powered-up in consideration of PLL lock time after a sampling frequency is changed. (2) Set up MIC input (Addr: 02H) (3) Set up Timer Select for ALC1 (Addr: 06H) (4) Set up REF value for ALC1 (Addr: 08H) (5) Set up LMTH, RATT, LMAT1-0 and ALC1 bits (Addr: 07H) (6) Power Up MIC and ADC: PMMIC bit = PMADC bit = “0” → “1” The initialization cycle time of ADC is 1059/fs=133ms@fs=8kHz. After the ALC1 bit is set to “1” and MIC block is powered-up, the ALC1 operation starts from IPGA default value (0dB). (7) Power Down MIC and ADC: PMMIC bit = PMADC bit = “1” → “0” When the registers for the ALC1 operation are not changed, ALC1 bit may be keeping “1”. The ALC1 operation is disabled because the MIC block is powered-down. If the registers for the ALC1 operation are also changed when the sampling frequency is changed, it should be done after the AK4632 goes to the manual mode (ALC1 bit = “0”) or MIC block is powered-down (PMMIC bit = “0”). IPGA gain is reset when PMMIC bit is “0”, and then IPGA operation starts from the default value when PMMIC bit is changed to “1”. MS0396-E-00 2005/06 - 61 - ASAHI KASEI [AK4632] Speaker-amp Output Example: FS2-0 bits (Addr:05H, D5, D2-0) XXXX PLL, Master Mode Audio I/F Format :DSP Mode, BCKP=MSBS= “0” Sampling Frequency: 8kHz Digital Volume: -8dB ALC2 : Enable XXXX (1) (8) DACM bit (1) Addr:05H, Data:00H (Addr:02H, D3) (2) ALC2S bit (2) Addr:02H, Data:28H (Addr:02H, D5) ALC2 bit (Addr:07H, D6) DVOL7-0 bits (Addr:0AH, D7-0) 0 (3) Addr:07H, Data:40H X (3) 0001100 (4) Addr:0AH, Data:28H XXXXXXX (4) (9) PMDAC bit (5) Addr:00H, Data:54H (Addr:00H, D2) (5) PMSPK bit (6) Addr:02H, Data:A8H (Addr:00H, D4) (6) SPPS bit Playback (Addr:02H, D7) (7) SPP pin SPN pin Hi-Z Hi-Z Normal Output SVDD/2 Normal Output Hi-Z SVDD/2 (7) Addr:02H, Data:28H Hi-Z (8) Addr:00H, Data:40H Figure 51. Speaker-Amp Output Sequence <Example> At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up a sampling frequency (FS3-0 bits). When the AK4632 is PLL mode, DAC and Speaker-Amp should be powered-up in consideration of PLL lock time after a sampling frequency is changed. (2) Set up the path of “DAC Æ SPK-Amp” DACM = ALC2S bit: “0” → “1” (3) Set up the ALC2 Enable/Disable (4) Set up the digital volume (Addr: 0AH) After DAC is powered-up, the digital volume changes from default value (0dB) to the register setting value by the soft transition. (5) Power Up of DAC and Speaker-Amp: PMDAC bit = PMSPK bit = “0” → “1” When ALC2 bit = “1”, the ALC2 is disabled (ALC2 gain is fiexed to “–2dB”) during the initilization cycle (512/fs = 64ms @ fs=8kHz, ROTM bit = “0”) and the ALC2 starts from “–2dB” after completing the initilization cycle. (6) Exit the power-save-mode of Speaker-Amp: SPPS bit = “0” → “1” “(6)” time depends on the time constant of input impedance of MIN pin and capacitor between MIN pin and MOUT pin. If Speaker-Amp output is enabled before MIN-Amp (ALC2) becomes stable, pop noise may occur. e.g. Input Impedance of MIN pin =36kΩ (max), C=0.1µF: Recommended wait time is more than 5τ = 18ms. (7) Enter the power-save-mode of Speaker-Amp: SPPS bit = “1” → “0” (8) Disable the path of “DAC Æ SPK-Amp” DACM = ALC2S bit: “1” → “0” (9) Power Down DAC and Speaker-Amp: PMDAC bit = PMSPK bit = “1” → “0” MS0396-E-00 2005/06 - 62 - ASAHI KASEI [AK4632] BEEP signal output from Speaker-Amp Clocks can be stopped. CLOCK ALC2 bit (Addr:07H, D6) 0 or 1 Example: (1) Addr:07H, Data:00H 0 (1) (2) Addr:00H, Data:70H PMBP bit (Addr:00H, D2) (2) (6) PMSPK bit (3) Addr:02H, Data:60H (Addr:00H, D4) ALC2S bit (Addr:02H, D5) 0 or 1 0 (4) Addr:02H, Data:E0H (3) (7) BEEPS bit (Addr:02H, D6) BEEP Signal Output (4) SPPS bit (Addr:02H, D7) (5) Addr:02H, Data:60H (5) SPP pin Hi-Z Normal Output Hi-Z (6) Addr:00H, Data:40H SPN pin Hi-Z SVDD/2 Normal Output SVDD/2 Hi-Z (7) Addr:02H, Data:00H Figure 52. “BEPP-Amp Æ Speaker-Amp” Output Sequence <Example> The clocks can be stopped when only BEEP-Amp and Speaker-Amp are operating. However ALC2 must be disabled. (1) ALC2 Disable: ALC2 bit = “0” (2) Power Up BEEP-Amp and Speaker-Amp: PMBP bit = PMSPK bit = “0” → “1” (3) Disable the path of “ALC2 Æ SPK-Amp”: ALC2S bit = “0” Enable the path of “BEEP Æ SPK-Amp”: BEEPS bit = “0” → “1” (4) Exit the power-save-mode of Speaker-Amp: SPPS bit = “0” → “1” “(4)” time depends on the time constant of external resistor and capacitor connected to BEEP pin. If Speaker-Amp output is enabled before input of BEEP-Amp becomes stable, pop noise may occur. e.g. R=20k, C=0.1µF: Recommended wait time is more than 5τ = 10ms. (5) Enter the power-save-mode of Speaker-Amp: SPPS bit = “1” → “0” (6) Power Down BEEP-Amp and Speaker-Amp: PMBP bit = PMSPK bit = “1” → “0” (7) Disable the path of “BEEP Æ SPK-Amp”: BEEPS bit = “1” → “0” MS0396-E-00 2005/06 - 63 - ASAHI KASEI [AK4632] MONO LINEOUT 1. In case of using an external mute circuit.(Compatible with AK4536/AK4630) Example: PLL, Master Mode Audio I/F Format :DSP Mode, BCKP=MSBS= “0” Sampling Frequency: 8kHz Digital Volume: -8dB FS3-0 bits (Addr:05H, D5,D2-0) XXXX XXXX (1) Addr:05H, Data:00H (1) (6) DACA bit (2) (2) Addr:02H, Data:10H (Addr:02H, D4) (3) DVOL7-0 bits (Addr:0AH, D7-0) 00011000 (3) Addr:0AH, Data:28H XXXXXXX PMDAC bit (4) Addr:00H, Data:4CH (Addr:00H, D2) (5) (4) PMAO bit Playback (Addr:00H, D3) AOUT pin Hi-Z Normal Output Hi-Z (5) Addr:00H, Data:40H (6) Addr:02H, Data:00H Figure 53. Mono Lineout Sequence <Example> At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up a sampling frequency (FS3-0 bits). When the AK4632 is PLL mode, DAC and Mono Line Amp should be powered-up in consideration of PLL lock time after a sampling frequency is changed. (2) Set up the path of “DAC Æ Mono Line Amp” DACA bit: “0” → “1” (3) Set up the digital volume (Addr: 0AH) After DAC is powered-up, the digital volume changes from default value (0dB) to the register setting value by the soft transition. (4) Power Up of DAC and Mono Line Amp: PMDAC bit = PMAO bit = “0” → “1” When DAC and Mono Line Amp are powered-up, the pop noise occurs from AOUT pin. Therefore AOUT pin should be muted by external circuit. (5) Power Down of DAC and Mono Line Amp: PMDAC bit = PMAO bit = “1” → “0” When DAC and Mono Line Amp are powered-down, the pop noise occurs from AOUT pin. Therefore AOUT pin should be muted by external circuit. (6) Disable the path of “DAC Æ Mono Line Amp” DACA bit: “1” → “0” MS0396-E-00 2005/06 - 64 - ASAHI KASEI [AK4632] 2. In case of using POP reduction circuit of AK4632. Example: PLL, Master Mode Audio I/F Format :DSP Mode, BCKP=MSBS= “0” Sampling Frequency: 8kHz Digital Volume: -8dB MGAIN1=SPKG1=SPKG0=BEEPA=ALC1M =ALC1A= “0” (1) Addr:05H, Data:00H (2) Addr:02H, Data:10H FS2-0 bits (Addr:05H, D5,D2-0) XXXX XXXX (3) Addr:0AH, Data:28H (1) (9) DACA bit (4) Addr:03H, Data:40H (2) (Addr:02H, D4) (3) DVOL7-0 bits (Addr:0AH, D7-0) (5) Addr:00H, Data:4CH 00011000 XXXXXXX (6) Addr:03H, Data:00H PSAON bit (Addr:03H, D6) (4) (7) (6) (10) Playback PMDAC bit (Addr:00H, D2) (7) Addr:03H, Data:40H (5) (8) PMAO bit (Addr:00H, D3) (8) Addr:00H, Data:40H >300 ms >300 ms AOUT pin Normal Output (9) Addr:02H, Data:00H (10) Addr:03H, Data:00H Figure 54. Mono Lineout Sequence <Example> At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up a sampling frequency (FS3-0 bits). When the AK4632 is PLL mode, DAC and Mono Line Amp should be powered-up in consideration of PLL lock time after a sampling frequency is changed. (2) Set up the path of “DAC Æ Mono Line Amp” : DACA bit: “0” → “1” (3) Set up the digital volume (Addr: 0AH) After DAC is powered-up, the digital volume changes from default value (0dB) to the register setting value by the soft transition. (4) Enter power-save mode of Mono Line Amp: AOPSN bit = “0” → “1” (5) Power Up of DAC and Mono Line Amp: PMDAC bit = PMAO bit = “0” → “1” AOUT pin rises up to VCOM voltage. Rise time is 200ms (max 300ms) at C=1µF. (6) Exit power-save mode of Mono Line Amp after AOUT pin rises up. : AOPSN bit = “1” → “0” Mono Line Amp goes to normal operation. (7) Enter power-save mode of Mono Line Amp: AOPSN bit = “0” → “1” (8) Power Down of DAC and Mono Line Amp: PMDAC bit = PMAO bit = “1” → “0” AOUT pin falls down to AVSS. Fall time is 200ms (max 300ms) at C=1µF. (9) Disable the path of “DAC Æ Mono Line Amp” : DACA bit: “1” → “0” (10) Exit power-save mode of Mono Line Amp after AOUT pin falls down. : AOPSN bit = “1” → “0” MS0396-E-00 2005/06 - 65 - ASAHI KASEI [AK4632] Video Signal Input and Output Clocks PMVCM bit (Addr:00H, D6) Example: Clocks can be stopped, if only video output is enable. Audio Function :No use PLL Master Mode VIDEO Output : DC Output VGCA : 0dB 1 X (1) (2) (1) Addr:00H, Data:45H SAGC1-0 bits (Addr:0CH, D6-5) XX XX VGCA4-0 bits (Addr:0CH, D4-0) XXXXX XXXXX (2) Addr:0CH, Data:02H (3) Addr:01H, Data:8BH (4) (3) PMV bit (Addr:01H, D7) Video Output VOUT pin AVSS Normal Output AVSS (4) Addr:01H, Data:0BH Figure 55. Video Output Sequence <Example> When the only video function is used, the clocks are not needed to input. (1) Power Up of VCOM : PMVCM bit = “0” → “1” (2) Set up the output circuit(SAGC1-0bits) and GCA(VGCA4-0 bits) (3 ) Power Up of Video-Amp : PMV bit = “0” → “1” The video signal that is input to VIN pin starts output from VOUT pin. (4) Power Down of Video-Amp : PMV bit = “1” → “0” The output from VOUT pin stops. VOUT pin goes to AVSS. If any audio functions are not used, VCOM can be powered-down(PMVCM bit =“0”) MS0396-E-00 2005/06 - 66 - ASAHI KASEI [AK4632] Stop of Clock Master clock can be stopped when ADC, DAC, ALC1, ALC2 and IPGA don’t operate. 1. In case of PLL Master Mode Example: (1) Audio I/F Format: DSP Mode, BCKP = MSBS = “0” BICK frequency at Master Mode : 64fs Input Master Clock Select at PLL Mode : 11.2896MHz Sampling Frequency:8kHz PMPLL bit (Addr:01H,D0) (2) MCKO bit "H" or "L" (1) (2) (3) Addr:01H, Data:0CH (Addr:01H,D1) (3) MCKPD bit Stop an external MCKI (Addr:01H,D2) (4) External MCKI Input Figure 56. Clock Stopping Sequence (1) <Example> (1) Power down PLL: PMPLL bit = “1” → “0” (2) Stop MCKO clock: MCKO bit = “1” → “0” (3) Pull down the MCKI pin: MCKPD bit = “0” → “1” When the external master clock becomes Hi-Z, MCKI pin should be pulled down. (4) Stop an external master clock. 2. When an external clocks (FCK or BICK pins) are used in PLL Slave Mode. Example Audio I/F Format : DSP Mode, BCKP = MSBS = “0” PLL Reference clock: BICK BICK frequency: 64fs Sampling Frequency: 8kHz (1) PMPLL bit (Addr:01H,D0) (2) External BICK Input (1) Addr:01H, Data:04H (2) External FCK Input (2) Stop the external clocks Figure 57. Clock Stopping Sequence (2) <Example> (1) Power down PLL: PMPLL bit = “1” → “0” (2) Stop the external BICK and FCK clocks MS0396-E-00 2005/06 - 67 - ASAHI KASEI [AK4632] 3. When an external clock (MCKI pin) is used in PLL Slave Mode. (1) PMPLL bit (Addr:01H,D0) (1) Example MCKO bit Audio I/F Format : DSP Mode, BCKP = MSBS = “0” PLL Reference clock: MCKI BICK frequency: 64fs Sampling Frequency: 8kHz (Addr:01H,D1) (1) MCKPD bit (Addr:01H,D2) (1) Addr:01H, Data:04H (2) External MCKI Input (2) Stop the external clocks Figure 58. Clock Stopping Sequence (3) <Example> (1) Power down PLL: PMPLL bit = “1” → “0” Stop MCKO output: MCKO bit = “1” → “0” Pull down the MCKI pin: MCKPD bit = “0” → “1” When the external master clock becomes Hi-Z, MCKI pin should be pulled down. (2) Stop the external master clock. 4. EXT Slave Mode Example Audio I/F Format :MSB justified(ADC and DAC) Input MCKI frequency:1024fs Sampling Frequency:8kHz (1) MCKPD bit (Addr:01H,D2) (2) External MCKI Input External BICK Input (1) Addr:01H, Data:04H (2) (2) Stop the external clocks (2) External FCK Input Figure 59. Clock Stopping Sequence (4) <Example> (1) Pull down the MCKI pin: MCKPD bit = “0” → “1” When the external master clock becomes Hi-Z, MCKI pin should be pulled down. (2) Stop the external MCKI, BICK and FCK clocks. Power down If the clocks are supplied, power down VCOM (PMVCM bit: “1” → “0”) after all blocks except for VCOM are powered-down and a master clock stops. The AK4632 is also powered-down by PDN pin = “L”. When PDN pin = “L”, the registers are initialized. MS0396-E-00 2005/06 - 68 - ASAHI KASEI [AK4632] PACKAGE 32pin QFN (Unit: mm) 5.00 ± 0.10 0.40 ± 0.10 4.75 ± 0.10 24 17 16 4.75 ± 0.10 B 3.5 5.00 ± 0.10 25 1 1 3.5 0.50 +0.07 -0.05 32 C0.42 8 A 0.23 Exposed Pad 9 32 0.85 ± 0.05 0.10 M AB 0.08 C 0.04 0.01+- 0.01 0.20 C Note) The exposed pad on the bottom surface of the package must be open. Material & Lead finish Package molding compound: Lead frame material: Lead frame surface treatment: Epoxy Cu Solder (Pb free) plate MS0396-E-00 2005/06 - 69 - ASAHI KASEI [AK4632] MARKING 4632 XXXX 1 XXXX : Date code identifier (4 digits) Revision History Date (YY/MM/DD) 05/06/01 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. MS0396-E-00 2005/06 - 70 -