[AK4634] AK4634 16-Bit Mono CODEC with ALC & MIC/SPK -AMP GENERAL DESCRIPTION The AK4634 is a 16-bit mono CODEC with Microphone-Amplifier and Speaker-Amplifier. Input circuits include a Microphone-Amplifier and an ALC (Automatic Level Control) circuit. Output circuits include a Speaker-Amplifier and Mono Line Output. The AK4634 is suitable for a moving picture of Digital Still Camera and etc. This speaker-Amplifier supports a Piezo Speaker. The AK4634 is housed in a space-saving 32-pin QFN 5mm x 5mm package and 29-pin CSP 2.5mm x 3mm package. FEATURE 1. 16-Bit Delta-Sigma Mono CODEC 2. Recording Function 1ch Mono Input MIC Amplifier: (0dB/+3dB/+6dB/+10dB/ +17dB/+20dB/+23dB/+26dB/+29dB/+32dB) Digital ALC (Automatic Level Control) (+36dB -54dB, 0.375dB Step, Mute) ADC Performance (MIC-Amp=+20dB) - S/(N+D): 84dB - DR, S/N: 86dB Wind-noise Reduction Filter 5 band notch Filter 3. Playback Function Digital ALC (Automatic Level Control) (+36dB -54dB, 0.375dB Step, Mute) Mono Line Output: S/(N+D): 85dB, S/N: 93dB Mono Class-D Speaker-Amp - BTL Output - Output Power: 400mW @ 8 (SVDD=3.3V) - S/(N+D): 55dB (150mW@8) Beep Generator 4. Power Management 5. PLL Mode: Frequencies: 12MHz, 13.5MHz, 24MHz, 27MHz (MCKI pin) 1fs (FCK pin) 16fs, 32fs or 64fs (BICK pin) 6. EXT Mode: Frequencies: 256fs, 512fs or 1024fs (MCKI pin) 7. Sampling Rate: PLL Slave Mode (FCK pin): 7.35kHz ~ 48kHz 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 EXT Slave Mode / EXT Master Mode: 7.35kHz ~ 48kHz (256fs), 7.35kHz ~ 26kHz (512fs), 7.35kHz ~ 13kHz (1024fs) 8. Output Master Clock Frequency: 256fs MS0686-E-03 2014/10 -1- [AK4634] 9. Serial P Interface: 3-wire, I2C Bus (Ver 1.0, 400kHz High Speed Mode) 10. Master / Slave Mode 11. Audio Interface Format: MSB First, 2’s complement ADC: DSP Mode, 16bit MSB justified, I2S DAC: DSP Mode, 16bit MSB justified, 16bit LSB justified, I2S 12. Ta = -30 ~ 85C (AK4634EN/ECB) 13. Power Supply Analog Supply (AVDD): 2.2 3.6V Digital Supply (DVDD): 1.6 3.6V Speaker Supply (SVDD): 2.2 4.0V 14. Package: 32pin QFN, 5mm x 5mm, 0.5mm pitch (AK4634EN) 29pin CSP, 2.5mm x 3.0mm, 0.5mm pitch (AK4634ECB) ■ Block Diagram AVDD VSS1 VCOM DVDD VSS2 PMMP MPI PDN MIC Power Supply I2C MIC/MICP PMADC Mic A/D LIN/MICN HPF MIC-Amp 0dB /+3dB/+6dB/+10dB/+17dB/+20dB/+23dB +26dB / +29dB / +32dB PMPFIL BICK HPF FCK LPF PMAO Line Out PMDAC & PMAO 5 Band EQ D/A VOL (ALC) AOUT SVDD Audio I/F SDTI PMDAC VSS3 SMUTE DATT MCKO PMPLL MCKI PMSPK PLL SPP Speaker SPN SDTO Class-D VCOC PMSPK SPK-AMP BEEP Generator CSN/SDA Control Register CCLK/SCL CDTIO TST1 TST2 TST3 Figure 1. AK4634 Block Diagram MS0686-E-03 2014/10 -2- [AK4634] ■ Ordering Guide AK4634EN AK4634ECB 30 +85C 30 +85C AKD4634 Evaluation board for AK4634ECB 32pin QFN (0.5mm pitch) 29 pin CSP (0.5mm pitch) ■ Pin Layout NC VSS3 SPN NC VSS2 DVDD MCKO I2C 24 23 22 21 20 19 18 17 AK4634EN SPP 25 16 SDTO SVDD 26 15 SDTI AOUT 27 14 BICK LIN / MICN 28 13 MCKI 12 FCK AK4634 Top View 7 8 CSN / SDA PDN NC 9 6 32 TST1 VCOC 5 CDTIO TST2 10 4 31 VSS1 VCOM 3 2 CCLK / SCL AVDD 11 2 30 TST3 MPI 1 29 NC MIC / MICP AK4634EN MS0686-E-03 2014/10 -3- [AK4634] AK4634ECB 6 5 4 Top View 3 2 1 A B C D E 6 I2C DVDD VSS2 VSS3 NC 5 SDTO MCKO SPN SVDD SPP 4 BICK SDTI MCKI AOUT 3 FCK CCLK/SCL CDTIO MPI 2 PDN CSN/SDA TST2 VCOM VCOC 1 TST1 VSS1 AVDD TST3 C D E A B MS0686-E-03 LIN/ MICN MIC/ MICP 2014/10 -4- [AK4634] ■ Compatibility with AK4633 1. Function Function MIC-Amp AK4633 0dB/+6dB/+10dB/+14dB +17dB/+20dB/+26dB/+32dB Single End of Analog Input LPF Notch Filter ( Equalizer) SPK-Amp ALC Recovery Waiting Period 1ch (MIC pin) Not Available 2 band Class-AB 4 steps (128fs ~ 1024fs) 11.2896MHz, 12MHz, 12.288MHz, 13.5MHz 24MHz, 27MHz Analog Input 3-wire 24pin QFN: 4.0mm x 4.0mm Master Clock Mode PLL Mode Frequency BEEP Output Control Interface Package MS0686-E-03 AK4634 0dB/+3dB/+6dB/+10dB/+17dB/ +20dB/+23dB/+26dB/+29dB/ +32dB 2ch (MIC pin / LIN pin) Available 5 band Class-D 8 steps (128fs ~ 16384fs) 12MHz, 13.5MHz, 24MHz, 27MHz Generator circuit Included 3-wire, I2C 32pin QFN : 5mm x 5mm 29 pin CSP:2.5mm x 3.0mm 2014/10 -5- [AK4634] PIN/FUNCTION (AK4634EN) No. 1 Pin Name NC I/O - 2 TST3 - 3 4 AVDD VSS1 - 5 TST2 - 6 TST1 - 7 NC CSN I SDA I/O 9 PDN I 10 CDTIO I/O 30 CCLK SCL FCK MCKI BICK SDTI SDTO I2C MCKO DVDD VSS2 NC SPN VSS3 NC SPP SVDD AOUT LIN MICN MIC MICP MPI I I I/O I I/O I O I O O O O I I I I I 31 VCOM O 8 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 32 VCOC O Function No Connection. No internal bonding. This pin must be connected to the ground. TEST3 pin This pin must be open. Analog Power Supply Pin 2.2 ~ 3.6V Ground Pin. TEST2 pin This pin must be open. TEST1 pin This pin must be open. No Connection. No internal bonding. This pin must be connected to the ground. Chip Select Pin (I2C pin = “L”) Control Data Input/Output Pin (I2C pin = “H”) Power-Down Mode Pin “H”: Power up, “L”: Power down reset and initialize the control register. AK4634 must be always reset upon power-up. Control Data Input/Output Pin (I2C pin = “L”) This pin must be connected to the ground. (I2C pin = “H”) Control Data Clock Pin (I2C pin = “L”) Control Data Clock Pin (I2C pin = “H”) Frame Clock Pin External Master Clock Input Pin Audio Serial Data Clock Pin Audio Serial Data Input Pin Audio Serial Data Output Pin Control Mode Select Pin “H”: I2C Bus, “L”: 3-wire Serial Master Clock Output Pin Digital Power Supply Pin 1.6 ~ 3.6V Ground Pin. No Connection. No internal bonding. This pin must be connected to the ground. Speaker Amp Negative Output Pin Ground Pin. No Connection. No internal bonding. This pin must be connected to the ground. Speaker Amp Negative Output Pin Speaker Amp Power Supply Pin 2.2 ~4.0V Mono Line Output Pin Line Input Pin for Single Ended Input (MDIF bit = “0”) Microphone Negative Input Pin for Differential Input Microphone Input Pin for Single Ended Input Microphone Positive Input Pin for Differential Input (MDIF bit = “1”) (MDIF bit = “0”) (MDIF bit = “1”) MIC Power Supply Pin for Microphone Common Voltage Output Pin, 0.45 x AVDD Bias voltage of ADC inputs and DAC outputs. Output Pin for Loop Filter of PLL Circuit This pin must be connected to VSS1 with one resistor and capacitor in series. Note: All input pins except analog input pins (MIC/MICP, LIN/MICN pins) must not be left floating MS0686-E-03 2014/10 -6- [AK4634] PIN/FUNCTION (AK4634ECB) No. Pin Name I/O D2 VCOM O C1 D1 VSS1 AVDD - E2 VCOC O A2 PDN I A6 I2C I CSN SDA CCLK SCL I I/O I I C3 CDTIO I/O B4 A5 A3 A4 B6 C6 C4 B5 E5 C5 D6 D5 D4 D3 SDTI SDTO FCK BICK DVDD VSS2 MCKI MCKO SPP SPN VSS3 SVDD AOUT MPI MIC MICP LIN MICN I O I/O I/O I O O O O O I I I I B2 B3 Function Common Voltage Output Pin, 0.45 x AVDD Bias voltage of ADC inputs and DAC outputs. Ground Pin Analog Power Supply Pin Output Pin for Loop Filter of PLL Circuit This pin must be connected to VSS1 with one resistor and capacitor in series. Power-Down Mode Pin “H”: Power up, “L”: Power down reset and initialize the control register. AK4634 must always be reset upon power-up. Control Mode Select Pin “H”: I2C Bus, “L”: 3-wire Serial Chip Select Pin (I2C pin = “L”) Control Data Input/Output Pin (I2C pin = “H”) Control Data Clock Pin (I2C pin = “L”) Control Data Clock Pin (I2C pin = “H”) Control Data Input/Output Pin (I2C pin = “L”) This pin must be connected to the ground. (I2C pin = “H”) Audio Serial Data Input Pin Audio Serial Data Output Pin Frame Clock Pin Audio Serial Data Clock Pin Digital Power Supply Pin Ground Pin. External Master Clock Input Pin Master Clock Output Pin Speaker Amp Positive Output Pin Speaker Amp Negative Output Pin Ground Pin Speaker Amp Power Supply Pin Mono Line Output Pin MIC Power Supply Pin for Microphone Microphone Input Pin for Single Ended Input (MDIF bit = “0”) E3 Microphone Positive Input Pin for Differential Input (MDIF bit = “1”) Line Input Pin for Single Ended Input (MDIF bit = “0”) E4 Microphone Negative Input Pin for Differential Input (MDIF bit = “1”) TEST3 pin E1 TST3 This pin must be open. TEST2 pin C2 TST2 This pin must be open. TEST1 pin A1 TST1 This pin must be open. No Connection. E6 NC No internal bonding. This pin must be connected to the ground. Note: All input pins except analog input pins (MIC/MICP, LIN/MICN pins) must not be left floating MS0686-E-03 2014/10 -7- [AK4634] ■ Handling of Unused Pin The unused I/O pins must be processed appropriately as below. Classification Analog Digital Pin Name MIC/MICP, LIN/MICN, MPI, AOUT, SPP, SPN, VCOC MCKI, SDTI Setting These pins must be open These pins must be connected to VSS2 When I2C pin = “H”, These pins should be connected to VSS2. These pins must be open. CDTIO MCKO, SDTO ABSOLUTE MAXIMUM RATINGS (VSS1-3 =0V; Note 1) Parameter Symbol min max Unit Power Supplies: Analog AVDD 0.3 4.6 V Digital DVDD 0.3 4.6 V Speaker-Amp SVDD 0.3 4.6 V Input Current, Any Pin Except Supplies IIN 10 mA Analog Input Voltage (Note 2) VINA 0.3 AVDD+0.3 V Digital Input Voltage (Note 3) VIND 0.3 DVDD+0.3 V Ambient Temperature (power applied) AK4634EN/ECB Ta 30 85 C Storage Temperature Tstg 65 150 C Maximum Power Dissipation (Note 4) Pd 400 mW Note 1. All voltages with respect to ground. VSS1, VSS2 and VSS3 must be connected to the same analog ground plane. Note 2. LIN/MICN, MIC/MICP pins Note 3. PDN, I2C, CSN/SDA, CCLK/SCL, CDTIO, SDTI, FCK, BICK, MCKI pins Pull-up resistors at SDA and SCL pins should be connected to (DVDD+0.3)V or less voltage. Note 4 When PCB wiring density is 100%. This power is the AK4634 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. RECOMMENDED OPERATING CONDITIONS (VSS1-3=0V; Note 1) Parameter Symbol min typ max Unit Power Supplies Analog AVDD 2.2 3.3 3.6 V (Note 5) Digital DVDD 1.6 3.3 3.6 V Speaker-Amp SVDD 2.2 3.3 4.0 V Note 1. All voltages with respect to ground. Note 5. The power up sequence between AVDD, DVDD and SVDD is not critical. The PDN pin must be held to “L” upon power-up. It is not permitted to power DVDD off when AVDD or SVDD is powered up. When only AVDD or SVDD is powered OFF, the AK4634must be reset by bringing the PDN pin “L” after theses power supplies are powered ON again. The power supply current of DVDD at power-down mode may be increased. DVDD should not be powered OFF while AVDD or SVDD is powered ON. * AKM assumes no responsibility for the usage beyond the conditions in this datasheet. MS0686-E-03 2014/10 -8- [AK4634] ANALOG CHRACTERISTICS (Ta=25C; AVDD=DVDD=SVDD=3.3V; VSS1-3 =0V; fs=8kHz, BICK=64fs; Signal Frequency=1kHz; 16bit Data; Measurement frequency=20Hz 3.4kHz; EXT Slave Mode; unless otherwise specified) Parameter min typ max Units MIC Amplifier: MIC, LIN pins ; MDIF bit = “0”; (Single-ended input) Input Resistance 20 30 40 k Gain (MGAIN3-0 bits = “0000”) 0 dB (MGAIN3-0 bits = “0001”) 19 20 21 dB (MGAIN3-0 bits = “0010”) 25 26 27 dB (MGAIN3-0 bits = “0011”) 31 32 33 dB (MGAIN3-0 bits = “0100”) 9 10 11 dB (MGAIN3-0 bits = “0101”) 16 17 18 dB (MGAIN3-0 bits = “0110”) 22 23 24 dB (MGAIN3-0 bits = “0111”) 28 29 30 dB (MGAIN3-0 bits = “1000”) 2 3 4 dB (MGAIN3-0 bits = “1001”) 5 6 7 dB MIC Amplifier: MICP, MICN pins ; MDIF bit = “1”; (Full-differential input) Input Voltage (MGAIN3-0 bits = “0001”) 0.168 0.198 0.228 Vpp (Note 6) (MGAIN3-0 bits = “0010”) 0.084 0.099 0.114 Vpp (MGAIN3-0 bits = “0011”) 0.042 0.050 0.057 Vpp (MGAIN3-0 bits = “0100”) 0.532 0.626 0.720 Vpp (MGAIN3-0 bits = “0101”) 0.238 0.280 0.322 Vpp (MGAIN3-0 bits = “0110”) 0.119 0.140 0.161 Vpp (MGAIN3-0 bits = “0111”) 0.060 0.070 0.080 Vpp (MGAIN3-0 bits = “1001”) 0.843 0.992 1.14 Vpp MIC Power Supply: MPI pin Output Voltage (Note 7) 2.38 2.64 2.90 V Load Resistance 2 k Load Capacitance 30 pF ADC Analog Input Characteristics: MIC/LIN ADC, MIC Gain = 20dB, IVOL = 0dB, ALC1bit = “0” Resolution 16 Bits Input Voltage (MIC Gain=20dB, Note 8) 0.168 0.198 0.228 Vpp 74 84 dB S/(N+D) (1dBFS) (Note 9) 76 86 dB D-Range (60dBFS) S/N 76 86 dB ADC Analog Input Characteristics: MIC/LIN ADC, MIC Gain = 0dB, IVOL = 0dB, ALC1bit = “0” Resolution 16 Bits Input Voltage (MIC Gain=0dB, Note 8) 1.98 Vpp 84 dB S/(N+D) (1dBFS) (Note 9) 89 dB D-Range (60dBFS) S/N 89 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 10) LOVL bit = “0” 2.25 2.50 2.75 Vpp LOVL bit = “1” 75 85 dB S/(N+D) (0dBFS) (Note 9) 83 93 dB D-Range (60dBFS) 83 93 dB S/N 10 Load Resistance k 30 pF Load Capacitance MS0686-E-03 2014/10 -9- [AK4634] Parameter min typ max Unit Speaker-Amp Characteristics: SDTI SPP/SPN pins, ALC2 bit = “0”, SPKG bit = “0”, RL=8 + 10H, BTL, SVDD=3.3V Output Power (0dBFS) (Note 11) 400 mW S/(N+D) 400mW Output 20 dB 150mW Output 55 dB dBV Output Noise Level 80 70 Load Resistance 8 30 pF Load Capacitance Speaker-Amp Characteristics: SDTI SPP/SPN pins, ALC2 bit = “0”, SPKG bit = “0”, CL=3F, Rseries=10 x 2, BTL, SVDD=3.8V Output Voltage (0dBFS) (Note 11) 2.5 Vrms S/(N+D) (Note 12) 20 dB dBV Output Noise Level (Note 12, Note 13) 78 Load Impedance (Note 14) 50 3 Load Capacitance F Power Supplies Power Up (PDN pin = “H”) All Circuit Power-up Except Video Amp: (Note 15) AVDD+DVDD fs = 8kHz 9 mA fs = 48kHz 12 18 mA SVDD: Speaker-Amp Normal Operation (No Output, RL=8 + 10H) SVDD = 3.3V 1.5 2.5 mA Power Down (PDN pin = “L”) (Note 17) 1 5 AVDD+DVDD+SVDD A Note 6. The voltage difference between MICP and MICN pins. AC coupling capacitor should be inserted in series at each input pin. Full-differential mic input is not available at MGAIN3-0 bits = “1000” or “0000”. Maximum input voltage of MICP and MICN pins are proportional to AVDD voltage, respectively. Vin = |(MICP) (MICN)| = 0.069 x AVDD(max)@MGAIN3-0 bits = “0001”, 0.035 x AVDD(max)@MGAIN3-0 bits = “0010”, 0.017 x AVDD(max)@MGAIN3-0 bits = “0011”, 0.218x AVDD(max)@MGAIN3-0 bits = “0100”, 0.097x AVDD(max)@MGAIN3-0 bits = “0101”, 0.048x AVDD(max)@MGAIN3-0 bits = “0110”, 0.024x AVDD(max)@MGAIN3-0 bits = “0111”, 0.345x AVDD(max)@MGAIN3-0 bits = “1001” When the signal larger than above value is input to MICP or MICN pin, ADC does not operate normally. Note 7. Output voltage is proportional to AVDD voltage. Vout = 0.8 x AVDD (typ) Note 8. Input voltage is proportional to AVDD voltage. Vin = 0.06 x AVDD (typ) Note 9. When a PLL reference clock is FCK pin in PLL Slave Mode, S/ (N+D) of MICADC is 75dB (typ), S/ (N+D) of DACAOUT is 75dB (typ). Note 10. The output voltage is proportional to AVDD voltage. Vout = 0.6 x AVDD (typ)@LOVL bit = “0”. Note 11. The value after passing LPF (LPF : Passband is 20kHz or less, Stopband Attenuation@250kHz is –50dB or less) Note 12. In case of measuring at between the SPP pin and SPN pin directly. Note 13. The output noise level is -68dB(typ) when fs=48kHz and measurement frequency = 20Hz ~ 20kHz. Note 14. Load impedance is total impedance of series resistance (Rseries) and piezo speaker impedance at 1kHz in Figure 44. 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 15.PLL Master Mode (MCKI = 12MHz) and PMMP = PMADC = PMDAC = PMPFIL = PMSPK = PMVCM = PMPLL = MCKO = PMAO = M/S = “1”. Output current from the MPI pin is 0mA. When the AK4634 is EXT mode (PMPLL = MCKO = M/S = “0”), “AVDD+DVDD” is typically 6mA@fs=8kHz, 11mA@fs=48kHz Note 16. In case of the resistance of class-D speaker is 8Ω+10uH. When the resistance is 3µF+10Ω x2, this value will be 3.0mA@SVDD=3.8V(typ). Note 17. All digital inputs pins are fixed to DVDD or VSS2. MS0686-E-03 2014/10 - 10 - [AK4634] FILTER CHRACTERISTICS (Ta = Tmin ~ Tmax; AVDD = 2.8 3.6V; DVDD = 1.6 3.6V, SVDD = 2.2 4.0V; fs=8kHz) Parameter Symbol min typ max Unit ADC Digital Filter (Decimation LPF): Passband (Note 18) 0.16dB PB 0 3.0 kHz 0.66dB 3.5 kHz 1.1dB 3.6 kHz 6.9dB 4.0 kHz Stopband (Note 18) SB 4.7 kHz Passband Ripple PR 0.1 dB Stopband Attenuation SA 73 dB Group Delay (Note 19) GD 16 1/fs Group Delay Distortion GD 0 s DAC Digital Filter (Decimation LPF): Passband (Note 18) 0.16dB PB 0 3.0 0.54dB 3.5 dB 1.0dB 3.6 6.7dB 4.0 Stopband (Note 18) SB 4.7 kHz Passband Ripple PR 0.1 dB Stopband Attenuation SA 73 dB Group Delay (Note 19) GD 16 1/fs Group Delay Distortion GD 0 s DAC Digital Filter + Analog Filter: Frequency Response: 0 3.4kHz FR 1.0 dB Note 18. The passband and stopband frequencies are proportional to fs (system sampling rate). For example, ADC of PB = 3.6kHz is 0.45*fs (@ 1.0dB). A reference of frequency response is 1kHz. Note 19. 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. 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. When there is not a phase change with the IIR filter, group delay of the programmable filter (primary HPF + primary LPF + 5-band Equalizer + ALC) increases for 2/fs than a value of an above mention. DC CHRACTERISTICS (Ta = Tmin ~ Tmax; AVDD = 2.8 3.6V, DVDD = 1.6 3.6V, SVDD = 2.2 4.0V) Parameter Symbol min typ High-Level Input Voltage (DVDD ≥ 2.2V) VIH 70%DVDD (DVDD < 2.2V) 80%DVDD Low-Level Input Voltage (DVDD ≥ 2.2V) VIL (DVDD < 2.2V) High-Level Output Voltage (Iout = 80A) VOH DVDD0.2 Low-Level Output Voltage (Except SDA pin: Iout = 80A) VOL1 (SDA pin, 2.0V DVDD 3.6V: Iout = 3mA) VOL2 (SDA pin, 1.6V DVDD < 2.0V: Iout = 3mA) VOL2 Input Leakage Current Iin - MS0686-E-03 max 30%DVDD 20%DVDD 0.2 0.4 20%DVDD 10 Unit V V V V V V V A 2014/10 - 11 - [AK4634] SWITING CHARACTERISTICS (Ta = Tmin ~ Tmax; AVDD = 2.8 3.6V, DVDD = 1.6 3.6V, SVDD = 2.2 4.0V; CL = 20pF) Parameter Symbol min typ max Unit PLL Master Mode (PLL Reference Clock = MCKI pin) (Figure 2) MCKI Input: Frequency Pulse Width Low Pulse Width High MCKO Output: Frequency Duty Cycle except fs=29.4kHz, 32kHz fs =29.4kHz, 32kHz (Note 20) FCK Output: Frequency Pulse width High (DIF1-0 bits = “00” and FCKO bit = “1”) fCLK tCLKL tCLKH 11.2896 0.4/fCLK 0.4/fCLK - 27.0 - MHz ns ns fMCK dMCK dMCK fFCK 40 8 256 x fFCK 50 33 - 60 48 kHz % % kHz tFCKH - tBCK - ns dFCK tBCK tBCK tBCK dBCK - 50 1/16fFCK 1/32fFCK 1/64fFCK 50 - % 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 Duty Cycle (DIF1-0 bits = “00” or FCKO bit = “0”) BICK: Period (BCKO1-0 = “00”) (BCKO1-0 = “01”) (BCKO1-0 = “10”) Duty Cycle Audio Interface Timing DSP Mode: (Figure 3, Figure 4) FCK “” to BICK “” (Note 21) FCK “” to BICK “” (Note 22) BICK “” to SDTO (BCKP = “0”) BICK “” to SDTO (BCKP = “1”) SDTI Hold Time SDTI Setup Time Except DSP Mode: (Figure 5) BICK “” to FCK Edge FCK to SDTO (MSB) (Except I2S mode) BICK “” to SDTO SDTI Hold Time SDTI Setup Time MS0686-E-03 2014/10 - 12 - [AK4634] Parameter Symbol min typ max Unit 8 - 48 1/fFCKtBCK 55 1/16fFCK - kHz ns % ns ns ns 8 1/16fFCK 1/32fFCK 1/64fFCK - 48 1/fFCKtBCK 55 - kHz ns % ns ns ns ns ns PLL Slave Mode (PLL Reference Clock: FCK pin) (Figure 6, Figure 7) 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 tBCK60 45 1/64fFCK 0.4 x tBCK 0.4 x tBCK PLL Slave Mode (PLL Reference Clock: BICK pin) (Figure 6, Figure 7) FCK: Frequency DSP Mode: Pulse width High Except DSP Mode: Duty Cycle BICK: Period (PLL3-0 bit = “0001”) (PLL3-0 bit = “0010”) (PLL3-0 bit = “0011”) Pulse Width Low Pulse Width High fFCK tFCKH duty tBCK tBCK tBCK tBCKL tBCKH 7.35 tBCK60 45 0.4 x tBCK 0.4 x tBCK PLL Slave Mode (PLL Reference Clock: MCKI pin) (Figure 8) MCKI Input: Frequency Pulse Width Low Pulse Width High MCKO Output: Frequency Duty Cycle except fs=29.4kHz, 32kHz fs=29.4kHz, 32kHz (Note 20) 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 9, Figure 10) FCK “” to BICK “” (Note 21) FCK “” to BICK “” (Note 22) BICK “” to FCK “” (Note 21) BICK “” to FCK “” (Note 22) BICK “” to SDTO (BCKP bit= “0”) BICK “” to SDTO (BCKP bit= “1”) SDTI Hold Time SDTI Setup Time Except DSP Mode: (Figure 12) FCK Edge to BICK “” (Note 23) BICK “” to FCK Edge (Note 23) 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 tBCK60 45 1/64fFCK 0.4 x tBCK 0.4 x tBCK 256 x fFCK 50 33 - 60 48 1/fFCKtBCK 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 MS0686-E-03 2014/10 - 13 - [AK4634] Parameter Symbol min typ max Unit 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 12) FCK Edge to BICK “” (Note 23) BICK “” to FCK Edge (Note 23) 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 EXT Slave Mode (Figure 11) MS0686-E-03 kHz kHz % ns ns ns 2014/10 - 14 - [AK4634] Parameter Symbol min typ max Unit fCLK fCLK fCLK tCLKL tCLKH fFCK fFCK fFCK dFCK tBCK tBCK tBCK dBCK 1.8816 3.7632 7.5264 0.4/fCLK 0.4/fCLK 7.35 7.35 7.35 - 2.048 4.096 8.192 8 8 8 50 1/16fFCK 1/32fFCK 1/64fFCK 50 12.288 13.312 13.312 48 26 13 - MHz MHz MHz ns ns kHz kHz kHz % ns ns ns % 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 - 40 70 ns ns - 70 - ns ns ns EXT Master Mode (Figure 2) MCKI Frequency: 256fs 512fs 1024fs Pulse Width Low Pulse Width High FCK Frequency (MCKI = 256fs) (MCKI = 512fs) (MCKI = 1024fs) Duty Cycle BICK: Period (BCKO1-0 bit = “00”) (BCKO1-0 bit = “01”) (BCKO1-0 bit = “10”) Duty Cycle Audio Interface Timing DSP Mode: (Figure 3, Figure 4) FCK “” to BICK “” (Note 21) tDBF 0.5 x tBCK40 FCK “” to BICK “” (Note 22) tDBF 0.5 x tBCK40 BICK “” to SDTO (BCKP bit = “0”) tBSD 70 BICK “” to SDTO (BCKP bit = “1”) tBSD 70 SDTI Hold Time tSDH 50 SDTI Setup Time tSDS 50 Except DSP Mode: (Figure 5) BICK “” to FCK Edge tBFCK 40 FCK to SDTO (MSB) tFSD 70 (Except I2S mode) BICK “” to SDTO tBSD 70 SDTI Hold Time tSDH 50 SDTI Setup Time tSDS 50 Note 20. Duty Cycle = (the width of “L”)/(the period of clock)*100 Note 21. MSBS, BCKP bits = “00” or “11” Note 22. MSBS, BCKP bits = “01” or “10” Note 23. BICK rising edge must not occur at the same time as FCK edge. MS0686-E-03 2014/10 - 15 - [AK4634] Parameter Symbol min Control Interface Timing (3-wire Serial mode) CCLK Period tCCK 200 CCLK Pulse Width Low tCCKL 80 Pulse Width High tCCKH 80 CDTI Setup Time tCDS 40 CDTI Hold Time tCDH 40 CSN “H” Time tCSW 150 tCSS 50 CSN edge to CCLK “” (Note 25) tCSH 50 CCLK “” to CSN edge (Note 25) tDCD CCLK “” to CDTIO (at Read Command) CSN “” to CDTIO (Hi-Z) (at Read Command) tCCZ (Note 26) Control Interface Timing (I2C Bus mode): SCL Clock Frequency fSCL Bus Free Time Between Transmissions tBUF 1.3 Start Condition Hold Time (prior to first clock pulse) tHD:STA 0.6 Clock Low Time tLOW 1.3 Clock High Time tHIGH 0.6 Setup Time for Repeated Start Condition tSU:STA 0.6 SDA Hold Time from SCL Falling (Note 27) tHD:DAT 0 SDA Setup Time from SCL Rising tSU:DAT 0.1 Rise Time of Both SDA and SCL Lines tR Fall Time of Both SDA and SCL Lines tF Setup Time for Stop Condition tSU:STO 0.6 Capacitive Load on Bus Cb Pulse Width of Spike Noise Suppressed by Input Filter tSP 0 Reset Timing PDN Pulse Width (Note 28) tPD 150 PMADC “” to SDTO valid (Note 29) ADRST bit = “0” tPDV ADRST bit = “1” tPDV Note 24. I2C-bus is a trademark of NXP B.V. Note 25. CCLK rising edge must not occur at the same time as CSN edge. Note 26. RL = 1kΩ/10% change (Pull-up to DVDD) Note 27. Data must be held long enough to bridge the 300ns-transition time of SCL. Note 28. The AK4634 can be reset by the PDN pin = “L” Note 29. This is the count of FCK “” from the PMADC = “1”. MS0686-E-03 typ max Units - 70 ns ns ns ns ns ns ns ns ns - 70 ns - 400 0.3 0.3 400 50 kHz s s s s s s s s s s pF ns - - ns 1059 291 - 1/fs 1/fs 2014/10 - 16 - [AK4634] ■ Timing Diagram 1/fCLK VIH MCKI VIL tCLKH tCLKL 1/fFCK 50%DVDD FCK dFCK dFCK 1/fMCK MCKO 50%DVDD tMCKOH tMCKOL dMCK = tMCKOL x fMCK x 100% Figure 2. Clock Timing (PLL/EXT Master mode) (MCKO is not available at EXT 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 3. Audio Interface Timing (PLL/EXT Master mode & DSP mode: MSBS = “0”) MS0686-E-03 2014/10 - 17 - [AK4634] 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 4. Audio Interface Timing (PLL/EXT Master mode & DSP mode: MSBS = “1”) 50%DVDD FCK tBFCK dBCK BICK 50%DVDD tFSD tBSD SDTO 50%DVDD tSDS tSDH VIH SDTI VIL Figure 5. Audio Interface Timing (PLL/EXT Master mode & Except DSP mode) MS0686-E-03 2014/10 - 18 - [AK4634] 1/fFCK VIH FCK VIL tFCKH tBFCK tBCK VIH BICK (BCKP = "0") VIL tBCKH tBCKL VIH BICK (BCKP = "1") VIL Figure 6. 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 7. Clock Timing (PLL Slave mode; PLL Reference Clock = FCK or BICK pin & DSP mode; MSBS = 1) MS0686-E-03 2014/10 - 19 - [AK4634] 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 8. Clock Timing (PLL Slave mode; PLL Reference Clock = MCKI pin & Except DSP mode) MS0686-E-03 2014/10 - 20 - [AK4634] 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 9. 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 10. Audio Interface Timing (PLL Slave mode, DSP mode; MSBS = 1) MS0686-E-03 2014/10 - 21 - [AK4634] 1/fCLK VIH MCKI VIL tCLKH tCLKL 1/fFCK VIH FCK VIL tFCKH tFCKL tBCK VIH BICK VIL tBCKH tBCKL Figure 11. Clock Timing (EXT Slave mode) VIH FCK VIL tBFCK tFCKB VIH BICK VIL tFSD tBSD SDTO MSB tSDS 50%DVDD tSDH VIH SDTI VIL Figure 12. Audio Interface Timing (PLL, EXT Slave mode & Except DSP mode) MS0686-E-03 2014/10 - 22 - [AK4634] VIH CSN VIL tCSH tCSS tCCKL tCCKH VIH CCLK VIL tCCK tCDH tCDS VIH CDTIO A6 A5 R/W VIL Figure 13. WRITE Command Input Timing tCSW VIH CSN VIL tCSH tCSS VIH CCLK VIL VIH CDTIO D2 D1 D0 VIL Figure 14. WRITE Data Input Timing MS0686-E-03 2014/10 - 23 - [AK4634] VIH CSN VIL VIH CCLK Clock, H or L tCCZ tDCD CDTIO D3 VIL D2 D1 50% DVDD D0 Hi-Z Figure 15. Read Data Output Timing VIH SDA VIL tBUF tLOW tHIGH tR tF tSP VIH SCL VIL tHD:STA Stop tHD:DAT tSU:DAT Start tSU:STA tSU:STO Start Stop Figure 16. I2C Bus Mode Timing PMADC bit tPDV SDTO 50%DVDD Figure 17. Power Down & Reset Timing 1 tPD PDN VIL Figure 18. Power Down & Reset Timing 2 MS0686-E-03 2014/10 - 24 - [AK4634] OPERATION OVERVIEW ■ System Clock There are the following five clock modes to interface with external devices. (Table 1 and Table 2) Mode PMPLL bit M/S bit PLL3-0 bit PLL Master Mode 1 1 Table 4 PLL Slave Mode 1 1 0 Table 4 (PLL Reference Clock: MCKI pin) PLL Slave Mode 2 1 0 Table 4 (PLL Reference Clock: FCK or BICK pin) EXT Slave Mode 0 0 x EXT Master Mode 0 1 x Table 1. Clock Mode Setting (x: Don’t care) Mode PLL Master Mode PLL Slave Mode 1 (PLL Reference Clock: MCKI pin) PLL Slave Mode 2 (PLL Reference Clock: FCK or BICK pin) Figure Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 MCKO bit MCKO pin MCKI pin BICK pin FCK pin 0 “L” Output 1 256fs Output Master Clock Input for PLL (Note 30) 16fs/32fs/64fs Output 1fs Output 0 “L” Output 1 256fs Output Master Clock Input for PLL (Note 30) 16fs Input 1fs Input 0 “L” Output GND 16fs/32fs/64fs Input 1fs Input 32fs Input 1fs Input 32fs/64fs Output 1fs Output EXT Slave Mode 0 “L” Output EXT Master Mode 0 “L” Output 256fs/ 512fs/ 1024fs Input 256fs/ 512fs/ 1024fs Input Note 30. 12MHz/13.5MHz/24MHz/27MHz Table 2. Clock pins state in Clock Mode MS0686-E-03 2014/10 - 25 - [AK4634] ■ 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 AK4634 is power-down mode (PDN pin = “L”) and exits reset state, the AK4634 is slave mode. After exiting reset state, the AK4634 changes to master mode by bringing M/S bit = “1”. When the AK4634 is in master mode, FCK and BICK pins are a floating state until M/S bit becomes “1”. The FCK and BICK pins of the AK4634 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 Mod ■ 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. Ether when the AK4634 is supplied to a stable clocks after PLL is powered-up (PMPLL bit = “0” “1”) or when the sampling frequency changes, the PLL lock time is the same. 1) Setting of PLL Mode Mode PLL3 bit PLL2 bit PLL1 bit PLL0 bit 0 1 2 3 6 7 12 13 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 0 1 0 1 PLL Reference Clock Input Pin Input Frequency R and C of VCOC pin (Note 31) C[F] R[] 6.8k 220n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 10n 10k 10n PLL Lock Time (max) FCK pin 1fs 160ms BICK pin 16fs 2ms BICK pin 32fs 2ms BICK pin 64fs 2ms MCKI pin 12MHz 20ms MCKI pin 24MHz 20ms MCKI pin 13.5MHz 20ms MCKI pin 27MHz 20ms Others Others N/A Note 31. the tolerance of R is ±5%, the tolerance of C is ±30% Table 4. Setting of PLL Mode (*fs: Sampling Frequency, N/A: Not available) (default) 2) Setting of sampling frequency in PLL Mode. When PLL2 bit is “1” (PLL reference clock input is the 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” (N/A: Not available) MS0686-E-03 2014/10 - 26 - [AK4634] When PLL2 bit is “0” (PLL reference clock input is FCK or BICK pin), the sampling frequency is selected by FS3-2 bits. (Table 6) Mode 0 1 2 Others FS3 bit 0 0 1 FS2 bit 0 1 0 FS1 bit x x x Others FS0 bit x x x Sampling Frequency Range (default) 7.35kHz fs 12kHz 12kHz < fs 24kHz 24kHz < fs 48kHz N/A (x: Don’t care, N/A: Not available) 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, the BICK and FCK pins output “L” for a moment, and invalid frequency clock is output from the MCKO pin at MCKO bit = “1”. If the MCKO bit is “0”, the MCKO pin is output to “L”. (Table 7) When sampling frequency is changed, BICK and FCK pins do not output irregular frequency clocks but go to “L” by setting PMPLL bit to “0”. MCKO pin BICK pin FCK pin MCKO bit = “0” MCKO bit = “1” After that PMPLL bit “0” “1” “L” Output Invalid “L” Output “L” Output PLL Unlock “L” Output Invalid Invalid Invalid PLL Lock “L” Output 256fs Output See Table 9 1fs 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 the MCKO pin after PMPLL bit = “0” “1” or sampling frequency is changed. After that, 256fs is output from the 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 DACS bits in Addr=02H. MCKO pin MCKO bit = “0” MCKO bit = “1” After that PMPLL bit “0” “1” “L” Output Invalid PLL Unlock “L” Output Invalid PLL Lock “L” Output Output Table 8. Clock Operation at PLL Slave Mode (PMPLL bit = “1”, M/S bit = “0”) PLL State MS0686-E-03 2014/10 - 27 - [AK4634] ■ PLL Master Mode (PMPLL bit = “1”, M/S bit = “1”) When an external clock (12MHz, 13.5MHz, 24MHz or 27MHz) is input to the 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. (Table 9) In DSP mode, FCK output can select Duty 50% or High-output only during 1 BICK cycle (Table 10). Except DSP mode, FCKO bit should be set “0”. When BICK output frequency is 16fs, the audio interface format supports Mode 0 only (DSP Mode). 12MHz, 13.5MHz, 24MHz, 27MHz DSP or P AK4634 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 (default) Mode FCKO FCK Output 0 0 Duty = 50% (default) 1 1 High Width = 1/fBCK Note 32. fBCK is BICK Output Frequency. Table 10. FCK Output at PLL Master Mode and DSP Mode MS0686-E-03 2014/10 - 28 - [AK4634] ■ PLL Slave Mode (PMPLL bit = “1”, M/S bit = “0”) A reference clock of PLL is selected among the input clocks to the MCKI, BICK or FCK pin. The required clock to the AK4634 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 Mode 0 only (DSP Mode). a) PLL reference clock: MCKI pin BICK and FCK inputs should be synchronized with MCKO output. The phase between MCKO and FCK is not important. The MCKO pin outputs the frequency selected by FS3-0 bits (Table 5) 12MHz, 13.5MHz, 24MHz, 27MHz AK4634 DSP or P MCKI MCKO BICK FCK 256fs 16fs, 32fs, 64fs 1fs MCLK BCLK FCK SDTO SDTI SDTI SDTO Figure 20. PLL Slave Mode 1 (PLL Reference Clock: MCKI pin) MS0686-E-03 2014/10 - 29 - [AK4634] b) PLL reference clock: BICK or LRCK pin Sampling frequency corresponds to 7.35kHz to 48kHz by changing FS3-0 bits. (Table 6) AK4634 DSP or P MCKO MCKI BICK FCK 16fs, 32fs, 64fs 1fs BCLK FCK SDTO SDTI SDTI SDTO Figure 21 PLL Slave Mode 2 (PLL Reference Clock: BICK pin) AK4634 DSP or P MCKO MCKI BICK FCK 16fs 1fs BCLK FCK SDTO SDTI SDTI SDTO Figure 22. PLL Slave Mode 2 (PLL Reference Clock: FCK pin) The external clocks (MCKI, BICK and FCK) should always be present whenever the ADC or DAC or SPK or Programmable Filter is in operation (PMADC bit = “1”, PMDAC bit = “1”, PMSPK bit = “1”, PMPFIL bit = “1”). If these clocks are not provided, the AK4634 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, DAC, SPK and Programmable Filter should be in the power-down mode.(PMADC = PMDAC = PMSPK = PMPFIL bits = “0”). MS0686-E-03 2014/10 - 30 - [AK4634] ■ EXT Slave Mode (PMPLL bit = “0”, M/S bit = “0”) When PMPLL bit is “0”, the AK4634 becomes EXT Slave mode. Master clock is input from the 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 is not important. The input frequency of MCKI is selected by FS1-0 bits. (Table 11) Mode 0 1 2 3 FS3-2 bits FS1 bit FS0 bit MCKI Input Sampling Frequency Frequency Range x 0 256fs 0 7.35kHz fs 48kHz (default) x 1 1024fs 0 7.35kHz fs 13kHz x 0 512fs 1 7.35kHz fs 26kHz x 1 256fs 1 7.35kHz fs 48kHz Table 11. MCKI Frequency at EXT Slave Mode (PMPLL bit = “0”, M/S bit = “0”) (x: Don’t care) 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. The out-of-band noise can be improved by using higher frequency of the master clock. (Table 12, Table 13) S/N (fs=8kHz, 20kHzLPF + A-weighted) DAC AOUT 256fs 84dB 512fs 92dB 1024fs 92dB Table 12. Relationship between MCKI and S/N of AOUT and SPK-Amp MCKI Output Noise Level (SVDD=3.3V,fs=8kHz, 20kHzLPF + A-weighted) MCKI SDTI SPK-Amp 256fs -58dBV 512fs -72dBV 1024fs -80dBV Table 13. Relationship between MCKI and Output Noise Level of SPK-Amp The external clocks (MCKI, BICK and FCK) should always be present whenever the ADC or DAC or SPK or Programmable Filter is in operation (PMADC = PMDAC = PMSPK bit = PMPFIL bits = “1”). If these clocks are not provided, the AK4634 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, DAC, SPK and Programmable Filter should be in the power-down mode (PMADC = PMDAC = PMSPK bit = PMPFIL bits = “0”). AK4634 DSP or P MCKO 256fs, 512fs or 1024fs MCKI BICK FCK MCLK 32fs 1fs BCLK FCK SDTO SDTI SDTI SDTO Figure 23. EXT Slave Mode MS0686-E-03 2014/10 - 31 - [AK4634] ■ EXT Master Mode (PMPLL bit = “0”, M/S bit = “1”) The AK4634 becomes EXT Master Mode by setting PMPLL bit = “0” and M/S bit = “1”. Master clock is input from the MCKI pin, the internal PLL circuit is not operated. The clock required to operate is MCKI (256fs, 512fs or 1024fs). The input frequency of MCKI is selected by FS1-0 bits (Table 14). The BICK is selected among 32fs or 64fs, by BCKO1-0 bits (Table 15). FCK bit should be set to “0”. Mode FS3-2 bits FS1 bit FS0 bit MCKI Input Sampling Frequency Frequency Range x 0 256fs 0 0 7.35kHz fs 48kHz (default) x 1 1024fs 1 0 7.35kHz fs 13kHz x 0 512fs 2 1 7.35kHz fs 26kHz x 1 256fs 3 1 7.35kHz fs 48kHz Table 14. MCKI Frequency at EXT Master Mode (PMPLL bit = “0”, M/S bit = “1”) (x: Don’t care) External Master Mode does not support Mode 0 (DSP Mode) of Audio Interface Format. MCKI should always be present whenever the ADC, DAC, SPK or Programmable Filter is in operation (PMADC = PMDAC = PMSPK bit = PMPFIL bits = “1”). If MCKI is not provided, the AK4634 may draw excess current and it is not possible to operate properly because utilizes dynamic refreshed logic internally. If MCKI is not present, the ADC, DAC, SPK and Programmable Filter should be in the power-down mode (PMADC = PMDAC = PMSPK = PMPFIL bits = “0”). AK4634 DSP or P MCKO 256fs, 512fs or 1024fs MCKI BICK FCK MCLK 32fs, 64fs 1fs BCLK FCK SDTO SDTI SDTI SDTO Figure 24. EXT Master Mode BICK Output Frequency 0 0 0 N/A (default) 1 0 1 32fs 2 1 0 64fs 3 1 1 N/A Table 15. BICK Output Frequency at Master Mode (N/A: Not available) Mode BCKO1 BCKO0 MS0686-E-03 2014/10 - 32 - [AK4634] ■ Audio Interface Format Four types of data formats are available and are selected by setting the DIF1-0 bits. (Table 16) 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 the AK4634 in master mode, but must be input to the AK4634 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 16. Audio Interface Format Figure Table 17 Figure 25 Figure 26 Figure 27 (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 28 0 1 Figure 29 1 0 Figure 30 1 1 Figure 31 Table 17. Audio Interface Format in Mode 0 (default) If 16-bit data, the output of ADC, 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. FCK 0 1 2 3 8 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) SDTI(i) 15 14 13 2 1 Don’t Care 0 15 15 14 1 0 Don’t Care 15:MSB, 0:LSB Data 1/fs Figure 25. Mode 1 Timing MS0686-E-03 2014/10 - 33 - [AK4634] 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 BICK(64fs) 14 14 15 16 17 18 31 0 1 4 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 26. Mode 2 Timing 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 3 4 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 27. Mode 3 Timing MS0686-E-03 2014/10 - 34 - [AK4634] 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 8 7 6 5 4 3 2 1 0 8 7 6 5 4 3 2 1 0 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 28. 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 8 7 6 5 4 3 2 1 0 8 7 6 5 4 3 2 1 0 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 29. Mode 0 Timing (BCKP = “1”, MSBS = “0”) MS0686-E-03 2014/10 - 35 - [AK4634] 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 8 7 6 5 4 3 2 1 0 8 7 6 5 4 3 2 1 0 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 30. 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 8 7 6 5 4 3 2 1 0 8 7 6 5 4 3 2 1 0 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 31. Mode 0 Timing (BCKP = “1”, MSBS = “1”) MS0686-E-03 2014/10 - 36 - [AK4634] ■ System Reset When power-up, the PDN pin should be “L” and change to “H” after all powers are supplied. “L” time of 150ns or more is needed to reset the AK4634. The ADC enters an initialization cycle 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. (Note) Off-set occurs in the initial data depending on the conditions of a microphone and cut-off frequency of HPF. When Off-set becomes a problem, lengthen initialization time of ADC as ADRST bit = “0” or do not use initial output data of ADC. ADRST bit 0 1 Init Cycle Cycle fs = 8kHz fs = 16kHz 1059/fs 132.4ms 66.2ms 291/fs 36.4ms 18.2ms Table 18 Initialization cycle of ADC fs = 48kHz 22.1ms 6.1ms ■ Thermal Shut Down When the internal device temperature rises up irregularly (e.g. output pins of speaker amplifier are shortened), the AK4634 is powered down automatically and then THDET bit becomes “1”. The powered-down speaker amplifier do not return to normal operation unless SPK-Amp blocks of the AK4634 are reset by the PDN pin “L”. The device status can be monitored by THDET bit. ■ MIC/LINE Input Selector The AK4634 has an input selector. When MDIF bit is “0”, LIN bit selects the MIC pin or LIN pin. When MDIF bit is “1”, full-differential input is available. MDIF bit 0 0 1 LIN bit Input circuit Input pin 0 Single-End MIC pin 1 Single-End LIN pin x Differential MICP/MICN pin Table 19. Input Select (x: Don’t care) (default) AK4634 MIC/MICP pin LIN bit ADC LIN/MICN pin MDIF bit Figure 32 Input Selector MS0686-E-03 2014/10 - 37 - [AK4634] AK4634 MIC-Power MPI pin mp 1k MICP pin Audio MICNpin A/D HPF I/F MIC-Amp BICK pin FCK pin STDO pin 1k Figure 33. MIC Differential Input Circuit ■ MIC Gain Amplifier The AK4634 has a Gain Amplifier for Microphone input. These gains are selected by the MGAIN3-0 bit. The typical input impedance is 30k. MGAIN3 bit 0 0 0 0 0 0 0 0 1 1 MGAIN2 bit MGAIN1 bit MGAIN0 bit Input Gain 0 0 0 0dB 0 0 1 +20dB 0 1 0 +26dB 0 1 1 +32dB 1 0 0 +10dB 1 0 1 +17dB 1 1 0 +23dB 1 1 1 +29dB 0 0 0 +3dB 0 0 1 +6dB Others N/A Table 20. Input Gain (N/A: Not available) (default) ■ MIC Power The MPI pin supplies power for a Microphone. This output voltage is proportional to 0.8 x AVDD typically and the load resistance is minimum 2k. Any capacitor must not be connected to the MPI pin directly. (Figure 34) AK4634 MPI pin MIC-Power mp 2k Audio MIC pin A/D HPF I/F BICK pin FCK pin STDO pin MIC-Amp Figure 34. MIC Block Circuit MS0686-E-03 2014/10 - 38 - [AK4634] ■ Digital Block The digital block consists of block diagram as shown in Figure 35. The AK4634 can choose various signal processing on a recording path or a playback path by setting ADCPF bit, PFDAC bit and PFSDO bit. (Figure 35 ~ Figure 38, Table 21) PMADC bit SDTI ADC 1st Order HPFAD bit HPF “1” “0” ADCPF bit PMPFIL bit HPF bit 1st Order HPF 1st Order LPF bit LPF 5 Band EQ5-1 bits EQ ALC (Volume) “0” “1” “1” PFSDO bit “0” PFDAC bit PMDAC bit DATT SDTO SMUTE DAC (1) (2) (3) (4) (5) (6) (7) (8) ADC: Include a Digital Filter (LPF) for ADC as shown in “FILTER CHRACTERISTICS”. DAC: Include a Digital Filter (LPF) for DAC as shown in “FILTER CHRACTERISTICS”. HPF: High Pass Filter. Applicable to use as Wind-Noise Reduction Filter. (See “Programmable Filter”.) LPF: Low Pass Filter (See “Digital Programmable Filter”.) 5-Band EQ: Applicable to use as Equalizer or Notch Filter. (See “Digital Programmable Filter”.) ALC: Input Digital Volume with ALC function. (See “Input Digital Volume” and “ALC”.) DATT: 4-step Digital Volume for recording path. (See “Digital Volume 2”) SMUTE: Soft mute. (See “Soft Mute”.) Figure 35. Digital Block Path Select MS0686-E-03 2014/10 - 39 - [AK4634] Mode Recording Mode Reproduction Mode Loop Back Mode ADCPF bit PFDAC bit PFSDO bit 1 0 1 0 1 0 1 1 1 Table 21 Recording Reproduction Mode ADC DAC 2nd Order 1st Order 5 Band HPF LPF EQ SMUTE Figure Figure 36 Figure 37 Figure 38 ALC (Volume) DATT Figure 36. Path at Recording Mode (default) 1st Order ADC DAC HPF SMUTE ADC DAC DATT ALC 5 Band EQ Figure 37. Path at Playback Mode (Volume) 2nd Order 1st Order 5 Band HPF LPF EQ SMUTE 1st Order 1st Order LPF HPF ALC (Volume) DATT Figure 38. Path at Recording & Playback Mode MS0686-E-03 2014/10 - 40 - [AK4634] ■ Digital Programmable Filter Circuit The AK4634 has 2 steps of 1st order HPF, 1st order LPF and 5-band Equalizer built-in in a recording/playback path. (1) High Pass Filter (HPF) Normally, this HPF is used as a Wind-Noise Reduction Filter. This is composed with 2 steps of 1st order HPF. The coefficient of both HPF is the same and set by F1A13-0 bits and F1B13-0 bits. HPFAD bit controls ON/OFF of the 1st step HPF and HPF bit controls ON/OFF of the 2nd step HPF. When the HPF is OFF, the audio data passes this block by 0dB gain. The coefficient should be set when HPFAD = HPF bits = “0” or PMADC = PMPFIL bits = “0”. fs : Sampling frequency fc : Cut-off frequency Register setting (Note 33) HPF: F1A[13:0] bits = A, F1B[13:0] bits = B (MSB = F1A13, F1B13; LSB = F1A0, F1B0) 1 1 tan (fc/fs) A= , B= 1 + tan (fc/fs) Transfer Function H(z) = A 1 + tan (fc/fs) 1 z 1 1 Bz 1 The cut-off frequency should be set as below. fc/fs ≥ 0.0001 (fc min = 1.6Hz at fs=16kHz) (2) Low Pass Filter(LPF) This is composed with 1st order LPF. F2A13-0 bits and F2B13-0 bits set the coefficient of LPF. LPF bit controls ON/OFF of the LPF. When the LPF is OFF, the audio data passes this block by 0dB gain. The coefficient should be set when LPF bit = “0” or PMPFIL bits = “0”. fs : Sampling frequency fc : Cut-off frequency Register setting (Note 33) LPF: F2A[13:0] bits =A, F2B[13:0] bits =B (MSB=F2A13, F1B13; LSB=F2A0, F2B0) 1 1 / tan (fc/fs) 1 A= , B= 1 + 1 / tan (fc/fs) 1 + 1 / tan (fc/fs) Transfer Function 1 + z 1 H(z) = A 1 + Bz 1 The cut-off frequency should be set as below. fc/fs ≥ 0.05 (fc min = 2205Hz at fs=44.1kHz) MS0686-E-03 2014/10 - 41 - [AK4634] (3) 5-band Equalizer This block can be used as Equalizer or Notch Filter. ON/OFF 5-band Equalizer (EQ1, EQ2, EQ3, EQ4 and EQ5) can be controlled independently by EQ1, EQ2, EQ3, EQ4 and EQ5 bits. When Equalizer is OFF, the audio data passes this block by 0dB gain. E1A15-0, E1B15-0 and E1C15-0 bits set the coefficient of EQ1. E2A15-0, E2B15-0 and E2C15-0 bits set the coefficient of EQ2. E3A15-0, E3B15-0 and E3C15-0 bits set the coefficient of EQ3. E4A15-0, E4B15-0 and E4C15-0 bits set the coefficient of EQ4. E5A15-0, E5B15-0 and E5C15-0 bits set the coefficient of EQ5. fs : The Sampling frequency fo1 ~ fo5 : The Center frequency fb1 ~ fb5 : The Band width where the gain is 3dB different from center frequency K1 ~ K5 : The Gain ( -1 ≤ Kn < 3 ) Register setting (Note 33) EQ1: E1A[15:0] bits =A1, E1B[15:0] bits =B1, E1C[15:0] bits =C1 EQ2: E2A[15:0] bits =A2, E2B[15:0] bits =B2, E2C[15:0] bits =C2 EQ3: E3A[15:0] bits =A3, E3B[15:0] bits =B3, E3C[15:0] bits =C3 EQ4: E4A[15:0] bits =A4, E4B[15:0] bits =B4, E4C[15:0] bits =C4 EQ5: E5A[15:0] bits =A5, E5B[15:0] bits =B5, E5C[15:0] bits =C5 (MSB=E1A15, E1B15, E1C15, E2A15, E2B15, E2C15, E3A15, E3B15, E3C15, E4A15, E4B15, E4C15, E5A15, E5B15, E5C15 ; LSB= E1A0, E1B0, E1C0, E2A0, E2B0, E2C0, E3A0, E3B0, E3C0, E4A0, E4B0, E4C0, E5A0, E5B0, E5C0) 1 tan (fbn/fs) 2 tan (fbn/fs) An = Kn x , Bn = cos(2 fon/fs) x 1 + tan (fbn/fs) , 1 + tan (fbn/fs) Cn = 1 + tan (fbn/fs) (n = 1, 2, 3, 4, 5) Transfer Function H(z) = ( 1 + h1(z) + h2(z) + h3(z) + h4(z) + h5(z) ) 1 z 2 hn (z) = An 1 Bnz 1 Cnz 2 (n = 1, 2, 3, 4, 5) The center frequency should be set as below fon / fs < 0.497 When gain of K is set to “1”, the equalizer becomes notch filter. The central frequency of a real notch filter deviates from the above calculation, if the central frequency of each band is near. The control soft that is attached to the evaluation board has a function that revises a gap of frequency, and calculates the coefficient. When the central frequency of each band is near, revise the central frequency and confirm the frequency response. Note 33. [Translation the filter coefficient calculated by the equations above from real number to binary code (2’s complement)] X = (Real number of filter coefficient calculated by the equations above) x 2 13 X should be rounded to integer, and then should be translated to binary code (2’s complement). MSB of each filter coefficient setting register is sine bit. MS0686-E-03 2014/10 - 42 - [AK4634] ■ Input Digital Volume (Manual Mode) When ADCPF bit = “1” and ALC1 bit = “0”, ALC block becomes an input digital volume (manual mode). The digital volume’s gain is set by IVOL7-0 bits as shown in Table 22. The IVOL value is changed at zero cross or zero cross time out. The zero crossing timeout period is set by ZTM1-0 bits. IVOL7-0bits F1H F0H EFH : 92H 91H 90H : 2H 1H 0H GAIN(0dB) Step +36.0 +35.625 +35.25 : 0.375dB +0.375 0.0 -0.375 : -53.625 -54.0 MUTE Table 22. Input Digital Volume Setting (default) When writing to the IVOL7-0 bits continually, the control register should be written in an interval more than zero crossing timeout. If not, a zero crossing counter is reset at each time and the volume will not be changed. However, it could be ignored when writing the same register value as the last time. At this time, zero crossing counter is not reset, so it can be written in an interval less than zero crossing timeout. MS0686-E-03 2014/10 - 43 - [AK4634] ■ Output Digital volume (Manual mode) When ADCPF bit = “0” and ALC2 bit = “0”, ALC block become an output digital volume (manual mode). The digital volume’s gain is set by OVOL7-0 bits as shown in Table 23. The OVOL7-0 bits value are reflected to this output volume at zero cross or zero cross time out. The zero crossing timeout period is set by ZTM1-0 bits. OVOL7-0bits F1H F0H EFH : 92H 91H 90H : 2H 1H 0H GAIN(0dB) Step +36.0 +35.625 +35.25 : 0.375dB +0.375 0.0 -0.375 : -53.625 -54.0 MUTE Table 23 Output Digital Volume Setting (default) When writing to the OVOL7-0 bits continually, the control register should be written in an interval more than zero crossing timeout. If not, a zero crossing counter is reset at each time and the volume will not be changed. However, It could be ignored when writing a same register value as the last time. At this time, zero crossing counter is not reset, so it can be written by an interval less than zero crossing timeout. ■ Output Digital Volume2 AK4634 has 4 steps output volume in addition to the volume setting by OVOL7-0 bits. This volume is set by DATT1-0 bits as shown in Table 24. DATT1-0bits 0H 1H 2H 3H GAIN(0dB) Step 0.0 (default) -6.0 6.0dB -12.0 -18.1 Table 24. Output Digital Volume2 Setting MS0686-E-03 2014/10 - 44 - [AK4634] ■ ALC Operation The ALC (Automatic Level Control) is operated by ALC block. When ADCPF bit = “1”, ALC operation is enable at recording path. When ADCPF bit = “0”, ALC operation is enable at playback path. ON/OFF switching of ALC operation is controlled by ALC1 bit for recording and ALC2 bit for playback. 1. ALC Limiter Operation During the ALC limiter operation, if the output data exceeds the ALC limiter detection level (Table 25), the volume value is automatically attenuated by the amount defined in LMAT1-0 bits (Table 26). When ZELMN bit = “0” (zero cross detection valid), the IVL and VOL value is changed by ALC limiter operation at the individual zero crossing points of Lch and Rch or at the zero crossing timeout. ZTM1-0 bits set the zero crossing timeout period of both ALC limiter and recovery operation (Table 27). When ALC output level exceeds full-scale at LFST bit = “1”, VOL value is immediately (Period: 1/fs) changed in 1 step. When ALC output level is less than full-scale, VOL value is changed at the individual zero crossing point of each channels or at the zero crossing timeout. When ZELMN bit = “1” (zero cross detection invalid), IVL and IVR values are immediately (period: 1/fs) changed by ALC limiter operation. Attenuation step is fixed to 1 step regardless of the setting of LMAT1-0 bits. After completing the attenuate operation, unless ALC bit is changed to “0”, the operation repeats when the input signal level exceeds the ALC limiter detection level. LMTH1 0 0 1 1 LMTH0 ALC Limiter Detection Level ALC Recovery Waiting Counter Reset Level 0 ALC Output 2.5dBFS 2.5dBFS > ALC Output 4.1dBFS 1 ALC Output 4.1dBFS 4.1dBFS > ALC Output 6.0dBFS 0 ALC Output 6.0dBFS 6.0dBFS > ALC Output 8.5dBFS 1 ALC Output 8.5dBFS 8.5dBFS > ALC Output 12dBFS Table 25. ALC Limiter Detection Level / Recovery Waiting Counter Reset Level (default) ALC1 Limiter ATT Step LMAT1 LMAT0 0 0 1 1 0 1 0 1 ZTM1 ZTM0 0 0 1 1 0 1 0 1 ALC1 Output ALC1 Output LMTH FS ALC1 Output FS + 6dB ALC1 Output FS + 12dB 1 1 1 2 2 2 2 4 4 1 2 4 Table 26. ALC Limiter ATT Step Setting Zero Crossing Timeout Period 8kHz 16kHz 44.1kHz 128/fs 16ms 8ms 2.9ms 256/fs 32ms 16ms 5.8ms 512/fs 64ms 32ms 11.6ms 1024/fs 128ms 64ms 23.2ms Table 27. ALC Zero Crossing Timeout Period Setting MS0686-E-03 1 2 8 8 (default) (default) 2014/10 - 45 - [AK4634] 2. ALC Recovery Operation The ALC recovery operation waits for the WTM2-0 bits (Table 28) to be set after completing the ALC limiter operation. If the input signal does not exceed “ALC recovery waiting counter reset level” (Table 25) during the wait time, the ALC recovery operation is executed. The VOL value is automatically incremented by RGAIN1-0 bits (Table 29) up to the set reference level (Table 30, Table 31) with zero crossing detection which timeout period is set by ZTM1-0 bits (Table 27). The ALC recovery operation is executed in a period set by WTM2-0 bits. For example, when the current VOL value is 30H and RGAIN1-0 bits are set to “01”(2 steps), VOL is changed to 32H by the auto limiter operation and then the input signal level is gained by 0.75dB (=0.375dB x 2). When the VOL value exceeds the reference level (IREF7-0 or OREF5-0), the VOL values are not increased. When “ALC recovery waiting counter reset level (LMTH1-0) Output Signal < ALC limiter detection level (LMTH1-0)” during the ALC recovery operation, the waiting timer of ALC recovery operation is reset. When “ALC recovery waiting counter reset level (LMTH1-0) > Output Signal”, the waiting timer of ALC recovery operation starts. The ALC operation corresponds to the impulse noise. When the impulse noise is input, the ALC recovery operation becomes faster than a normal recovery operation. When large noise is input to microphone instantaneously, the quality of small level in the large noise can be improved by this fast recovery operation. The speed of first recovery operation is set by RFST1-0 bits (Table 32). WTM2 WTM1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 ALC Recovery Operation Waiting Period 8kHz 16kHz 44.1kHz 0 128/fs 16ms 8ms 2.9ms 1 256/fs 32ms 16ms 5.8ms 0 512/fs 64ms 32ms 11.6ms 1 1024/fs 128ms 64ms 23.2ms 0 2048/fs 256ms 128ms 46.4ms 1 4096/fs 512ms 256ms 92.9ms 0 8192/fs 1024ms 512ms 185.8ms 1 16384/fs 2048ms 1024ms 371.5ms Table 28. ALC Recovery Operation Waiting Period WTM0 RGAIN1 0 0 1 1 RGAIN0 GAIN STEP 0 1 0.375dB 1 2 0.750dB 0 3 1.125dB 1 4 1.500dB Table 29. ALC Recovery GAIN Step MS0686-E-03 (default) (default) 2014/10 - 46 - [AK4634] IREF7-0bits GAIN(0dB) Step F1H +36.0 F0H +35.625 EFH +35.25 : : C5H +19.5 (default) 0.375dB : : 92H +0.375 91H 0.0 90H -0.375 : : 2H -53.625 1H -54.0 0H MUTE Table 30. Reference Level at ALC Recovery operation for recoding OREF5-0bits GAIN(0dB) Step 3CH +36.0 3BH +34.5 3AH +33.0 : : 28H +6.0 (default) 1.5dB : : 25H +1.5 24H 0.0 23H -1.5 : : 2H -51.0 1H -52.5 0H -54.0 Table 31. Reference Level at ALC Recovery operation for playback RFST1 bit RFST0 bit Recovery Speed 0 0 4 times (default) 0 1 8 times 1 0 16times 1 1 N/A Table 32. First Recovery Speed Setting (N/A: Not available) MS0686-E-03 2014/10 - 47 - [AK4634] 3. The Volume at the ALC Operation The current volume value at the ALC operation is reflected in VOL7-0 bits. It is enable to check the current volume value by reading the register value of VOL7-0 bits. This function is available only in 3-wire mode. The volume value at the ALC operation can not be read 2 in I C mode. VOL7-0bits GAIN(0dB) F1H F0H EFH : C5H : 92H 91H 90H : 2H 1H 0H +36.0 +35.625 +35.25 : +19.5 : +0.375 0.0 0.375 : 53.625 54.0 MUTE Table 33. Value of VOL7-0 bits 4. Example of the ALC Operation for Recording Operation Table 34 shows the examples of the ALC setting for microphone recording. fs=8kHz Operation 4.1dBFS Enable 16ms Register Name Comment LMTH1-0 ZELM ZTM1-0 Limiter detection Level Limiter zero crossing detection Zero crossing timeout period Recovery waiting period *WTM1-0 bits should be more than or 000 16ms equal to ZTM1-0 bits Maximum gain at recovery operation C5H 19.5dB Gain of IVOL C5H 19.5dB Limiter ATT step 00 1step Fast Limiter Operation 1 ON Recovery GAIN step 00 1 step ALC enable 1 Enable Speed of Fast Recovery 00 4 times Table 34. Example of the ALC Setting (Recording) WTM2-0 IREF7-0 IVOL7-0 LMAT1-0 LFST RGAIN1-0 ALC1 FRSL1-0 Data 01 0 00 MS0686-E-03 Data 01 0 01 fs=44.1kHz Operation 4.1dBFS Enable 23.2ms 011 23.2ms C5H C5H 00 1 00 1 00 19.5dB 19.5dB 1step ON 1 step Enable 4times 2014/10 - 48 - [AK4634] 5. Example of ALC for Playback Operation Table 35 shows the example of the ALC setting for playback. fs=8kHz Operation 4.1dBFS Enable 16ms Register Name Comment LMTH1-0 ZELM ZTM1-0 Limiter detection Level Limiter zero crossing detection Zero crossing timeout period Recovery waiting period *WTM1-0 bits should be more than or 000 16ms equal to ZTM1-0 bits Maximum gain at recovery operation 28 +6dB Gain of IVOL 91 0dB Fast Limiter Operation 1 ON Limiter ATT step 00 1step Recovery GAIN step 00 1 step ALC enable 1 Enable Speed of Fast Recovery 00 4 times Table 35. Examples of the ALC Setting (Play back) WTM2-0 OREF5-0 OVOL7-0 LFST LMAT1-0 RGAIN1-0 ALC2 FRSL1-0 Data 01 0 00 MS0686-E-03 Data 01 0 01 fs=44.1kHz Operation 4.1dBFS Enable 23.2ms 011 23.2ms 28 91 1 00 00 1 00 +6dB 0dB ON 1step 1 step Enable 4 times 2014/10 - 49 - [AK4634] The following registers must not be changed during the ALC operation. These bits should be changed, after the ALC operation is finished by ALC1 bit = ALC2 bit = “0” or PMPFIL bit = “0”. When ALC is restarted, after ALC1 bit and ALC2 bit set to “0” or PMPFIL bit sets to “0”, the waiting time of zero crossing timeout is not needed. LMTH1-0, LMAT1-0, WTM2-0, ZTM1-0, RGAIN1-0, IREF7-0/OREF7-0, ZELM, RFST1-0, LFST Example: Limiter = Zero crossing Enable Manual Mode Recovery Cycle = 16ms@8kHz Limiter and Recovery Step = 1 WR (ZTM1-0, WTM2-0) LFST = 1 Maximum Gain = +19.5dB Limiter Detection Level = 4.1dBFS WR (IREF7-0/OREF5-0) ALC1 bit = “1” WR (IVOL7-0/OVOL7-0) *1 (1) Addr=06H, Data=00H WR (RGAIN1, LMTH1,RFST1-0) (2) Addr=08H, Data=C5H WR (LFST,LMAT1-0, RGAIN0, ZELMN, LMTH0) WR (ALC1= “1”) (3) Addr=09H, Data=C5H *2 ALC Operation (4) Addr=0BH, Data=28H (5) Addr=07H, Data=A1H Note : WR : Write *1: The value of volume at starting should be the same or smaller than REF’s. *2: When setting ALC1 bit or ALC2 bit to “0”, the operation is shifted to manual mode after passing the zero crossing time set by ZTM1-0 bits. Figure 39. Registers set-up sequence at the ALC operation MS0686-E-03 2014/10 - 50 - [AK4634] ■ SOFTMUTE Soft mute operation is performed in the digital input domain. When the SMUTE bit changes to “1”, the input signal is attenuated by (“0”) in 245/fs cycles (31msec@fs=8kHz). When the SMUTE bit is returned to “0”, the mute is cancelled and the input attenuation gradually changes to 0dB in 245/fs cycles (31msec@fs=8kHz). If the soft mute is cancelled within the 245/fs cycles (31msec@fs=8kHz), the attenuation is discontinued and returned to 0dB. The soft mute for Playback operation is effective for changing the signal source without stopping the signal transmission. SMUTE bit 245/fs 0dB 245/fs (1) (3) Attenuation - GD (2) GD Analog Output Figure 40. Soft Mute Function (1) The input signal is attenuated by (“0”) in 245/fs cycles (31msec@fs=8kHz). (2) Analog output corresponding to digital input has group delay (GD). (3) If the soft mute is cancelled within the 245/fs cycles (31msec@fs=8kHz), the attenuation is discounted and returned to 0dB within the same cycle. MS0686-E-03 2014/10 - 51 - [AK4634] ■ MONO LINE OUTPUT (AOUT pin) A signal of DAC is output from the AOUT pin. When the DACA bit is “0”, this output is OFF. When the LOVL bit is “1”, this gain changes to +2dB. The load resistance is 10k(min). When PMAO bit is “0” and AOPSN bit is “0”, the mono line output enters power-down mode and is pulled down by 100(typ). If PMAO bit is controlled when AOPS 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 41. This rising and falling time is max 300 ms at C = 1.0F . When PMAO bit is “1” and AOPS bit is “0”, the mono line output enters power-up state. LOVL bits Gain 0 0dB (default) 1 +2dB Table 36. Mono line output volume setting 1F AOUT 220 20k Figure 41. AOUT external circuit when using POP Reduction function AOUT Control Sequence in case of using POP Reduction Circuit (2) (5) PMAO bit (1) (3) (4) (6) AOPS bit AOUT pin Normal Output 300 ms 300 ms Figure 42. Mono Line Output Control Sequence when using POP Reduction function (1) Set AOPS 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=1F. (3) Set AOPS bit = “0” after AOUT pin rises up. Mono line output exits the power-save mode. Mono line output is enabled. (4) Set AOPS 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 VSS1. Fall time is 200ms (max 300ms) at C=1F. (6) Set AOPS bit = “0” after AOUT pin falls down. Mono line output exits the power-save mode. MS0686-E-03 2014/10 - 52 - [AK4634] ■ Speaker Output AK4634 has a Mono Class-D Speaker-Amp. Power supply for Speaker-Amp(SVDD) can be set from 2.2V up to 4.0V. The Speaker is mono and BTL output, and can drive dynamic speaker and piezo speaker without LPF (filter-less). This speaker can output 400W@8Ω at SVDD = 3.3V, SPKG bit = “0”. This gain is set by SPKG bit (Table 37). The output level of speaker amp is depended on voltage of SVDD and SPKG bit. SPKG bit Gain 0 0dB 1 +2dB (Note 34) Note 34. The signals more than -2dBFS clip. Table 37. SPK- Amp Gain The power up/down speaker amp is controlled by PMSPK bit. When PMSPK bit is “0”, the SPP and SPN pins output VSS3 level. ON/OFF of the speaker amp output is controlled by SPOUTE bit. When SPOUTE bit is “0”, the SPP and SPN pins are in VSS3-state forcibly. When outputting from the DAC to the speaker, PMDAC bit should be set to “1”. Follow the following sequence. PMSPK bit SPOUTE bit SPP pin Normal Output SPN pin Normal Output Figure 43. Power-up/Power-down Timing for Speaker-Amp MS0686-E-03 2014/10 - 53 - [AK4634] <Caution for using Piezo Speaker> When a piezo speaker is used, resistances more than 10 should be connected between the SPP/SPN pins and speaker in series respectively as shown in Figure 44. Zener diodes should be connected between speaker and GND as shown in Figure 44, in order to protect SPK-Amp of the AK4634 from the power that is the piezo speaker output 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 44) ≤ SVDD+0.3V Ex) In case of SVDD = 3.8V :3.5V ≤ ZD ≤ 4.1V For example, Zener diode which Zener voltage is 3.9V(Min 3.7V, Max 4.1V) can be used. ZD SPK-Amp SPP 10 SPN 10 ZD Figure 44. Circuit of Speaker Output (using a piezo speaker) MS0686-E-03 2014/10 - 54 - [AK4634] ■ BEEP Generate The AK4634 generates and output square wave from speaker amp. After outputting the signal during the time set by BPON6-0 bits, the AK4634 stops the output signal during the time set by BPOFF6-0 bits (Figure 46). The repeat count is set by BPTM6-0 bit, and the output level is set by BPLVL2-0 bits. When BPCNT bit is “0”, if BPOUT bit is written “1”, the AK4634 outputs the beep for the times of repeat count. When the output finish, BPOUT bit is set to “0” automatically. When BPCNT bit is set to “1”, it outputs the beep in succession regardless of repeat count, on-time and off-time. < Setting parameter > 1) Output Frequency ( Table 38 ~ Table 40) 2) ON Time (Table 41) 3) OFF Time (Table 42) 4) Repeat Count (Table 43) 5) Output Level (Table 44) BPFR1-0, BPON7-0, BPOFF7-0, BPTM6-0 and BPLVL3-0 bits should be set when BPOUT =BPCNT = “0”. BPCNT bit is given priority in BPOUT bit. When BPOUT bit be set to “1”, if BPCNT bit is set to “0”, BPOUT bit is set to “0” forcibly. DATT2 SMUTE DAC Line Out Amp Class-D SPK-Amp BEEP Generator LPF Figure 45. BEEP signal output path BEEP Output ON Time OFF Time Repeat Count Figure 46. Beep output MS0686-E-03 2014/10 - 55 - [AK4634] Output frequency of BEEP Generator [Hz] fs = 48kHz system fs = 44.1kHz system (Note 35) (Note 36) 00 4000 4009 (default) 01 2000 2005 10 1000 1002 11 N/A Note 35. Sampling frequency is 8kHz, 16kHz, 32kHz or 48kHz. Note 36. Sampling frequency is 11.025kHz, 22.05kHz or 44.1kHz. Table 38. Beep signal frequency (PLL Master/Slave Mode: reference clock: MCKI) (N/A: Not available) BPFR1-0 bits Output frequency of BEEP Generator [Hz] BPFR1-0 bits FS3-2 bits = “00” FS3-2 bits = “01” FS3-2 bits = “10” 00 fs/2.75 fs/5.5 fs/11 (default) 01 fs/5.5 fs/11 fs/22 10 fs/11 fs/22 fs/44 11 N/A Table 39. Beep signal frequency ( PLL Slave Mode: reference clock : FCK/BICK) (N/A: Not available) BPFR1-0 bits 00 01 10 11 Output frequency of BEEP Generator [Hz] FS1-0 bits = “00” FS1-0 bits = “01” FS1-0 bits = “10” FS1-0 bits = “11” fs/11 fs/2.75 fs/55 fs/11 fs/22 fs/5.5 fs/11 fs/22 fs/44 fs/11 fs/22 fs/44 N/A Table 40. Beep signal frequency (EXT Slave/Master Mode) (N/A: Not available) (default) ON Time of BEEP Generator [msec] Step [msec] fs = 48kHz fs = 44.1kHz fs = 48kHz fs = 44.1kHz system system system system (Note 35) (Note 36) (Note 35) (Note 36) 0H 8.0 7.98 8.0 7.98 (default) 1H 16.0 15.86 2H 24.0 23.95 3H 32.0 31.93 4H 40.0 39.9 : : FDH 2032 2027.3 FEH 2040 2035.3 FFH 2048 2043.4 Note 35. Sampling frequency is 8kHz, 16kHz, 32kHz or 48kHz. Note 36. Sampling frequency is 11.025kHz, 22.05kHz or 44.1kHz. Table 41. Beep output ON-time (PLL Master/Slave Mode reference clock: MCKI) BPON7-0 bits MS0686-E-03 2014/10 - 56 - [AK4634] OFF Time of BEEP Generator [msec] Step [msec] fs = 48kHz fs = 44.1kHz fs = 48kHz fs = 44.1kHz system system system system (Note 35) (Note 36) (Note 35) (Note 36) 0H 8.0 7.98 8.0 7.98 (default) 1H 16.0 15.86 2H 24.0 23.95 3H 32.0 31.93 4H 40.0 39.9 : : : FDH 2032 2027.3 FEH 2040 2035.3 FFH 2048 2043.4 Note 35. Sampling frequency is 8kHz, 16kHz, 32kHz or 48kHz. Note 36. Sampling frequency is 11.025kHz, 22.05kHz or 44.1kHz. Table 42. Beep output OFF-time (PLL Master/Slave Mode reference clock: MCKI) BPOFF7-0 bits BPTM6-0 bits Repeat Count 0H 1 (default) 1H 2 2H 3 3H 4 : : 7DH 126 7EH 127 7FH 128 Table 43. Beep output Repeat Count BPLVL2-0 bits .Beep Output Level STEP 0H 0dB (default) 1H 3dB 2H 6dB 3dB 3H 9dB 4H 12dB 5H 18dB 6H 6dB 24dB 7H 30dB Note 37. Power supply is 3.3V Note 38. Beep output amplitude as 0dB setting is 4.4Vpp@ load resistance = 8Ω + 10µH, SVDD=3.3V Table 44. Beep output level MS0686-E-03 2014/10 - 57 - [AK4634] ■ Serial Control Interface (1) 3-wire Serial Control Mode (I2C pin = “L”) Internal registers may be written and read by the 3-wire µP interface pins (CSN, CCLK and CDTIO). The data on this interface consists of Read/Write, Register address (MSB first, 7bits) 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. Data writing is valid on the rising edge of the 16th CCLK after the falling edge of CSN. CSN should be set to “H” every after a data writing for each address. In reading operation, the CDTIO pin changes to output mode at the falling edge of 8th CCLK and outputs D7-D0. The output finishes on the rising edge of CSN. However this reading function is available only at READ bit = “1”. When READ bit = “0”, the CDTIO pin stays as Hi-Z even after the falling edge of 8th CCLK. The CDTIO pin is placed in a Hi-Z state except outputting data at read operation mode. The clock speed of CCLK is 5MHz (max). The value of internal registers is initialized at the PDN pin = “L”. Note 39. A read operation is available at 00H ~ 11H, 20H ~ 24H and 30H addresses. When reading the address 12H ~ 1FH, 25H ~ 2FH and 31H ~ 4FH, the register values are invalid. CSN 0 CCLK Clock, “H” or “L” CDTIO “H” or “L” 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Clock, “H” or “L” A6 A5 R/W A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 R/W: A6-A0: D7-D0: “H” or “L” READ/WRITE (“1”: WRITE, “0”: READ) Register Address Control data Figure 47. Serial Control I/F Timing MS0686-E-03 2014/10 - 58 - [AK4634] 2 (2) I C-bus Control Mode (I2C pin = “H”) The AK4634 supports the fast-mode I2C-bus (max: 400kHz). Pull-up resistors at SDA and SCL pins should be connected to (DVDD+0.3)V or less voltage. (2)-1. WRITE Operations Figure 48 shows the data transfer sequence for I2C-bus mode. All commands are preceded by START condition. A HIGH to LOW transition on the SDA line while SCL is HIGH indicates START condition (Figure 54). After the START condition, a slave address is sent. This address is 7 bits long followed by the eighth bit that is a data direction bit (R/W). The most significant seven bits of the slave address are fixed as “0010010” (Figure 49). If the slave address matches that of the AK4634, the AK4634 generates an acknowledge and the operation is executed. The master must generate the acknowledge-related clock pulse and release the SDA line (HIGH) during the acknowledge clock pulse (Figure 55). A R/W bit value of “1” indicates that the read operation is to be executed. A “0” indicates that the write operation is to be executed. The second byte consists of the control register address of the AK4634. The format is MSB first, and those most significant 1-bits are fixed to zeros (Figure 50). The data after the second byte contains control data. The format is MSB first, 8bits (Figure 51). The AK4634 generates an acknowledge after each byte is received. A data transfer is always terminated by STOP condition generated by the master. A LOW to HIGH transition on the SDA line while SCL is HIGH defines STOP condition (Figure 54). The AK4634 can perform more than one byte write operation per sequence. After receipt of the third byte the AK4634 generates an acknowledge and awaits the next data. The master can transmit more than one byte instead of terminating the write cycle after the first data byte is transferred. After receiving each data packet the internal 6-bit address counter is incremented by one, and the next data is automatically taken into the next address. If the address exceeds 4FH prior to generating stop condition, the address counter will “roll over” to 00H and the previous data will be overwritten. The data on the SDA line must remain stable during the HIGH period of the clock. The HIGH or LOW state of the data line can only change when the clock signal on the SCL line is LOW (Figure 56) except for the START and STOP conditions. S T A R T SDA S T O P R/W="0" Slave S Address Sub Address(n) Data(n) A C K A C K Data(n+1) A C K Data(n+x) A C K A C K P A C K Figure 48. Data Transfer Sequence at the I2C-Bus Mode 0 0 1 0 0 1 0 R/W A2 A1 A0 D2 D1 D0 Figure 49. The First Byte 0 A6 A5 A4 A3 Figure 50. The Second Byte D7 D6 D5 D4 D3 Figure 51. Byte Structure after the second byte MS0686-E-03 2014/10 - 59 - [AK4634] (2)-2. READ Operations Set the R/W bit = “1” for READ operation of the AK4634. After a transmission of data, if the master generates an acknowledge instead of terminating a write cycle, the internal 7-bit address counter of the AK4634 is incremented by one, and the next data is automatically taken into the next address so that the data can be read from the AK4634. If the address exceeds 4FH prior to generating stop condition, the address counter will “roll over” to 00H and the data of 00H will be read out. Note 39. A read operation is available at 00H ~ 11H, 20H ~ 24H and 30H addresses. When reading the address 12H ~ 1FH, 25H ~ 2FH and 31H ~ 4FH, the register values are invalid. The AK4634 supports two basic read operations: CURRENT ADDRESS READ and RANDOM ADDRESS READ. (2)-2-1. CURRENT ADDRESS READ The AK4634 contains an internal address counter that maintains the address of the last word accessed, incremented by one. Therefore, if the last access (either a read or write) were to address “n”, the next CURRENT READ operation would access data from the address “n+1”. After receipt of the slave address with R/W bit “1”, the AK4634 generates an acknowledge, transmits 1-byte of data to the address set by the internal address counter and increments the internal address counter by 1. If the master does not generate an acknowledge but instead generates stop condition, the AK4634 ceases transmission. S T A R T SDA S T O P R/W="1" Slave S Address Data(n) Data(n+1) Data(n+2) MA AC SK T E R A C K MA AC SK T E R Data(n+x) MA AC SK T E R MA AC SK T E R P MN AA SC T EK R Figure 52. CURRENT ADDRESS READ (2)-2-2. RANDOM ADDRESS READ The random read operation allows the master to access any memory location at random. Prior to issuing the slave address with the R/W bit “1”, the master must first perform a “dummy” write operation. The master issues start request, a slave address (R/W bit = “0”) and then the register address to read. After the register address is acknowledged, the master immediately reissues the start request and the slave address with the R/W bit set to “1”. The AK4634 then generates an acknowledge, 1 byte of data and increments the internal address counter by 1. If the master does not generate an acknowledge but instead generates stop condition, the AK4634 ceases transmission. S T A R T SDA S T A R T R/W="0" Slave S Address Sub Address(n) A C K Slave S Address A C K S T O P R/W="1" Data(n) A C K Data(n+1) MA AC S K T E R Data(n+x) MA AC S T K E R MA AC S T K E R P MN A A S T C E K R Figure 53. RANDOM ADDRESS READ MS0686-E-03 2014/10 - 60 - [AK4634] SDA SCL S P start condition stop condition Figure 54. START and STOP Conditions DATA OUTPUT BY TRANSMITTER not acknowledge DATA OUTPUT BY RECEIVER acknowledge SCL FROM MASTER 2 1 8 9 S clock pulse for acknowledgement START CONDITION Figure 55. Acknowledge on the I2C-Bus SDA SCL data line stable; data valid change of data allowed Figure 56. Bit Transfer on the I2C-Bus MS0686-E-03 2014/10 - 61 - [AK4634] ■ Register Map Addr 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH 20H 21H 22H 23H 24H 25H 26H 27H 28H 29H 2AH 2BH 2CH 2DH 2EH 2FH 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 Digital Volume Control Digital Volume Control ALC Mode Control 3 Reserved ALC LEVEL Signal Select 3 Thermal Shutdown Signal Select 4 Digital Filter Select 1 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved HPF Co-efficient 0 HPF Co-efficient 1 HPF Co-efficient 2 HPF Co-efficient 3 BEEP Frequency BEEP ON Time BEEP OFF Time BEEP Repeat Count BEEP VOL/Control Reserved Reserved Reserved Reserved Reserved Reserved Reserved LPF Co-efficient 0 LPF Co-efficient 1 LPF Co-efficient 2 LPF Co-efficient 3 D7 PMPFIL 0 SPOUTE PFSDO PLL3 ADRST 0 LFST IREF7 IVOL7 OVOL7 RGAIN1 0 VOL7 DATT1 THDET 0 0 0 0 0 0 0 0 0 0 0 0 F1A7 0 F1B7 0 BPCNT BPON7 BPOFF7 0 BPOUT 0 0 0 0 0 0 0 F2A7 0 F2B7 0 D6 PMVCM 0 0 AOPS PLL2 FCKO WTM2 ALC2 IREF6 IVOL6 OVOL6 LMTH1 0 VOL6 DATT0 0 LOVL 0 0 0 0 0 0 0 0 0 0 0 F1A6 0 F1B6 0 0 BPON6 BPOFF6 BPTM6 0 0 0 0 0 0 0 0 F2A6 0 F2B6 0 D5 0 0 DACS MGAIN1 PLL1 FS3 ZTM1 ALC1 IREF5 IVOL5 OVOL5 OREF5 0 VOL5 SMUTE 0 0 LPF 0 0 0 0 0 0 0 0 0 0 F1A5 F1A13 F1B5 F1B13 0 BPON5 BPOFF5 BPTM5 0 0 0 0 0 0 0 0 F2A5 F2A13 F2B5 F2B13 MS0686-E-03 D4 PMSPK 0 DACA 0 PLL0 MSBS ZTM0 ZELMN IREF4 IVOL4 OVOL4 OREF4 0 VOL4 MDIF 0 0 HPF 0 0 0 0 0 0 0 0 0 0 F1A4 F1A12 F1B4 F1B12 0 BPON4 BPOFF4 BPTM4 0 0 0 0 0 0 0 0 F2A4 F2A12 F2B4 F2B12 D3 PMAO M/S MGAIN3 SPKG BCKO1 BCKP WTM1 LMAT1 IREF3 IVOL3 OVOL3 OREF3 0 VOL3 1 0 0 0 0 0 0 0 0 0 0 0 0 0 F1A3 F1A11 F1B3 F1B11 0 BPON3 BPOFF3 BPTM3 0 0 0 0 0 0 0 0 F2A3 F2A11 F2B3 F2B11 D2 PMDAC 0 PMMP 0 BCKO0 FS2 WTM0 LMAT0 IREF2 IVOL2 OVOL2 OREF2 0 VOL2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 F1A2 F1A10 F1B2 F1B10 0 BPON2 BPOFF2 BPTM2 BPLVL2 0 0 0 0 0 0 0 F2A2 F2A10 F2B2 F2B10 D1 0 MCKO MGAIN2 PFDAC DIF1 FS1 RFST1 RGAIN0 IREF1 IVOL1 OVOL1 OREF1 1 VOL1 1 0 LIN 0 0 0 0 0 0 0 0 0 0 0 F1A1 F1A9 F1B1 F1B9 BPFR1 BPON1 BPOFF1 BPTM1 BPLVL1 0 0 0 0 0 0 0 F2A1 F2A9 F2B1 F2B9 D0 PMADC PMPLL MGAIN0 ADCPF DIF0 FS0 RFST0 LMTH0 IREF0 IVOL0 OVOL0 OREF0 0 VOL0 READ 0 0 1 0 0 0 0 0 0 0 0 0 0 F1A0 F1A8 F1B0 F1B8 BPFR0 BPON0 BPOFF0 BPTM0 BPLVL0 0 0 0 0 0 0 0 F2A0 F2A8 F2B0 F2B8 2014/10 - 62 - [AK4634] Addr 30H 31H 32H 33H 34H 35H 36H 37H 38H 39H 3AH 3BH 3CH 3DH 3EH 3FH 40H 41H 42H 43H 44H 45H 46H 47H 48H 49H 4AH 4BH 4CH 4DH 4EH 4FH Register Name Digital Filter Select 2 Reserved E1 Co-efficient 0 E1 Co-efficient 1 E1 Co-efficient 2 E1 Co-efficient 3 E1 Co-efficient 4 E1 Co-efficient 5 E2 Co-efficient 0 E2 Co-efficient 1 E2 Co-efficient 2 E2 Co-efficient 3 E2 Co-efficient 4 E2 Co-efficient 5 E3 Co-efficient 0 E3 Co-efficient 1 E3 Co-efficient 2 E3 Co-efficient 3 E3 Co-efficient 4 E3 Co-efficient 5 E4 Co-efficient 0 E4 Co-efficient 1 E4 Co-efficient 2 E4 Co-efficient 3 E4 Co-efficient 4 E4 Co-efficient 5 E5 Co-efficient 0 E5 Co-efficient 1 E5 Co-efficient 2 E5 Co-efficient 3 E5 Co-efficient 4 E5 Co-efficient 5 D7 0 0 E1A7 E1A15 E1B7 E1B15 E1C7 E1C15 E2A7 E2A15 E2B7 E2B15 E2C7 E2C15 E3A7 E3A15 E3B7 E3B15 E3C7 E3C15 E4A7 E4A15 E4B7 E4B15 E4C7 E4C15 E5A7 E5A15 E5B7 E5B15 E5C7 E5C15 D6 0 0 E1A6 E1A14 E1B6 E1B14 E1C6 E1C14 E2A6 E2A14 E2B6 E2B14 E2C6 E2C14 E3A6 E3A14 E3B6 E3B14 E3C6 E3C14 E4A6 E4A14 E4B6 E4B14 E4C6 E4C14 E5A6 E5A14 E5B6 E5B14 E5C6 E5C14 D5 0 0 E1A5 E1A13 E1B5 E1B13 E1C5 E1C13 E2A5 E2A13 E2B5 E2B13 E2C5 E2C13 E3A5 E3A13 E3B5 E3B13 E3C5 E3C13 E4A5 E4A13 E4B5 E4B13 E4C5 E4C13 E5A5 E5A13 E5B5 E5B13 E5C5 E5C13 D4 EQ5 0 E1A4 E1A12 E1B4 E1B12 E1C4 E1C12 E2A4 E2A12 E2B4 E2B12 E2C4 E2C12 E3A4 E3A12 E3B4 E3B12 E3C4 E3C12 E4A4 E4A12 E4B4 E4B12 E4C4 E4C12 E5A4 E5A12 E5B4 E5B12 E5C4 E5C12 D3 EQ4 0 E1A3 E1A11 E1B3 E1B11 E1C3 E1C11 E2A3 E2A11 E2B3 E2B11 E2C3 E2C11 E3A3 E3A11 E3B3 E3B11 E3C3 E3C11 E4A3 E4A11 E4B3 E4B11 E4C3 E4C11 E5A3 E5A11 E5B3 E5B11 E5C3 E5C11 D2 EQ3 0 E1A2 E1A10 E1B2 E1B10 E1C2 E1C10 E2A2 E2A10 E2B2 E2B10 E2C2 E2C10 E3A2 E3A10 E3B2 E3B10 E3C2 E3C10 E4A2 E4A10 E4B2 E4B10 E4C2 E4C10 E5A2 E5A10 E5B2 E5B10 E5C2 E5C10 D1 EQ2 0 E1A1 E1A9 E1B1 E1B9 E1C1 E1C9 E2A1 E2A9 E2B1 E2B9 E2C1 E2C9 E3A1 E3A9 E3B1 E3B9 E3C1 E3C9 E4A1 E4A9 E4B1 E4B9 E4C1 E4C9 E5A1 E5A9 E5B1 E5B9 E5C1 E5C9 D0 EQ1 0 E1A0 E1A8 E1B0 E1B8 E1C0 E1C8 E2A0 E2A8 E2B0 E2B8 E2C0 E2C8 E3A0 E3A8 E3B0 E3B8 E3C0 E3C8 E4A0 E4A8 E4B0 E4B8 E4C0 E4C8 E5A0 E5A8 E5B0 E5B8 E5C0 E5C8 The PDN pin = “L” resets the registers to their default values. Note 40. “0” bits must contain a “0” value. “1” bits must contain a “1” value. Note 41. Reading of address 12H ~ 1FH, 25H ~ 2FH and 31H ~ 4FH are not possible. Note 42. 0FH and 0DH are for address read only. However, 0DH address cannot be read at I2C –bus control mode. Writing access to 0DH and 0FH does not effect the operation. MS0686-E-03 2014/10 - 63 - [AK4634] ■ Register Definitions Addr 00H Register Name Power Management 1 R/W Default D7 PMPFIL R/W 0 D6 PMVCM R/W 0 D5 0 R 0 D4 PMSPK R/W 0 D3 PMAO R/W 0 D2 PMDAC R/W 0 D1 0 R 0 D0 PMADC R/W 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. 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 PMVCM: VCOM Block Power Control 0: Power down (default) 1: Power up PMPFIL: Programmable Filter Block (HPF/ LPF/ 5-Band EQ/ ALC) Power Control 0: Power down (default) 1: Power up Each block can be powered-down respectively by writing “0” to 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. 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 be “0”. When any block of ADC, DAC, SPK, or Programmable digital filter is powered-up (PMADC bit = “1”or PMDAC bit = “1” or PMSPK bit = “1” PMPFIL bit = “1”), the clocks must always be present. MS0686-E-03 2014/10 - 64 - [AK4634] Addr 01H Register Name Power Management 2 R/W Default D7 0 R 0 D6 0 R 0 D5 0 R 0 D4 0 R 0 D3 M/S R/W 0 D2 0 R 0 D1 MCKO R/W 0 D0 PMPLL R/W 0 D4 DACA R/W 0 D3 MGAIN3 R/W 0 D2 PMMP R/W 0 D1 MGAIN2 R/W 0 D0 MGAIN0 R/W 1 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 M/S: Select Master/ Slave Mode 0: Slave Mode (default) 1: Master Mode Addr 02H Register Name Signal Select 1 R/W Default D7 SPOUTE R/W 0 D6 0 R 0 D5 DACS R/W 0 MGAIN3-2: MIC-amp Gain control (Table 20) MGAIN1 bit is located at D5 bit of 03H. Default: “0001” (+20.0dB) PMMP: MPI pin Power Control 0: Power down (default) 1: Power up When PMADC bit is “1”, PMMP bit is enabled. 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 goes VSS1. DACS: Switch Control from DAC to Speaker-Amp 0: OFF (default) 1: ON When DACS bit is “1”, DAC output signal is input to Speaker-Amp. SPOUTE: Speaker output signal Enable 0: Disable (default) 1: Enable When SPOUTE bit is “0”, the SPP and SPN pins output VSS3. When SPOUTE bit is “1”, the SPP and SPN pins output signal. MS0686-E-03 2014/10 - 65 - [AK4634] Addr 03H Register Name Signal Select 2 R/W Default D7 PFSDO R/W 1 D6 AOPS R/W 0 D5 MGAIN1 R/W 0 D4 0 R 0 D3 SPKG R/W 0 D2 0 R 0 D1 PFDAC R/W 0 D0 ADCPF R/W 1 ADCPF: Select of Input signal to Programmable Filter/ALC. 0: SDTI 1: Output of ADC (default) PFDAC: Select of Input signal to DAC. 0: SDTI (default) 1: Output of Programmable Filter/ALC SPKG: Select Speaker-Amp Output Gain 0: 0dB (default) 1: +2dB MGAIN1: Mic-Amplifier Gain Control (Table 20) MGAIN3-2 and MGAIN0 bits are D3, D2 and D0 of 02H. Default: “0001” (+20.0dB) AOPS: Mono Line Output Power-Save Mode 0: Normal Operation (default) 1: Power-Save Mode Power-save mode is enable at AOPS bit = “1”. POP noise at power-up/down can be reduced by changing at PMAO bit = “1”. (Figure 42) PFSDO: Select of signal from SDTO 0: Output of ADC (1st - HPF) 1: Output of Programmable Filter/ALC (default) Addr 04H Register Name Mode Control 1 R/W Default D7 PLL3 R/W 0 D6 PLL2 R/W 0 D5 PLL1 R/W 0 D4 PLL0 R/W 0 D3 BCKO1 R/W 0 D2 BCKO0 R/W 0 D1 DIF1 R/W 1 D0 DIF0 R/W 0 DIF1-0: Audio Interface Format (Table 16) Default: “10” (MSB justified) BCKO1-0: Select BICK output frequency at Master Mode (Table 9) Default: “00” (16fs) PLL3-0: Select input frequency at PLL mode (Table 4) Default: “0000” (FCK pin) MS0686-E-03 2014/10 - 66 - [AK4634] Addr 05H Register Name Mode Control 2 R/W Default D7 ADRST R/W 0 D6 FCKO R/W 0 D5 FS3 R/W 0 D4 MSBS R/W 0 D3 BCKP R/W 0 D2 FS2 R/W 0 D1 FS1 R/W 0 D0 FS0 R/W 0 D1 RFST1 R/W 0 D0 RFST0 R/W 0 FS3-0: Setting of Sampling Frequency (Table 5 and Table 6) and MCKI Frequency (Table 11) These bits select sampling frequency at PLL mode and MCKI frequency at EXT mode. Default: “0000” BCKP, MSBS: “00” (default) (Table 17) FCKO: Select FCK output frequency at Master Mode (Table 10) Default: “0” ADRST: Initialization cycle setting of ADC 0: 1059/fs (default) 1: 291/fs Addr 06H Register Name Timer Select R/W Default D7 0 R 0 D6 WTM2 R/W 0 D5 ZTM1 R/W 0 D4 ZTM0 R/W 0 D3 WTM1 R/W 0 D2 WTM0 R/W 0 WTM2-0: ALC1 Recovery Waiting Period (Table 28) A period of recovery operation when any limiter operation does not occur during the ALC1 operation. Default is “000”. ZTM1-0: ALC1, ALC2, IVOL and OVOL Zero crossing timeout Period (Table 27) The gain is changed by the manual volume controlling (ALC off) or the recovery operation (ALC on) only at Zero crossing or timeout. The default value is “00”. RFST1-0 : ALC First recovery Speed (Table 32) Default: “00” (4times) MS0686-E-03 2014/10 - 67 - [AK4634] Addr 07H Register Name ALC Mode Control 1 R/W Default D7 LFST R/W 0 D6 ALC2 R/W 0 D5 ALC1 R/W 0 D4 ZELMN R/W 0 D3 LMAT1 R/W 0 D2 LMAT0 R/W 0 D1 RGAIN0 R/W 0 D0 LMTH0 R/W 1 D1 IREF1 R/W 0 D0 IREF0 R/W 1 LMTH1-0: ALC Limiter Detection Level / Recovery Waiting Counter Reset Level (Table 25) LMTH1 bit is located at D6 bit of 0BH. Default: “01” RGAIN1-0: ALC Recovery GAIN Step (Table 29) RGAIN1 bit is located at D7 bit of 0BH. Default: “00” LMAT1-0: ALC Limiter ATT Step (Table 26) Default: “00” ZELMN: Zero crossing detection enable at ALC Limiter operation 0: Enable (default) 1: Disable ALC1: ALC of recoding path Enable 0: Disable (default) 1: Enable ALC2: ALC2 of playback path Enable 0: Disable (default) 1: Enable LFST: Limiter function of ALC when the output was bigger than Fs. 0: The volume value is changed at zero crossing or timeout. (default) 1: When output of ALC is bigger than FS, VOL value is changed instantly. Addr 08H Register Name ALC Mode Control 2 R/W Default D7 IREF7 R/W 1 D6 IREF6 R/W 1 D5 IREF5 R/W 0 D4 IREF4 R/W 0 D3 IREF3 R/W 0 D2 IREF2 R/W 1 IREF7-0: Reference value at ALC Recovery operation for recoding. (0.375dB step, 242 Level) (Table 30) Default: “C5H” (+19.5dB) MS0686-E-03 2014/10 - 68 - [AK4634] Addr 09H Register Name Input Digital Volume Control R/W Default D7 IVOL7 R/W 1 D6 IVOL6 R/W 0 D5 IVOL5 R/W 0 D4 IVOL4 R/W 1 D3 IVOL3 R/W 0 D2 IVOL2 R/W 0 D1 IVOL1 R/W 0 D0 IVOL0 R/W 1 D3 OVOL3 R/W 0 D2 OVOL2 R/W 0 D1 OVOL1 R/W 0 D0 OVOL0 R/W 1 D3 OREF3 R/W 1 D2 OREF2 R/W 0 D1 OREF1 R/W 0 D0 OREF0 R/W 0 IVOL7-0: Input Digital Volume; 0.375dB step, 242 Level (Table 22) Default: “91H” (0.0dB) Addr 0AH Register Name Digital Volume Control R/W Default D7 OVOL7 R/W 1 D6 OVOL6 R/W 0 D5 OVOL5 R/W 0 D4 OVOL4 R/W 1 OVOL7-0: Output Digital Volume; 0.375dB step, 242 Level (Table 23) Default: “91H” (0.0dB) Addr 0BH Register Name ALC Mode Control 3 R/W Default D7 RGAIN1 R/W 0 D6 LMTH1 R/W 0 D5 OREF5 R/W 1 D4 OREF4 R/W 0 OREF5-0: Reference value at ALC Recovery operation for playback. 1.5dB step, 60 Level (Table 31) Default: “28H” (+6.0dB) LMTH1-0: ALC Limiter Detection Level / Recovery Waiting Counter Reset Level Default: “01” (-4.1dBFS > ALC Output ≥ -6.0dBFS) RGAIN1-0: ALC Recovery GAIN Step (Table 29) RGAIN1 bit is located at D1 bit of 07H. Default: “00” Addr 0DH Register Name Input Digital Volume Control R/W Default D7 VOL7 R - D6 VOL6 R - D5 VOL5 R - D4 VOL4 R - D3 VOL3 R - D2 VOL2 R - D1 VOL1 R - D0 VOL0 R - VOL7-0: The current volume of ALC; 0.375dB step, 242 Level, Read only (Table 33) MS0686-E-03 2014/10 - 69 - [AK4634] Addr 0EH Register Name Mode Control 3 R/W Default D7 DATT1 R/W 0 D6 DATT0 R/W 0 D5 SMUTE R/W 0 D4 MDIF R/W 0 D3 1 R 1 D2 0 R 0 D1 1 R 1 D0 READ R/W 0 D4 0 R 0 D3 0 R 0 D2 0 R 0 D1 0 R 0 D0 0 R 0 D1 LIN R/W 0 D0 0 R 0 READ: Read function Enable 0: Disable (default) 1: Enable MDIF: Single-ended / Full-differential Input Select 0: Single-ended input (MIC pin or LIN pin: Default) 1: Full-differential input (MICP and MICN pins) SMUTE: Soft Mute Control 0: Normal Operation (default) 1: DAC outputs soft-muted DATT1-0: Output Digital Volume2; 6dB step, 4 Level (Table 24) Default: “00H” (0.0dB) Addr 0FH Register Name Thermal Shutdown R/W Default D7 THDET R 0 D6 0 R 0 D5 0 R 0 THDET: Thermal Shutdown Detection 0: Normal Operation (default) 1: Thermal Shutdown Addr 10H Register Name Signal Select 4 R/W Default D7 0 R 0 D6 LOVL R/W 0 D5 0 R 0 D4 0 R 0 D3 0 R 0 D2 0 R 0 LIN: Select Input data of ADC 0: MIC pin (default) 1: LIN pin LOVL: Lineout Gain Setting 0: 0dB(default) 1: +2dB MS0686-E-03 2014/10 - 70 - [AK4634] Addr 11H Register Name Digital Filter Select 1 R/W Default D7 0 R 0 D6 0 R 0 D5 LPF R/W 0 D4 HPF R/W 1 D3 0 R 0 D2 0 R 0 D1 0 R 0 D0 1 R 1 D1 F1A1 F1A9 F1B1 F1B9 W D0 F1A0 F1A8 F1B0 F1B8 W D1 BPFR1 R/W 0 D0 BPFR0 R/W 0 HPF: HPF Enable in Filter block. 0: Disable 1: Enable (default) When HPF bit is “0”, HPF block is bypassed (0dB). When HPF bit is “1”, F1A13-0, F1B13-0 bits are enabled. LPF: LPF Coefficient Setting Enable 0: Disable (default) 1: Enable When LPF bit is “0”, LPF block is bypassed (0dB). When LPF bit is “1”, F2A13-0, F2B13-0 bits are enabled. Addr 1CH 1DH 1EH 1FH Register Name HPF Co-efficient 0 HPF Co-efficient 1 HPF Co-efficient 2 HPF Co-efficient 3 R/W Default D7 F1A7 0 F1B7 0 W D6 F1A6 0 F1B6 0 W D5 D4 D3 D2 F1A5 F1A4 F1A3 F1A2 F1A13 F1A12 F1A11 F1A10 F1B5 F1B4 F1B3 F1B2 F1B13 F1B12 F1B11 F1B10 W W W W F1A13-0 bits = 0x1F16, F1B13-0 bits = 0x1E2B F1A13-0, F1B13-0: FIL1 (Wind-noise Reduction Filter) Coefficient (14bit x 2) Default: F1A13-0 bits = 0x1F16, F1B13-0 bits = 0x1E2B fc = 75Hz@fs = 8kHz, 150Hz@fs = 16kHz Addr 20H Register Name BEEP Frequency R/W Default D7 BPCNT R/W 0 D6 0 R 0 D5 0 R 0 D4 0 R 0 D3 0 R 0 D2 0 R 0 BPFR1-0: BEEP Signal Output Frequency Setting (Table 38 ~ Table 40) Default: “00” BPCNT: BEEP Signal Output Mode Setting 0: Once Output Mode (default) 1: Continuous Mode In continuous mode, the BEEP signal is output while BPCNT bit is “1”. In once output mode, the BEEP signal is output by only the frequency set with BPTM6-0 bits. MS0686-E-03 2014/10 - 71 - [AK4634] Addr 21H Register Name BEEP ON Time R/W Default D7 BPON7 R/W 0 D6 BPON6 R/W 0 D5 BPON5 R/W 0 D4 BPON4 R/W 0 D3 BPON3 R/W 0 D2 BPON2 R/W 0 D1 BPON1 R/W 0 D0 BPON0 R/W 0 D4 BPOFF4 R/W 0 D3 BPOFF3 R/W 0 D2 BPOFF2 R/W 0 D1 BPOFF1 R/W 0 D0 BPOFF0 R/W 0 D4 BPTM4 R/W 0 D3 BPTM3 R/W 0 D2 BPTM2 R/W 0 D1 BPTM1 R/W 0 D0 BPTM0 R/W 0 BPON7-0: Setting ON-time of BEEP signal output (Table 41) Default: “00H” Addr 22H Register Name BEEP OFF Time R/W Default D7 BPOFF7 R/W 0 D6 BPOFF6 R/W 0 D5 BPOFF5 R/W 0 BPOFF7-0: Setting OFF-time of BEEP signal output (Table 42) Default: “00H” Addr 23H Register Name BEEP Repeat Count R/W Default D7 0 R 0 D6 BPTM6 R/W 0 D5 BPTM5 R/W 0 BPTM6-0: Setting the number of times that BEEP signal repeats (Table 43) Default: “00H” Addr 24H Register Name BEEP VOL/Control R/W Default D7 BPOUT R/W 0 D6 0 R 0 D5 0 R 0 D4 0 R 0 D3 0 R 0 D2 BPLVL2 R/W 0 D1 BPLVL1 R/W 0 D0 BPLVL0 R/W 0 BPLVL2-0: Setting Output Level of BEEP signal (Table 44) Default: “0H” (0dB) BPOUT: BEEP Signal Control 0: OFF (default) 1: ON At the time of BPCNT = “0”, when BPOUT bit is “1”, the beep signal starts outputting. The Beep signal stops after the number of times that was set in BPTM6-0 bit, and BPOUT bit is set to “0” automatically. MS0686-E-03 2014/10 - 72 - [AK4634] Addr 2CH 2DH 2EH 2FH Register Name LPF Co-efficient 0 LPF Co-efficient 1 LPF Co-efficient 2 LPF Co-efficient 3 R/W Default D7 F2A7 0 F2B7 0 W 0 D6 F2A6 0 F2B6 0 W 0 D5 F2A5 F2A13 F2B5 F2B13 W 0 D4 F2A4 F2A12 F2B4 F2B12 W 0 D3 F2A3 F2A11 F2B3 F2B11 W 0 D2 F2A2 F2A10 F2B2 F2B10 W 0 D1 F2A1 F2A9 F2B1 F2B9 W 0 D0 F2A0 F2A8 F2B0 F2B8 W 0 D5 0 R 0 D4 EQ5 R/W 0 D3 EQ4 R/W 0 D2 EQ3 R/W 0 D1 EQ2 R/W 0 D0 EQ1 R/W 0 F2A13-0, F2B13-0: LPF Coefficient (14bit x 2) Default: “0000H” Addr 30H Register Name Digital Filter Select 2 R/W Default D7 0 R 0 D6 0 R 0 EQ1: Equalizer 1 Coefficient Setting Enable 0: Disable (default) 1: Enable When EQ1 bit is “1”, E1A15-0, E1B15-0, E1C15-0 bits are enabled. When EQ1 bit is “0”, EQ block is through (0dB). EQ2: Equalizer 2 Coefficient Setting Enable 0: Disable (default) 1: Enable When EQ2 bit is “1”, E2A15-0, E2B15-0, E2C15-0 bits are enabled. When EQ2 bit is “0”, EQ block is through (0dB). EQ3: Equalizer 3 Coefficient Setting Enable 0: Disable (default) 1: Enable When EQ3 bit is “1”, E3A15-0, E3B15-0, E3C15-0 bits are enabled. When EQ3bit is “0”, EQ block is through (0dB). EQ4: Equalizer 4 Coefficient Setting Enable 0: Disable (default) 1: Enable When EQ4 bit is “1”, E4A15-0, E4B15-0, E4C15-0 bits are enabled. When EQ4 bit is “0”, EQ block is through (0dB). EQ5: Equalizer 5 Coefficient Setting Enable 0: Disable (default) 1: Enable When EQ5 bit is “1”, E5A15-0, E5B15-0, E5C15-0 bits are enabled. When EQ5 bit is “0”, EQ block is through (0dB). MS0686-E-03 2014/10 - 73 - [AK4634] Addr 32H 33H 34H 35H 36H 37H 38H 39H 3AH 3BH 3CH 3DH 3EH 3FH 40H 41H 42H 43H 44H 45H 46H 47H 48H 49H 4AH 4BH 4CH 4DH 4EH 4FH Register Name E1 Co-efficient 0 E1 Co-efficient 1 E1 Co-efficient 2 E1 Co-efficient 3 E1 Co-efficient 4 E1 Co-efficient 5 E2 Co-efficient 0 E2 Co-efficient 1 E2 Co-efficient 2 E2 Co-efficient 3 E2 Co-efficient 4 E2 Co-efficient 5 E3 Co-efficient 0 E3 Co-efficient 1 E3 Co-efficient 2 E3 Co-efficient 3 E3 Co-efficient 4 E3 Co-efficient 5 E4 Co-efficient 0 E4 Co-efficient 1 E4 Co-efficient 2 E4 Co-efficient 3 E4 Co-efficient 4 E4 Co-efficient 5 E5 Co-efficient 0 E5 Co-efficient 1 E5 Co-efficient 2 E5 Co-efficient 3 E5 Co-efficient 4 E5 Co-efficient 5 R/W Default D7 E1A7 E1A15 E1B7 E1B15 E1C7 E1C15 E2A7 E2A15 E2B7 E2B15 E2C7 E2C15 E3A7 E3A15 E3B7 E3B15 E3C7 E3C15 E4A7 E4A15 E4B7 E4B15 E4C7 E4C15 E5A7 E5A15 E5B7 E5B15 E5C7 E5C15 W 0 D6 E1A6 E1A14 E1B6 E1B14 E1C6 E1C14 E2A6 E2A14 E2B6 E2B14 E2C6 E2C14 E3A6 E3A14 E3B6 E3B14 E3C6 E3C14 E4A6 E4A14 E4B6 E4B14 E4C6 E4C14 E5A6 E5A14 E5B6 E5B14 E5C6 E5C14 W 0 D5 E1A5 E1A13 E1B5 E1B13 E1C5 E1C13 E2A5 E2A13 E2B5 E2B13 E2C5 E2C13 E3A5 E3A13 E3B5 E3B13 E3C5 E3C13 E4A5 E4A13 E4B5 E4B13 E4C5 E4C13 E5A5 E5A13 E5B5 E5B13 E5C5 E5C13 W 0 D4 E1A4 E1A12 E1B4 E1B12 E1C4 E1C12 E2A4 E2A12 E2B4 E2B12 E2C4 E2C12 E3A4 E3A12 E3B4 E3B12 E3C4 E3C12 E4A4 E4A12 E4B4 E4B12 E4C4 E4C12 E5A4 E5A12 E5B4 E5B12 E5C4 E5C12 W 0 D3 E1A3 E1A11 E1B3 E1B11 E1C3 E1C11 E2A3 E2A11 E2B3 E2B11 E2C3 E2C11 E3A3 E3A11 E3B3 E3B11 E3C3 E3C11 E4A3 E4A11 E4B3 E4B11 E4C3 E4C11 E5A3 E5A11 E5B3 E5B11 E5C3 E5C11 W 0 D2 E1A2 E1A10 E1B2 E1B10 E1C2 E1C10 E2A2 E2A10 E2B2 E2B10 E2C2 E2C10 E3A2 E3A10 E3B2 E3B10 E3C2 E3C10 E4A2 E4A10 E4B2 E4B10 E4C2 E4C10 E5A2 E5A10 E5B2 E5B10 E5C2 E5C10 W 0 D1 E1A1 E1A9 E1B1 E1B9 E1C1 E1C9 E2A1 E2A9 E2B1 E2B9 E2C1 E2C9 E3A1 E3A9 E3B1 E3B9 E3C1 E3C9 E4A1 E4A9 E4B1 E4B9 E4C1 E4C9 E5A1 E5A9 E5B1 E5B9 E5C1 E5C9 W 0 D0 E1A0 E1A8 E1B0 E1B8 E1C0 E1C8 E2A0 E2A8 E2B0 E2B8 E2C0 E2C8 E3A0 E3A8 E3B0 E3B8 E3C0 E3C8 E4A0 E4A8 E4B0 E4B8 E4C0 E4C8 E5A0 E5A8 E5B0 E5B8 E5C0 E5C8 W 0 E1A15-0, E1B15-0, E1C15-0: Equalizer 1 Coefficient (16bit x3) Default: “0000H” E2A15-0, E2B15-0, E2C15-0: Equalizer 2 Coefficient (16bit x3) Default: “0000H” E3A15-0, E3B15-0, E3C15-0: Equalizer 3 Coefficient (16bit x3) Default: “0000H” E4A15-0, E4B15-0, E4C15-0: Equalizer 4 Coefficient (16bit x3) Default: “0000H” E5A15-0, E5B15-0, E5C15-0: Equalizer 5 Coefficient (16bit x3) Default: “0000H” MS0686-E-03 2014/10 - 74 - [AK4634] SYSTEM DESIGN Figure 57 and Figure 59 show the system connection diagram. The evaluation board [AKD4634] demonstrates the optimum layout, power supply arrangements and measurement results. AK4634EN < MIC Single-end Input > Power Supply 2.2 3.6V 10 10u Speaker 0.1u 0.1u 200 1u AOUT 24 23 22 21 20 19 18 17 SPN NC VSS2 DVDD MCKO I2C Dynamic SPK R1, R2: Short ZD1, ZD2: Open Piezo SPK R1, R2: 10 ZD1, ZD2: Required VSS3 R1 NC ZD2 ZD1 R2 25 SPP SDTO 16 26 SVDD SDTI 15 27 AOUT BICK 14 AK4634 MCKI 13 Top View FCK 12 1u LIN 28 LIN/MICN 1u MIN 2.2k 29 MIC/MICP 30 MPI AVDD VSS1 TST2 TST1 NC CSN/SDA 3 2 4 5 6 7 8 PDN TST3 CDTIO 10 32 VCOC NC Cp 31 VCOM 2 0.1u 1 2.2u CCLK/SCL 11 Rp DSP & P 9 0.1u Analog Ground Digital Ground Figure 57. Typical Connection Diagram (3-wire Mode, AK4634EN) Notes: - VSS1, VSS2 and VSS3 of the AK4634 must be distributed separately from the ground of external controllers. - All digital input pins except pull-down pin must not be left floating. - In EXT mode (PMPLL bit = “0”), Rp and Cp of the VCOC pin can be open. - In PLL mode (PMPLL bit = “1”), Rp and Cp of the VCOC pin should be connected as shown in Table 4. - When the AK4634 is used at master mode, FCK and BICK pins are floating before M/S bit is changed to “1”. Therefore, a pull-up resistor with around 100Ω must be connected to LRCK and BICK pins of the AK4634. -When AVDD, DVDD and SVDD were distributed, DVDD = 1.6 ~ 3.6 V, SVDD = 2.2 ~ 4.0 V. -1st-oder HPF consists of the input impedance of the LIN pin and MIC pin (R = typ 30 k) and the LIN, MIC pin capacitors “C” before MIC-Amp. The cut-off frequency of the HPF(fs) is calculated by the following formula. fc = 1 / (2R C) MS0686-E-03 2014/10 - 75 - [AK4634] AK4634ECB < MIC Single-end Input > Dynamic SPK R1, R2: Short ZD1, ZD2: Open Piezo SPK R1, R2: 10 ZD1, ZD2: Required 0.1µ 10 Speaker R1 0.1µ R2 I2C DVDD VSS2 VSS3 NC SDTO MCKO SPN SVDD SPP BICK SDTI MCKI AOUT LIN MPI MIC 1µ ZD2 ZD1 220 1µ DSP & 20 k 2.2k Top View µP FCK CCLK CDTI 1µ 0.1µ PDN TST1 CSN TST2 VCOM VCOC VSS1 AVDD TST3 Rp + 2.2µ Cp 0.1µ Analog Supply 2.23.6V 10µ + Figure 58. Typical Connection Diagram (3-wire Mode, AK4634ECB) Notes: - VSS1, VSS2 and VSS3 of the AK4634 must be distributed separately from the ground of external controllers. - All digital input pins except pull-down pin must not be left floating. - In EXT mode (PMPLL bit = “0”), Rp and Cp of the VCOC pin can be open. - In PLL mode (PMPLL bit = “1”), Rp and Cp of the VCOC pin must be connected as shown in Table 4. - When the AK4634 is used at master mode, FCK and BICK pins are floating before M/S bit is changed to “1”. Therefore, a pull-up resistor with around 100Ω must be connected to LRCK and BICK pins of the AK4634. -When AVDD, DVDD and SVDD were distributed, DVDD = 1.6 ~ 3.6 V, SVDD = 2.2 ~ 4.0 V. -1st-oder HPF consists of the input impedance of the LIN pin and MIC pin (R = typ 30 k) and the LIN, MIC pin capacitors “C” before MIC-Amp. The cut-off frequency of the HPF(fs) is calculated by the following formula. fc = 1 / (2R C) MS0686-E-03 2014/10 - 76 - [AK4634] AK4634EN < MIC differential Input > Power Supply 2.2 3.6V 10 10u Speaker 0.1u 0.1u 200 1u AOUT 24 23 22 21 20 19 18 17 SPN NC VSS2 DVDD MCKO I2C Dynamic SPK R1, R2: Short ZD1, ZD2: Open Piezo SPK R1, R2: 10 ZD1, ZD2: Required VSS3 R1 NC ZD2 ZD1 R2 25 SPP SDTO 16 26 SVDD SDTI 15 27 AOUT BICK 14 AK4634 MCKI 13 Top View FCK 12 1u LIN 28 LIN/MICN 1k 1u MICP 29 MIC/MICP 1k 30 MPI AVDD VSS1 TST2 TST1 NC CSN/SDA 4 5 6 7 8 PDN 3 2 32 VCOC TST3 CDTIO 10 NC Cp 31 VCOM 2 0.1u 1 2.2u CCLK/SCL 11 Rp DSP & P 9 0.1u Analog Ground Digital Ground Figure 59. Typical Connection Diagram (3-wire Mode, AK4634EN) Notes: - VSS1, VSS2 and VSS3 of the AK4634 must be distributed separately from the ground of external controllers. - All digital input pins except pull-down pin must not be left floating. - In EXT mode (PMPLL bit = “0”), Rp and Cp of the VCOC pin can be open. - In PLL mode (PMPLL bit = “1”), Rp and Cp of the VCOC pin should be connected as shown in Table 4. - When the AK4634 is used at master mode, FCK and BICK pins are floating before M/S bit is changed to “1”. Therefore, a pull-up resistor with around 100Ω must be connected to LRCK and BICK pins of the AK4634. -When AVDD, DVDD and SVDD were distributed, DVDD = 1.6 ~ 3.6 V, SVDD = 2.2 ~ 4.0 V. -1st-oder HPF consists of the input impedance of the MICP pin and MICN pin (R = typ 30 k) and the MICP, MICN pin capacitors “C” before MIC-Amp. The cut-off frequency of the HPF(fs) is calculated by the following formula. fc = 1 / (2R C) MS0686-E-03 2014/10 - 77 - [AK4634] AK4634ECB < MIC differential Input > Dynamic SPK R1, R2: Short ZD1, ZD2: Open Piezo SPK R1, R2: 10 ZD1, ZD2: Required 0.1µ 10 Speaker R1 0.1µ R2 I2C DVDD VSS2 VSS3 NC SDTO MCKO SPN SVDD SPP 1µ ZD2 ZD1 220 1µ DSP BICK & SDTI MCKI AOUT MICN 1k 1k Top View µP FCK CCLK CDTI MPI MICP 1µ 0.1µ PDN TST1 CSN TST2 VCOM VCOC VSS1 AVDD TST3 20 k Rp + 2.2µ Cp 0.1µ Analog Supply 2.23.6V 10µ + Figure 60. Typical Connection Diagram (3-wire Mode, AK4634ECB) Notes: - VSS1, VSS2 and VSS3 of the AK4634 must be distributed separately from the ground of external controllers. - All digital input pins except pull-down pin must not be left floating. - In EXT mode (PMPLL bit = “0”), Rp and Cp of the VCOC pin can be open. - In PLL mode (PMPLL bit = “1”), Rp and Cp of the VCOC pin must be connected as shown in Table 4. - When the AK4634 is used at master mode, FCK and BICK pins are floating before M/S bit is changed to “1”. Therefore, a pull-up resistor with around 100Ω must be connected to LRCK and BICK pins of the AK4634. -When AVDD, DVDD and SVDD were distributed, DVDD = 1.6 ~ 3.6 V, SVDD = 2.2 ~ 4.0 V. -1st-oder HPF consists of the input impedance of the MICP pin and MICN pin (R = typ 30 k) and the MICP, MICN pin capacitors “C” before MIC-Amp. The cut-off frequency of the HPF(fs) is calculated by the following formula. fc = 1 / (2R C) MS0686-E-03 2014/10 - 78 - [AK4634] Mode PLL3 bit PLL2 bit PLL1 bit PLL0 bit 0 1 2 3 6 7 12 13 0 0 0 0 0 0 1 1 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 1 0 1 0 1 0 1 PLL Reference Clock Input Pin Input Frequency R and C of VCOC pin C[F] R[] 6.8k 220n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 4.7n 10k 10n 10k 10n PLL Lock Time (max) FCK pin 1fs 160ms BICK pin 16fs 2ms BICK pin 32fs 2ms BICK pin 64fs 2ms MCKI pin 12MHz 20ms MCKI pin 24MHz 20ms MCKI pin 13.5MHz 20ms MCKI pin 27MHz 20ms Others Others N/A Note 31. the tolerance of R is ±5%, the tolerance of C is ±30% Table 4. Setting of PLL Mode (*fs: Sampling Frequency, N/A: Not available) (default) 1. Grounding and Power Supply Decoupling The AK4634 requires careful attention to power supply and grounding arrangements. AVDD, DVDD and SVDD are usually supplied from the system’s analog supply. If AVDD, DVDD and SVDD are supplied separately, the correct power up sequence should be observeVSS21, VSS2 and VSS3 of the AK4634 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 AK4634 as possible, with the small value ceramic capacitor being the nearest. 2. Voltage Reference VCOM is a signal ground of this chip. A 2.2F electrolytic capacitor in parallel with a 0.1F 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 AK4634. 3. Analog Inputs The Mic and Line inputs supports single-ended and differential. The input signal range scales with nominally at 0.06 x AVDD Vpp@MIC-amp gain 20dB for the Mic input and 0.6 x AVDD Vpp@MIC-amp gain 20dB for the Beep input, centered around the internal common voltage (approx. 0.45 x AVDD). Usually the input signal is AC coupled with a capacitor. The cut-off frequency is fc = 1 (/2RC). The AK4634 can accept input voltages from VSS1 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). The theoretical figure for 0000H (@16bit) is VCOM voltage. Mono Line Output from the AOUT pin is centered at 0.45 x AVDD (typ). MS0686-E-03 2014/10 - 79 - [AK4634] CONTROL SEQUENCE ■ Clock Set up When ADC, DAC, SPK-amp and Programmable Filter are used, the clocks must be supplied. 1. PLL Master Mode Example: Audio I/F Format: MSB justified BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 12MHz MCKO : Enable Sampling Frequency:48kHz Power Supply (1) PDN pin (2) (3) PMVCM bit (1) Power Supply & PDN pin = “L” “H” (Addr:00H, D6) (4) MCKO bit (Addr:01H, D1) (2)Addr:01H, Data:01H Addr:04H, Data:6AH Addr:05H, Data:23H PMPLL bit (Addr:01H, D0) (5) MCKI pin Input (3)Addr:00H, Data:40H M/S bit (Addr:01H, D3) 20msec(max) (6) BICK pin FCK pin (4)Addr:01H, Data:0BH Output (7) 1msec (max) MCKO, BICK and FCK output 20msec(max) (9) MCKO pin (8) Output Figure 61. 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 AK4634. (1) DIF1-0, PLL3-0, FS3-0, BCKO1-0, MSBS, BCKP and M/S bits must be set during this period. (2) Power Up VCOM: PMVCM bit = “0” → “1” VCOM should first be powered-up before the other block operates. (2) In case of using MCKO output: MCKO bit = “1” In case of not using MCKO output: MCKO bit = “0” (3) PLL lock time is 20ms(max) after PMPLL bit changes from “0” to “1” and MCKI is supplied from an external source. (4) The AK4634 starts to output the FCK and BICK clocks after the PLL becomes stable and the normal operation starts. (5) The invalid frequencies are output from FCK and BICK pins during this period. (6) The invalid frequency is output from the MCKO pin during this period. (7) The normal clock is output from the MCKO pin after the PLL is locked. MS0686-E-03 2014/10 - 80 - [AK4634] 2. When the external clock (FCK or BICK pin) is used in PLL Slave mode. Example: Audio I/F Format: DSP Mode BCKP = MSBS = “0” PLL Reference clock: BICK BICK frequency: 64fs Sampling Frequency: 48kHz Power Supply 4fs (1)ofPower Supply & PDN pin = “L” “H” (1) PDN pin (2) (3) PMVCM bit (2) Addr:04H, Data:38H Addr:05H, Data:20H (Addr:00H, D6) PMPLL bit (Addr:01H, D0) FCK pin BICK pin (3) Addr:00H, Data:40H Input (4) (4) Addr:01H, Data:01H Internal Clock (5) BICK and FCK input Figure 62. 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 AK4634. (2) DIF1-0, FS3-0, PLL3-0, MSBS and BCKP bits must 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) PLL starts after the PMPLL bit changes from “0” to “1” and PLL reference clocks (FCK or BICK pin) are supplied. PLL lock time is 160ms(max) when PLL reference clock is FCK, and PLL lock time is 2ms(max) when PLL reference clock is BICK. (5) Normal operation starts after the PLL is locked. MS0686-E-03 2014/10 - 81 - [AK4634] 3. When the external clock (MCKI pin) is used in PLL Slave mode. Example: Audio I/F Format: MSB justified BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 12MHz MCKO : Enable Sampling Frequency:48kHz Power Supply (1) Power Supply & PDN pin = “L” “H” (1) PDN pin (2) (3) (2)Addr:04H, Data:68H Addr:05H, Data:23H PMVCM bit (Addr:00H, D6) (4) PMPLL bit (Addr:01H, D0) (3)Addr:00H, Data:40H (5) MCKI pin Input 20msec(max) (4)Addr:01H, Data:03H (6) MCKO pin Output (7) MCKO output start (8) BICK pin FCK pin Input BICK and FCK input start Figure 63. 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 AK4634. (2) DIF1-0, PLL3-0, FS3-0, BCKO1-0, MSBS, BCKP and M/S bits must 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) PLL Power Up: PMPLL bit “0” → “1” (5) PLL lock time is 20ms(max) after the PMPLL bit changes from “0” to “1” and PLL reference clock (MCKI pin) is supplied. (6) Normal clock is output from the MCKO pin after PLL is locked. (7) The invalid frequency is output from the MCKO pin during this period. (8) BICK and FCK clocks should be synchronized with MCKO clock. MS0686-E-03 2014/10 - 82 - [AK4634] 4. EXT Slave Mode Example : Audio I/F Format:MSB justified (ADC and DAC) Input MCKI frequency: 256fs Sampling Frequency:48kHz MCKO: Disable Power Supply (1) PDN pin (1) Power Supply & PDN pin = “L” “H” (2) (3) PMVCM bit (Addr:00H, D6) (2) Addr:04H, Data:02H Addr:05H, Data:00H (4) PMPLL bit (Addr:01H, D0) "L" (5) MCKI pin Input (3) Addr:00H, Data:40H (5) FCK pin BICK pin Input MCKI, BICK and FCK input Figure 64. 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 AK4634. (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) Power down PLL: PMPLL bit = “0” (5) Normal operation starts after the MCKI, FCK and BICK are supplied. MS0686-E-03 2014/10 - 83 - [AK4634] ■ MIC Input Recording Example: FS3-0 bits (Addr:05H, D5,D2-0) XXXX ADRST bit (Addr:05H, D7) MIC Control (Addr:02H, D2-0) ALC1 Control 1 (Addr:06H) ALC1 Control 2 (Addr:08H) PLL Master Mode Audio I/F Format: MSB justified Sampling Frequency: 44.1kHz Pre MIC AMP:+20dB MIC Power On ADC Initialize time: 291/fs ALC1 setting:Refer to Table 34 HPFAD, HPF : ON (fc=150Hz) 5 band EQ : OFF XXXX (1) X 001 X (1) Addr:05H, Data:A7H 1XX (2) Addr:02H, Data:05H XXH (3) Addr:06H, Data:70H (2) XXH (3) XXH (4) Addr:08H, Data:C5H XXH (4) IVOL7-0 bits (Addr:09H) (5) Addr:09H, Data:C5H XXH XXH (5) ALC1 Control 3 (Addr:07H) Signal Select (Addr:03H) Filter Co-ef (Addr:10H-1F) Filter Select (Addr:11H D5-4, D0) (6) Addr:07H, Data:A1H XXH 2XH (6) (7) Addr:03H, Data:81H XXH 81H (8-1) Addr:1CH, Data:A9H (7) XX....X XX....X (8-2) Addr:1DH, Data:1FH (8) XXX1 XXX1 (8-3) Addr:1EH, Data:53H (9) ALC1 State ALC1 Disable ALC1 Enable ALC1 Disable (8-4) Addr:1FH, Data:1FH (9) Addr:11H, Data:11H PMADC bit (Addr:00H, D0) (10) PMPFIL bit (11) (10) Addr:00H, Data:C1H 291/fs or 1059/fs (Addr:00H, D7) Recording ADC Internal State Power Down Initialize Normal State Power Down (11) Addr:00H, Data:40H Figure 65. MIC Input Recording Sequence <Example> This sequence is an example of ALC1 setting at fs=44.1kHz. If the parameter of the ALC1 is changed, please refer to the Table 34. At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up a sampling frequency (FS3-0 bit). When the AK4634 is in PLL mode, MIC and ADC should be powered-up in consideration of PLL lock time after the 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 IVOL value for ALC1 (Addr: 09H) (6) Set up LMTH0, RGAIN0, LMAT1-0, ZELM and ALC1 bits (Addr: 07H) (7) Set up Programmable Filter Path: PFSDO bit = ADCPF bit = “1” (8) Set up Coefficient of the Programmable Filter (HPF/EQ) Addr: 1CH ~ 1FH, 2CH ~ 2FH, 32H ~ 4FH (9) Switch ON/OFF of the Programmable Filter HPFAD bit must be “1”. (10) Power-up of the ADC and Programmable Filter: PMPFIL bit = PMADC bit = “0” “1” The initialization cycle of the ADC is 1059/fs=24ms@fs=44.1kHz when ADRST bit = “0”, 291/fs=18ms@fs=16kHz when ADRST bit= “1”. ALC starts operating at the value set by IVOL (5). (11) Power-down of the ADC and Programmable Filter: PMPFIL bit = PMADC bit = “1” “0” MS0686-E-03 2014/10 - 84 - [AK4634] ■ Mono Lineout Example: FS3-0 bits (Addr:05H, D5, D2-0) XXXX PLL Master Mode Audio I/F Format: MSB justified Sampling Frequency: 16kHz LOVL bit = “0” ALC2 : OFF, OVOL = “91H “ ALC2 setting:Refer to Table 33 HPF : ON (fc=150Hz) 5 band EQ : OFF XXXX (1) (11) DACA bit (2) (Addr:02H, D4) (1) Addr:05H, Data:A2H (3) ADCPF bit 0 or 1 0 0 or 1 1 (2) Addr:02H, Data:10H (Addr:03H, D0) PFDAC bit (Addr:03H, D1) (3) Addr:03H, Data:02H (4) ALC2 Control (4) Addr:07H, Data:00H 0 or 1 0 (Addr:07H) (5) Addr:0AH, Data:91H (5) OVOL7-0 bits (Addr:0AH, D7-0) XXH XXH (6) Addr:03H, Data:42H AOPS bit (7) Addr:00H, Data:CCH (Addr:03H, D6) (6) (8) (9) (12) (8) Addr:03H, Data:02H PMDAC bit (Addr:00H, D2) (7) (10) PMPFIL bit (Addr:00H, D7) Playback (9) Addr:03H, Data:42H PMAO bit (Addr:00H, D3) >300 ms (10) Addr:00H, Data:40H >300 ms AOUT pin Normal Output (11) Addr:02H, Data:00H (12) Addr:03H, Data:02H Figure 66. Mono Lineout Sequence <Example> In case of using digital volume in manual mode At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up the sampling frequency (FS3-0 bits). When the AK4634 is PLL mode, DAC, Programmable Filter and Mono Line Amp should be powered-up in consideration of PLL lock time after the sampling frequency is changed. (2) Set up the path of “DACA → Mono Line Amp” DACA bit: “0” → “1” (3) Set up the path: ADCPF bit = “0”, PFDAC bit = “1” (4) ALC2 Disable: ALC2 bit = “0” (5) Set up the digital volume (Addr: 0AH) (6) AOUT power save mode: AOPS bit: “0” → “1” (7) Power-up of DAC, Programmable Filter and Mono Line Amp: PMDAC bit = PMPFIL bit = PMAO bit = “0” → “1” AOUT pin goes to “H”. It takes 300ms (max) when C = 1µF (8) Exit power save mode of AOUT: AOPS bit = “1” → “0” Set up AOPS bit after AOUT became “H”, then the AOUT pin starts outputting data. (9) Enter power save mode of AOUT: AOPS bit= “0” → “1” (10) Power –down the DAC, Programmable Filter and Mono Line Amp: PMDAC bit = PMPFIL bit = PMAO bit = “1” “0” The AOUT pin starts going to “L”. It takes 300ms(max) when C = 1F. (11) Disable the path of “DAC → Mono Line Amp”: DACA bit= “1” → “0” (12) Exit power save mode of AOUT: AOPS bit=“1” → “0” Set up AOPS bit after AOUT became “L”. MS0686-E-03 2014/10 - 85 - [AK4634] ■ Speaker-amp Output FS3-0 bits (Addr:05H, D5,D2-0) XXXX XXXX Example: (1) PLL Master Mode Audio I/F Format: MSB justified Sampling Frequency: 16kHz SPKG bit = “1” ALC2 : ON ALC2 setting:Refer to Table 33 HPF : ON (fc=150Hz) 5 band EQ : OFF (13) DACS bit (Addr:02H, D3) ALC2 Control 1 (Addr:06H) ALC2 Control 2 (Addr:10H) (2) XXH XXH (1) Addr:05H, Data:A2H (3) XXH XXH (2) Addr:02H, Data:20H (4) OVOL7-0 bits (Addr:0AH) ALC2 Control 3 (Addr:07H) Signal Select (Addr:03H) Filter Co-ef (Addr:1CH-1FH) Filter Select (Addr:11H, D5-4, D0 ) (3) Addr:06H, Data:14H XXH XXH (5) (4) Addr:0BH, Data:28H XXH 4XH (5) Addr:0AH, Data:91H (6) 00H 0AH (6) Addr:07H, Data:C1H (7) XX....X (7) Addr:03H, Data:0AH XX....X (8) (8-1) Addr:1CH, Data:16H XX, X X1, 1 (8-2) Addr:1DH, Data:1FH (9) ALC2 State ALC2 Disable ALC2 Disable ALC2 Enable PMPFIL bit (8-3) Addr:1EH, Data:2BH (8-4) Addr:1FH, Data:1EH (Addr:00H, D7) (14) PMDAC bit (9) Addr:11H, Data:11H (Addr:00H, D2) (10) Addr:00H, Data:D4H (10) PMSPK bit (11) Addr:02H, Data:A0H (Addr:00H, D4) (11) SPOUTE bit Playback (Addr:02H, D7) (12) SPP pin VSS3 Normal Output (12) Addr:02H, Data:20H VSS3 (13) Addr:02H, Data:00H SPN pin VSS3 VSS3 Normal Output VSS3 VSS3 (14) Addr:00H, Data:40H Figure 67. Speaker-Amp Output Sequence <Example> In case of fs=16kHz. Refer to the Table 35 for changing ALC2 parameter. At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Set up a sampling frequency (FS3-0 bits). When the AK4634 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”: DACS bit = “0” → “1” (3) Set up Timer Select for ALC2 (Addr: 06H) (4) Set up REF value for ALC2 (Addr: 08H) (5) Set up OVOL value, RGAIN1 and LMTH1 for ALC2 (Addr: 10H) (6) Set up LMTH0, RGAIN0, LMAT1-0, ZELM and ALC2 bit (Addr: 07H) (7) Set up the Programmable Filter Path and SPK-Amp Gain: PFDAC bit = “1”, ADCPF bit = “0”, SPKG bit = “X” (8) Set up Coefficient of the Programmable Filter (HPF/EQ) Addr: 1C ~ 1FH, 2CH ~ 2FH, 32H ~ 4FH (9) Switch ON/OFF of the Programmable Filter It is recommended that HPF bit =“1”. (10) Power-up of the DAC, SPK-Amp and Programmable Filter: PMDAC bit = PMSPK bit = PMPFIL bit = “0” → “1” (11) Enable Speaker Output: SPOUTE bit = “0” → “1” 1ms or more time is needed before setting SPOUTE bit = “1”after setting PMSPK bit = “1”. (12) Disable Speaker Output: SPOUTE bit = “1” → “0” (13) Disable the path of “DAC → SPK-Amp”: DACS bit = “1” → “0”. (14) Power down of the DAC, SPK-Amp and Programmable Filter: PMDAC bit = PMSPK bit = PMPFIL bit = “1” “0” MS0686-E-03 2014/10 - 86 - [AK4634] ■ BEEP signal output from Speaker-Amp Example:default (1) Addr:00H, Data:50H (1) (6) (2) Addr:20-24H, Data:00H PMSPK bit (Addr:00H, D4) (3) Addr:02H, Data:80H (2) BEEP Gen bits (Addr:20-24H) XXH XXH (4) Addr:24H, Data:80H (3) (5) SPOUTE bit BEEP Signal Output (Addr:00H, D4) (4) (4) BPOUT bit Addr:24H, Data:00H (Auto) (Addr:24H, D7) (5) Addr:02H, Data:00H (6) Addr:00H, Data:40H Figure 68. “BEPP Generator Speaker-Amp” Output Sequence <Example> At first, clocks should be supplied according to “Clock Set Up” sequence. (1) Power Up BEEP-Generator and Speaker-Amp: PMSPK bit = “0” → “1” (2) Set up BEEP Generator (Addr: 20H ~ 24H)(When repeat output time BPCNT bit = “0”) (3) Enable SPK-Amp Output: SPOUTE bit = “0” → “1” (4) BEEP Output: BPOUT bit= “0” → “1” (after outputting data particular set times, BPOUT bit automatically goes to “0”) (5) Disable Speaker Output: SPOUTE bit bit = “1” → “0” (6) Power down of the SPK-Amp: PMSPK bit = “1” → “0” MS0686-E-03 2014/10 - 87 - [AK4634] ■ Stop of Clock Master clock can be stopped when ADC, DAC and Programmable Filter are not in operation. 1. PLL Master Mode Example: Audio I/F Format: MSB justified BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 12MHz MCKO : Enable Sampling Frequency:48kHz (1) PMPLL bit (Addr:01H, D0) (1) (2) Addr:01H, Data:08H (2) MCKO bit "H" or "L" Stop an external MCKI (Addr:01H, D1) (3) External MCKI Input Figure 69. Clock Stopping Sequence (1) <Example> (1) Power down PLL: PMPLL bit = “1” → “0” (2) Stop MCKO clock: MCKO bit = “1” → “0” (3) Stop an external master clock 2. PLL Slave Mode (FCK, BICK pin) Example : Audio I/F Format: DSP Mode BCKP = MSBS = “0” (1 ) PLL Reference clock: BICK BICK frequency: 64fs Sampling Frequency: 48kHz PMPLL bit (Addr:01H,D0 ) (2 ) External BICK Input (1) Addr:01H, Data:00H (2 ) External FCK Input (2) Stop the external clocks Figure 70. Clock Stopping Sequence (2) <Example> (1) Power down of the PLL: PMPLL bit = “1” → “0” (2) Stop an external master clock MS0686-E-03 2014/10 - 88 - [AK4634] 3. PLL Slave Mode (MCKI pin) Example : Audio I/F Format: MSB justified BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 12MHz MCKO : Enable Sampling Frequency:48kHz (1) PMPLL bit (Addr:01H, D0) (1) MCKO bit (1) Addr:01H, Data:00H (Addr:01H, D1) (2) External MCKI Input (2) Stop the external clocks Figure 71. Clock Stopping Sequence (3) <Example> (1) Power down of the PLL: PMPLL bit = “1” → “0” Stop the MCKO output: MCKO bit = “1” → “0” (2) Stop an external master clock 4. EXT Slave Mode Example : Audio I/F Format: MSB justified (1) External MCKI Input External BICK Input BICK frequency at Master Mode: 64fs Input Master Clock Select at PLL Mode: 12MHz MCKO : Enable Sampling Frequency:48kHz (1) (1) Addr:01H, Data:00H (1) External FCK Input (2) Stop the external clocks Figure 72. Clock Stopping Sequence (4) <Example> (1) Stop an external master clock ■ Power Down VCOM should be powered-down after the master clock is stopped if clocks are supplied when all blocks except for VCOM are powered-down. The AK4634 is also powered-down by the PDN pin = “L”. In this case, the registers are initialized. MS0686-E-03 2014/10 - 89 - [AK4634] PACKAGE (AK4634EN) 32pin QFN (Unit: mm) Note) The exposed pad on the bottom surface of the package must be open or connected to the ground. ■ Material & Lead finish Package molding compound: Lead frame material: Lead frame surface treatment: Epoxy resin, Halogen (bromine and chlorine) free Cu Solder (Pb free) plate MS0686-E-03 2014/10 - 90 - [AK4634] PACKAGE (AK4634ECB) Top View Bottom View 2.46 0.05 A 29pin CSP: 2.5mm x 3.0mm 6 6 5 5 4 3 B 4634 2.96 0.05 4 XXXX 3 2 2 1 1 B C D E E 0.85 D C 0.3 0.05 0.20 0.05 A 0.5 B A 0.05 M S AB S 0.08 S ■ Material & Lead finish Package material: Epoxy resin, Halogen (bromine and chlorine) free Solder ball material: SnAgCu MS0686-E-03 2014/10 - 91 - [AK4634] MARKING (AK4634EN) AKM AK4634 XXXXX 1 XXXXX: Date code identifier (5 digit) MARKING (AK4634ECB) 4634 XXXX 1 A XXXX: Date code (4 digit) MS0686-E-03 2014/10 - 92 - [AK4634] REVISION HISTORY Date (YY/MM/DD) 08/07/09 08/10/28 Revision 00 01 14/09/22 02 14/10/28 03 Reason First Edition Comment Addition Specification Change Specification Change Page Contents AK4634VN and AK4634ECB were added. 90, 92 1, 2, 3, 8 75, 77, 90, 92 MS0686-E-03 PACKAGE, MARKING Package dimensions, Making were changed. AK4634VN was deleted. 2014/10 - 93 - [AK4634] IMPORTANT NOTICE 0. Asahi Kasei Microdevices Corporation (“AKM”) reserves the right to make changes to the information contained in this document without notice. When you consider any use or application of AKM product stipulated in this document (“Product”), please make inquiries the sales office of AKM or authorized distributors as to current status of the Products. 1. All information included in this document are provided only to illustrate the operation and application examples of AKM Products. AKM neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of AKM or any third party with respect to the information in this document. You are fully responsible for use of such information contained in this document in your product design or applications. AKM ASSUMES NO LIABILITY FOR ANY LOSSES INCURRED BY YOU OR THIRD PARTIES ARISING FROM THE USE OF SUCH INFORMATION IN YOUR PRODUCT DESIGN OR APPLICATIONS. 2. The Product is neither intended nor warranted for use in equipment or systems that require extraordinarily high levels of quality and/or reliability and/or a malfunction or failure of which may cause loss of human life, bodily injury, serious property damage or serious public impact, including but not limited to, equipment used in nuclear facilities, equipment used in the aerospace industry, medical equipment, equipment used for automobiles, trains, ships and other transportation, traffic signaling equipment, equipment used to control combustions or explosions, safety devices, elevators and escalators, devices related to electric power, and equipment used in finance-related fields. Do not use Product for the above use unless specifically agreed by AKM in writing. 3. Though AKM works continually to improve the Product’s quality and reliability, you are responsible for complying with safety standards and for providing adequate designs and safeguards for your hardware, software and systems which minimize risk and avoid situations in which a malfunction or failure of the Product could cause loss of human life, bodily injury or damage to property, including data loss or corruption. 4. Do not use or otherwise make available the Product or related technology or any information contained in this document for any military purposes, including without limitation, for the design, development, use, stockpiling or manufacturing of nuclear, chemical, or biological weapons or missile technology products (mass destruction weapons). When exporting the Products or related technology or any information contained in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. The Products and related technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations. 5. Please contact AKM sales representative for details as to environmental matters such as the RoHS compatibility of the Product. Please use the Product in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. AKM assumes no liability for damages or losses occurring as a result of noncompliance with applicable laws and regulations. 6. Resale of the Product with provisions different from the statement and/or technical features set forth in this document shall immediately void any warranty granted by AKM for the Product and shall not create or extend in any manner whatsoever, any liability of AKM. 7. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of AKM. MS0686-E-03 2014/10 - 94 -