Part Number Hot Search : 
12K32 TL944 LCB717S M511664 2106A A12BB CHV34H28 ACSC56
Product Description
Full Text Search
 

To Download AK4643EN Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  asahi kasei [ak4643] ms0476-e-01 2006/10 - 1 - general description the ak4643 is a stereo codec with a built- in microphone-amplifier, headphone-amplifier, receiver-amplifier and 1.2w output speaker-amplifie r. the ak4643 features analog mixing circuits and pll that allows easy interfacing in mobile phone and portable a/v player designs. the ak4643 is available in a 32pin qfn, utilizing less board space than competitive offerings. features 1. recording function ? 3 stereo input selector ? stereo mic input (full-differential or single-ended) ? stereo line input ? mic amplifier (+32db/+26db/+20db or 0db) ? digital alc (automatic level control) (+36db ? 54db, 0.375db step, mute) ? adc performance: s/(n+d): 83db, dr, s/n: 86db (mic-amp=+20db) s/(n+d): 88db, dr, s/n: 95db (mic-amp=0db) ? wind-noise reduction filter ? stereo separation emphasis ? programmable eq 2. playback function ? digital de-emphasis filter (tc=50/15 s, fs=32khz, 44.1khz, 48khz) ? bass boost ? soft mute ? digital volume (+12db ? 115.0db, 0.5db step, mute) ? digital alc (automatic level control) (+36db ? 54db, 0.375db step, mute) ? stereo separation emphasis ? programmble eq ? stereo line output - performance: s/(n+d): 88db, s/n: 92db ? mono receiver-amp - btl output - output power: 30mw@32 ? (avdd=3.3v) ? stereo headphone-amp - s/(n+d): 70db@7.5mw, s/n: 90db - output power: 70mw@16 ? (hvdd=5v), 62mw@16 ? (hvdd=3.3v) - pop noise free at power on/off ? mono speaker-amp - s/(n+d): 50db@240mw, s/n: 90db - btl output - availbable for both dynamic and piezo speaker - output power: 1.2w@8 ? (hvdd=5v), 400mw@8 ? (hvdd=3.3v) 3.0vrms@50 ? (hvdd=5v) ? analog mixing: 3 stereo input 3. power management 4. master clock: (1) pll mode ? frequencies: 11.2896mhz, 12mhz, 12.288mhz, 13.5mhz, 24mhz, 27mhz (mcki pin) 1fs (lrck pin) 32fs or 64fs (bick pin) stereo codec with mic/hp/rcv/spk-amp ak4643
asahi kasei [ak4643] ms0476-e-01 2006/10 - 2 - (2) external clock mode ? frequencies: 256fs, 512fs or 1024fs (mcki pin) 5. output master clock frequencies: 32fs/64fs/128fs/256fs 6. sampling rate: ? pll slave mode (lrck pin): 7.35khz 48khz ? pll slave mode (bick pin): 7.35khz 48khz ? pll slave mode (mcki pin): 8khz, 11.025khz, 12khz, 16khz, 22.05k hz, 24khz, 32khz, 44.1khz, 48khz ? pll master mode: 8khz, 11.025khz, 12khz, 16khz, 22.05k hz, 24khz, 32khz, 44.1khz, 48khz ? ext master/slave mode: 7.35khz 48khz (256fs), 7.35khz 26khz (512fs), 7.35khz 13khz (1024fs) 7. p i/f: 3-wire serial, i 2 c bus (ver 1.0, 400khz high speed mode) 8. master/slave mode 9. audio interface format: msb first, 2?s complement ? adc : 16bit msb justified, i 2 s, dsp mode ? dac : 16bit msb justified, 16bit lsb justified, 16-24bit i 2 s, dsp mode 10. ta = ? 30 85 c (spk-amp=off) ? 30 70 c (spk-amp=on) 11. power supply: ? avdd, dvdd: 2.6 3.6v (typ. 3.3v) ? hvdd: 2.6 5.25v (typ. 3.3v/5.0v) 12. package: 32pin qfn (5mm x 5mm, 0.5mm pitch) 13. pin/register compatible with ak4642en ? block diagram mic power supply mic-amp a/d wind-noise reduction stereo separation hpf pmadl or pmmicl pmadr or pmmicr pmadl or pmadr audio i/f d/a datt smute pmdac pmhpl pmhpr internal mic external mic line in stereo line out or mono receiver headphone pmspk speaker alc bass boost pll pmpll control register mpwr lin1 rin1 lin2 rin2 hpl hpr mutet spp spn hvdd hvss a vdd avss vcom dvdd csn pdn cclk cdti bick lrck sdto sdti mcko mcki vcoc pmlo lout/rcp rout/rcn alc dvss stereo separation hpf i2c lin3/min rin3/vcoc pmmp pmainr2 pmainl2 pmainr3 pmainl3 figure 1. block diagram
asahi kasei [ak4643] ms0476-e-01 2006/10 - 3 - ? ordering guide AK4643EN ? 30 +85 c 32pin qfn (0.5mm pitch) akd4643 evaluation board for ak4643 ? pin layout mutet rout / rcn lout / rcp min / lin3 rin2 / in2 ? lin2 / in2+ lin1 / in1 ? rin1 / in1+ hpl hpr hvss hvdd spp spn mcko mcki mpwr vcom avss avdd vcoc / rin3 i2c pdn csn / cad0 dvss dvdd bick lrck sdto sdti cdti / sda cclk / scl AK4643EN top view 25 26 27 28 29 30 31 32 24 23 22 1 16 15 14 13 12 11 10 9 21 20 19 18 17 2 3 4 5 6 7 8 ? compatibility with ak4642en 1. function function ak4642en ak4643 spk-amp max output power 400mw@3.3v 1.2w@5v hp-amp max output power 62mw@3.3v 70mw@5v receiver-amp no yes analog mixing for playback 1 mono 3 stereo input selector for recording 2 stereo 3 stereo mono recording mode no yes alc recovery waiting period 128/fs 1024/fs 128/fs 16384/fs alc fast recovery speed 4 times 4, 8 or 16 times dsp format no yes ext master mode no yes dac group delay 22/fs 25/fs
asahi kasei [ak4643] ms0476-e-01 2006/10 - 4 - 2. pin pin# ak4642en ak4643 5 vcoc vcoc/rin3 26 rout rout/rcn 27 lout lout/rcp 28 min min/lin3 3. register addr register name d7 d6 d5 d4 d3 d2 d1 d0 00h power management 1 0 pmvcm pmmin pmspk pmlo pmdac 0 pmadl 01h power management 2 0 hpmtn pmhpl pmhpr m/s 0 mcko pmpll 02h signal select 1 sppsn mins dacs dacl 0 pmmp 0 mgain0 03h signal select 2 lovl lops mgain1 spkg1 spkg0 minl 0 0 04h mode control 1 pll3 pll2 pll1 pll0 bcko 0 dif1 dif0 05h mode control 2 ps1 ps0 fs3 msbs bckp fs2 fs1 fs0 06h timer select dvtm wtm2 ztm1 ztm0 wtm1 wtm0 rfst1 rfst0 07h alc mode control 1 0 0 alc zelmn lmat1 lmat0 rgain0 lmth0 08h alc mode control 2 ref7 ref6 ref5 ref4 ref3 ref2 ref1 ref0 09h lch input volume control ivl7 ivl6 ivl5 ivl4 ivl3 ivl2 ivl1 ivl0 0ah lch digital volume c ontrol dvl7 dvl6 dvl5 dvl 4 dvl3 dvl2 dvl1 dvl0 0bh alc mode control 3 rgain1 lmth1 0 0 0 0 vbat 0 0ch rch input volume control ivr7 ivr6 ivr5 ivr4 ivr3 ivr2 ivr1 ivr0 0dh rch digital volume control dvr7 dvr6 dvr5 dvr4 dvr3 dvr2 dvr1 dvr0 0eh mode control 3 0 loop smut e dvolc bst1 bst0 dem1 dem0 0fh mode control 4 0 0 0 0 ivolc hpm minh dach 10h power management 3 inr1 inl1 hpg mdif2 mdif1 inr0 inl0 pmadr 11h digital filter select gn1 gn0 0 fil1 eq fil3 0 0 12h fil3 co-efficient 0 f3a7 f3a6 f3a5 f3a4 f3a3 f3a2 f3a1 f3a0 13h fil3 co-efficient 1 f3as 0 f3a13 f3a12 f3a11 f3a10 f3a9 f3a8 14h fil3 co-efficient 2 f3b7 f3b6 f3b5 f3b4 f3b3 f3b2 f3b1 f3b0 15h fil3 co-efficient 3 0 0 f3b13 f3b12 f3b11 f3b10 f3b9 f3b8 16h eq co-efficient 0 eqa7 eqa6 eq a5 eqa4 eqa3 eq a2 eqa1 eqa0 17h eq co-efficient 1 eqa15 eqa14 eqa13 eqa12 eqa11 eqa10 eqa9 eqa8 18h eq co-efficient 2 eqb7 eqb6 eq b5 eqb4 eqb3 eqb2 eqb1 eqb0 19h eq co-efficient 3 0 0 eqb13 eqb12 eqb11 eqb10 eqb9 eqb8 1ah eq co-efficient 4 eqc7 eqc6 eq c5 eqc4 eqc3 eqc2 eqc1 eqc0 1bh eq co-efficient 5 eqc15 eqc14 eqc13 eqc12 eqc11 eqc10 eqc9 eqc8 1ch fil1 co-efficient 0 f1a7 f1a6 f1a5 f1a4 f1a3 f1a2 f1a1 f1a0 1dh fil1 co-efficient 1 f1as 0 f1a13 f1a12 f1a11 f1a10 f1a9 f1a8 1eh fil1 co-efficient 2 f1b7 f1b6 f1b5 f1b4 f1b3 f1b2 f1b1 f1b0 1fh fil1 co-efficient 3 0 0 f1b13 f1b12 f1b11 f1b10 f1b9 f1b8 20h power management 4 0 0 pmainr3 pmainl3 pmainr2 pmainl2 pmmicr pmmicl 21h mode control 5 0 0 micr3 micl3 0 mix ain3 rcv 22h lineout mixing select 0 0 0 0 rinr3 linl3 rinr2 linl2 23h hp mixing select 0 0 0 0 rinh3 linh3 rinh2 linh2 24h spk mixing select 0 0 0 0 rins3 lins3 rins2 lins2 these bits are added in the ak4643.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 5 - pin/function no. pin name i/o function 1 mpwr o mic power supply pin 2 vcom o common voltage output pin, 0.45 x avdd bias voltage of adc inputs and dac outputs. 3 avss - analog ground pin 4 avdd - analog power supply pin vcoc o output pin for loop filter of pll circuit (ain3 bit = ?0?: pll is available.) this pin should be connected to avss with one resistor and capacitor in series. 5 rin3 i rch analog input 3 pin (ain3 bit = ?1?: pll is not available.) 6 i2c i control mode select pin ?h?: i 2 c bus, ?l?: 3-wire serial 7 pdn i power-down mode pin ?h?: power-up, ?l?: power-down, reset and initializes the control register. csn i chip select pin (i2c pin = ?l?: 3-wire serial mode) 8 cad0 i chip address 1 select pin (i2c pin = ?h?: i 2 c bus mode) cclk i control data clock pin (i2c pin = ?l?: 3-wire serial mode) 9 scl i control data clock pin (i2c pin = ?h?: i 2 c bus mode) cdti i control data input pin (i2c pin = ?l?: 3-wire serial mode) 10 sda i/o control data input pin (i2c pin = ?h?: i 2 c bus mode) 11 sdti i audio serial data input pin 12 sdto o audio serial data output pin 13 lrck i/o input / output channel clock pin 14 bick i/o audio serial data clock pin 15 dvdd - digital power supply pin 16 dvss - digital ground pin 17 mcki i external master clock input pin 18 mcko o master clock output pin 19 spn o speaker amp negative output pin 20 spp o speaker amp positive output pin 21 hvdd - headphone & speaker amp power supply pin 22 hvss - headphone & speaker amp ground pin 23 hpr o rch headphone-amp output pin 24 hpl o lch headphone-amp output pin 25 mutet o mute time constant control pin connected to hvss pin with a capacitor for mute time constant. rout o rch stereo line output pin (rcv bit = ?0?: single-ended stereo output) 26 rcn o receiver-amp negative output pin (rcv bit = ?1?: btl output) lout o lch stereo line output pin (rcv bit = ?0?: single-ended stereo output) 27 rcp o receiver-amp positive output pin (rcv bit = ?1?: btl output) min i mono signal input pin (ain3 bit = ?0?: pll is available.) 28 lin3 i lch analog input 3 pin (ain3 bit = ?1: pll is not available?) rin2 i rch analog input 2 pin (mdif2 bit = ?0?: single-ended input) 29 in2 ? i microphone negative input 2 pin (mdif2 bit = ?1?: full-differential input) lin2 i lch analog input 2 pin (mdif2 bit = ?0?: single-ended input) 30 in2+ i microphone positive input 2 pin (mdif2 bit = ?1?: full-differential input) lin1 i lch analog input 1 pin (mdif1 bit = ?0?: single-ended input) 31 in1 ? i microphone negative input 1 pin (mdif1 bit = ?1?: full-differential input) rin1 i rch analog input 1 pin (mdif1 bit = ?0?: single-ended input) 32 in1+ i microphone positive input 1 pin (mdif1 bit = ?1?: full-differential input) note 1. all input pins except analog input pins (min/lin3, lin1, rin1, lin2, rin2, rin3) should not be left floating. note 2. avdd or avss voltage should be input to i2c pin.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 6 - ? handling of unused pin the unused i/o pins should be processed appropriately as below. classification pin name setting analog mpwr, vcoc/rin3, spn, spp, hpr, hpl, mutet, rout/rcn, lout/rcp, min/lin3, rin2/in2 ? , lin2/in2+, lin1/in1 ? , rin1/in1+ these pins should be open. mcko this pin should be open. digital mcki this pin should be connected to dvss. absolute maximum ratings (avss, dvss, hvss=0v; note 3) parameter symbol min max units power supplies: analog avdd ? 0.3 6.0 v digital dvdd ? 0.3 6.0 v headphone-amp / speaker-amp hvdd ? 0.3 6.0 v |avss ? dvss| (note 4) ? gnd1 - 0.3 v |avss ? hvss| (note 4) ? gnd2 - 0.3 v input current, any pin except supplies iin - 10 ma analog input voltage (note 5) vina ? 0.3 avdd+0.3 v digital input voltage (note 6) vind ? 0.3 dvdd+0.3 v ambient temperature (powered applied) ta ? 30 85 c storage temperature tstg ? 65 150 c maximum power dissipation ta=85 c (note 8) pd1 - 750 mw (note 7) ta=70 c (note 9) pd2 - 1000 mw note 3. all voltages with respect to ground. note 4. avss, dvss and hvss must be connected to the same analog ground plane. note 5. i2c, min/lin3, rin3, rin2/in2 ? , lin2/in2+, lin1/in1 ? , rin1/in1+ pins note 6. pdn, csn/cad0, cclk/scl, cdti/sda, sdti, lrck, bick, mcki pins pull-up resistors at sda and scl pins should be connected to (dvdd+0.3)v or less voltage. note 7. in case that the exposed pad is connected to the ground and pcb wiring density is 100%. if the exposed pad is open, pd1=400mw(max: speaker-amp is not available.) and pd2=550mw(max: speaker-amp is available at hvdd=2.6 3.6v.). this power is the ak4643 internal dissipation that does not include power of externally connected speaker and headphone. note 8. speaker-amp is available at hvdd=2.6 3.6v. note 9. speaker-amp is available at hvdd=2.6 5.25v. warning: operation at or beyond these limits may result in permanent damage to the device. normal operation is not guaranteed at these extremes.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 7 - recommended operating conditions (avss, dvss, hvss=0v; note 3) parameter symbol min typ max units power supplies analog avdd 2.6 3.3 3.6 v (note 10) digital dvdd 2.6 3.3 3.6 v hp / spk-amp hvdd 2.6 3.3 / 5.0 5.25 v difference avdd ? dvdd ? 0.3 0 +0.3 v note 3. all voltages with respect to ground. note 10. the power-up sequence between avdd, dvdd and hvdd is not critical. when only avdd or hvdd is powered off, the power supply current of dvdd at power-down mode may be increased. dvdd should not be powered off while avdd or hvdd is powered on. * akm assumes no responsibility for the usag e beyond the conditions in this datasheet. analog characteristics (ta=25 c; avdd, dvdd, hvdd=3.3v; avss=dvss=hvss=0v; fs=44.1khz, bick=64fs; signal frequency=1khz; 16bit data; measurement frequency=20hz 20khz; unless otherwise specified) parameter min typ max units mic amplifier: lin1/rin1/lin2/rin2 pins & lin3/rin3 pins (ain3 bit = ?1?); mdif1=mdif2 bits = ?0? (single-ended inputs) mgain1-0 bits = ?00? 40 60 80 k ? input resistance mgain1-0 bits = ?01?, ?10?or ?11? 20 30 40 k ? mgain1-0 bits = ?00? - 0 - db mgain1-0 bits = ?01? - +20 - db mgain1-0 bits = ?10? - +26 - db gain mgain1-0 bits = ?11? - +32 - db mic amplifier: in1+/in1 ? /in2+/in2 ? pins; mdif1 = mdif2 bits = ?1? (full-differential input) maximum input voltage (note 11) mgain1-0 bits = ?01? - - 0.228 vpp mgain1-0 bits = ?10? - - 0.114 vpp mgain1-0 bits = ?11? - - 0.057 vpp mic power supply: mpwr pin output voltage (note 12) 2.22 2.47 2.72 v load resistance 0.5 - - k ? load capacitance - - 30 pf note 11. the voltage difference between in1/2+ and in1/2 ? pins. ac coupling capacitor should be inserted in series at each input pin. full-differential mic input is not available at mgain1-0 bits = ?00?. maximum input voltage of in1+, in1 ? , in2+ and in2 ? pins is proportional to avdd voltage, respectively. vin = 0.069 x avdd (max)@mgain1-0 bits = ?01?, 0.035 x avdd (max)@mgain1-0 bits = ?10?, 0.017 x avdd (max)@mgain1-0 bits = ?11?. when the signal larger than above value is input to in1+, in1 ? , in2+ or in2 ? pin, adc does not operate normally. note 12. output voltage is proportional to avdd voltage. vout = 0.75 x avdd (typ)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 8 - parameter min typ max units adc analog input characteristics: lin1/rin1/lin2/rin2 pins & lin3/rin3 pins (ain3 bit = ?1?) adc ivol, ivol=0db, alc=off resolution - - 16 bits (note 14) 0.168 0.198 0.228 vpp input voltage (note 13) (note 15) 1.68 1.98 2.28 vpp (note 14, lin1/rin1/lin2/rin2) 71 83 - dbfs (note 14, lin3/rin3) - 83 - dbfs (note 15, lin1/rin1/lin2/rin2) - 88 - dbfs s/(n+d) ( ? 1dbfs) (note 15, lin3/rin3) - 72 - dbfs (note 14) 76 86 - db d-range ( ? 60dbfs, a-weighted) (note 15) - 95 - db (note 14) 76 86 - db s/n (a-weighted) (note 15) - 95 - db (note 14) 75 90 - db interchannel isolation (note 15) - 100 - db (note 14) - 0.1 0.8 db interchannel gain mismatch (note 15) - 0.1 0.8 db dac characteristics: resolution - - 16 bits stereo line output characteristics: dac lout/rout pins, alc=off, i vol=0db, dvol=0db, lovl bit = ?0?, rcv bit = ?0?, r l =10k ? output voltage (note 16) lovl bit = ?0? 1.78 1.98 2.18 vpp lovl bit = ?1? 2.25 2.50 2.75 vpp s/(n+d) ( ? 3dbfs) 78 88 - dbfs s/n (a-weighted) 82 92 - db interchannel isolation pmainl2/r2/l3/r3 bits = ?1? 80 100 - db pmainl2/r2/l3/r3 bits = ?0? - 100 - db interchannel gain mismatch - 0.1 0.5 db load resistance 10 - - k ? load capacitance - - 30 pf mono receiver output characteristics: dac rcp/rcn pins, alc=off, ivol=0db, dvol=0db, lovl bit = ?0?, rcv bit = ?1?, r l =32 ? , btl output voltage (note 17) lovl bit = ?0?, ? 6dbfs, r l =32 ? (po=15mw) 1.57 1.96 2.35 vpp lovl bit = ?0?, ? 3dbfs, r l =32 ? (po=30mw) - 2.77 - vpp lovl bit = ?1?, ? 8dbfs, r l =32 ? (po=15mw) 1.57 1.96 2.35 vpp lovl bit = ?1?, ? 5dbfs, r l =32 ? (po=30mw) - 2.77 - vpp s/(n+d) lovl bit = ?0?, ? 6dbfs, r l =32 ? (po=15mw) 40 60 - db lovl bit = ?0?, ? 3dbfs, r l =32 ? (po=30mw) - 60 - db s/n (a-weighted) 85 95 - dbfs load resistance 32 - - ? load capacitance - - 30 pf note 13. input voltage is proportional to avdd voltage. vin = 0.06 x avdd (typ)@mgain1-0 bits = ?01? (+20db), vin = 0.6 x avdd(typ)@mgain1-0 bits = ?00? (0db) note 14. mgain1-0 bits = ?01? (+20db) note 15. mgain1-0 bits = ?00? (0db) note 16. output voltage is proportional to avdd voltage. vout = 0.6 x avdd (typ)@lovl bit = ?0?. note 17. output voltage is proportional to avdd voltage. vout = (rcp) ? (rcn) = 0.59 x avdd (typ)@lovl bit = ?0?, ? 6dbfs.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 9 - parameter min typ max units headphone-amp characteristics: dac hpl/hpr pins, alc=off, ivol=0db, dvol=0db, vbat bit = ?0?; unless otherwise specified. output voltage (note 18) hpg bit = ?0?, 0dbfs, hvdd=3.3v, r l =22.8 ? 1.58 1.98 2.38 vpp hpg bit = ?1?, 0dbfs, hvdd=5v, r l =100 ? 2.40 3.00 3.60 vpp hpg bit = ?1?, 0dbfs, hvdd=3.3v, r l =16 ? (po=62mw) - 1.0 - vrms hpg bit = ?1?, 0dbfs, hvdd=5v, r l =16 ? (po=70mw) - 1.06 - vrms s/(n+d) hpg bit = ?0?, ? 3dbfs, hvdd=3.3v, r l =22.8 ? 60 70 - dbfs hpg bit = ?1?, ? 3dbfs, hvdd=5v, r l =100 ? - 80 - dbfs hpg bit = ?1?, 0dbfs, hvdd=3.3v, r l =16 ? (po=62mw) - 20 - dbfs hpg bit = ?1?, 0dbfs, hvdd=5v, r l =16 ? (po=70mw) - 70 - dbfs (note 19) 80 90 - db s/n (a-weighted) (note 20) - 90 - db interchannel isolation (note 19), pmainl2/r2/l3/r3 bits = ?1? 65 75 - db (note 19), pmainl2/r2/l3/r3 bits = ?0? - 75 - db (note 20) - 80 - db (note 19) - 0.1 0.8 db interchannel gain mismatch (note 20) - 0.1 0.8 db load resistance 16 - - ? c1 in figure 2 - - 30 pf load capacitance c2 in figure 2 - - 300 pf note 18. output voltage is proportional to avdd voltage. vout = 0.6 x avdd(typ)@hpg bit = ?0?, 0.91 x avdd(typ)@hpg bit = ?1?. note 19. hpg bit = ?0?, hvdd=3.3v, r l =22.8 ? . note 20. hpg bit = ?1?, hvdd=5v, r l =100 ? . hpl/hpr pin hp-amp 47 f c1 16 ? c2 6.8 ? 0.22 f 10 ? measurement point figure 2. headphone-amp output circuit
asahi kasei [ak4643] ms0476-e-01 2006/10 - 10 - parameter min typ max units speaker-amp characteristics: dac spp/spn pins, alc=off, ivol=0db, dvol=0db, r l =8 ? , btl, hvdd=3.3v; unless otherwise specified. output voltage (note 21) spkg1-0 bits = ?00?, ? 0.5dbfs (po=150mw) - 3.11 - vpp spkg1-0 bits = ?01?, ? 0.5dbfs (po=240mw) 3.13 3.92 4.71 vpp hvdd=5v, spkg1-0 bits = ?11?, 0dbfs (po=1w) - 2.83 - vrms line input ? spp/spn pins, hvdd=5v, spkg1-0 bits = ?11?, ? 1.5dbv input (po=1.2w) - 3.1 - vrms s/(n+d) spkg1-0 bits = ?00?, ? 0.5dbfs (po=150mw) - 60 - db spkg1-0 bits = ?01?, ? 0.5dbfs (po=240mw) 20 50 - db hvdd=5v, spkg1-0 bits = ?11?, 0dbfs (po=1w) - 30 - db line input ? spp/spn pins, hvdd=5v, spkg1-0 bits = ?11?, ? 1.5dbv input (po=1.2w) - 20 - db s/n (a-weighted) 80 90 - db load resistance 8 - - ? load capacitance - - 30 pf speaker-amp characteristics: dac spp/spn pins, alc=off, ivol=0db, dvol=0db, c l =3 f, r series =10 ? x 2, btl, hvdd=5.0v; unless otherwise specified. output voltage spkg1-0 bits = ?10?, 0dbfs - 6.75 - vpp (note 21) spkg1-0 bits = ?11?, 0dbfs 6.80 8.50 10.20 vpp s/(n+d) spkg1-0 bits = ?10?, 0dbfs - 60 - db (note 22) spkg1-0 bits = ?11?, 0dbfs 40 50 - db s/n (a-weighted) 80 90 - db load resistance (note 23) 50 - - ? load capacitance (note 23) - - 3 f mono input: min pin (ain3 bit = ?0?; external input resistance=20k ? ) maximum input voltage (note 24) - 1.98 - vpp gain (note 25) min ? lout/rout lovl bit = ?0? ? 4.5 0 +4.5 db lovl bit = ?1? - +2 - db min ? hpl/hpr hpg bit = ?0? ? 24.5 ? 20 ? 15.5 db hpg bit = ?1? - ? 16.4 - db min ? spp/spn alc bit = ?0?, spkg1-0 bits = ?00? ? 0.07 +4.43 +8.93 db alc bit = ?0?, spkg1-0 bits = ?01? - +6.43 - db alc bit = ?0?, spkg1-0 bits = ?10? - +10.65 - db alc bit = ?0?, spkg1-0 bits = ?11? - +12.65 - db alc bit = ?1?, spkg1-0 bits = ?00? - +6.43 - db alc bit = ?1?, spkg1-0 bits = ?01? - +8.43 - db alc bit = ?1?, spkg1-0 bits = ?10? - +12.65 - db alc bit = ?1?, spkg1-0 bits = ?11? - +14.65 - db note 21. output voltage is proportional to avdd voltage. vout = 0.94 x avdd(typ)@spkg1-0 bits = ?00?, 1.19 x avdd(typ)@spkg1-0 bits = ?01?, 2.05 x avdd(typ)@spkg1-0 bits = ?10?, 2.58 x avdd(typ)@spkg1-0 bits = ?11? at full-differential output. note 22. in case of measuring at spp and spn pins. note 23. load impedance is total impedance of series resistance (r series ) and piezo speaker impedance at 1khz in figure 61. 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 24. maximum voltage is in proportion to both avdd and external input resistance (rin). vin = 0.6 x avdd x rin / 20k ? (typ). note 25. the gain is in inverse proportion to external input resistance.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 11 - parameter min typ max units stereo input: lin2/rin2 pins; lin3/rin3 pins (ain3 bit = ?1?) maximum input voltage (note 26) - 1.98 - vpp gain lin/rin ? lout/rout lovl bit = ?0? ? 4.5 0 +4.5 db lovl bit = ?1? - +2 - db lin/rin ? hpl/hpr hpg bit = ?0? ? 4.5 0 +4.5 db hpg bit = ?1? - +3.6 - db lin/rin ? spp/spn alc bit = ?0?, spkg1-0 bits = ?00? ? 6.09 ? 1.59 +2.91 db alc bit = ?0?, spkg1-0 bits = ?01? - +0.41 - db alc bit = ?0?, spkg1-0 bits = ?10? - +4.63 - db alc bit = ?0?, spkg1-0 bits = ?11? - +6.63 - db alc bit = ?1?, spkg1-0 bits = ?00? - +0.41 - db alc bit = ?1?, spkg1-0 bits = ?01? - +2.41 - db alc bit = ?1?, spkg1-0 bits = ?10? - +6.63 - db alc bit = ?1?, spkg1-0 bits = ?11? - +8.63 - db power supplies: power-up (pdn pin = ?h?) all circuit power-up: avdd+dvdd (note 27) - 16 24 ma hvdd: hp-amp normal operation no output (note 28) - 5 8 ma hvdd: spk-amp normal operation no output (note 29) - 11 30 ma power-down (pdn pin = ?l?) (note 30) avdd+dvdd+hvdd - 10 100 a note 26. output voltage is proportional to avdd voltage. vout = 0.6 x avdd (typ). note 27. pll master mode (mcki=12.288mhz) and pmadl = pmadr = pmdac = pmlo = pmhpl = pmhpr = pmspk = pmvcm = pmpll = mcko = pmmin = pmmp = m/s bits = ?1?. mpwr pin outputs 0ma. avdd=12ma(typ), dvdd=4ma(typ). ext slave mode (pmpll = m/s = mcko bits = ?0?): avdd=11ma(typ), dvdd=3ma(typ). note 28. pmadl = pmadr = pmdac = pmlo = pmhpl = pmhpr = pmvcm = pmpll = pmmin bits = ?1? and pmspk bit = ?0?. note 29. pmadl = pmadr = pmdac = pmlo = pmspk = pmvcm = pmpll = pmmin bits = ?1? and pmhpl = pmhpr bits = ?0?. note 30. all digital input pins are fixed to dvdd or dvss.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 12 - ? power consumption for each operation mode condtions: ta=25 c; avdd=dvdd=hvdd=3.3v; avss=dvss=hvss=0v; fs=44.1khz, external slave mode, bick=64fs; 1khz, 0dbfs input; headphone & speaker = no output power management bit 00h 01h 10h 20h mode pmvcm pmmin pmspk pmlo pmdac pmadl pmhpl pmhpr pmadr pmmicl pmmicr pmainl2 pmainr2 pmainl3 pmainr3 avdd [ma] dvdd [ma] hvdd [ma] total power [mw] all power-down 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 dac ? lineout 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 5.4 1.8 0.2 24.4 dac ? hp 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 3.7 1.8 5 34.7 dac ? spk 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 3.7 1.8 11 54.5 lin2/rin2 ? hp 1 0 0 0 0 0 1 1 0 0 0 1 1 0 0 1.9 0 5 22.8 lin2/rin2 ? spk 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 1.9 0 11 42.6 min ? rcv 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 3.1 0 0.2 10.9 lin2/rin2 ? adc 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 5.6 1.6 0.2 24.4 lin1 (mono) ? adc 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 3.4 1.5 0.2 16.8 lin2/rin2 ? adc & dac ? hp 1 0 0 0 1 1 1 1 1 0 0 0 0 0 0 8.1 2.8 5 52.5 table 1. power consumption for each operation mode (typ)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 13 - filter characteristics (ta=25 c; avdd, dvdd=2.6 3.6v; hvdd=2.6 5.25v; fs=44.1khz; dem=off; fil1=fil3=eq=off) parameter symbol min typ max units adc digital filter (decimation lpf): passband (note 31) 0.16db pb 0 - 17.3 khz ? 0.66db - 19.4 - khz ? 1.1db - 19.9 - khz ? 6.9db - 22.1 - khz stopband sb 26.1 - - khz passband ripple pr - - 0.1 db stopband attenuation sa 73 - - db group delay (note 32) gd - 19 - 1/fs group delay distortion ? gd - 0 - s adc digital filter (hpf): (note 33) frequency response (note 31) ? 3.0db fr - 0.9 - hz ? 0.5db - 2.7 - hz ? 0.1db - 6.0 - hz dac digital filter (lpf): passband (note 31) 0.1db pb 0 - 19.6 khz ? 0.7db - 20.0 - khz ? 6.0db - 22.05 - khz stopband sb 25.2 - - khz passband ripple pr - - 0.01 db stopband attenuation sa 59 - - db group delay (note 32) gd - 25 - 1/fs dac digital filter (lpf) + scf: frequency response: 0 20.0khz fr - 1.0 - db dac digital filter (hpf): (note 33) frequency response (note 31) ? 3.0db fr - 0.9 - hz ? 0.5db - 2.7 - hz ? 0.1db - 6.0 - hz boost filter: (note 34) min 20hz fr - 5.76 - db 100hz - 2.92 - db 1khz - 0.02 - db mid 20hz fr - 10.80 - db 100hz - 6.84 - db 1khz - 0.13 - db max 20hz fr - 16.06 - db 100hz - 10.54 - db frequency response 1khz - 0.37 - db note 31. the passband and stopband frequencies scale with fs (system sampling rate). for example, dac is pb=0.454*fs (@ ? 0.7db). each response refers to that of 1khz. note 32. the calculated delay time caused by digital filtering. this time is from the input of analog signal to setting of the 16-bit data of both channels from the input register to the output register of the adc. this time includes the group delay of the hpf. for the dac, this time is from setting the 16-bit data of both channels from the input register to the output of analog signal. group delay of dac part is 25/fs(typ) at pmadl=pmadr bits = ?0?. note 33. when pmadl bit = ?1? or pmadr bit = ?1?, the hpf of adc is enabled but the hpf of dac is disabled. when pmadl=pmadr bits = ?0?, pmdac bit = ?1?, the hpf of dac is enabled but the hpf of adc is disabled. note 34. these frequency responses scale with fs. if a high-le vel and low frequency signal is input, the analog output clips to the full-scale.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 14 - dc characteristics (ta=25 c; avdd, dvdd=2.6 3.6v; hvdd=2.6 5.25v) parameter symbol min typ max units high-level input voltage vih 70%dvdd - - v low-level input voltage vil - - 30%dvdd v high-level output voltage (iout= ? 200 a) voh dvdd ? 0.2 - - v low-level output voltage (except sda pin: iout=200 a) vol - - 0.2 v (sda pin: iout=3ma) vol - - 0.4 v input leakage current iin - - 10 a switching characteristics (ta=25 c; avdd, dvdd=2.6 3.6v; hvdd=2.6 5.25v; c l =20pf; unless otherwise specified) parameter symbol min typ max units pll master mode (pll reference clock = mcki pin) mcki input timing frequency fclk 11.2896 - 27 mhz pulse width low tclkl 0.4/fclk - - ns pulse width high tclkh 0.4/fclk - - ns mcko output timing frequency fmck 0.2352 - 12.288 mhz duty cycle except 256fs at fs=32khz, 29.4khz dmck 40 50 60 % 256fs at fs=32khz, 29.4khz dmck - 33 - % lrck output timing frequency fs 7.35 - 48 khz dsp mode: pulse width high tlrckh - tbck - ns except dsp mode: duty cycle duty - 50 - % bick output timing period bcko bit = ?0? tbck - 1/(32fs) - ns bcko bit = ?1? tbck - 1/(64fs) - ns duty cycle dbck - 50 - % pll slave mode (pll reference clock = mcki pin) mcki input timing frequency fclk 11.2896 - 27 mhz pulse width low tclkl 0.4/fclk - - ns pulse width high tclkh 0.4/fclk - - ns mcko output timing frequency fmck 0.2352 - 12.288 mhz duty cycle except 256fs at fs=32khz, 29.4khz dmck 40 50 60 % 256fs at fs=32khz, 29.4khz dmck - 33 - % lrck input timing frequency fs 7.35 - 48 khz dsp mode: pulse width high tlrckh tbck ? 60 - 1/fs ? tbck ns except dsp mode: duty cycle duty 45 - 55 % bick input timing period tbck 1/(64fs) - 1/(32fs) ns pulse width low tbckl 0.4 x tbck - - ns pulse width high tbckh 0.4 x tbck - - ns
asahi kasei [ak4643] ms0476-e-01 2006/10 - 15 - parameter symbol min typ max units pll slave mode (pll reference clock = lrck pin) lrck input timing frequency fs 7.35 - 48 khz dsp mode: pulse width high tlrckh tbck ? 60 - 1/fs ? tbck ns except dsp mode: duty cycle duty 45 - 55 % bick input timing period tbck 1/(64fs) - 1/(32fs) ns pulse width low tbckl 130 - - ns pulse width high tbckh 130 - - ns pll slave mode (pll reference clock = bick pin) lrck input timing frequency fs 7.35 - 48 khz dsp mode: pulse width high tlrckh tbck ? 60 - 1/fs ? tbck ns except dsp mode: duty cycle duty 45 - 55 % bick input timing period pll3-0 bits = ?0010? tbck - 1/(32fs) - ns pll3-0 bits = ?0011? tbck - 1/(64fs) - ns pulse width low tbckl 0.4 x tbck - - ns pulse width high tbckh 0.4 x tbck - - ns external slave mode mcki input timing frequency 256fs fclk 1.8816 - 12.288 mhz 512fs fclk 3.7632 - 13.312 mhz 1024fs fclk 7.5264 - 13.312 mhz pulse width low tclkl 0.4/fclk - - ns pulse width high tclkh 0.4/fclk - - ns lrck input timing frequency 256fs fs 7.35 - 48 khz 512fs fs 7.35 - 26 khz 1024fs fs 7.35 - 13 khz dsp mode: pulse width high tlrckh tbck ? 60 - 1/fs ? tbck ns except dsp mode: duty cycle duty 45 - 55 % bick input timing period tbck 312.5 - - ns pulse width low tbckl 130 - - ns pulse width high tbckh 130 - - ns external master mode mcki input timing frequency 256fs fclk 1.8816 - 12.288 mhz 512fs fclk 3.7632 - 13.312 mhz 1024fs fclk 7.5264 - 13.312 mhz pulse width low tclkl 0.4/fclk - - ns pulse width high tclkh 0.4/fclk - - ns lrck output timing frequency fs 7.35 - 48 khz dsp mode: pulse width high tlrckh - tbck - ns except dsp mode: duty cycle duty - 50 - % bick output timing period bcko bit = ?0? tbck - 1/(32fs) - ns bcko bit = ?1? tbck - 1/(64fs) - ns duty cycle dbck - 50 - %
asahi kasei [ak4643] ms0476-e-01 2006/10 - 16 - parameter symbol min typ max units audio interface timing (dsp mode) master mode lrck ? ? to bick ? ? (note 35) tdbf 0.5 x tbck ? 40 0.5 x tbck 0.5 x tbck + 40 ns lrck ? ? to bick ? ? (note 36) tdbf 0.5 x tbck ? 40 0.5 x tbck 0.5 x tbck + 40 ns bick ? ? to sdto (bckp bit = ?0?) tbsd ? 70 - 70 ns bick ? ? to sdto (bckp bit = ?1?) tbsd ? 70 - 70 ns sdti hold time tsdh 50 - - ns sdti setup time tsds 50 - - ns slave mode lrck ? ? to bick ? ? (note 35) tlrb 0.4 x tbck - - ns lrck ? ? to bick ? ? (note 36) tlrb 0.4 x tbck - - ns bick ? ? to lrck ? ? (note 35) tblr 0.4 x tbck - - ns bick ? ? to lrck ? ? (note 36) tblr 0.4 x tbck - - ns bick ? ? to sdto (bckp bit = ?0?) tbsd - - 80 ns bick ? ? to sdto (bckp bit = ?1?) tbsd - - 80 ns sdti hold time tsdh 50 - - ns sdti setup time tsds 50 - - ns audio interface timing (right/left justified & i 2 s) master mode bick ? ? to lrck edge (note 35) tmblr ? 40 - 40 ns lrck edge to sdto (msb) (except i 2 s mode) tlrd ? 70 - 70 ns bick ? ? to sdto tbsd ? 70 - 70 ns sdti hold time tsdh 50 - - ns sdti setup time tsds 50 - - ns slave mode lrck edge to bick ? ? (note 36) tlrb 50 - - ns bick ? ? to lrck edge (note 37) tblr 50 - - ns lrck edge to sdto (msb) (except i 2 s mode) tlrd - - 80 ns bick ? ? to sdto tbsd - - 80 ns sdti hold time tsdh 50 - - ns sdti setup time tsds 50 - - ns note 35. msbs, bckp bits = ?00? or ?11?. note 36. msbs, bckp bits = ?01? or ?10?. note 37. bick rising edge must not occur at the same time as lrck edge.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 17 - parameter symbol min typ max units control interface timing (3-wire serial mode) cclk period tcck 200 - - ns cclk pulse width low tcckl 80 - - ns pulse width high tcckh 80 - - ns cdti setup time tcds 40 - - ns cdti hold time tcdh 40 - - ns csn ?h? time tcsw 150 - - ns csn ? ? to cclk ? ? tcss 50 - - ns cclk ? ? to csn ? ? tcsh 50 - - ns control interface timing (i 2 c bus mode): scl clock frequency fscl - - 400 khz bus free time between transmissions tbuf 1.3 - - s start condition hold time (prior to first clock pulse) thd:sta 0.6 - - s clock low time tlow 1.3 - - s clock high time thigh 0.6 - - s setup time for repeated start condition tsu:sta 0.6 - - s sda hold time from scl falling (note 39) thd:dat 0 - - s sda setup time from scl rising tsu:dat 0.1 - - s rise time of both sda and scl lines tr - - 0.3 s fall time of both sda and scl lines tf - - 0.3 s capacitive load on bus cb - - 400 pf pulse width of spike noise suppressed by input filter tsp 0 - 50 ns power-down & reset timing pdn pulse width (note 40) tpd 150 - - ns pmadl or pmadr ? ? to sdto valid (note 41) tpdv - 1059 - 1/fs note 38. i 2 c is a registered trademark of philips semiconductors. note 39. data must be held long enough to bridge the 300ns-transition time of scl. note 40. the ak4643 can be reset by the pdn pin = ?l?. note 41. this is the count of lrck ? ? from the pmadl or pmadr bit = ?1?.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 18 - ? timing diagram lrck 1/fclk mcki tclkh tclkl vih vil 1/fmck mcko tmckl 50%dvdd 1/fs tlrckh tlrckl 50%dvdd duty = tlrckh x fs x 100 tlrckl x fs x 100 dmck = tmckl x fmck x 100 figure 3. clock timing (pll/ext master mode) note 42. mcko is not available at ext master mode. lrck bick 50%dvdd sdto 50%dvdd tbsd dbck tdbf 50%dvdd tlrckh tbck msb bick 50%dvdd (bckp = "0") (bckp = "1") tsds sdti vil tsdh vih figure 4. audio interface timing (pll/ext master mode, dsp mode, msbs = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 19 - lrck bick 50%dvdd sdto 50%dvdd tbsd dbck tdbf 50%dvdd tlrckh tbck msb bick 50%dvdd (bckp = "1") (bckp = "0") tsds sdti vil tsdh vih figure 5. audio interface timing (pll/ext master mode, dsp mode, msbs = ?1?) lrck 50%dvdd bick 50%dvdd sdto 50%dvdd tbsd tsds sdti vil tsdh vih tblr tbckl tlrd figure 6. audio interface timing (pll/ext master mode, except dsp mode)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 20 - 1/fs lrck vih tlrckh vil tbck bick tbckh tbckl vih vil tblr bick vih vil (bckp = "0") (bckp = "1") figure 7. clock timing (pll slave mode; pll reference clock = lrck or bick pin, dsp mode, msbs = ?0?) 1/fs lrck vih tlrckh vil tbck bick tbckh tbckl vih vil tblr bick vih vil (bckp = "1") (bckp = "0") figure 8. clock timing (pll slave mode; pll reference clock = lrck or bick pin, dsp mode, msbs = ?1?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 21 - 1/fclk mcki tclkh tclkl vih vil 1/fs lrck vih vil tbck bick tbckh tbckl vih vil tlrckh tlrckl fmck mcko tmckl 50%dvdd dmck = tmckl x fmck x 100 duty = tlrckh x fs x 100 = tlrckl x fs x 100 figure 9. clock timing (pll slave mode; pll reference clock = mcki pin, except dsp mode) lrck bick sdto 50%dvdd tbsd tsds sdti vil tsdh vih tlrb tlrckh msb msb vil vih vil vih bick vil vih (bckp = "0") (bckp = "1") figure 10. audio interface timing (pll slave mode, dsp mode; msbs = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 22 - lrck bick sdto 50%dvdd tbsd tsds sdti vil tsdh vih tlrb tlrckh msb msb vil vih vil vih bick vil vih (bckp = "1") (bckp = "0") figure 11. audio interface timing (pll slave mode, dsp mode, msbs = ?1?) 1/fclk mcki tclkh tclkl vih vil 1/fs lrck vih vil tbck bick tbckh tbckl vih vil tlrckh tlrckl duty = tlrckh x fs x 100 tlrckl x fs x 100 figure 12. clock timing (ext slave mode)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 23 - lrck vih vil tblr bick vih vil tlrd sdto 50%dvdd tlrb tbsd tsds sdti vil tsdh vih msb figure 13. audio interface timing (pll/ext slave mode, except dsp mode) csn vih vil tcss cclk tcds vih vil cdti vih tcckh tcckl tcdh vil c1 c0 r/w tcck figure 14. write command input timing
asahi kasei [ak4643] ms0476-e-01 2006/10 - 24 - csn vih vil tcsh cclk vih vil cdti vih tcsw vil d1 d0 d2 figure 15. write data input timing stop start start stop thigh thd:dat sda scl tbuf tlow tr tf tsu:dat vih vil thd:sta tsu:sta vih vil tsu:sto tsp figure 16. i 2 c bus mode timing pmadl bit or pmadr bit tpdv sdto 50%dvdd figure 17. power down & reset timing 1 tpd pdn vil figure 18. power down & reset timing 2
asahi kasei [ak4643] ms0476-e-01 2006/10 - 25 - operation overview ? system clock there are the following four clock modes to interface with external devices (see table 2 and table 3). mode pmpll bit m/s bit pll3-0 bits figure pll master mode (note 43) 1 1 see table 5 figure 19 pll slave mode 1 (pll reference clock: mcki pin) 1 0 see table 5 figure 20 pll slave mode 2 (pll reference clock: lrck or bick pin) 1 0 see table 5 figure 21 figure 22 ext slave mode 0 0 x figure 23 ext master mode 0 1 x figure 24 note 43. if m/s bit = ?1?, pmpll bit = ?0? and mcko bit = ?1? during the setting of pll master mode, the invalid clocks are output from mcko pin when mcko bit is ?1?. table 2. clock mode setting (x: don?t care) mode mcko bit mcko pin mcki pin bick pin lrck pin 0 ?l? pll master mode 1 selected by ps1-0 bits selected by pll3-0 bits output (selected by bcko bit) output (1fs) 0 ?l? pll slave mode (pll reference clock: mcki pin) 1 selected by ps1-0 bits selected by pll3-0 bits input ( 32fs) input (1fs) pll slave mode (pll reference clock: lrck or bick pin) 0 ?l? gnd input (selected by pll3-0 bits) input (1fs) ext slave mode 0 ?l? selected by fs1-0 bits input ( 32fs) input (1fs) ext master mode 0 ?l? selected by fs1-0 bits output (selected by bcko bit) output (1fs) table 3. clock pins state in clock mode ? master mode/slave mode the m/s bit selects either master or slave mode. m/s bit = ?1? selects master mode and ?0? selects slave mode. when the ak4643 is power-down mode (pdn pin = ?l?) and exits reset state, the ak4643 is slave mode. after exiting reset state, the ak4643 goes to master mode by changing m/s bit = ?1?. when the ak4643 is used by master mode, lrck and bick pins are a floating state until m/s bit becomes ?1?. lrck and bick pins of the ak4643 should be pulled-down or pulled-up by the resistor (about 100k ? ) externally to avoid the floating state. m/s bit mode 0 slave mode default 1 master mode table 4. select master/slave mode
asahi kasei [ak4643] ms0476-e-01 2006/10 - 26 - ? pll mode (ain3 bit = ?0?, pmpll bit = ?1?) 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 5, whenever the ak4643 is supplied to a stable clocks after pll is powered-up (pmpll bit = ?0? ?1?) or sampling frequency changes. when ain3 bit = ?1?, the pll is not available. 1) setting of pll mode r and c of vcoc pin mode pll3 bit pll2 bit pll1 bit pll0 bit pll reference clock input pin input frequency r[ ? ] c[f] pll lock time (max) 0 0 0 0 0 lrck pin 1fs 6.8k 220n 160ms default 1 0 0 0 1 n/a - - - - 2 0 0 1 0 bick pin 32fs 10k 4.7n 2ms 10k 10n 4ms 3 0 0 1 1 bick pin 64fs 10k 4.7n 2ms 10k 10n 4ms 4 0 1 0 0 mcki pin 11.2896mhz 10k 4.7n 40ms 5 0 1 0 1 mcki pin 12.288mhz 10k 4.7n 40ms 6 0 1 1 0 mcki pin 12mhz 10k 4.7n 40ms 7 0 1 1 1 mcki pin 24mhz 10k 4.7n 40ms 12 1 1 0 0 mcki pin 13.5mhz 10k 10n 40ms 13 1 1 0 1 mcki pin 27mhz 10k 10n 40ms others others n/a table 5. setting of pll mode (*fs: sampling frequency) 2) setting of sampling frequency in pll mode when pll reference clock input is mcki pin, the sampling frequency is selected by fs3-0 bits as defined in table 6. 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 6. setting of sampling frequency at pmpll bit = ?1? (reference clock = mcki pin) when pll reference clock input is lrck or bick pin, the sampling frequency is selected by fs3 and fs1-0 bits. (see table 7) fs2 bit is ?don?t care?. mode fs3 bit fs2 bit fs1 bit fs0 bit sampling frequency range 0 0 don?t care 0 0 7.35khz fs 8khz default 1 0 don?t care 0 1 8khz < fs 12khz 2 0 don?t care 1 0 12khz < fs 16khz 3 0 don?t care 1 1 16khz < fs 24khz 6 1 don?t care 1 0 24khz < fs 32khz 7 1 don?t care 1 1 32khz < fs 48khz others others n/a table 7. setting of sampling frequency at pmpll bit = ?1? (reference clock = lrck or bick pin)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 27 - ? pll unlock state 1) pll master mode (ain3 bit = ?0?; pmpll bit = ?1?, m/s bit = ?1?) in this mode, lrck and bick pins go to ?l? and irregular frequency clock is output from mcko pins at mcko bit is ?1? before the pll goes to lock state after pmpll bit = ?0? ? ?1?. if mcko bit is ?0?, mcko pin goes to ?l? (see table 8). after the pll is locked, a first period of lrck and bick may be invalid clock, but these clocks return to normal state after a period of 1/fs. when sampling frequency is changed, bick and lrck pins do not output irregular frequency clocks but go to ?l? by setting pmpll bit to ?0?. mcko pin pll state mcko bit = ?0? mcko bit = ?1? bick pin lrck pin after that pmpll bit ?0? ? ?1? ?l? output invalid ?l? output ?l? output pll unlock (except above case) ?l? output invalid invalid invalid pll lock ?l? output see table 10 see table 11 1fs output table 8. clock operation at pll master mode (pmpll bit = ?1?, m/s bit = ?1?) 2) pll slave mode (ain3 bit = ?0?, pmpll bit = ?1?, m/s bit = ?0?) in this mode, an invalid clock is output from mcko pin before the pll goes to lock state after pmpll bit = ?0? ? ?1?. after that, the clock selected by table 10 is output from mcko pin when pll is locked. adc and dac output invalid data when the pll is unlocked. for dac, the output signal should be muted by writing ?0? to dacl, dach and dacs bits. mcko pin pll state 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 9. clock operation at pll slave mode (pmpll bit = ?0?, m/s bit = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 28 - ? pll master mode (ain3 bit = ?0?, pmpll bit = ?1?, m/s bit = ?1?) when an external clock (11.2896mhz, 12mhz, 12.288mhz, 13.5mhz, 24mhz or 27mhz) is input to mcki pin, the mcko, bick and lrck clocks are generated by an internal pll circuit. the mcko output frequency is selected by ps1-0 bits (see table 10) and the output is enabled by mcko bit. the bick output frequency is selected between 32fs or 64fs, by bcko bit (see table 11). a k4643 dsp or p mcko bick lrck sdto sdti bclk lrck sdti sdto mcki 1fs 32fs, 64fs 256fs/128fs/64fs/32fs 11.2896mhz, 12mhz, 12.288mhz 13.5mhz, 24mhz, 27mhz mclk figure 19. pll master mode mode ps1 bit ps0 bit mcko pin 0 0 0 256fs default 1 0 1 128fs 2 1 0 64fs 3 1 1 32fs table 10. mcko output frequency (pll mode, mcko bit = ?1?) bcko bit bick output frequency 0 32fs default 1 64fs table 11. bick output frequency at master mode
asahi kasei [ak4643] ms0476-e-01 2006/10 - 29 - ? pll slave mode (ain3 bit = ?0?, pmpll bit = ?1?, m/s bit = ?0?) a reference clock of pll is selected among the input clocks to mcki, bick or lrck pin. the required clock to the ak4643 is generated by an internal pll circuit. input frequency is selected by pll3-0 bits (see table 5). a) pll reference clock: mcki pin bick and lrck inputs should be synchronized with mcko output. the phase between mcko and lrck dose not matter. mcko pin outputs the frequency selected by ps1-0 bits (see table 10) and the output is enabled by mcko bit. sampling frequency can be selected by fs3-0 bits (see table 6). a k4643 dsp or p mcko bick lrck sdto sdti bclk lrck sdti sdto mcki 1fs 32fs 11.2896mhz, 12mhz, 12.288mhz 13.5mhz, 24mhz, 27mhz mclk 256fs/128fs/64fs/32fs figure 20. pll slave mode 1 (pll reference clock: mcki pin)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 30 - b) pll reference cloc k: bick or lrck pin sampling frequency corresponds to 7.35khz to 48khz by changing fs3-0 bits (see table 7). a k4643 dsp or p mcki bick lrck sdto sdti bclk lrck sdti sdto mcko 1fs 32fs or 64fs figure 21. pll slave mode 2 (pll reference clock: bick pin) a k4643 dsp or p mcki bick lrck sdto sdti bclk lrck sdti sdto mcko 1fs 32fs figure 22. pll slave mode 2 (pll reference clock: lrck pin) the external clocks (mcki, bick and lrck) should always be present whenever the adc or dac is in operation (pmadl bit = ?1?, pmadr bit = ?1? or pmdac bit = ?1?). if these clocks are not provided, the ak4643 may draw excess current and it is not possible to operate properly because utilizes dynamic refreshed logic internally. if the external clocks are not present, the adc and dac should be in the power-down mode (pmadl=pmadr=pmdac bits = ?0?).
asahi kasei [ak4643] ms0476-e-01 2006/10 - 31 - ? ext slave mode (pmpll bit = ?0?, m/s bit = ?0?) when pmpll bit is ?0?, the ak4643 becomes ext mode. master clock is input from mcki pin, the internal pll circuit is not operated. this mode is compatible with i/f of the normal audio codec. the clocks required to operate are mcki (256fs, 512fs or 1024fs), lrck (fs) and bick ( 32fs). the master clock (mcki) should be synchronized with lrck. the phase between these clocks does not matter. the input frequency of mcki is selected by fs1-0 bits (see table 12). mode fs3-2 bits fs1 bit fs0 bit mcki input frequency sampling frequency range 0 don?t care 0 0 256fs 7.35khz 48khz default 1 don?t care 0 1 1024fs 7.35khz 13khz 2 don?t care 1 0 256fs 7.35khz 48khz 3 don?t care 1 1 512fs 7.35khz 26khz table 12. mcki frequency at ext slave mode (pmpll bit = ?0?, m/s bit = ?0?) 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. the s/n of the dac output through lout/rout pins at fs=8khz is shown in table 13. mcki s/n (fs=8khz, 20khzlpf + a-weighted) 256fs 83db 512fs 93db 1024fs 93db table 13. relationship between mcki and s/n of lout/rout pins the external clocks (mcki, bick and lrck) should always be present whenever the adc or dac is in operation (pmadl bit = ?1?, pmadr bit = ?1? or pmdac bit = ?1?). if these clocks are not provided, the ak4643 may draw excess current and it is not possible to operate properly because utilizes dynamic refreshed logic internally. if the external clocks are not present, the adc and dac should be in the power-down mode (pmadl=pmadr=pmdac bits = ?0?). a k4643 dsp or p mcki bick lrck sdto sdti bclk lrck sdti sdto mcko 1fs 32fs mclk 256fs, 512fs or 1024fs figure 23. ext slave mode
asahi kasei [ak4643] ms0476-e-01 2006/10 - 32 - ? ext master mode (pmpll bit = ?0?, m/s bit = ?1?) the ak4643 becomes ext master mode by setting pmpll bit = ?0? and m/s bit = ?1?. master clock is input from 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 (see table 14). mode fs3-2 bits fs1 bit fs0 bit mcki input frequency sampling frequency range 0 don?t care 0 0 256fs 7.35khz 48khz default 1 don?t care 0 1 1024fs 7.35khz 13khz 2 don?t care 1 0 256fs 7.35khz 48khz 3 don?t care 1 1 512fs 7.35khz 26khz table 14. mcki frequency at ext master mode (pmpll bit = ?0?, m/s bit = ?1?) 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. the s/n of the dac output through lout/rout pins at fs=8khz is shown in table 15. mcki s/n (fs=8khz, 20khzlpf + a-weighted) 256fs 83db 512fs 93db 1024fs 93db table 15. relationship between mcki and s/n of lout/rout pins mcki should always be present whenever the adc or dac is in operation (pmadl bit = ?1?, pmadr bit = ?1? or pmdac bit = ?1?). if mcki is not provided, the ak4643 may draw excess current and it is not possible to operate properly because utilizes dy namic refreshed logic internally . if mcki is not present, th e adc and dac s hould be in the power-down mode (pmadl=pmadr=pmdac bits = ?0?). a k4643 dsp or p mcki bick lrck sdto sdti bclk lrck sdti sdto mcko 1fs 32fs or 64fs mclk 256fs, 512fs or 1024fs figure 24. ext master mode bcko bit bick output frequency 0 32fs default 1 64fs table 16. bick output frequency at master mode
asahi kasei [ak4643] ms0476-e-01 2006/10 - 33 - ? system reset upon power-up, the ak4643 should be reset by bringing the pdn pin = ?l?. this ensures that all internal registers reset to their initial values. the adc enters an initialization cycle that starts when the pmadl or pmadr bit is changed from ?0? to ?1? at pmdac bits is ?0?. the initialization cycle time is 1059/fs=24ms@fs=44.1khz. 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. when pmdac bit is ?1?, the adc does not require an initialization cycle. the dac enters an initialization cycle that starts when the pmdac bit is changed from ?0? to ?1? at pmadl and pmadr bits are ?0?. the initialization cycle time is 1059/fs=24ms@fs=44.1khz. during the initialization cycle, the dac input digital data of both channels are internally forced to a 2?s compliment, ?0?. the dac output reflects the digital input data after the initialization cycle is complete. when pmadl or pmadr bit is ?1?, the dac does not require an initialization cycle. ? audio interface format four types of data formats are available and are selected by setting the dif1-0 bits (seetable 17). 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. lrck and bick are output from the ak4643 in master mode, but must be input to the ak4643 in slave mode. mode dif1 bit dif0 bit sdto (adc) sdti (dac) bick figure 0 0 0 dsp mode dsp mode 32fs table 18 1 0 1 msb justified lsb justified 32fs figure 29 2 1 0 msb justified msb justified 32fs figure 30 default 3 1 1 i 2 s compatible i 2 s compatible 32fs figure 31 table 17. audio interface format in modes 1, 2 and 3, the sdto is clocked out on the falling edge (? ?) of bick and the sdti is latched on the rising edge (? ?). in modes 0 (dsp mode), the audio i/f timing is changed by bckp and msbs bits (table 18). dif1 dif0 msbs bckp audio interface format figure 0 0 msb of sdto is output by the rising edge (? ?) of the first bick after the rising edge (? ?) of lrck. msb of sdti is latched by the falling edge (? ?) of the bick just after the output timing of sdto?s msb. figure 25 default 0 1 msb of sdto is output by the falling edge (? ?) of the first bick after the rising edge (? ?) of lrck. msb of sdti is latched by the rising edge (? ?) of the bick just after the output timing of sdto?s msb. figure 26 1 0 msb of sdto is output by next rising edge (? ?) of the falling edge (? ?) of the first bick after the rising edge (? ?) of lrck. msb of sdti is latched by the falling edge (? ?) of the bick just after the output timing of sdto?s msb. figure 27 0 0 1 1 msb of sdto is output by next falling edge (? ?) of the rising edge (? ?) of the first bick after the rising edge (? ?) of lrck. msb of sdti is latched by the rising edge (? ?) of the bick just after the output timing of sdto?s msb. figure 28 table 18. audio interface format in mode 0 if 16-bit data that adc outputs is converted to 8-bit data by removing lsb 8-bit, ? ? 1? at 16bit data is converted to ? ? 1? at 8-bit data. and when the dac playbacks this 8-bit data, ? ? 1? at 8-bit data w ill be converted to ? ? 256? at 16-bit data and this is a large offset. this offset can be removed by addi ng the offset of ?128? to 16-bit data before converting to 8-bit data.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 34 - lrck bick ( 32fs ) sdto(o) 15 0 1 8 9 11 12 14 15 16 17 24 25 27 26 30 31 0 0 15 5 8 7 1 43 10 13 2 6 0 15 5 87 1 4 3 2 6 29 26 0 2 14 14 18 bick ( 64fs ) sdto(o) 15 0 1 14 15 17 18 30 31 32 33 46 47 49 50 62 63 15 2 1 16 0 15 21 0 48 15:msb, 0:lsb 1/fs 2 14 14 34 lch lch rch rch sdti(i) 0 15 5 8 7 1 432 6 0 15 5 87 1 4 3 2 60 14 14 lch rch sdti(i) 15 2 1 0 15 210 14 14 lch rch lrck (master) (slave) figure 25. mode 0 timing (bckp = ?0?, msbs = ?0?) rch lch bick ( 32fs ) sdto(o) 15 0 1 8 9 11 12 14 15 16 17 24 25 27 26 30 31 0 0 15 5 8 7 1 43 10 13 2 6 0 15 5 87 1 4 3 2 6 29 26 0 2 14 14 18 bick ( 64fs ) sdto(o) 15 0 1 14 15 17 18 30 31 32 33 46 47 49 50 62 63 15 2 1 16 0 15 21 0 48 15:msb, 0:lsb 1/fs 2 14 14 34 lch rch sdti(i) 0 15 5 8 7 1 432 6 0 15 5 87 1 4 3 2 60 14 14 lch rch sdti(i) 15 2 1 0 15 210 14 14 lch rch lrck lrck (master) (slave) figure 26. mode 0 timing (bckp = ?1?, msbs = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 35 - bick ( 32fs ) sdto(o) 15 0 1 8 9 11 12 14 15 16 17 24 25 27 26 30 31 0 0 15 5 8 7 1 43 10 13 2 6 0 15 5 87 1 4 3 2 6 29 26 0 2 14 14 18 bick ( 64fs ) sdto(o) 15 0 1 14 15 17 18 30 31 32 33 46 47 49 50 62 63 15 2 1 16 0 15 21 0 48 15:msb, 0:lsb 1/fs 2 14 14 34 lch lch rch rch sdti(i) 0 15 5 8 7 1 432 6 0 15 5 87 1 4 3 2 60 14 14 lch rch sdti(i) 15 2 1 0 15 210 14 14 lch rch lrck lrck (master) (slave) figure 27. mode 0 timing (bckp = ?0?, msbs = ?1?) rch lch bick ( 32fs ) sdto(o) 15 0 1 8 9 11 12 14 15 16 17 24 25 27 26 30 31 0 0 15 5 8 7 1 43 10 13 2 6 0 15 5 87 1 4 3 2 6 29 26 0 2 14 14 18 bick ( 64fs ) sdto(o) 15 0 1 14 15 17 18 30 31 32 33 46 47 49 50 62 63 15 2 1 16 0 15 21 0 48 15:msb, 0:lsb 1/fs 2 14 14 34 lch rch sdti(i) 0 15 5 8 7 1 432 6 0 15 5 87 1 4 3 2 60 14 14 lch rch sdti(i) 15 2 1 0 15 210 14 14 lch rch lrck lrck (master) (slave) figure 28. mode 0 timing (bckp = ?1?, msbs = ?1?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 36 - lrck bick(32fs) sdto(o) sdti(i) 0 15 14 15 14 110 13 13 23 7 76543 210 6543 10 2 9 1112131415 0 12 3 15 14 13 1 0 15 15 76543 210 10 9 1112131415 bick(64fs) 0 116 2 3 17 18 31 0 1 2 3 1 0 16 17 18 31 sdto(o) sdti(i) 15 14 13 don't care 10 1 15 15 210 15 0 15 14 15 14 don't care 15:msb, 0:lsb lch data rch data 15 14 13 76543 10 2 15 14 13 10 figure 29. mode 1 timing lrck bick(32fs) sdto(o) sdti(i) 0 15 14 15 14 110 13 13 23 7 76543 210 6543 10 2 9 1112131415 0 12 3 15 14 13 1 0 15 15 76543 210 10 9 1112131415 bick(64fs) 0 116 2 3 17 18 31 0 1 2 3 1 0 16 17 18 31 sdto(o) sdti(i) 15 14 13 don't care 1 15 15 15 0 15 14 15 14 don't care 15:msb, 0:lsb lch data rch data 13 10 13 10 15 15 14 13 76543 10 2 15 14 13 10 figure 30. mode 2 timing
asahi kasei [ak4643] ms0476-e-01 2006/10 - 37 - lrck bick(32fs) sdto(o) sdti(i) 0 15 14 15 14 110 23 7 76543 210 6543 10 2 9 1112131415 0 12 3 15 14 1 0 76543 210 10 9 1112131415 bick(64fs) 0 116 2 3 17 18 31 0 1 2 3 1 0 16 17 18 31 sdto(o) sdti(i) 15 14 don't care 2 15 1 15 15 15 don't care 15:msb, 0:lsb lch data rch data 14 21 14 21 8 8 8 0 0 0 0 0 15 14 76543 210 8 15 14 21 0 figure 31. mode 3 timing ? mono/stereo mode pmadl, pmadr and mix bits set mono/stereo adc operation. when mix bit = ?1?, eq and fil3 bits should be set to ?0?. alc operation (alc bit = ?1?) or digital volume operation (alc bit = ?0?) is applied to the data in table 19. pmadl bit pmadr bit mix bit adc lch data adc rch data 0 0 x all ?0? all ?0? default 0 1 x rch input signal rch input signal 1 0 x lch input signal lch input signal 0 lch input signal rch input signal 1 1 1 (l+r)/2 (l+r)/2 table 19. mono/stereo adc operation (x: don?t care) ? digital high pass filter the adc has a digital high pass filter for dc offset cancellation. the cut-off frequency of the hpf is 0.9hz (@fs=44.1khz) and scales with sampling rate (fs). when pmadl bit = ?1? or pmadr bit = ?1?, the hpf of adc is enabled but the hpf of dac is disabled. when pmadl=pmadr bits = ?0?, pmdac bit = ?1?, the hpf of dac is enabled but the hpf of adc is disabled.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 38 - ? mic/line input selector the ak4643 has input selector for mic-amp. when mdif1 and mdif2 bits are ?0?, inl1-0 and inr1-0 bits select lin1/lin2/lin3 and rin1/rin2/rin3, respectively. when mdif1 and mdif2 bits are ?1?, lin1, rin1, lin2 and rin2 pins become in1 ? , in1+, in2+ and in2 ? pins respectively. in this case, full-differential input is available (figure 33). when full-differential input is used, the signal should not be input to the pins marked by ?x? in table 21. mdif1 bit mdif2 bit inl1 bit inl0 bit inr1 bit inr0 bit lch rch 0 0 0 0 0 0 lin1 rin1 default 0 0 0 0 0 1 lin1 rin2 0 0 0 0 1 0 lin1 rin3 0 0 0 1 0 0 lin2 rin1 0 0 0 1 0 1 lin2 rin2 0 0 0 1 1 0 lin2 rin3 0 0 1 0 0 0 lin3 rin1 0 0 1 0 0 1 lin3 rin2 0 0 1 0 1 0 lin3 rin3 0 1 0 0 0 0 lin1 in2+/ ? 0 1 1 0 0 0 lin3 in2+/ ? 1 0 0 0 0 1 in1+/ ? rin2 1 0 0 0 1 0 in1+/ ? rin3 1 1 0 0 0 0 in1+/ ? in2+/ ? others n/a n/a table 20. mic/line in path select register pin ain3 bit mdif1 bit mdif2 bit lin1 in1 ? rin1 in1+ lin2 in2+ rin2 in2 ? min lin3 vcoc rin3 0 0 0 o o o o o - 0 0 1 o x o o o - 0 1 0 o o x o o - 0 1 1 o o o o o - 1 0 0 o o o o o o 1 0 1 o x o o o x 1 1 0 o o x o x o 1 1 1 o o o o x x table 21. handling of mic/line input pins (?-?: n/a; ?x?: signal should not be input.)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 39 - lin1/in1 ? pin a dc lch rin1/in1+ pin inl1-0 bits mdif1 bit rin2/in2 ? pin a dc rch lin2/in2+ pin inr1-0 bits mdif2 bit ak4643 min/lin3 pin vcoc/rin3 pin lineout, receiver-amp, hp-amp, spk-amp mic-amp mic-amp micl3 bit micr3 bit pmainl3 bit pmainr3 bit pmainl2 bit pmainr2 bit these blocks are not available at pll mode. figure 32. mic/line input selector in1 ? pin in1+ pin mpwr pin ak4643 mic-amp 1k 1k a/d sdto pin figure 33. connection example for full-differential mic input (mdif1/2 bits = ?1?) in case that in1+/ ? pins are used as full-differential mic input and lin2/rin2 pins are used as stereo line input, it is recommended that the following two modes are set by register setting according to each case. mdif1 bit mdif2 bit inl1 bit inl0 bit inr1 bit inr0 bit lch rch 1 0 0 0 0 1 in1+/ ? rin2 0 0 0 1 0 1 lin2 rin2 table 22. mic/line in path select example
asahi kasei [ak4643] ms0476-e-01 2006/10 - 40 - ? mic gain amplifier the ak4643 has a gain amplifier for microphone input. the gain of mic-amp is selected by the mgain1-0 bits (see table 23). the typical input impedance is 60k ? (typ)@mgain1-0 bits = ?00? or 30k ? (typ)@mgain1-0 bits = ?01?, ?10? or ?11?. mgain1 bit mgain0 bit input gain 0 0 0db 0 1 +20db default 1 0 +26db 1 1 +32db table 23. mic input gain ? mic power when pmmp bit = ?1?, the mpwr pin supplies power for the microphone. this output voltage is typically 0.75 x avdd and the load resistance is minimum 0.5k ? . in case of using two sets of stereo mic, the load resistance is minimum 2k ? for each channel. no capacitor must not be connected directly to mpwr pin (see figure 34). pmmp bit mpwr pin 0 hi-z default 1 output table 24. mic power mpwr pin 2k ? mic power microphone lin1 pin microphone rin1 pin microphone lin2 pin microphone rin2 pin 2k ? 2k ? 2k ? figure 34. mic block circuit
asahi kasei [ak4643] ms0476-e-01 2006/10 - 41 - ? digital eq/hpf/lpf the ak4643 performs wind-noise reduction filter, stereo separation emphasis, gain compensation and alc (automatic level control) by digital domain for a/d converted data (f igure 35). fil1, fil3 and eq blocks are iir filters of 1 st order. the filter coefficient of fil3, eq and fil1 blocks can be set to any value. refer to the section of ?alc operation? about alc. when only dac is powered-up, digital eq/hpf/lpf circuit operates at playback path. when only adc is powered-up or both adc and dac are powered-up, digital eq/hpf/lpf circuit operates at recording path. even if the path is switched from recording to playback, the register setting of filter coefficient at recording remains. therefore, fil3, eq, fil1 and gn1-0 bits should be set to ?0? if digital eq/hpf/lpf is not used for playback path. pmadl bit, pmadr bit pmdac bit loop bit status digital eq/hpf/lpf 0 x power-down power-down default ?00? 1 x playback playback path 0 x recording recording path 0 recording & playback recording path ?01?, ?10? or ?11? 1 1 recording monitor playback recording path note 44. stereo separation emphasis circuit is effective only at stereo operation. table 25. digital eq/hpf/lpf cirtcuit setting (x: don?t care) fil3 coefficient also sets the attenuation of the stereo separation emphasis. the combination of gn1-0 bit (table 26) and eq coefficient set the compensation gain. fil1 and fil3 blocks become hpf when f1as and f3as bits are ?0? and become lpf when f1as and f3as bits are ?1?, respectively. when eq and fil1 bits are ?0?, eq and fil1 blocks become ?through? (0db). when fil3 bit is ?0?, fil3 block become ?mute?. when each filter coefficient is changed, each filter should be set to ?through? (?mute? in case of fil3). when mix bit = ?1?, only fil1 is available. in this case, eq and fil3 bits should be set to ?0?. fil3 fil1 eq gain alc gn1-0 +24/+12/0db an y coefficient f1a13-0 f1b13-0 f1as any coefficien t f3a13-0 f3b13-0 f3as any coefficient eqa15-0 eqb13-0 eqc15-0 +12db 0db 0db figure 35. digital eq/hpf/lpf gn1 gn0 gain 0 0 0db default 0 1 +12db 1 x +24db table 26. gain select of gain block (x: don?t care)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 42 - [filter coefficient setting] 1) when fil1 and fil2 are set to ?hpf? fs: sampling frequency fc: cut-off frequency f: input signal frequency k: filter gain [db] (filter gain of should be set to 0db.) register setting fil1: f1as bit = ?0?, f1a[13:0] bits =a, f1b[13:0] bits =b fil3: f3as bit = ?0?, f3a[13:0] bits =a, f3b[13:0] bits =b (msb=f1a13, f1b13, f3a13, f3b13; lsb=f1a0, f1b0, f3a0, f3b0) a = 10 k/20 x 1 / tan ( fc/fs) 1 + 1 / tan ( fc/fs) b = 1 ? 1 / tan ( fc/fs) 1 + 1 / tan ( fc/fs) , transfer function amplitude phase h(z) = a 1 ? z ? 1 1 + bz ? 1 m(f) = a 2 ? 2cos (2 f/fs) 1 + b 2 + 2bcos (2 f/fs) (f) = tan ? f/fs) 1 - b + (b ? 1)cos (2 f/fs) 2) when fil1 and fil2 are set to ?lpf? fs: sampling frequency fc: cut-off frequency f: input signal frequency k: filter gain [db] (filter gain of fil1 should be set to 0db.) register setting fil1: f1as bit = ?1?, f1a[13:0] bits =a, f1b[13:0] bits =b fil3: f3as bit = ?1?, f3a[13:0] bits =a, f3b[13:0] bits =b (msb=f1a13, f1b13, f3a13, f3b13; lsb=f1a0, f1b0, f3a0, f3b0) a = 10 k/20 x 1 1 + 1 / tan ( fc/fs) b = 1 ? 1 / tan ( fc/fs) 1 + 1 / tan ( fc/fs) , transfer function amplitude phase h(z) = a 1 + z ? 1 1 + bz ? 1 m(f) = a 2 + 2cos (2 f/fs) 1 + b 2 + 2bcos (2 f/fs) (f) = tan ? ? 1)sin (2 f/fs) 1 + b + (b+1)cos (2 f/fs)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 43 - 3) eq fs: sampling frequency fc 1 : pole frequency fc 2 : zero-point frequency f: input signal frequency k: filter gain [db] (maximum +12db) register setting eqa[15:0] bits =a, eqb[13:0] bits =b, eqc[15:0] bits =c (msb=eqa15, eqb13, eqc15; lsb=eqa0, eqb0, eqc0) a = 10 k/20 x 1 + 1 / tan ( fc 2 /fs) 1 + 1 / tan ( fc 1 /fs) b = 1 ? 1 / tan ( fc 1 /fs) 1 + 1 / tan ( fc 1 /fs) , c =10 k/20 x 1 ? 1 / tan ( fc 2 /fs) 1 + 1 / tan ( fc 1 /fs) , transfer function amplitude phase h(z) = a + cz ? 1 1 + bz ? 1 m(f) = a 2 + c 2 + 2accos (2 f/fs) 1 + b 2 + 2bcos (2 f/fs) (f) = tan ? ? c)sin (2 f/fs) a + bc + (ab+c)cos (2 f/fs) [translation the filter coefficient calculated by the equations above from real number to binary code (2?s complement)] x = (real number of filter coefficient calculate d by the equati ons 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. [filter coefficient setting example] 1) fil1 block example: hpf, fs=44.1khz, fc=100hz f1as bit = ?0? f1a[13:0] bits = 01 1111 1100 0110 f1b[13:0] bits = 10 0000 0111 0100 2) eq block example: fs=44.1khz, fc 1 =300hz, fc 2 =3000hz, gain=+8db gain[db] +8db fc 1 fc 2 frequency eqa[15:0] bits = 0000 1001 0110 1110 eqb[13:0] bits = 10 0001 0101 1001 eqc[15:0] bits = 1111 1001 1110 1111
asahi kasei [ak4643] ms0476-e-01 2006/10 - 44 - ? alc operation the alc (automatic level control) is done by alc block when alc bit is ?1?. when only dac is powered-up, alc circuit operates at playback path. when only adc is powered-up or both adc and dac are powered-up, alc circuit operates at recording path. pmadl bit, pmadr bit pmdac bit loop bit status alc 0 x power-down power-down default ?00? 1 x playback playback path 0 x recording recording path 0 recording & playback recording path ?01?, ?10? or ?11? 1 1 recording monitor playback recording path table 27. alc setting (x: don?t care) 1. alc limiter operation during the alc limiter operation, when either lch or rch exceeds the alc limiter detection level (table 28), the ivl and ivr values (same value) are attenuated automatically by the amount defined by the alc limiter att step (table 29). when zelmn bit = ?0? (zero cross detec tion is enabled), the ivl and ivr valu es are 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 30). when zelmn bit = ?1? (zero cross detection is disabled), ivl and ivr values are immediately (period: 1/fs) changed by alc limiter operation. attenuation step is fixed to 1 step regardless as the setting of lmat1-0 bits. the attenuation operation is done continuously until the input signal level becomes alc limiter detection level (table 28) or less. after completing the attenuation operation, unless alc bit is changed to ?0?, the operation repeats when the input signal level exceeds lmth1-0 bits. lmth1 lmth0 alc limier detection level alc recovery waiting counter reset level 0 0 alc output ? 2.5dbfs ? 2.5dbfs > alc output ? 4.1dbfs default 0 1 alc output ? 4.1dbfs ? 4.1dbfs > alc output ? 6.0dbfs 1 0 alc output ? 6.0dbfs ? 6.0dbfs > alc output ? 8.5dbfs 1 1 alc output ? 8.5dbfs ? 8.5dbfs > alc output ? 12dbfs table 28. alc limiter detection level / recovery counter reset level zelmn lmat1 lmat0 alc limiter att step 0 0 1 step 0.375db default 0 1 2 step 0.750db 1 0 4 step 1.500db 0 1 1 8 step 3.000db 1 x x 1step 0.375db table 29. alc limiter att step (x: don?t care) zero crossing timeout period ztm1 ztm0 8khz 16khz 44.1khz 0 0 128/fs 16ms 8ms 2.9ms default 0 1 256/fs 32ms 16ms 5.8ms 1 0 512/fs 64ms 32ms 11.6ms 1 1 1024/fs 128ms 64ms 23.2ms table 30. alc zero crossing timeout period
asahi kasei [ak4643] ms0476-e-01 2006/10 - 45 - 2. alc recovery operation the alc recovery operation waits for the wtm2-0 bits (table 31) to be set after completing the alc limiter operation. if the input signal does not exceed ?alc recovery waiting counter reset level? (table 28) during the wait time, the alc recovery operation is done. the ivl and ivr values are automatically incremented by rgain1-0 bits (table 32) up to the set reference level (table 33) with zero crossing detection which timeout period is set by ztm1-0 bits (table 30). then the ivl and ivr are set to the same value for both channels. the alc recovery operation is done at a period set by wtm2-0 bits. when zero cross is detected at both channels during the wait period set by wtm2-0 bits, the alc recovery operation waits until wtm2-0 period and the next recovery operation is done. if ztm1-0 is longer than wtm2-0 and no zero crossing occurs, the alc recovery operation is done at a period set by ztm1-0 bits. for example, when the current ivol value is 30h and rgain1-0 bits are set to ?01?, ivol 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 ivol value exceeds the reference level (ref7-0), the ivol values are not increased. when ?alc recovery waiting count er 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 c ounter 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 (fast 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 fast recovery operation is set by rfst1-0 bits (table 34). alc recovery operation waiting period wtm2 wtm1 wtm0 8khz 16khz 44.1khz 0 0 0 128/fs 16ms 8ms 2.9ms default 0 0 1 256/fs 32ms 16ms 5.8ms 0 1 0 512/fs 64ms 32ms 11.6ms 0 1 1 1024/fs 128ms 64ms 23.2ms 1 0 0 2048/fs 256ms 128ms 46.4ms 1 0 1 4096/fs 512ms 256ms 92.9ms 1 1 0 8192/fs 1024ms 512ms 185.8ms 1 1 1 16384/fs 2048ms 1024ms 371.5ms table 31. alc recovery operation waiting period rgain1 rgain0 gain step 0 0 1 step 0.375db default 0 1 2 step 0.750db 1 0 3 step 1.125db 1 1 4 step 1.500db table 32. alc recovery gain step
asahi kasei [ak4643] ms0476-e-01 2006/10 - 46 - ref7-0 gain(db) step f1h +36.0 f0h +35.625 efh +35.25 : : e2h +30.375 e1h +30.0 default e0h +29.625 : : 03h ? 53.25 02h ? 53.625 01h ? 54.0 0.375db 00h mute table 33. reference level at alc recovery operation rfst1 bit rfst0 bit recovery speed 0 0 4 times default 0 1 8 times 1 0 16times 1 1 n/a table 34. fast recovery speed setting
asahi kasei [ak4643] ms0476-e-01 2006/10 - 47 - 3. example of alc operation table 35 shows the examples of the alc setting for mic recording. fs=8khz fs=44.1khz register name comment data operation data operation lmth1-0 limiter detection level 01 ? 4.1dbfs 01 ? 4.1dbfs zelmn limiter zero crossing de tection 0 enable 0 enable ztm1-0 zero crossing timeout period 01 32ms 11 23.2ms wtm2-0 recovery waiting period *wtm2-0 bits should be the same or longer data as ztm1-0 bits. 001 32ms 011 23.2ms ref7-0 maximum gain at recovery operation e1h +30db e1h +30db ivl7-0, ivr7-0 gain of ivol e1h +30db e1h +30db lmat1-0 limiter att step 00 1 step 00 1 step rgain1-0 recovery gain step 00 1 step 00 1 step rfst1-0 fast recovery speed 00 4 times 00 4 times alc alc enable 1 enable 1 enable table 35. example of the alc setting the following registers should not be changed during the alc operation. these bits should be changed after the alc operation is finished by alc bit = ?0? or pmadl=pmadr bits = ?0?. ? lmth1-0, lmat1-0, wtm2-0, ztm1-0, rgain1-0, ref7-0, zelmn, rfst1-0 manual mode * the value of ivol should be the same or smaller than ref?s wr (ztm1-0, wtm2-0, rfst1-0) wr (ref7-0) wr (ivl/r7-0) wr (lmat1-0, rgain0, zelmn, lmth0; alc= ?1?) example: limiter = zero crossing enable recovery cycle = 32ms@8khz zero crossing timeout period = 32ms@8khz limiter and recovery step = 1 fast recovery speed = 4 step gain of ivol = +30db maximum gain = +30.0db limiter detection level = ? 4.1dbfs alc bit = ?1? (1) addr=06h, data=14h (2) addr=08h, data=e1h (5) addr=07h, data=21h (3) addr=09h&0ch, data=e1h alc operation wr (rgain1, lmth1) (4) addr=0bh, data=00h note : wr : write figure 36. registers set-up sequence at alc operation
asahi kasei [ak4643] ms0476-e-01 2006/10 - 48 - ? input digital volume (manual mode) the input digital volume becomes a manual mode when alc bit is ?0?. this mode is used in the case shown below. 1. after exiting reset state, set-up the registers for the alc operation (ztm1-0, lmth1-0 and etc) 2. when the registers for the alc operation (limiter period, recovery period and etc) are changed. for example; when the change of the sampling frequency. 3. when ivol is used as a manual volume. ivl7-0 and ivr7-0 bits set the gain of the volume control (table 36). the ivol value is changed at zero crossing or timeout. zero crossing timeout period is set by ztm1-0 bits. if ivl7-0 or ivr7-0 bits are written during pmadl=pmadr bits = ?0?, ivol operation starts with the written values at the end of the adc initialization cycle after pmadl or pmadr bit is changed to ?1?. even if the path is switched from recording to playback, the register setting of ivol remains. therefore, ivl7-0 and ivr7-0 bits should be set to ?91h? (0db). ivl7-0 ivr7-0 gain (db) step f1h +36.0 f0h +35.625 efh +35.25 : : e2h +30.375 e1h +30.0 default e0h +29.625 : : 03h ? 53.25 02h ? 53.625 01h ? 54 0.375db 00h mute table 36. input digital volume setting
asahi kasei [ak4643] ms0476-e-01 2006/10 - 49 - when writing to the ivl7-0 and ivr7-0 bits continuouslly, the control register should be written by an interval more than zero crossing timeout. if not, ivl and ivr are not changed since zero crossing counter is reset at every write operation. if the same register value as the previous write operation is written to ivl and ivr, this write operation is ignored and zero crossing counter is not reset. therefore, ivl and ivr can be written by an interval less than zero crossing timeout. a lc bit a lc status disable enable disable ivl7-0 bits e1h(+30db) ivr7-0 bits c6h(+20db) internal ivl e1h(+30db) e1(+30db) --> f1(+36db) e1(+30db) internal ivr c6h(+20db) e1(+30db) --> f1(+36db) c6h(+20db) (1) (2) figure 37. ivol value during alc operation (1) the ivl value becomes the start value if the ivl and iv r are different when the alc starts. the wait time from alc bit = ?1? to alc operation start by ivl7-0 bits is at most recovery time (wtm2-0 bits) plus zerocross timeout period (ztm1-0 bits). (2) writing to iv l and ivr registers (09h and 0ch) is ignored during alc operation. after alc is disabled, the ivol changes to the last written data by zero crossing or timeout. when alc is enabled again, alc bit should be set to ?1? by an interval more than zero crossing timeout period after alc bit = ?0?.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 50 - ? de-emphasis filter the ak4643 includes the digital de-emphasis filter (tc = 50/15 s) by iir filter. setting the dem1-0 bits enables the de-emphasis filter (table 37). dem1 dem0 mode 0 0 44.1khz 0 1 off default 1 0 48khz 1 1 32khz table 37. de-emphasis control ? bass boost function the bst1-0 bits control the amount of low frequency boost applied to the dac output signal (table 38). if the bst1-0 bits are set to ?01? (min level), use a 47 f capacitor for ac-coupling. if the boosted signal exceeds full scale, the analog output clips to the full scale. figure 38 shows the boost frequency response at ?20db signal input. boost filter (fs=44.1khz) -25 -20 -15 -10 -5 0 10 100 1000 10000 frequency [hz] level [db] max mid min figure 38. bass boost frequency response (fs=44.1khz) bst1 bst0 mode 0 0 off default 0 1 min 1 0 mid 1 1 max table 38. bass boost control
asahi kasei [ak4643] ms0476-e-01 2006/10 - 51 - ? digital output volume the ak4643 has a digital output volume (256 levels, 0.5db step, mute). the volume can be set by the dvl7-0 and dvr7-0 bits. the volume is included in front of a dac block. the input data of dac is changed from +12 to ?115db or mute. when the dvolc bit = ?1?, the dvl7-0 bits control both lch and rch attenuation levels. when the dvolc bit = ?0?, the dvl7-0 bits control lch level and dvr7-0 bits control rch level. this volume has a soft transition function. the dvtm bit sets the transition time between set values of dvl/r7-0 bits as either 1061/fs or 256/fs (table 40). when dvtm bit = ?0?, a soft transition between the set values occurs (1062 levels). it takes 1061/fs (=24ms@fs=44.1khz) from 00h (+12db) to ffh (mute). dvl/r7-0 gain 00h +12.0db 01h +11.5db 02h +11.0db : : 18h 0db default : : fdh ? 114.5db feh ? 115.0db ffh mute ( ? ) table 39. digital volume code table transition time between dvl/r7-0 bits = 00h and ffh dvtm bit setting fs=8khz fs=44.1khz 0 1061/fs 133ms 24ms default 1 256/fs 32ms 6ms table 40. transition time setting of digital output volume
asahi kasei [ak4643] ms0476-e-01 2006/10 - 52 - ? soft mute soft mute operation is performed in the digital domain. when the smute bit goes to ?1?, the output signal is attenuated by ? (?0?) during the cycle set by the dvtm bit. when the smute bit is returned to ?0?, the mute is cancelled and the output attenuation gradually changes to the value set by the dvl/r7-0 bits during the cycle set of the dvtm bit. if the soft mute is cancelled within the cycle set by the dvtm bit after starting the operation, the attenuation is discontinued and returned to the value set by the dvl/r7-0 bits. the soft mute is effective for changing the signal source without stopping the signal transmission (figure 39). smute bit a ttenuation dvtm bit dvl/r7-0 bits - dvtm bit gd gd (1) (2) (3) a nalog output figure 39. soft mute function (1) the output signal is attenuated until ? (?0?) by the cycle set by the dvtm bit. (2) analog output corresponding to digital input has the group delay (gd). (3) if the soft mute is cancelled within the cycle set by the dvtm bit, the attenuation is discounted and returned to the value set by the dvl/r7-0 bits.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 53 - ? analog mixing: stereo input (lin2/rin2, ain3 bit = ?1?: lin3/rin3 pins) when pmainl2=pmainr2 bits = ?1?, lin2 and rin2 pins can be used as stereo line input for analog mixing. when the lins2 and rins2 bits are set to ?1?, the input signal from the lin2/rin2 pins is output to speaker-amp. when the linh2 and rinh2 bits are set to ?1?, the input signal from the lin2/rin2 pins is output to headphone-amp. when the linl2/rinr2 bits are set to ?1?, the input signal from the lin2/rin2 pins is output to the stereo line output amplifier. when the analog mixing is used, a/d converter is also available if pmadl or pmadr bit is ?1?. in this case, the input resistance of lin2/rin2 pins becomes 30k ? (typ) at mgain1-0 bits = ?00? and 20k ? (typ) at mgain1-0 bits = ?01?, ?10? or ?11?, respectively. when ain3 bit = ?1?, min and vcoc pins becomes lin3 and rin3 pins, respectively. in this case, pll is not available. when pmainl3=pmainr3 bits = ?1?, lin3 and rin3 pins can be used as stereo line input for analog mixing. when pmmicl=pmmicr=micl3=micr3 bits = ?1?, analog mixing source is changed from lin3/rin3 input to mic-amp output signal. when the lins3 and rins3 bits are set to ?1?, the input signal from the lin3/rin3 pins is output to speaker-amp. when the linh3 and rinh3 bits are set to ?1?, the input signal from the lin3/rin3 pins is output to headphone-amp. when the linl3/rinr3 bits are set to ?1?, the input signal from the lin3/rin3 pins is output to the stereo line output amplifier. when the analog mixing is used, a/d converter is also available if pmadl or pmadr bit is ?1?. when the analog mixing is used at micl3=micr3 bits = ?0?, the input resistance of lin3/rin3 pins becomes 30k ? (typ) at mgain1-0 bits = ?00? and 20k ? (typ) at mgain1-0 bits = ?01?, ?10? or ?11?, respectively. when the analog mixing is used at micl3=micr3 bits = ?1?, the input resistance of lin3/rin3 pins becomes 60k ? (typ) at mgain1-0 bits = ?00? and 30k ? (typ) at mgain1-0 bits = ?01?, ?10? or ?11?, respectively. table 41, table 42, table 43 and table 44show the typical gain. lin1/in1 ? pin a dc lch rin1/in1+ pin inl1-0 bits mdif1 bit rin2/in2 ? pin a dc rch lin2/in2+ pin inr1-0 bits mdif2 bit ak4643 min/lin3 pin vcoc/rin3 pin lineout, receiver-amp, hp-amp, spk-amp mic-amp mic-amp micl3 bit micr3 bit pmainl3 bit pmainr3 bit pmainl2 bit pmainr2 bit these blocks are not available at pll mode. figure 40. analog mixing circuit
asahi kasei [ak4643] ms0476-e-01 2006/10 - 54 - pmainl2 bit pmainr2 bit lout/rcp pin, rout/rcn pin linl2/rinr2 hpl, hpr pin linh2/rinh2 spp, spn pin lins2/rins2 lin2/rin2 figure 41. analog mixing circuit (lin2/rin2) pmainl3 bit pmainr3 bit linl3/rinr3 linh3/rinh3 lins3/rins3 lin3/rin3 lout/rcp pin, rout/rcn pin hpl, hpr pin spp, spn pin figure 42. analog mixing circuit (lin3/rin3; pll is not available) lovl bit lin2/rin2/lin3/rin3 ? lout/rout 0 0db default 1 +2db table 41. lin2/rin2/lin3/rin3 input ? lout/rout output gain (typ) lovl bit lin2/rin2/lin3/rin3 ? rcp/rcn 0 0db default 1 +2db table 42. lin2/rin2/lin3/rin3 input ? rcp/rcn output gain (typ) hpg bit lin2/rin2/lin3/rin3 ? hpl/hpr 0 0db default 1 +3.6db table 43. lin2/rin2/lin3/rin3 input ? headphone-amp output gain (typ) lin2/rin2/lin3/rin3 ? spp/spn spkg1-0 bits alc bit = ?0? alc bit = ?1? 00 ? 1.59db +0.41db default 01 +0.41db +2.41db 10 +4.63db +6.63db 11 +6.63db +8.63db table 44. lin2/rin2/lin3/rin3 input ? speaker-amp output gain (typ)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 55 - ? analog mixing: mono input (min pin) when ain3 bit = ?0?, min pin is used as mono input for analog mixing. when the pmmin bit is set to ?1?, the mono input is powered-up. when the mins bit is set to ?1?, the input signal from the min pin is output to speaker-amp. when the minh bit is set to ?1?, the input signal from the min pin is output to headphone-amp. when the minl bit is set to ?1?, the input signal from the min pin is output to the stereo line output amplifier. the external resister ri adjusts the signal level of min input. table 45, table 47 and table 48 show the typical gain example at r i = 20k ?. this gain is in inverse proportion to r i . min ri lout/rcp pin, rout/rcn pin minl hpl, hpr pin minh spp, spn pin mins figure 43 block diagram of min pin lovl bit min ? lout/rout 0 0db default 1 +2db table 45. min input ? lout/rout output gain (typ) at r i = 20k ? lovl bit min ? rcp/rcn 0 0db default 1 +2db table 46. min input ? rcp/rcn output gain (typ) at r i = 20k ? hpg bit min ? hpl/hpr 0 ? 20db default 1 ? 16.4db table 47. min input ? headphone-amp output gain (typ) at r i = 20k ? min ? spp/spn spkg1-0 bits alc bit = ?0? alc bit = ?1? 00 +4.43db +6.43db default 01 +6.43db +8.43db 10 +10.65db +12.65db 11 +12.65db +14.65db table 48. min input ? speaker-amp output gain (typ) at r i = 20k ?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 56 - ? stereo line output (lout/rout pins) when dacl bit is ?1?, lch/rch signal of dac is output from the lout/rout pins which is single-ended. when dacl bit is ?0?, output signal is muted and lout/rout pins output vcom voltage. the load impedance is 10k ? (min.). when the pmlo=lops bits = ?0?, the stereo line output enters power-down mode and the output is pulled-down to avss by 100k ? (typ). when the lops bit is ?1?, stereo line output enters power-save mode. pop noise at power-up/down can be reduced by changing pmlo bit at lops bit = ?1?. in this case, output signal line should be pulled-down to avss by 20k ? after ac coupled as figure 45. rise/fall time is 300ms(max) at c=1 f and avdd=3.3v. when pmlo=lops bits = ?1?, stereo line output is in normal operation. lovl bit set the gain of stereo line output. dac ?dacl? lout pin rout pin ?lovl? figure 44. stereo line output lops pmlo mode lout/rout pin 0 power-down pull-down to avss default 0 1 normal operation normal operation 0 power-save fall down to avss 1 1 power-save rise up to vcom table 49. stereo line output mode select (x: don?t care) lovl gain output voltage (typ) 0 0db 0.6 x avdd default 1 +2db 0.757 x avdd table 50. stereo line output volume setting lout rout 1 ? ? figure 45. external circuit for stereo line output (in case of using pop reduction circuit)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 57 - pmlo bit lops bit lout, rout pins (1) (2) norm al output (3) (4) (5) (6) 300 m s 300 m s figure 46. stereo line output control sequence (in case of using pop reduction circuit) (1) set lops bit = ?1?. stereo line output enters the power-save mode. (2) set pmlo bit = ?1?. stereo line output exits the power-down mode. lout and rout pins rise up to vcom voltage. rise time is 200ms (max 300ms) at c=1 f and avdd=3.3v. (3) set lops bit = ?0? after lout and rout pins rise up. stereo line output exits the power-save mode. stereo line output is enabled. (4) set lops bit = ?1?. stereo line output enters power-save mode. (5) set pmlo bit = ?0?. stereo line output enters power-down mode. lout and rout pins fall down to avss. fall time is 200ms (max 300ms) at c=1 f and avdd=3.3v. (6) set lops bit = ?0? after lout and rout pins fall down. stereo line output exits the power-save mode.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 58 - when ain3 bit = ?0?, dacl, minl, linl2 and rinr2 bits controls each path switch. min path mixing gain is 0db(typ)@lovl bit = ?0? when the external input resistance is 20k ? . lin2, rin2 and dac pathes mixing gain is 0db(typ)@lovl bit = ?0?. lin2 pin 0db m i x linl2 bit min pin 0db minl bit 0db dacl bit dac lch lout pin figure 47. lout mixing circuit (ain3 bit = ?0?, lovl bit = ?0?) rin2 pin 0db m i x rinr2 bit min pin 0db minl bit 0db dacl bit rout pin dac rch figure 48. rout mixing circuit (ain3 bit = ?0?, lovl bit = ?0?) when ain3 bit = ?1?, dacl, linl2, rinr2, linl3, rinr3, micl3 and micr3 bits controls each path switch. all pathes mixing gain is 0db(typ)@lovl bit = ?0?. m i x lin3 pin 0db linl3 bit 0db dacl bit lout pin micl3 bit lin1 pin mic-amp lch dac lch lin2 pin 0db linl2 bit *these blocks are not available at pll mode. figure 49. lout mixing circuit (ain3 bit = ?1?, lovl bit = ?0?) m i x rin3 pin 0db rinr3 bit 0db dacl bit rout pin micr3 bit rin1 pin mic-amp rch dac lch rin2 pin 0db rinr2 bit *these blocks are not available at pll mode. figure 50. rout mixing circuit (ain3 bit = ?1?, lovl bit = ?0?) ? mono reveiver output (rcp/rcn pins)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 59 - when rcv bit = ?1?, lout/rout pins become rcp/rcn pins, respectively. lch/rch signal of dac or lin2/rin2/lin3/rin3 is output from the rcp/rcn pins which is btl as (l+r)/2 signal. the load impedance is 32 ? (min). when the pmlo bit = ?0?, the mono receiver output enters power-down mode and the output is hi-z. when the pmlo bit is ?1? and lops bit is ?1?, mono receiver output enters power-save mode. pop noise at power-up/down can be reduced by changing pmlo bit at lops bit = ?0?. when pmlo bit = ?1? and lops bit = ?0?, mono receiver output enters in normal operation. lovl bit set the gain of mono receiver output. dac ?dacl? rcp pin rcn pin ?lovl? figure 51. mono receiver output lovl gain output voltage (typ) 0 +6db 0.59 x avdd @ ? 6dbfs default 1 +8db 0.59 x avdd @ ? 8dbfs table 51. mono receiver output volume setting pmlo lops mode rcp rcn 0 x power-down hi-z hi-z 1 power-save hi-z vcom/2 default 1 0 normal operation normal operation normal operation table 52. receiver-amp mode setting (x: don?t care) pmlo bit lops bit rcp pin rcn pin vcom vcom hi-z hi-z hi-z hi-z >1ms >0 figure 52. power-up/power-down timing for receiver-amp
asahi kasei [ak4643] ms0476-e-01 2006/10 - 60 - when ain3 bit = ?0?, dacl, minl, linl2 and rinr2 bits controls each path switch. min path mixing gain is +6db(typ)@lovl bit = ?0? when the external input resistance is 20k ? . lin2, rin2 and dac pathes mixing gain is 0db(typ)@lovl bit = ?0?. lin2 pin 0db m i x linl2 bit min pin 0db rinr2 bit +6db minl bit dac lch rcp/n pin rin2 pin 0db dacl bit 0db dacl bit dac rch figure 53. receiver mixing circuit (ain3 bit = ?0?, lovl bit = ?0?) when ain3 bit = ?1?, dacl, linl2, rinr2, linl3, rinr3, micl3 and micr3 bits controls each path switch. all pathes mixing gain is 0db(typ)@lovl bit = ?0?. lin2 pin 0db m i x linl2 bit lin3 pin 0db linl3 bit 0db dacl bit rcp/n pin micl3 bit lin1 pin mic-amp lch dac lch rin2 pin 0db rinr2 bit rin3 pin 0db rinr3 bit micr3 bit rin1 pin mic-amp rch 0db dacl bit dac rch *these blocks are not available at pll mode. *these blocks are not available at pll mode. figure 54. receiver mixing circuit (ain3 bit = ?1?, lovl bit = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 61 - ? headphone output power supply voltage for the headphone-amp is supplied from the hvdd pin and centered on the hvdd/2 voltage at vbat bit = ?0?. the load resistance is 16 ? (min). hpg bit selects the output voltage (see table 53). hpg bit 0 1 output voltage [vpp] 0.6 x avdd 0.91 x avdd table 53. headphone-amp output voltage when the hpmtn bit is ?0?, the common voltage of headphone-amp falls and the outputs (hpl and hpr pins) go to ?l? (hvss). when the hpmtn bit is ?1?, the common voltage rises to hvdd/2 at vbat bit = ?0?. a capacitor between the mutet pin and ground reduces pop noise at power-up. rise/f all time constant is in proportional to hvdd voltage and the capacitor at mutet pin. [example]: a capacitor between the mutet pin and ground = 1.0 f, hvdd=3.3v: rise/fall time constant: = 100ms(typ), 250ms(max) time until the common goes to hvss when hpmtn bit = ?1? ? ?0?: 500ms(max) when pmhpl and pmhpr bits are ?0?, the headphone-amp is powered-down, and the outputs (hpl and hpr pins) go to ?l? (hvss). pmhpl bit, pmhpr bit (1) (2) (4) (3) hpmtn bit hpl pin, hpr pin figure 55. power-up/power-down timing for headphone-amp (1) headphone-amp power-up (p mhpl, pmhpr bit = ?1?). th e outputs are still hvss. (2) headphone-amp common voltage rises up (hpmtn bit = ?1?). common voltage of headphone-amp is rising. (3) headphone-amp common voltage falls down (hpmtn bit = ?0?). common voltage of headphone-amp is falling. (4) headphone-amp power-down (pmhpl, pmhpr bit = ?0?). the outputs are hvss. if the power supply is switched off or headphone-amp is powered-down before the common voltage goes to hvss, some pop noise occurs.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 62 - when boost=off, the cut-off frequency (fc) of headphone-amp depends on the external resistor and capacitor. this fc can be shifted to lower frequency by using bass boost function. table 54 shows the cut off frequency and the output power for various resistor/capacitor combinations. the headphone impedance r l is 16 ? . output powers are shown at hvdd = 2.7, 3.0 and 3.3v. the output voltage of headphone is 0.6 x avdd (vpp). when an external resist or r is smaller than 12 ? , put an oscillation prevention circuit (0.22 f 20% capacitor and 10 ? 20% resistor) because it has the possi bility that headphone -amp oscillates. ak4643 hp-amp 16 ? headphone 10 ? 0.22 c r figure 56. external circuit example of headphone output power [mw]@0dbfs hpg bit r [ ? ] c [ f] fc [hz] boost =off fc [hz] boost =min fs=44.1khz hvdd=3.0v avdd=3.0v hvdd=3.3v avdd=3.3v hvdd=5v avdd=3.3v 220 45 17 0 100 100 43 25.3 30.6 30.6 100 70 28 6.8 47 149 78 12.5 15.1 15.1 100 50 19 0 16 47 106 47 6.3 7.7 7.7 220 45 17 0 100 100 43 51 (note 46) 62 (note 46) 70 22 62 25 1 100 10 137 69 1.1 1.3 1.3 table 54. external circuit example note 45. output power at 16 ? load. note 46. output signal is clipped. when hvdd is directly supplied from the battery in the mobile phone system, rf noise may influences headphone output performance. when vbat bit is set to ?1?, hp-amp psrr for the noise applied to hvdd is improved. in this case, hp-amp common voltage is 0.64 x avdd (typ). when avdd is 3.3v, common voltage is 2.1v. therefore, when hvdd voltage becomes lower than 4.2v, the output signal will be clipped easily. vbat bit 0 1 common voltage [v] 0.5 x hvdd 0.64 x avdd table 55. hp-amp common voltage
asahi kasei [ak4643] ms0476-e-01 2006/10 - 63 - when ain3 bit = ?0?, dach, minh, linh2 and rinh2 bits controls each path switch. min path mixing gain is ? 20db(typ)@hpg bit = ?0? when the external input resistance is 20k ? . lin2, rin2 and dac pathes mixing gain is 0db(typ)@hpg bit = ?0?. lin2 pin 0db m i x linh2 bit min pin ? 20db minh bit 0db dach bit dac lch hpl pin figure 57. hpl mixing circuit (ain3 bit = ?0?, hpg bit = ?0?) rin2 pin 0db m i x rinh2 bit min pin ? 20db minh bit 0db dach bit dac rch hpr pin figure 58. hpr mixing circuit (ain3 bit = ?0?, hpg bit = ?0?) when ain3 bit = ?1?, dach, linh2, rinh2, linh3, rinh3, micl3 and micr3 bits controls each path switch. all pathes mixing gain is 0db(typ)@hpg bit = ?0?. , lin2 pin 0db m i x linh2 bit lin3 pin 0db linh3 bit 0db dach bit hpl pin micl3 bit lin1 pin mic-amp lch dac lch *these blocks are not available at pll mode. figure 59. hpl mixing circuit (ain3 bit = ?1?, hpg bit = ?0?) rin2 pin 0db m i x rinh2 bit rin3 pin 0db rinh3 bit 0db dach bit hpr pin micr3 bit rin1 pin mic-amp rch dac rch *these blocks are not available at pll mode. figure 60. hpr mixing circuit (ain3 bit = ?1?, hpg bit = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 64 - ? speaker output power supply for speaker-amp (hvdd) is 2.6v to 5.25v. speaker type dynamic speaker piezo (ceramic) speaker load resistance (min) 8 ? 50 ? load capacitance (max) 30pf 3 f note 23. load impedance is total impedance of series resistance (rseries) and piezo speaker impedance at 1khz in figure 61. 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. table 56. speaker type and power supply range the dac or lin2/rin2/lin3/rin3 signal is input to the speaker-amp as [(l+r)/2]. the speaker-amp is mono and btl output. the gain is set by spkg1-0 bits. output level depends on avdd voltage and spkg1-0 bits. gain spkg1-0 bits alc bit = ?0? alc bit = ?1? 00 +4.43db +6.43db default 01 +6.43db +8.43db 10 +10.65db +12.65db 11 +12.65db +14.65db table 57. spk-amp gain spk-amp output (dac input = 0dbfs) avdd hvdd spkg1-0 bits alc bit = ?0? alc bit = ?1? (lmth1-0 bits = ?00?) 00 3.30vpp 3.11vpp 01 4.15vpp (note 47) 3.92vpp 10 6.75vpp (note 47) 6.37vpp (note 47) 3.3v 11 8.50vpp (note 47) 8.02vpp (note 47) 00 3.30vpp 3.11vpp 01 4.15vpp 3.92vpp 10 6.75vpp (note 47) 6.37vpp (note 47) 3.3v 5.0v 11 8.50vpp (note 47) 8.02vpp (note 47) note 47. the output level is calculated by assuming that output signal is not clipped. in actual case, output signal may be clipped when dac outputs 0dbfs signal. dac output level should be set to lower level by setting digital volume so that speaker-amp output level is 4.0vpp (hvdd=3.3v) or 6.0v (hvdd=5v) or less and output signal is not clipped. table 58. spk-amp output level
asahi kasei [ak4643] ms0476-e-01 2006/10 - 65 - fs=44.1khz register name comment data operation lmth1-0 limiter detection level 00 ? 2.5dbfs zelmn limiter zero crossi ng detection 0 enable ztm1-0 zero crossing timeout period 10 11.6ms wtm2-0 recovery waiting period *wtm2-0 bits should be the same or longer data as ztm1-0 bits 11 23.2ms ref7-0 maximum gain at recovery operation c1h +18db ivl7-0, ivr7-0 gain of ivol 91h 0db lmat1-0 limiter att step 00 1 step rgain1-0 recovery gain step 00 1 step alc alc enable 1 enable table 59. alc operation example of speaker playback when a piezo speaker is used, resistances more than 10 ? should be inserted between spp/spn pins and speaker in series, respectively, as shown in figure 61. zener diodes should be inserted between speaker and gnd as shown in figure 61, in order to protect spk-amp of ak4643 from the power that the piezo speaker outputs when the speaker is pressured. zener diodes of the following zener voltage should be used. 0.92 x hvdd zener voltage of zener diodo (zd in figure 61) hvdd+0.3v ex) in case of hvdd = 5.0v: 4.6v zd 5.3v for example, zener diode which zener voltage is 5.1v(min: 4.97v, max: 5.24v) can be used. spp spk-amp spn 10 ? 10 ? figure 61. speaker output circuit (load capacitance > 30pf)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 66 - speaker-amp is powered-up/down by pmspk bit. when pmspk bit is ?0?, both spp and spn pin are in hi-z state. when pmspk bit is ?1? and sppsn bit is ?0?, the speaker-am p enters power-save mode. in this mode, spp pin is placed in hi-z state and spn pin goes to hvdd/2 voltage. power-save mode can reduce the pop noise at power-up and power-down. pmspk sppsn mode spp spn 0 x power-down hi-z hi-z default 0 power-save hi-z hvdd/2 1 1 normal operation normal operation normal operation table 60. speaker-amp mode setting (x: don?t care) pmspk bit sppsn bit spp pin spn pin hvdd/2 hvdd/2 hi-z hi-z hi-z hi-z >1ms >0 figure 62. power-up/power-down timing for speaker-amp
asahi kasei [ak4643] ms0476-e-01 2006/10 - 67 - when ain3 bit = ?0?, dacs, mins, lins2 and rins2 bits controls each path switch. min path mixing gain is +4.43db(typ)@spkg bits = ?00? & alc bit = ?0? when the external input resistance is 20k ? . lin2, rin2 and dac pathes mixing gain is ? 1.59db(typ)@spkg bits = ?00? & alc bit = ?0?. lin2 pin ? 1.59db m i x lins2 bit min pin rins2 bit mins bit dac lch spp/n pin rin2 pin dacs bit dacs bit dac rch ? 1.59db +4.43db ? 1.59db ? 1.59db figure 63. speaker mixing circuit (ain3 bit = ?0?, spkg1-0 bits = ?00?, alc bit = ?0?) when ain3 bit = ?1?, dacs, lins2, rins2, lins3, rins3, micl3 and micr3 bits controls each path switch. all pathes mixing gain is 0db(typ)@hpg bit = ?0?. lin2 pin m i x lins2 bit lin3 pin lins3 bit dacs bit spp/n pin micl3 bit lin1 pin mic-amp lch dac lch rin2 pin rins2 bit rin3 pin rins3 bit micr3 bit rin1 pin mic-amp rch dacs bit dac rch ? 1.59db ? 1.59db ? 1.59db ? 1.59db ? 1.59db ? 1.59db *these blocks are not available at pll mode. *these blocks are not available at pll mode. figure 64. speaker mixing circuit (ain3 bit = ?1?, spkg bits = ?00?, alc bit = ?0?)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 68 - ? serial control interface (1) 3-wire serial control mode (i2c pin = ?l?) internal registers may be written by using the 3-wire p interface pins (csn, cclk and cdti). the data on this interface consists of a 1-bit chip address (fixed to ?1?), read/write (fixed to ?1?), register address (msb first, 6bits) and control data (msb first, 8bits). each bit is clocked in on the rising edge (? ?) of cclk. address and data are latched on the 16th cclk rising edge (? ?) after csn falling edge(? ?). clock speed of cclk is 5mhz (max). the value of internal registers are initialized by pdn pin = ?l?. csn cclk 0 1 2 345 67891011 12 13 14 15 cdti c1 a 5 a 2 a 3 a 1 a 0 a 4 d7d6d5d4d3d2d1d0 r/w c1: chip address; fixed to ?1? r/w: read/write (?1?: write, ?0?: read); fixed to ?1? a 5-a0: register address d7-d0: control data ?1? ?1? figure 65. serial control i/f timing
asahi kasei [ak4643] ms0476-e-01 2006/10 - 69 - (2) i 2 c-bus control mode (i2c pin = ?h?) the ak4643 supports the fast-mode i 2 c-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 66 shows the data transfer sequence for the i 2 c-bus mode. all commands are preceded by a start condition. a high to low transition on the sda line while scl is high indicates a start condition (figure 72). after the start condition, a slave address is sent. this address is 7 bits long followed by an eighth bit that is a data direction bit (r/w). the most significant six bits of the slave address are fixed as ?001001?. the next bit is cad0 (device address bit). this bit identifies the specific device on the bus. the hard-wired input pin (cad0 pin) sets these device address bits (figure 67). if the slave address matches that of the ak4643, the ak4643 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 73). 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 ak4643. the format is msb first, and those most significant 2-bits are fixed to zeros (figure 68). the data after the second byte contains control data. the format is msb first, 8bits (figure 69). the ak4643 generates an acknowledge after each byte has been received. a data transfer is always terminated by a stop condition generated by the master. a low to high transition on the sda line while scl is high defines a stop condition (figure 72). the ak4643 can perform more than one byte write operation per sequence. after receipt of the third byte the ak4643 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 24h prior to generating a stop condition, the address counter will ?roll over? to 00h and the previous da ta 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 74) except for the start and stop conditions. sda slave address s s t a r t r/w="0" a c k sub address(n) a c k data(n) a c k data(n+1) a c k a c k data(n+x) a c k p s t o p figure 66. data transfer sequence at the i 2 c-bus mode 0 0 1 0 0 1 cad0 r/w (those cad1/0 should match with cad1/0 pins) figure 67. the first byte 0 0 a5 a4 a3 a2 a1 a0 figure 68. the second byte d7 d6 d5 d4 d3 d2 d1 d0 figure 69. byte structure after the second byte
asahi kasei [ak4643] ms0476-e-01 2006/10 - 70 - (2)-2. read operations set the r/w bit = ?1? for the read operation of the ak4643. after transmission of data, the master can read the next address?s data by generating an acknowledge instead of terminating the write cycle after the receipt of the first data word. 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 24h prior to generating a stop condition, the address counter will ?roll over? to 00h and the data of 00h will be read out. the ak4643 supports two basic read operations: current address read and random address read. (2)-2-1. current address read the ak4643 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 set to ?1?, the ak4643 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 ma ster does not generate an ac knowledge to the data but inst ead generates a stop condition, the ak4643 ceases transmission. sda slave address s s t a r t r/w="1" a c k a c k data(n+1) a c k data(n+2) a c k a c k data(n+x) a c k p s t o p data(n) figure 70. 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 set to ?1?, the master must first perform a ?dummy? write operation. the master issues a 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 ak4643 then generates an acknowledge, 1 byte of data and increments the internal address counter by 1. if the master does not generate an acknowledge to the data but instead generates a stop condition, the ak4643 ceases transmission. sda slave address s s t a r t r/w="0" a c k a c k a c k data(n) a c k data(n+x) a c k p s t o p sub address(n) s slave address r/w="1" s t a r t data(n+1) a c k a c k figure 71. random address read
asahi kasei [ak4643] ms0476-e-01 2006/10 - 71 - scl sda stop condition start condition s p figure 72. start and stop conditions scl from master acknowledge data output by transmitter data output by receiver 1 9 8 start condition not acknowledge clock pulse for acknowledgement s 2 figure 73. acknowledge on the i 2 c-bus scl sda data line stable; data valid change of data allowed figure 74. bit transfer on the i 2 c-bus
asahi kasei [ak4643] ms0476-e-01 2006/10 - 72 - ? register map addr register name d7 d6 d5 d4 d3 d2 d1 d0 00h power management 1 0 pmvcm pmmin pmspk pmlo pmdac 0 pmadl 01h power management 2 0 hpmtn pmhpl pmhpr m/s 0 mcko pmpll 02h signal select 1 sppsn mins dacs dacl 0 pmmp 0 mgain0 03h signal select 2 lovl lops mgain1 spkg1 spkg0 minl 0 0 04h mode control 1 pll3 pll2 pll1 pll0 bcko 0 dif1 dif0 05h mode control 2 ps1 ps0 fs3 msbs bckp fs2 fs1 fs0 06h timer select dvtm wtm2 ztm1 ztm0 wtm1 wtm0 rfst1 rfst0 07h alc mode control 1 0 0 alc zelmn lmat1 lmat0 rgain0 lmth0 08h alc mode control 2 ref7 ref6 ref5 ref4 ref3 ref2 ref1 ref0 09h lch input volume control ivl7 ivl6 ivl5 ivl4 ivl3 ivl2 ivl1 ivl0 0ah lch digital volume c ontrol dvl7 dvl6 dvl5 dvl 4 dvl3 dvl2 dvl1 dvl0 0bh alc mode control 3 rgain1 lmth1 0 0 0 0 vbat 0 0ch rch input volume control ivr7 ivr6 ivr5 ivr4 ivr3 ivr2 ivr1 ivr0 0dh rch digital volume control dvr7 dvr6 dvr5 dvr4 dvr3 dvr2 dvr1 dvr0 0eh mode control 3 0 loop smut e dvolc bst1 bst0 dem1 dem0 0fh mode control 4 0 0 0 0 ivolc hpm minh dach 10h power management 3 inr1 inl1 hpg mdif2 mdif1 inr0 inl0 pmadr 11h digital filter select gn1 gn0 0 fil1 eq fil3 0 0 12h fil3 co-efficient 0 f3a7 f3a6 f3a5 f3a4 f3a3 f3a2 f3a1 f3a0 13h fil3 co-efficient 1 f3as 0 f3a13 f3a12 f3a11 f3a10 f3a9 f3a8 14h fil3 co-efficient 2 f3b7 f3b6 f3b5 f3b4 f3b3 f3b2 f3b1 f3b0 15h fil3 co-efficient 3 0 0 f3b13 f3b12 f3b11 f3b10 f3b9 f3b8 16h eq co-efficient 0 eqa7 eqa6 eq a5 eqa4 eqa3 eq a2 eqa1 eqa0 17h eq co-efficient 1 eqa15 eqa14 eqa13 eqa12 eqa11 eqa10 eqa9 eqa8 18h eq co-efficient 2 eqb7 eqb6 eq b5 eqb4 eqb3 eqb2 eqb1 eqb0 19h eq co-efficient 3 0 0 eqb13 eqb12 eqb11 eqb10 eqb9 eqb8 1ah eq co-efficient 4 eqc7 eqc6 eq c5 eqc4 eqc3 eqc2 eqc1 eqc0 1bh eq co-efficient 5 eqc15 eqc14 eqc13 eqc12 eqc11 eqc10 eqc9 eqc8 1ch fil1 co-efficient 0 f1a7 f1a6 f1a5 f1a4 f1a3 f1a2 f1a1 f1a0 1dh fil1 co-efficient 1 f1as 0 f1a13 f1a12 f1a11 f1a10 f1a9 f1a8 1eh fil1 co-efficient 2 f1b7 f1b6 f1b5 f1b4 f1b3 f1b2 f1b1 f1b0 1fh fil1 co-efficient 3 0 0 f1b13 f1b12 f1b11 f1b10 f1b9 f1b8 20h power management 4 0 0 pmainr3 pmainl3 pmainr2 pmainl2 pmmicr pmmicl 21h mode control 5 0 0 micr3 micl3 0 mix ain3 rcv 22h lineout mixing select 0 0 0 0 rinr3 linl3 rinr2 linl2 23h hp mixing select 0 0 0 0 rinh3 linh3 rinh2 linh2 24h spk mixing select 0 0 0 0 rins3 lins3 rins2 lins2 note 48. pdn pin = ?l? resets the registers to their default values. note 49. unused bits must contain a ?0? value.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 73 - ? register definitions addr register name d7 d6 d5 d4 d3 d2 d1 d0 00h power management 1 0 pmvcm pmmin pmspk pmlo pmdac 0 pmadl default 0 0 0 0 0 0 0 0 pmadl: mic-amp lch and adc lch power management 0: power-down (default) 1: power-up when the pmadl or pmadr bit is changed from ?0? to ?1?, th e initialization cycle (1059/fs=24ms @44.1khz) starts. after initializing, digital data of the adc is output. pmdac: dac power management 0: power-down (default) 1: power-up pmlo: stereo line out power management 0: power-down (default) 1: power-up pmspk: speaker-amp power management 0: power-down (default) 1: power-up pmmin: min input power management 0: power-down (default) 1: power-up pmmin or pmainl3 bit should be set to ?1? for playback. pmvcm: vcom power management 0: power-down (default) 1: power-up when any blocks are powered-up, the pmvcm bit must be set to ?1?. pmvcm bit can be set to ?0? only when all power management bits of 00h, 01h, 02h, 10h, 20h and mcko bits are ?0?. each block can be powered-down respectively by writing ?0? in each bit of this address. when the pdn pin is ?l?, all blocks are powered-down regardless as setting of this address. in this case, register is initialized to the default value. when all power management bits are ?0? in the 00h, 01h, 02h, 10h and 20h addresses and mcko bit is ?0?, all blocks are powered-down. the register values remain unchanged. when neither adc nor dac are used, external clocks may not be present. when adc or dac is used, external clocks must always be present.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 74 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 01h power management 2 0 hpmtn pmhpl pmhpr m/s 0 mcko pmpll default 0 0 0 0 0 0 0 0 pmpll: pll power management 0: ext mode and power-down (default) 1: pll mode and power-up mcko: master clock output enable 0: disable: mcko pin = ?l? (default) 1: enable: output frequency is selected by ps1-0 bits. m/s: master / slave mode select 0: slave mode (default) 1: master mode pmhpr: headphone-amp rch power management 0: power-down (default) 1: power-up pmhpl: headphone-amp lch power management 0: power-down (default) 1: power-up hpmtn: headphone-amp mute control 0: mute (default) 1: normal operation
asahi kasei [ak4643] ms0476-e-01 2006/10 - 75 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 02h signal select 1 sppsn mins dacs dacl 0 pmmp 0 mgain0 default 0 0 0 0 0 0 0 1 mgain1-0: mic-amp gain control (see table 23) mgain1 bit is d5 bit of 03h. pmmp: mpwr pin power management 0: power-down: hi-z (default) 1: power-up dacl: switch control from dac to stereo line output or receiver output 0: off (default) 1: on when pmlo bit is ?1?, dacl bit is enabled. when pmlo bit is ?0?, the lout/rout pins go to avss. 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. mins: switch control from min pin to speaker-amp 0: off (default) 1: on when mins bit is ?1?, mono signal is input to speaker-amp. sppsn: speaker-amp power-save mode 0: power-save mode (default) 1: normal operation when sppsn bit is ?0?, speaker-amp is in power-save mode. in this mode, spp pin goes to hi-z and spn pin is outputs hvdd/2 voltage. when pmspk bit = ?1?, sppsn bit is enabled.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 76 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 03h signal select 2 lovl lops mgain1 spkg1 spkg0 minl 0 0 default 0 0 0 0 0 0 0 0 minl: switch control from min pin to stereo line output or receiver output 0: off (default) 1: on when pmlo bit is ?1?, minl bit is enabled. when pmlo bit is ?0?, the lout/rout pins go to avss. spkg1-0: speaker-amp output gain select (see table 57) mgain1: mic-amp gain control (see table 23) lops: stereo line output power-save mode 0: normal operation (default) 1: power-save mode lovl: stereo line output / receiver output gain select (see table 50, table 51) 0: 0db/+6db (default) 1: +2db/+8db addr register name d7 d6 d5 d4 d3 d2 d1 d0 04h mode control 1 pll3 pll2 pll1 pll0 bcko 0 dif1 dif0 default 0 0 0 0 0 0 1 0 dif1-0: audio interface format (see table 17) default: ?10? (left jutified) bcko: bick output frequency select at master mode (see table 11) pll3-0: pll reference clock select (see table 5) default: ?0000?(lrck pin) addr register name d7 d6 d5 d4 d3 d2 d1 d0 05h mode control 2 ps1 ps0 fs3 msbs bckp fs2 fs1 fs0 default 0 0 0 0 0 0 0 0 fs3-0: sampling frequency select (see table 6 and table 7.) and mcki frequency select (see table 12.) fs3-0 bits select sampling frequency at pll mode and mcki frequency at ext mode. bckp: bick polarity at dsp mode (see table 18) ?0?: sdto is output by the rising edge (? ?) of bick and sdti is latched by the falling edge (? ?). (default) ?1?: sdto is output by the falling edge (? ?) of bick and sdti is latched by the rising edge (? ?). msbs: lrck polarity at dsp mode (see table 18) ?0?: the rising edge (? ?) of lrck is half clock of bick before the channel change. (default) ?1?: the rising edge (? ?) of lrck is one clock of bick before the channel change. ps1-0: mcko output frequency select (see table 10) default: ? 00?(256fs)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 77 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 06h timer select dvtm wtm2 ztm1 ztm0 wtm1 wtm0 rfst1 rfst0 default 0 0 0 0 0 0 0 0 rfst1-0: alc first recovery speed (see table 34) default: ?00?(4times) wtm2-0: alc recovery waiting period (see table 31.) default: ?000? (128/fs) ztm1-0: alc limiter/recovery operation zero crossing timeout period (see table 30.) default: ?00? (128/fs) dvtm: digital volume transition time setting (see table 40.) 0: 1061/fs (default) 1: 256/fs this is the transition time between dvl/r7-0 bits = 00h and ffh. addr register name d7 d6 d5 d4 d3 d2 d1 d0 07h alc mode control 1 0 0 alc zelmn lmat1 lmat0 rgain0 lmth0 default 0 0 0 0 0 0 0 0 lmth1-0: alc limiter detection level / recovery counter reset level (see table 28.) default: ?00? lmth1 bit is d6 bit of 0bh. rgain1-0: alc recovery gain step (see table 32.) default: ?00? rgain1 bit is d7 bit of 0bh. lmat1-0: alc limiter att step (see table 29.) default: ?00? zelmn: zero crossing de tection enable at al c limiter operation 0: enable (default) 1: disable alc: alc enable 0: alc disable (default) 1: alc enable addr register name d7 d6 d5 d4 d3 d2 d1 d0 08h alc mode control 2 ref7 ref6 ref5 ref4 ref3 ref2 ref1 ref0 default 1 1 1 0 0 0 0 1 ref7-0: reference value at alc recovery operation. 0.375db step, 242 level (see table 33.) default: ?e1h? (+30.0db)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 78 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 09h lch input volume control ivl7 ivl6 ivl5 ivl4 ivl3 ivl2 ivl1 ivl0 0ch rch input volume control ivr7 ivr6 ivr5 ivr4 ivr3 ivr2 ivr1 ivr0 default 1 1 1 0 0 0 0 1 ivl7-0, ivr7-0: input digital volume; 0.375db step, 242 level (see table 36.) default: ?e1h? (+30.0db) addr register name d7 d6 d5 d4 d3 d2 d1 d0 0ah lch digital volume control dvl7 dvl6 dvl5 dvl4 dvl3 dvl2 dvl1 dvl0 0dh rch digital volume control dvr7 dvr6 dvr5 dvr4 dvr3 dvr2 dvr1 dvr0 default 0 0 0 1 1 0 0 0 dvl7-0, dvr7-0: output digital volume (see table 39.) default: ?18h? (0db) addr register name d7 d6 d5 d4 d3 d2 d1 d0 0bh alc mode control 3 rgain1 lmth1 0 0 0 0 vbat 0 default 0 0 0 0 0 0 0 0 vbat: hp-amp common voltage (see table 55.) 0: 0.5 x hvdd (default) 1: 0.64 x avdd lmth1: alc limiter detection level / recovery counter reset level (see table 28.) rgain1: alc recovery gain step (see table 32.) addr register name d7 d6 d5 d4 d3 d2 d1 d0 0eh mode control 3 0 loop sm ute dvolc bst1 bst0 dem1 dem0 default 0 0 0 1 0 0 0 1 dem1-0: de-emphasis frequency select (see table 37) default: ?01? (off) bst1-0: bass boost function select (see table 38) default: ?00? (off) dvolc: output digital volume control mode select 0: independent 1: dependent (default) when dvolc bit = ?1?, dvl7-0 bits control both lch and rch volume level, while register values of dvl7-0 bits are not written to dvr7-0 bits. when dvolc bit = ?0?, dvl7-0 bits control lch level and dvr7-0 bits control rch level, respectively. smute: soft mute control 0: normal operation (default) 1: dac outputs soft-muted loop: digital loopback mode 0: sdti dac (default) 1: sdto dac
asahi kasei [ak4643] ms0476-e-01 2006/10 - 79 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 0fh mode control 4 0 0 0 0 ivolc hpm minh dach default 0 0 0 0 1 0 0 0 dach: switch control from dac to headphone-amp 0: off (default) 1: on minh: switch control from min pin to headphone-amp 0: off (default) 1: on hpm: headphone-amp mono output select 0: stereo (default) 1: mono when the hpm bit = ?1?, dac output signal is output to lch and rch of the headphone-amp as (l+r)/2. ivolc: input digital volume control mode select 0: independent 1: dependent (default) when ivolc bit = ?1?, ivl7-0 bits control both lch and rch volume level, while register values of ivl7-0 bits are not written to ivr7-0 bits. when ivolc bit = ?0?, ivl7-0 bits control lch level and ivr7-0 bits control rch level, respectively. addr register name d7 d6 d5 d4 d3 d2 d1 d0 10h power management 3 inr1 inl1 hpg mdif2 mdif1 inr0 inl0 pmadr default 0 0 0 0 0 0 0 0 pmadr: mic-amp lch and adc rch power management 0: power-down (default) 1: power-up inl1-0: adc lch input source select default: 00 (lin1 pin) inr1-0: adc rch input source select default: 00 (rin1 pin) mdif1: single-ended / full-differential input select 1 0: single-ended input (lin1/rin1 pins: default) 1: full-differential input (in1+/in1 ? pins) mdif1 bit selects the input type of pins #32 and #31. mdif2: single-ended / full-differential input select 2 0: single-ended input (lin2/rin2 pins: default) 1: full-differential input (in2+/in2 ? pins) mdif2 bit selects the input type of pins #30 and #29. hpg: headphone-amp gain select (see table 53.) 0: 0db (default) 1: +3.6db
asahi kasei [ak4643] ms0476-e-01 2006/10 - 80 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 11h digital filter select gn1 gn0 0 fil1 eq fil3 0 0 default 0 0 0 0 0 0 0 0 gn1-0: gain select at gain block (see table 26.) default: ?00? fil3: fil3 (stereo separation emphasi s filter) coefficient setting enable 0: disable (default) 1: enable when fil3 bit is ?1?, the settings of f3a13-0 and f3b13-0 bits are enabled. when fil3 bit is ?0?, fil3 block is off (mute). eq: eq (gain compensation filter) coefficient setting enable 0: disable (default) 1: enable when eq bit is ?1?, the settings of eqa15-0, eqb13-0 and eqc15-0 bits are enabled. when eq bit is ?0?, eq block is through (0db). fil1: fil1 (wind-noise reduction filter) coefficient setting enable 0: disable (default) 1: enable when fil1 bit is ?1?, the settings of f1a13-0 and f1b13-0 bits are enabled. when fil1 bit is ?0?, fil1 block is through (0db).
asahi kasei [ak4643] ms0476-e-01 2006/10 - 81 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 12h fil3 co-efficient 0 f3a7 f3a6 f3a5 f3a4 f3a3 f3a2 f3a1 f3a0 13h fil3 co-efficient 1 f3as 0 f3a13 f3a12 f3a11 f3a10 f3a9 f3a8 14h fil3 co-efficient 2 f3b7 f3b6 f3b5 f3b4 f3b3 f3b2 f3b1 f3b0 15h fil3 co-efficient 3 0 0 f3b13 f3b12 f3b11 f3b10 f3b9 f3b8 16h eq co-efficient 0 eqa7 eqa6 e qa5 eqa4 eqa3 eqa2 eqa1 eqa0 17h eq co-efficient 1 eqa15 eqa14 eqa13 eqa12 eqa11 eqa10 eqa9 eqa8 18h eq co-efficient 2 eqb7 eqb6 eq b5 eqb4 eqb3 eqb2 eqb1 eqb0 19h eq co-efficient 3 0 0 eqb13 eqb12 eqb11 eqb10 eqb9 eqb8 1ah eq co-efficient 4 eqc7 eqc6 eq c5 eqc4 eqc3 eqc2 eqc1 eqc0 1bh eq co-efficient 5 eqc15 eqc14 eqc13 eqc12 eqc11 eqc10 eqc9 eqc8 1ch fil1 co-efficient 0 f1a7 f1a6 f1a5 f1a4 f1a3 f1a2 f1a1 f1a0 1dh fil1 co-efficient 1 f1as 0 f1a13 f1a12 f1a11 f1a10 f1a9 f1a8 1eh fil1 co-efficient 2 f1b7 f1b6 f1b5 f1b4 f1b3 f1b2 f1b1 f1b0 1fh fil1 co-efficient 3 0 0 f1b13 f1b12 f1b11 f1b10 f1b9 f1b8 default 0 0 0 0 0 0 0 0 f3a13-0, f3b13-0: fil3 (stereo separation emphasis filter) coefficient (14bit x 2) default: ?0000h? f3as: fil3 (stereo separation emphasis filter) select 0: hpf (default) 1: lpf eqa15-0, eqb13-0, eqc15-c0: eq (gain compensation filter) coefficient (14bit x 2 + 16bit x 1) default: ?0000h? f1a13-0, f1b13-b0: fil1 (wind-noise reduction filter) coefficient (14bit x 2) default: ?0000h? f1as: fil1 (wind-noise reduction filter) select 0: hpf (default) 1: lpf
asahi kasei [ak4643] ms0476-e-01 2006/10 - 82 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 20h power management 4 0 0 pmainr3 pmainl3 pmainr2 pmainl2 pmmicr pmmicl default 0 0 0 0 0 0 0 0 pmmicl: mic-amp lch power management 0: power down (default) 1: power up pmmicr: mic-amp rch power management 0: power down (default) 1: power up pmainl2: lin2 mixing circuit power management 0: power down (default) 1: power up pmainr2: rin2 mixing circuit power management 0: power down (default) 1: power up pmainl3: lin3 mixing circuit power management 0: power down (default) 1: power up pmmin or pmainl3 bit should be set to ?1? for playback. pmainr3: rin3 mixing circuit power management 0: power down (default) 1: power up addr register name d7 d6 d5 d4 d3 d2 d1 d0 21h mode control 5 0 0 micr3 micl3 0 mix ain3 rcv default 0 0 0 0 0 0 0 0 rcv: receiver select 0: stereo line output (lout/rout pins) (default) 1: mono receiver output (rcp/rcn pins) ain3: analog mixing select 0: mono input (min pin) (default) 1: stereo input (lin3/rin3 pins): pll is not available. mix: mono recording 0: stereo (default) 1: mono: (l+r)/2 micl3: switch control from mic-amp lch to analog output 0: lin3 input signal is selected. (default) 1: mic-amp lch output signal is selected. micr3: switch control from mic-amp rch to analog output 0: rin3 input signal is selected. (default) 1: mic-amp rch output signal is selected.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 83 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 22h lineout mixing select 0 0 0 0 rinr3 linl3 rinr2 linl2 default 0 0 0 0 0 0 0 0 linl2: switch control from lin2 pin to stereo line output (without mic-amp) 0: off (default) 1: on rinr2: switch control from rin2 pin to stereo line output (without mic-amp) 0: off (default) 1: on linl3: switch control from lin3 pin (or mic-amp lch) to stereo line output 0: off (default) 1: on rinr3: switch control from rin3 pin (or mic-amp rch) to stereo line output 0: off (default) 1: on addr register name d7 d6 d5 d4 d3 d2 d1 d0 23h hp mixing select 0 0 0 0 rinh3 linh3 rinh2 linh2 default 0 0 0 0 0 0 0 0 linh2: switch control from lin2 pin to headphone output (without mic-amp) 0: off (default) 1: on rinh2: switch control from rin2 pin to headphone output (without mic-amp) 0: off (default) 1: on linh3: switch control from lin3 pin (or mic-amp lch) to headphone output 0: off (default) 1: on rinh3: switch control from rin3 pin (or mic-amp rch) to headphone output 0: off (default) 1: on
asahi kasei [ak4643] ms0476-e-01 2006/10 - 84 - addr register name d7 d6 d5 d4 d3 d2 d1 d0 24h spk mixing select 0 0 0 0 rins3 lins3 rins2 lins2 default 0 0 0 0 0 0 0 0 lins2: switch control from lin2 pin to speaker output (without mic-amp) 0: off (default) 1: on rins2: switch control from rin2 pin to speaker output (without mic-amp) 0: off (default) 1: on lins3: switch control from lin3 pin (or mic-amp lch) to speaker output 0: off (default) 1: on rins3: switch control from rin3 pin (or mic-amp rch) to speaker output 0: off (default) 1: on
asahi kasei [ak4643] ms0476-e-01 2006/10 - 85 - system design figure 75, figure 76 and figure 77 shows the system connection diagram for the ak4643. an evaluation board [akd4643] is available which demonstrates the optimum layout, power supply arrangements and measurement results. mutet rout lout min rin2 lin2 lin1 rin1 hpl hpr hvss hvdd spp spn mcko mcki mpwr vcom a vss a vdd vcoc i2c pdn csn dvss dvdd bick lrck sdto sdti cdti cclk a k4643en top view 25 26 27 28 29 30 31 32 24 23 22 1 16 15 14 13 12 11 10 9 21 20 19 18 17 2 3 4 5 6 7 8 2.2 k 2.2 k 2.2 k 2.2 k external mic internal mic 1u 0.1u 2.2u 0.1u rp 6.8 47u 6.8 47u 10 0.22u 10 0.22u power supply 2.6 3.6v 0.1u 0.1u 10 dsp 10 ? zd1, zd2: required r1 r2 notes: - avss, dvss and hvss of the ak4643 should be distributed separately from the ground of external controllers. - all digital input pins should not be left floating. - when the ak4643 is ext mode (pmpll bit = ?0?), a resistor and capacitor of vcoc pin is not needed. - when the ak4643 is pll mode (pmpll bit = ?1?), a resistor and capacitor of vcoc pin is shown in table 5. - when piezo speaker is used, 2.6 5.25v power should be supplied to hvdd and 10 ? or more series resistors should be connected to both spp and spn pins, respectively. - when the ak4643 is used at master mode, lrck and bick pins are floating before m/s bit is changed to ?1?. therefore, 100k ? around pull-up resistor should be connected to lrck and bick pins of the ak4643. figure 75. typical connection diagram (ain3 bit = ?0?, mic input)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 86 - mutet rout lout min rin2 lin2 lin1 rin1 hpl hpr hvss hvdd spp spn mcko mcki mpwr vcom a vss a vdd vcoc i2c pdn csn dvss dvdd bick lrck sdto sdti cdti cclk a k4643en top view 25 26 27 28 29 30 31 32 24 23 22 1 16 15 14 13 12 11 10 9 21 20 19 18 17 2 3 4 5 6 7 8 line in 1u 0.1u 2.2u 0.1u rp 6.8 47u 6.8 47u 10 0.22u 10 0.22u power supply 2.6 3.6v 0.1u 0.1u 10 dsp 10 ? zd1, zd2: required r1 r2 notes: - avss, dvss and hvss of the ak4643 should be distributed separately from the ground of external controllers. - all digital input pins should not be left floating. - when the ak4643 is ext mode (pmpll bit = ?0?), a resistor and capacitor of vcoc pin is not needed. - when the ak4643 is pll mode (pmpll bit = ?1?), a resistor and capacitor of vcoc pin is shown in table 5. - when piezo speaker is used, 2.6 5.25v power should be supplied to hvdd and 10 ? or more series resistors should be connected to both spp and spn pins, respectively. - when the ak4643 is used at master mode, lrck and bick pins are floating before m/s bit is changed to ?1?. therefore, 100k ? around pull-up resistor should be connected to lrck and bick pins of the ak4643. figure 76. typical connection diagram (ain3 bit = ?0?, line input)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 87 - mutet rcn rcp lin3 rin2 lin2 lin1 rin1 hpl hpr hvss hvdd spp spn mcko mcki mpwr vcom a vss a vdd rin3 i2c pdn csn dvss dvdd bick lrck sdto sdti cdti cclk a k4643en top view 25 26 27 28 29 30 31 32 24 23 22 1 16 15 14 13 12 11 10 9 21 20 19 18 17 2 3 4 5 6 7 8 line in 1u 0.1u 2.2u 0.1u 6.8 47u 6.8 47u 10 0.22u 10 0.22u power supply 2.6 3.6v 0.1u 0.1u 10 dsp 10 ? zd1, zd2: required r1 r2 notes: - avss, dvss and hvss of the ak4643 should be distributed separately from the ground of external controllers. - all digital input pins should not be left floating. - when ain3 bit = ?1?, pll is not available. - when piezo speaker is used, 2.6 5.25v power should be supplied to hvdd and 10 ? or more series resistors should be connected to both spp and spn pins, respectively. figure 77. typical connection diagram (ain3 bit = ?1?: pll is not available, rcv bit = ?1?, line input)
asahi kasei [ak4643] ms0476-e-01 2006/10 - 88 - 1. grounding and power supply decoupling the ak4643 requires careful attention to power supply and grounding arrangements. avdd, dvdd and hvdd are usually supplied from the system?s analog supply. if avdd, dvdd and hvdd are supplied separately, the power-up sequence is not critical. avss, dvss and hvss of the ak4643 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 ak4643 as possible, with the small value ceramic capacitor being the nearest. 2. voltage reference vcom is a signal ground of this chip. a 2.2 f electrolytic capacitor in parallel with a 0.1 f ceramic capacitor attached to the vcom pin eliminates the effects of high frequency noise. no load current may be drawn from the vcom pin. all signals, especially clocks, should be kept away from the vcom pin in order to avoid unwanted coupling into the ak4643. 3. analog inputs the mic, line and min inputs are single-ended. the input signal range scales with nominally at 0.06 x avdd vpp(typ) @mgain1-0 bits = ?01?, 0.03 x avdd vpp(typ) @mgain1-0 bits = ?10?, 0.015 x avdd vpp(typ) @mgain1-0 bits = ?11? or 0.6 x avdd vpp(typ) @mgain1-0 bits = ?00? for the mic/line input and 0.6 x avdd vpp (typ) for the min input, centered around the internal common voltage (0.45 x avdd). usually the input signal is ac coupled using a capacitor. the cut-off frequency is fc = (1/2 rc). the ak4643 can accept input voltages from avss to avdd. 4. analog outputs the input data format for the dac is 2?s complement. the output voltage is a positive full scale for 7fffh(@16bit) and a negative full scale for 8000h(@16bit). stereo line output and receiver output are centered at 0.45 x avdd. the headphone-amp and speaker-amp outputs are centered at hvdd/2.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 89 - control sequence ? clock set up when adc or dac is powered-up, the clocks must be supplied. 1. pll master mode. bick pin lrck pin mcko bit (addr:01h, d1) pmpll bit (addr:01h, d0) 40msec(max) output (1) (6) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) mcki pin (5) (4) input m/s bit (addr:01h, d3) mcko pin output (8) (7) 40msec(max) example: audio i/f format: msb justified (adc & dac) bick frequency at master mode: 64fs input master clock select at pll mode: 11.2896mhz mcko: enable sampling frequency: 44.1khz (1) power supply & pdn pin = ?l? ? ?h? (3)addr:00h, data:40h (2)addr:01h, data:08h addr:04h, data:4ah addr:05h, data:27h (4)addr:01h, data:0bh mcko, bick and lrck output figure 78. clock set up sequence (1) (1) after power up, pdn pin = ?l? ? ?h? ?l? time of 150ns or more is needed to reset the ak4643. (2) dif1-0, pll3-0, fs3-0, bcko and m/s bits should be set during this period. (3) power upvcom: pmvcm bit = ?0? ? ?1? vcom should first be powered-up before the other block operates. (4) in case of using mcko output: mcko bit = ?1? in case of not using mcko output: mcko bit = ?0? (5) pll lock time is 40ms(max) after pmpll bit changes from ?0? to ?1? and mcki is supplied from an external source. (6) the ak4643 starts to output the lrck and bick clocks after the pll becomes stable. then normal operation starts. (7) the invalid frequency is output from mcko pin during this period if mcko bit = ?1?. (8) the normal clock is output from mcko pin after the pll is locked if mcko bit = ?1?.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 90 - 2. pll slave mode (lrck or bick pin) pmpll bit (addr:01h, d0) internal clock (1) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) lrck pin bick pin (4) (5) input 4fs of example: audio i/f format : msb justified (adc & dac) pll reference clock: bick bick frequency: 64fs sampling frequency: 44.1khz (1) power supply & pdn pin = ?l? ? ?h? (3) addr:00h, data:40h (2) addr:04h, data:32h addr:05h, data:27h (4) addr:01h, data:01h figure 79. clock set up sequence (2) (1) after power up: pdn pin ?l? ? ?h? ?l? time of 150ns or more is needed to reset the ak4643. (2) dif1-0, fs3-0 and pll3-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) pll starts after the pmpll bit changes from ?0? to ?1? and pll reference clock (lrck or bick pin) is supplied. pll lock time is 160ms(max) when lrck is a pll reference clock. and pll lock time is 2ms(max) when bick is a pll reference clock. (5) normal operation stats after that the pll is locked.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 91 - 3. pll slave mode (mcki pin) bick pin lrck pin mcko bit (addr:01h, d1) pmpll bit (addr:01h, d0) (1) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) mcki pin (5) (4) input mcko pin output (6) (7) 40msec(max) (8) input example: audio i/f format: msb justified (adc & dac) input master clock select at pll mode: 11.2896mhz mcko: enable sampling frequency: 44.1khz (1) power supply & pdn pin = ?l? ? ?h? (3)addr:00h, data:40h (2)addr:04h, data:4ah addr:05h, data:27h (4)addr:01h, data:03h mcko output start bick and lrck input start figure 80. clock set up sequence (3) (1) after power up: pdn pin ?l? ? ?h? ?l? time of 150ns or more is needed to reset the ak4643. (2) dif1-0, pll3-0 and fs3-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) enable mcko output: mcko bit = ?1? (5) pll starts after that the pmpll bit changes from ?0? to ?1? and pll reference clock (mcki pin) is supplied. pll lock time is 40ms(max). (6) the normal clock is output from mcko after pll is locked. (7) the invalid frequency is output from mcko during this period. (8) bick and lrck clocks should be synchronized with mcko clock.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 92 - 4. ext slave mode (1) power supply pdn pin pmvcm bit (addr:00h, d6) (2) (3) lrck pin bick pin (4) input (4) mcki pin input example: audio i/f format: msb justified (adc and dac) input mcki frequency: 256fs sampling frequency: 44.1khz mcko: disable (1) power supply & pdn pin = ?l? ? ?h? (3) addr:00h, data:40h (2) addr:04h, data:02h addr:05h, data:00h mcki, bick and lrck input figure 81. clock set up sequence (4) (1) after power up: pdn pin ?l? ? ?h? ?l? time of 150ns or more is needed to reset the ak4643. (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) normal operation starts after the mcki, lrck and bick are supplied.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 93 - 5. ext master mode (1) power supply pdn pin pmvcm bit (addr:00h, d6) (3) (4) lrck pin bick pin (2) mcki pin input m/s bit (addr:01h, d3) output example: audio i/f format: msb justified (adc and dac) input mcki frequency: 256fs sampling frequency: 44.1khz mcko: disable (1) power supply & pdn pin = ?l? ? ?h? (4) addr:00h, data:40h (3) addr:04h, data:02h addr:05h, data:00h addr:01h, data:08h bick and lrck output (2) mcki input figure 82. clock set up sequence (5) (1) after power up: pdn pin ?l? ? ?h? ?l? time of 150ns or more is needed to reset the ak4643. (2) mcki should be input. (3) after dif1-0 and fs1-0 bits are set, m/s bit should be set to ?1?. then lrck and bick are output. (4) power up vcom: pmvcm bit = ?0? ? ?1? vcom should first be powered up before the other block operates.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 94 - ? mic input recording (stereo) fs3-0 bits (addr:05h, d5&d2-0) mic control (addr:02h, d2-0) pmadl/r bit (addr:00h&10h, d0) adc internal state 1,111 0,000 001 101 power down initialize normal state power down 1059 / fs (1) (2) (7) alc state alc enable alc disable alc disable (5) alc control 1 (addr:06h) 00h 3ch (3) alc control 2 (addr:08h) e1h e1h (4) alc control 3 (addr:0bh) 00h 00h (8) (6) alc control 4 (addr:07h) 07h 21h 01h (9) example: pll master mode audio i/f format:msb justified (adc & dac) sampling frequency:44.1khz pre mic amp:+20db mic power on alc setting:refer to table 35 alc bit=?1? (2) addr:02h, data:05h (3) addr:06h, data:3ch (1) addr:05h, data:27h (4) addr:08h, data:e1h (5) addr:0bh, data:00h (7) addr:00h, data:41h addr:10h, data:01h recording (8) addr:00h, data:40h addr:10h, data:00h (6) addr:07h, data:21h (9) addr:07h, data:01h figure 83. mic input recording sequence this sequence is an example of alc setting at fs=44.1khz. if the parameter of the alc is changed, please refer to ?figure 36. registers set-up sequence at alc operation? at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bit). when the ak4643 is pll mode, mic and adc should be powered-up in consideration of pll lock time after a sampling frequency is changed. (2) set up mic input (addr: 02h) (3) set up timer select for alc (addr: 06h) (4) set up ref value for alc (addr: 08h) (5) set up lmth1 and rgain1 bits (addr: 0bh) (6) set up lmth0, rgain0, lmat1-0 and alc bits (addr: 07h) (7) power up mic and adc: pmadl = pmadr bits = ?0? ?1? the initialization cycle time of adc is 1059/fs=24ms@fs=44.1khz. after the alc bit is set to ?1? and mic&adc block is powered-up, the alc operation starts from ivol default value (+30db). the time of offset voltage going to ?0? after the adc initialization cycle depends on both the time of analog input pin going to the common voltage and the time constant of the offset cancel digital hpf. this time can be shorter by using the following sequence: at first, pmvcm and pmmp bits should set to ?1?. then, the adc should be powered-up. the wait time to power-up the adc should be longer than 4 times of the time constant that is determined by the ac coupling capacitor at analog input pin and the internal input resistance 60k(typ). (8) power down mic and adc: pmadl = pmadr bits = ?1? ?0? when the registers for the alc operation are not changed, alc bit may be keeping ?1?. the alc operation is disabled because the mic&adc block is powered-down. if the registers for the alc operation are also changed when the sampling frequency is changed, it should be done after the ak4643 goes to the manual mode (alc bit = ?0?) or mic&adc block is powered-down (pmadl=pmadr bits = ?0?). ivol gain is not reset when pmadl=pmadr bits = ?0?, and then ivol operation starts from the setting value when pmadl or pmadr bit is changed to ?1?. (9) alc disable: alc bit = ?1? ?0?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 95 - ? speaker-amp output fs3-0 bits (addr:05h, d5&d2-0) dvl/r7-0 bits (addr:0ah&0dh, d7-0) pmdac bit (addr:00h, d2) pmspk bit (addr:00h, d4) 1,111 0,000 18h 28h spp pin normal output sppsn bit (addr:02h, d7) hi-z hi-z spn pin normal output hi-z hi-z hvdd/2 hvdd/2 (1) (9) 1 0 (7) alc bit (addr:07h, d5) (10) (11) (14) (12) dacs bit (addr:02h, d5) (13) 01 00 (3) spkg1-0 bits (addr:03h, d4-3) ivl/r7-0 bits (addr:09h&0ch, d7-0) e1h 91h (8) (2) (6) alc control 1 (addr:06h) 00h 3ch (4) alc control 2 (addr:08h) e1h c1h (5) alc control 3 (addr:0bh) 00h 00h pmmin bit (addr:00h, d5) example: pll master mode audio i/f format: msb justified (adc & dac) sampling frequency: 44.1khz digital volume: ? 8db alc: enable (2) addr:02h, data:20h (7) addr:07h, data:20h (1) addr:05h, data:27h (9) addr:0ah & 0dh, data:28h (10) addr:00h, data:74h (11) addr:02h, data:a0h (12) addr:02h, data:20h playback (13) addr:02h, data:00h (14) addr:00h, data:40h (3) addr:03h, data:08h (8) addr:09h & 0ch, data:91h (4) addr:06h, data:3ch (5) addr:08h, data:e1h (6) addr:0bh, data:00h figure 84. speaker-amp output sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bits). when the ak4643 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) spk-amp gain setting: spkg1-0 bits = ?00? ? ?01? (4) set up timer select for alc (addr: 06h) (5) set up ref value for alc (addr: 08h) (6) set up lmth1 and rgain1 bits (addr: 0bh) (7) set up lmth0, rgain0, lmat1-0 and alc bits (addr: 07h) when pmadl or pmadr bit is ?1?, alc for dac path is disabled. (8) set up the input digital volume (addr: 09h and 0ch) when pmadl = pmadr bits = ?0?, ivl7-0 and ivr7-0 bits should be set to ?91h?(0db). (9) set up the output digital volume (addr: 0ah and 0dh). when dvolc bit is ?1? (default), dvl7-0 bits set the volume of both channels. after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (10) power up of dac, min-amp and speaker-amp: pmdac = pmmin = pmspk bits = ?0? ?1? the dac enters an initialization cycle that starts when the pmdac bit is changed from ?0? to ?1? at pmadl and pmadr bits are ?0?. the initialization cycle time is 1059/fs=24ms@fs=44.1khz. during the initialization cycle, the dac input digital data of both channels are internally forced to a 2's compliment, ?0?. the dac output reflects the digital input data after the initialization cycle is complete. when pmadl or pmadr bit is ?1?, the dac does not require an initialization cycle. when alc bit is ?1?, alc is disable (alc gain is set by ivl/r7-0 bits) during an intialization cycle (1059/fs=24ms@fs=44.1khz). after the initialization cycle, alc operation starts from the gain set by ivl/r7-0 bits. (11) exit the power-save-mode of speaker-amp: sppsn bit = ?0? ?1? (12) enter the power-save-mode of speaker-amp: sppsn bit = ?1? ?0? (13) disable the path of ?dac ? spk-amp?: dacs bit = ?1? ? ?0? (14) power down dac, min-amp and speaker-amp: pmdac = pmmin = pmspk bits = ?1? ?0?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 96 - ? mono signal output from speaker-amp dacs bit (addr:02h, d5) pmspk bit (addr:00h, d4) mins bit (addr:02h, d6) spp pin normal output sppsn bit (addr:02h, d7) hi-z hi-z spn pin normal output hi-z hi-z hvdd/2 hvdd/2 (2) (1) (5) (4) pmmin bit (addr:00h, d5) 1 0 clocks can be stopped. clock (3) (6) example: (2) addr:02h, data:60h (1) addr:00h, data:70h (3) addr:02h, data:e0h mono signal output (4) addr:02h, data:60h (5) addr:00h, data:40h (6) addr:02h, data:00h figure 85. ?min-amp ? speaker-amp? output sequence the clocks can be stopped when only min-amp and speaker-amp are operating. (1) power up min-amp and speaker-amp: pmmin = pmspk bits = ?0? ?1? (2) disable the path of ?dac ? spk-amp?: dacs bit = ?0? enable the path of ?min ? spk-amp?: mins bit = ?0? ?1? (3) exit the power-save-mode of speaker-amp: sppsn bit = ?0? ?1? (4) enter the power-save-mode of speaker-amp: sppsn bit = ?1? ?0? (5) power down min-amp and speaker-amp: pmmin = pmspk bits = ?1? ?0? (6) disable the path of ?min ? spk-amp?: mins bit = ?1? ?0?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 97 - ? headphone-amp output fs3-0 bits (addr:05h, d5&d2-0) dvl/r7-0 bits (addr:0ah&0dh, d7-0) pmhpl/r bits (addr:01h, d5-4) hpmtn bit (addr:01h, d6) hpl/r pins 1,111 0,000 18h 28h normal output (1) bst1-0 bits (addr:0eh, d3-2) 00 10 00 (3) (5) (12) pmdac bit (addr:00h, d2) (6) (11) (7) (9) (8) (10) ivl/r7-0 bits (addr:09h&0ch, d7-0) e1h 91h (4) pmmin bit (addr:00h, d5) dach bit (addr:0fh, d0) (2) (13) example: pll, master mode audio i/f format :msb justified (adc & dac) sampling frequency: 44.1khz digital volume: ? 8db bass boost level : middle (1) addr:05h, data:27h (2) addr:0fh, data:09h (4) addr:09h&0ch, data:91h (5) addr:0ah&0dh, data:28h (6) addr:00h, data:64h (7) addr:01h, data:39h (8) addr:01h, data:79h playback (9) addr:01h, data:39h (10) addr:01h, data:09h (11) addr:00h, data:40h (3) addr:0eh, data:19h (12) addr:0eh, data:11h (13) addr:0fh, data:08h figure 86. headphone-amp output sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bits). when the ak4643 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 hp-amp?: dach bit = ?0? ?1? (3) set up the low frequency boost level (bst1-0 bits) (4) set up the input digital volume (addr: 09h and 0ch) when pmadl = pmadr bits = ?0?, ivl7-0 and ivr7-0 bits should be set to ?91h?(0db). (5) set up the output digital volume (addr: 0ah and 0dh) when dvolc bit is ?1? (default), dvl7-0 bits set the volume of both channels. after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (6) power up dac and min-amp: pmdac = pmmin bits = ?0? ?1? the dac enters an initialization cycle that starts when the pmdac bit is changed from ?0? to ?1? at pmadl and pmadr bits are ?0?. the initialization cycle time is 1059/fs=24ms@fs=44.1khz. during the initialization cycle, the dac input digital data of both channels are internally forced to a 2's compliment, ?0?. the dac output reflects the digital input data after the initialization cycle is complete. when pmadl or pmadr bit is ?1?, the dac does not require an initialization cycle. when alc bit is ?1?, alc is disable (alc gain is set by ivl/r7-0 bits) during an intialization cycle (1059/fs=24ms@fs=44.1khz). after the initialization cycle, alc operation starts from the gain set by ivl/r7-0 bits. (7) power up headphone-amp: pmhpl = pmhpr bits = ?0? ?1? output voltage of headphone-amp is still hvss. (8) rise up the common voltage of headphone-amp: hpmtn bit = ?0? ?1? the rise time depends on hvdd and the capacitor value connected with the mutet pin. when hvdd=3.3v and the capacitor value is 1.0 f, the time constant is r = 100ms(typ), 250ms(max). (9) fall down the common voltage of headphone-amp: hpmtn bit = ?1? ?0? the fall time depends on hvdd and the capacitor valu e connected with the mutet pin. when hvdd=3.3v and the capacitor value is 1.0 f, the time constant is f = 100ms(typ), 250ms(max). if the power supply is powered-off or headphone-amp is powered-down before the common voltage goes to gnd, the pop noise occurs. it takes twice of f that the common voltage goes to gnd. (10) power down headphone-amp: pmhpl = pmhpr bits = ?1? ?0? (11) power down dac and min-amp: pmdac = pmmin bits = ?1? ?0? (12) off the bass boost: bst1-0 bits = ?00? (13) disable the path of ?dac hp-amp?: dach bit = ?1? ?0?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 98 - ? stereo line output fs3-0 bits (addr:05h, d5&d2-0) dvl/r7-0 bits (addr:0ah&0dh, d7-0) pmdac bit (addr:00h, d2) pmlo bit (addr:00h, d3) 1,111 0,000 18h 28h lout pin rout pin (1) (4) (5) (2) dacl bit (addr:02h, d4) (10) normal output (7) lops bit (addr:03h, d6) (6) >300 ms (8) (9) >300 ms (11) ivl/r7-0 bits (addr:09h&0ch, d7-0) e1h 91h (3) pmmin bit (addr:00h, d5) example: pll, master mode audio i/f format :msb justified (adc & dac) sampling frequency: 44.1khz digital volume: ? 8db lovl=minl bits = ?0? (1) addr:05h, data:27h (2) addr:02h, data:10h (4) addr:0ah&0dh, data:28h (5) addr:03h, data:40h (6) addr:00h, data:6ch (7) addr:03h, data:00h playback (8) addr:03h, data:40h (9) addr:00h, data:40h (10) addr:02h, data:00h (11) addr:03h, data:00h (3) addr:09h&0ch, data:91h figure 87. stereo lineout sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up the sampling frequency (fs3-0 bits). when the ak4643 is pll mode, dac and stereo line-amp should be powered-up in consideration of pll lock time after the sampling frequency is changed. (2) set up the path of ?dac ? stereo line amp?: dacl bit = ?0? ? ?1? (3) set up the input digital volume (addr: 09h and 0ch) when pmadl = pmadr bits = ?0?, ivl7-0 and ivr7-0 bits should be set to ?91h?(0db). (4) set up the output digital volume (addr: 0ah and 0dh) when dvolc bit is ?1? (default), dvl7-0 bits set the volume of both channels. after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (5) enter power-save mode of stereo line amp: lops bit = ?0? ? ?1? (6) power-up dac, min-amp and stereo line-amp: pmdac = pmmin = pmlo bits = ?0? ?1? the dac enters an initialization cycle that starts when the pmdac bit is changed from ?0? to ?1? at pmadl and pmadr bits are ?0?. the initialization cycle time is 1059/fs=24ms@fs=44.1khz. during the initialization cycle, the dac input digital data of both channels are internally forced to a 2's compliment, ?0?. the dac output reflects the digital input data after the initialization cycle is complete. when pmadl or pmadr bit is ?1?, the dac does not require an initialization cycle. when alc bit is ?1?, alc is disable (alc gain is set by ivl/r7-0 bits) during an intialization cycle (1059/fs=24ms@fs=44.1khz). after the initialization cycle, alc operation starts from the gain set by ivl/r7-0 bits. lout and rout pins rise up to vcom voltage after pmlo bit is changed to ?1?. rise time is 300ms(max) at c=1 f and avdd=3.3v. (7) exit power-save mode of stereo line-amp: lops bit = ?1? ? ?0? lops bit should be set to ?0? after lout and rout pins rise up. stereo line-amp goes to normal operation by setting lops bit to ?0?. (8) enter power-save mode of stereo line-amp: lops bit: ?0? ? ?1? (9) power-down dac, min-amp and stereo line-amp: pmdac = pmmin = pmlo bits = ?1? ?0? lout and rout pins fall down to avss. fall time is 300ms(max) at c=1 f and avdd=3.3v. (10) disable the path of ?dac ? stereo line-amp?: dacl bit = ?1? ? ?0? (11) exit power-save mode of stereo line-amp: lops bit = ?1? ? ?0? lops bit should be set to ?0? after lout and rout pins fall down.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 99 - ? receiver-amp output fs3-0 bits (addr:05h, d5&d2-0) dvl/r7-0 bits (addr:0ah&0dh, d7-0) pmdac bit (addr:00h, d2) pmlo bit (addr:00h, d3) 1,111 0,000 18h 28h rcp pin normal output lops bit (addr:03h, d6) hi-z hi-z rcn pin normal output hi-z hi-z vcom vcom (1) (6) (7) (8) (11) (9) dacl bit (addr:02h, d4) (10) ivl/r7-0 bits (addr:09h&0ch, d7-0) e1h 91h (5) (3) pmmin bit (addr:00h, d5) rcv bit (addr:21h, d0) (2) (4) example: pll master mode audio i/f format: msb justified (adc & dac) sampling frequency: 44.1khz digital volume: ? 8db lovl = minl bits = ?0? (3) addr:02h, data:10h (1) addr:05h, data:27h (6) addr:0ah & 0dh, data:28h (7) addr:00h, data:6ch (8) addr:03h, data:00h (9) addr:03h, data:40h playback (10) addr:02h, data:00h (11) addr:00h, data:40h (5) addr:09h & 0ch, data:91h (2) addr:21h, data:01h (4) addr:03h, data:40h figure 88. receiver-amp output sequence at first, clocks should be supplied according to ?clock set up? sequence. (1) set up a sampling frequency (fs3-0 bits). when the ak4643 is pll mode, dac and receiver-amp should be powered-up in consideration of pll lock time after a sampling frequency is changed. (2) set up the path of ?dac ? rcv-amp and power-save mode?: dacl=lops bit = ?0? ? ?1? (3) set up the input digital volume (addr: 09h and 0ch) when pmadl = pmadr bits = ?0?, ivl7-0 and ivr7-0 bits should be set to ?91h?(0db). (4) set up the output digital volume (addr: 0ah and 0dh). when dvolc bit is ?1? (default), dvl7-0 bits set the volume of both channels. after dac is powered-up, the digital volume changes from default value (0db) to the register setting value by the soft transition. (5) power up of dac, min-amp and receiver-amp: pmdac = pmmin = pmlo bits = ?0? ?1? the dac enters an initialization cycle that starts when the pmdac bit is changed from ?0? to ?1? at pmadl and pmadr bits are ?0?. the initialization cycle time is 1059/fs=24ms@fs=44.1khz. during the initialization cycle, the dac input digital data of both channels are internally forced to a 2?s compliment, ?0?. the dac output reflects the digital input data after the initialization cycle (1059/fs=24ms@fs=44.1khz) is complete. when pmadl or pmadr bit is ?1?, the dac does not require an initialization cycle. (6) exit the power-save-mode of receiver-amp: lops bit = ?1? ?0? (7) enter the power-save-mode of receiver-amp: lops bit = ?0? ?1? (8) disable the path of ?dac ? rcv-amp?: dacl bit = ?1? ? ?0? (9) power down dac, min-amp and receiver-amp: pmdac = pmmin = pmlo bits = ?1? ?0?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 100 - ? stop of clock master clock can be stopped when adc and dac are not used. 1. pll master mode external mcki pmpll bit (addr:01h, d0) mcko bit (addr:01h, d1) input (3) (1) (2) "1" or "0" example: audio i/f format: msb justified (adc & dac) bick frequency at master mode: 64fs input master clock select at pll mode: 11.2896mhz (3) stop an external mcki (1) (2) addr:01h, data:08h figure 89. clock stopping sequence (1) (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 (lrck or bick pin) external bick pmpll bit (addr:01h, d0) input (1) (2) external lrck input (2) example audio i/f format : msb justified (adc & dac) pll reference clock: bick bick frequency: 64fs (1) addr:01h, data:00h (2) stop the external clocks figure 90. clock stopping sequence (2) (1) power down pll: pmpll bit = ?1? ?0? (2) stop the external bick and lrck clocks 3. pll slave (mcki pin) external mcki pmpll bit (addr:01h, d0) input (1) (2) mcko bit (addr:01h, d1) (1) example audio i/f format: msb justified (adc & dac) pll reference clock: mcki bick frequency: 64fs (1) addr:01h, data:00h (2) stop the external clocks figure 91. clock stopping sequence (3) (1) power down pll: pmpll bit = ?1? ?0? stop mcko output: mcko bit = ?1? ?0? (2) stop the external master clock.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 101 - 4. ext slave mode external lrck input (1) external bick input (1) external mcki input (1) example audio i/f format :msb justified(adc & dac) input mcki frequency:1024fs (1) stop the external clocks figure 92. clock stopping sequence (4) (1) stop the external mcki, bick and lrck clocks. 5. ext master mode lrck output bick output external mcki input (1) "h" or "l" "h" or "l" example audio i/f format :msb justified(adc & dac) input mcki frequency:1024fs (1) stop the external mcki figure 93. clock stopping sequence (5) (1) stop mcki clock. bick and lrck are fixed to ?h? or ?l?. ? power down power supply current can be shut down (typ. 10 a) by stopping clocks and setting pmvcm bit = ?0? after all blocks except for vcom are powered-down. power supply current can be also shut down (typ. 10 a) by stopping clocks and setting pdn pin = ?l?. when pdn pin = ?l?, the registers are initialized.
asahi kasei [ak4643] ms0476-e-01 2006/10 - 102 - package 32pin qfn (unit: mm) 4.75 0.10 5.00 0.10 4.75 0.10 0.50 0.23 24 17 25 1 16 1 0.01 0.08 32 8 9 c0.42 32 +0.07 -0.05 0.40 0.10 0.20 + 0.04 - 0.01 c exposed pad 3.5 5.00 0.10 0.85 0.05 c b a 0.10 m ab 3.5 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: epoxy lead frame material: cu lead frame surface treatment: solder (pb free) plate
asahi kasei [ak4643] ms0476-e-01 2006/10 - 103 - marking a k4643 x xxxx 1 a km xxxxx : date code identifier (5 digits) revision history date (yy/mm/dd) revision reason page contents 06/04/04 00 first edition spec change 38 mic/line input selector ?when full-differential input is used, the signal should not be input to the pins marked by ?x? in table 21.? was added. table 21 (handling of mic/line input pins) was added. 57 stereo line output control sequence power-down mode: pmlo bit = ?1? ? pmlo bit = ?0? 69 i 2 c bus control mode ?those most significant 3-bits are fixed to zeros? ? ?those most significant 2-bits are fixed to zeros? 79 register definitions (addr=0fh) hpm bit: ?when the hpm bit = ?1?, (l+r)/2 signals are output to lch and rch of the headphone-amp. both pmhpl and pmhpr bits should be ?1? when hpm bit is ?1?. ? ?when the hpm bit = ?1?, dac output signal is output to lch and rch of the headphone-amp as (l+r)/2.? 92 control sequence (clock setup: ext slave mode) mclk frequency: 1024fs ? 256fs addr=05h: data=01h ? 00h 93 control sequence (clock setup: ext master mode) mclk frequency: 1024fs ? 256fs addr=05h: data=01h ? 00h 06/10/24 01 error correct 94 control sequence (mic recording) alc setting: ?refer to figure 23? ? ?refer to table 36?
asahi kasei [ak4643] ms0476-e-01 2006/10 - 104 - date (yy/mm/dd) revision reason page contents 97 control sequence (headphone playback) digital volume level: 0db ? ? 8db addr=0eh: data=14h ? 19h figure 86: (12) addr=0eh: data=00h ? 11h 06/10/24 01 error correct 100 control sequence (stop of clock: pll master mode) mcko bits = ?h? or ?l? ? ?1? or ?0? important notice ? these products and their specifications are subject to change without notice. before considering any use or application, consult the asahi kasei microsystems co., ltd. (akm) sales office or authorized distributor concerning their current status. ? akm assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any in formation contained herein. ? any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. ? akm products are neither intended nor authorized for us e as critical components in any safety, life support, or other hazard related device or system, and akm assumes no responsibility relating to any such use, except with the express written consent of the representative director of akm. as used here: a. a hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. b. a critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefo re meet very high standards of performance and reliability. ? it is the responsibility of the buyer or distributor of an akm product who distributes, disposes of, or otherwise places the product with a third party to no tify that party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold akm harmless from any and all clai ms arising from the use of said product in the absence of such notification.


▲Up To Search▲   

 
Price & Availability of AK4643EN

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X