Part Number Hot Search : 
F6078 DFLZ11Q SMBJ16 TW2866 25TTS NJM2059 TCU10000 KSD5062
Product Description
Full Text Search
 

To Download ALC250 Datasheet File

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


  Datasheet File OCR Text:
  two-channel ac?97 2.3 audio codec with equalizer datasheet rev. 1.3 06 december 2005 track id: jatr-1076-21 realtek semiconductor corp. no. 2, innovation road ii, hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com.tw ALC250 ALC250-lf www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 ii copyright ?2005 realtek semiconductor corp. all rights reserve d. no part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permission of realtek semiconductor corp. disclaimer realtek provides this document ?as is?, without wa rranty of any kind, neither expressed nor implied, including, but not limited to, the particular purpose. realtek may make improvements and/or changes in this document or in the product described in this document at any time. this document could include technical inaccuracies or typographical errors. trademarks realtek is a trademark of realtek semiconductor co rporation. other names mentioned in this document are trademarks/registered trademarks of their respective owners. confidentiality this document is confidential and should not be provide d to a third-party without the permission of realtek semiconductor corporation. using this document this document is intended for the software engi neer?s reference and provides detailed programming information. though every effort has been made to ensure that this document is current and accurate, more information may have become available subsequent to the producti on of this guide. in that event, please contact your realtek representative for additional information that may help in the development process. revision history revision release date summary 1.00 2003/07/31 first release. 1.01 2003/08/06 change cover page. 1.10 2003/10/24 add ordering information. 1.20 2005/03/18 1.for ALC250-vd, pin- 43 is disable# (section 9.10) 2.serial interface signals are shifted to pin-44 and pin-45. 3. add lead (pb)-free and version package identification information on page 3 and on page 43. 1.3 2005/12/06 update section 6.1.12 mx1a record select, page 11. update section 12. ordering information, page 43. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 iii table of contents 1. general de scription......................................................................................................... ......... 1 2. features.................................................................................................................... ......................... 1 3. block diagram............................................................................................................... ................ 1 3.1 a nalog m ixer ............................................................................................................................... .... 1 3.2 d igital d ata p ath ........................................................................................................................... 2 4. pin assignments ............................................................................................................. ................ 3 4.1 l ead (p b )-f ree p ackage and v ersion i dentification ................................................................. 3 5. pin descriptions ............................................................................................................ ................ 4 5.1 d igital i/o p ins ............................................................................................................................... .. 4 5.2 a nalog i/o p ins ............................................................................................................................... .4 5.3 f ilter /r eference /nc....................................................................................................................... 5 5.4 p ower /g round ............................................................................................................................... ... 5 6. registers ................................................................................................................... ........................ 6 6.1 m ixer r egisters ............................................................................................................................... 6 6.1.2 mx02 master volume....................................................................................................... ........... 7 6.1.3 mx04 he adphone ......................................................................................................................... 7 6.1.4 mx06 mono_out volume ..................................................................................................... .. 8 6.1.5 mx0a pc beep volume...................................................................................................... ....... 8 6.1.6 mx0c phone volume ........................................................................................................ ....... 8 6.1.7 mx0e mic volume .......................................................................................................... ........... 9 6.1.8 mx10 line_in volume ...................................................................................................... ........ 9 6.1.9 mx12 cd volume........................................................................................................... ............. 9 6.1.10 mx16 aux volume ......................................................................................................... ........ 10 6.1.11 mx18 pcm_out volume..................................................................................................... .. 10 6.1.12 mx1a record select...................................................................................................... .......... 11 6.1.13 mx1c record gain for stereo adc ....................................................................................... 11 6.1.14 mx1e record gain for mic adc .......................................................................................... 12 6.1.15 mx20 general purpose register........................................................................................... .. 12 6.1.16 mx22 3d control ......................................................................................................... ........... 12 6.1.17 mx24 audio interrupt and paging ......................................................................................... .13 6.1.18 mx26 powerdown control/status........................................................................................... 14 6.1.19 mx28 extended audio id.................................................................................................. ...... 15 6.1.20 mx2a extended audio status and control ............................................................................... 15 6.1.21 mx2c pcm dac rate ....................................................................................................... ..... 16 6.1.22 mx32 pcm adc rate....................................................................................................... ...... 16 6.1.23 mx3a s/pdif out c hannel status/control .............................................................................. 17 6.2 v endor d efined r egisters (p age id-00 h )................................................................................... 18 6.2.1 mx60 s/pdif input channel status [15:0].............................................................................. 18 6.2.2 mx62 s/pdif input channel status [29:15]............................................................................ 18 6.2.3 mx64 equalizer control index port ........................................................................................ 18 6.2.4 mx64 equalizer control data port ......................................................................................... 19 6.2.5 mx6a data flow control ................................................................................................... ...... 19 6.3 d iscovery d escriptor (p age id-01 h ) .......................................................................................... 20 6.3.1 mx62 pci sub system id................................................................................................... ....... 20 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 iv 6.3.2 mx64 pci sub vendor id ................................................................................................... ...... 20 6.3.3 mx66 sense function select ............................................................................................... ...... 20 6.3.4 mx68 sense function information.......................................................................................... .. 21 6.3.5 mx6a sense detail........................................................................................................ ............ 21 6.4 e xtension r egisters ...................................................................................................................... 22 6.4.1 mx76 gpio & interrupt setup .............................................................................................. ... 22 6.4.2 mx78 gpio & interrupt status ............................................................................................. ... 22 6.4.3 mx7a miscellaneous control ............................................................................................... .... 23 6.4.4 mx7c vendor id1.......................................................................................................... ........... 23 6.4.5 mx7e vendor id2 .......................................................................................................... ........... 23 6.5 eq ualizer c ontrol r egisters ..................................................................................................... 24 7. electrical ch aracteristics .............................................................................................. 28 7.1 dc c haracteristics ....................................................................................................................... 28 7.1.1 absolute maximum ratings................................................................................................. ...... 28 7.1.2 threshold hold voltage ................................................................................................... ......... 28 7.1.3 digital filter characteristics ........................................................................................... ......... 28 7.1.4 s/pdif output characteristics ............................................................................................ ...... 29 7.2 ac t iming c haracteristics .......................................................................................................... 29 7.2.1 cold reset............................................................................................................... ................... 29 7.2.2 warm reset............................................................................................................... ................. 29 7.2.3 ac-link clocks........................................................................................................... ............... 29 7.2.4 data output and input timing ............................................................................................. ..... 30 7.2.5 signal rise and fall timing .............................................................................................. ........ 30 7.2.6 ac-link low power mode timing............................................................................................ 31 7.2.7 ate test mode ............................................................................................................ .............. 31 7.2.8 ac-link io pin capacitance and loading ............................................................................... 32 7.2.9 spdif output ............................................................................................................. ............... 32 8. analog performance characteristics ...................................................................... 33 9. design suggestions .......................................................................................................... ......... 35 9.1 c locking ............................................................................................................................... .......... 35 9.2 ac-l ink ............................................................................................................................... ............ 35 9.3 r eset ............................................................................................................................... ................. 35 9.4 cd i nput ............................................................................................................................... ........... 36 9.5 o dd a ddressed r egister a ccess ................................................................................................. 36 9.6 p ower - down m ode ......................................................................................................................... 36 9.7 t est m ode ............................................................................................................................... ........ 36 9.7.1 ate in circuit test mode................................................................................................. ......... 36 9.7.2 vendor specific test mode................................................................................................ ........ 36 9.8 dc v oltage v olume c ontrol ..................................................................................................... 37 9.9 power off cd f unction ............................................................................................................. 38 10. applicatio n circuits....................................................................................................... ....... 39 11. mechanical dimensions ...................................................................................................... .41 11. mechanical dimensions ...................................................................................................... .41 12. ordering information ....................................................................................................... .. 43 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 1 1. general description the ALC250 is a 20-bit dac and 18-bit adc full duplex ac'97 2.3 compatible stereo audio codec designed for pc multimedia systems, including host/soft audio and amr/cnr based designs. th e ALC250 incorporates proprietary converter technology to achieve a high snr, greater than 100 db, sensing logics for device reporting, and universal audio jack? to enhance user convenience. the ALC250 ac'97 c odec supports multiple codec extensions with independent variable sampling rates and built-in 3d effects. the ALC250 codec provides two pairs of stereo outputs with independent volume controls, a mono output, and multiple stereo and mono inputs, along with flexible mixing, gain, and mute functions to provide a complete integrated audi o solution for pcs. the circuitry of the ALC250 codec operates from a +3.3v digital power and +5v analog power supply with eapd (external amplifier power down) control for use in notebook a nd pc applications. the ALC250 integrates a 50mw/20 ? headset audio amplifier into the codec, saving bom costs. the ALC250 also supports the spdif out function, which complies with ac'97 2.3, and offers easy connection of pcs to consumer electronic produc ts, such as ac3 decoder/speaker and mini disk devices. the ALC250 codec supports host/soft audio from intel ic hx chipsets as well as audio controller based via/sis/ali/amd/nvidia/ ati chipset. bundled windows series drivers (winxp/me/2000/98/nt), eax/ direct sound 3d/ i3dl2/ a3d compatible sound effect u tilities (supporting karaoke, 26-kind of environment s ound emulation, and 10 software equalizer bands), hrtf 3d positional audio and sensaura? 3d (optional) provide an excellent entertainment package and game experience for pc users. integrated 14.318m ? 24.576mhz pll generate required clock to eliminate the need for external crystal. the ALC250 also builds-in seven bands of digital hardware equalizer and cascades one lowpass filter, five bandpass filters, and one highpass filter. it optimizes frequenc y response on mobile pc speakers. 2. features z built- in 7 bands of digital hardware equalizer for optimizing speaker response z single chip with high s/n ratio (>100 db) z meets performance requirements for audio on pc99/2001 systems z meets microsoft whql/wlp 2.0 audio requirements z 20-bit dac and 18-bit adc resolution z compliant with ac?97 2.3 specifications -line/hp-out, mic-in and line-in sensing -14.318mhz- ? 24.576mhz pll saves crystal -12.288mhz bitclk input can be consumed -integrated pcbeep generator to save buzzer -interrupt capability - page registers and analog plug&play z support of s/pdif out is fully compliant with ac?97 rev2.3 specifications z three analog line-level stereo inputs with 5-bit volume control: line_in, cd, aux z high quality differential cd input z two analog line-level mono input: pcbeep, phone-in z supports double sampling rate (96khz) of dvd audio playback z two software selectable mic inputs z +6/12/20/30db boost preamplifier for mic input z stereo output with 6-bit volume control z mono output with 5-bit volume control z headphone output with 50mw/20 ? amplifier z 3d stereo enhancement z multiple codec extension capability z external amplifier power down (eapd) capability z power management and enhanced power saving features z stereo mic record for aec/bf application z dc voltage volume control z auxiliary power to support power off cd z adjustable vrefout control z eq operation can be controlled by 2 pins of serial bus z 2 universal audio jack (uaj)? for front panel z support 32k/44.1k/48k/96khz of s/pdif output z support 32k/44.1k/48khz of s/pdif input z power support: digital: 3.3v; analog: 3.3v/5v z standard 48-pin lqfp package z eax? 1.0&2.0 compatible z direct sound 3d? compatible z a3d? compatible z i3dl2 compatible z hrtf 3d positional audio z sensaura? 3d enhancement (optional) z 10 bands of software equalizer z voice cancellation and key shifting in kara ok mode z avrack ? media player z configuration panel to improve experience of user www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 1 3. block diagram 3.1 analog mixer mx0a mx0c mx0e mx10 mx12 mx16 3d master volume mono volume dac output pc-beep mic1 mic2 line-in phone cd-in aux-in mx1a m u x mx1c record gain mono mix stereo mix adc headphone volume phone mic-l line cd aux mx22 hp-out line-out mono-out mx20.8 ALC250 mx02 amp reset# mx06 mx04 yes no 0* 1 stereo analog mono analog * : default setting record gain mic&eq adc mx18 1 mx6a.14 mx6a.7 mx6a.8 1* 0 mx1e left channel right channel 0* 1 boost boost mic-r 0* boost mx6a.6 0* 1 figure. analog mixer diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 2 3.2 digital data path original adc mixer block eq&mic adc spdif output dac digital eq ac- link cd-in line-in mic-in ... digital process engine analog outputs dvol dvol digital stereo digital mono analog stereo analog mono 20-bit pcm 20-bit spdif out left right 0 1 0 1 0 1 left dvol : digital volume control digital 3d 0 1 spdif input 20-bit spdif in 1 0 0 1 1 0 figure. digial data path diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 3 4. pin assignments mono-out/vrefout3 avdd2 hp-out-l avss2 aux-l spdifo mic2 jd1 phone line-in-r avss1 afilt2 vaux dvdd1 line-out-r cd-r hp-out-r line-out-l dcvol afilt1 vrefout vref avdd1 line-in-l mic1 cd-gnd cd-l xtl-in xtl-out dvss1 sdata-out bit-clk dvss2 sdata-in dvdd2 sync reset# pc-beep nc spdifi/eapd aux-r sck sda nc vrefout2 jd2 xtlsel nc 36 35 34 33 32 31 30 29 28 27 26 25 123456789101112 23 22 21 20 19 18 17 16 15 14 13 24 37 38 39 40 41 42 43 44 45 46 47 48 ALC250 lllllll txxxv 4.1 lead (pb)-free package and version identification lead (pb)-free package is indicated by an ?l? in the location marked ?t? in the figures above. the version number is shown in the location marked ?v?. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 4 5. pin descriptions in order to reduce pin count, and therefore size and cost, some pins have multiple f unctions. in those cases, the functions are separated with a ?/? symbol. refer to the pin assignment diagram for a graphical representation. 5.1 digital i/o pins name type pin no description characteristic definition reset# i 11 ac'97 h/w rese t schmitt trigger input xtl-in i 2 crystal input pad crystal: 24.576m/14.318m crystal input external: 24.576m/14.318m external clock input xtl-out o 3 crystal output pad crystal: 24.576m/14.318m crystal output external: 24.576m/14.318m clock output sync i 10 sample sync ( 48khz) schmitt trigger input bit-clk o 6 12.288mhz bit clock output cmos output sdata-out i 5 serial tdm input from ac?97 controller cmos input , vt=1.65v sdata-in o 8 serial tdm ac?97 codec output cmos output sck (b version) i 43 serial bit clock input schmitt trigger input, v il =1.0v, v ih =2.0v sda (b version) io 44 serial data input/out put schmitt trigger input, v il =1.0v, v ih =2.0v disable# (d version) i 43 pulled low to disable aclink signals. schmitt trigger input, v il =1.0v, v ih =2.0v (sdata-in and bitclk are driven low) sck (d version) i 44 serial bit clock input schmitt trigger input, v il =1.0v, v ih =2.0v sda (d version) io 45 serial data input/out put schmitt trigger input, v il =1.0v, v ih =2.0v xelsel i 46 pulled low to use external 14.318mhz clock source cmos input, vt=0.35vdd, internally pulled high by a 50k resistor. spdifi/eapd i/o 47 s/pdif input / external amplifier power down control cmos input / output spdifo o 48 s/pdif output digital output has 12 ma@75 ? driving capability. total: 12 pins 5.2 analog i/o pins name type pin no description characteristic definition pc-beep i 12 pc speaker input analog input (1.6vrms) phone i 13 speakerphone input analog input (1.6vrms) aux-l io 14 aux left channel analog input/output aux-r io 15 aux right channel analog input/output jd2 i 16 jack detect pin-2 internally pulled high to avdd by a 50k resistor jd1 i 17 jack detect pin-1 internally pulled high to avdd by a 50k resistor cd-l i 18 cd audio left channel analog input (1.6vrms) cd-gnd i 19 cd audio analog gnd analog input cd-r i 20 cd audio right channel analog input (1.6vrms) mic1 i 21 first mic input analog input (1.6vrms) mic2 i 22 second mic input analog input (1.6vrms) line-in-l i 23 line input left channel analog input (1.6vrms) line-in-r i 24 line input right channel analog input (1.6vrms) line-out-l o 35 line-out left channel analog output w/o amplifier line-out-r o 36 line-out right channel analog output w/o amplifier www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 5 name type pin no description characteristic definition hp-out-l io 39 headphone out left channel ALC250: analog output with amplifier / analog input hp-out-r io 41 headphone out left channel ALC250: analog output with amplifier / analog input mono-out/ vrefout3 o 37 mono output / third reference voltage analog output / voltage output (2.5v/4.0v) total: 18 pins 5.3 filter/reference/nc name type pin no description characteristic definition vref - 27 reference voltage 1uf capacitor to analog ground vrefout o 28 ref. voltage out analog dc voltage output (2.5v / 4.0v) afilt1 - 29 adc anti-aliasing filter 1000pf capacitor to analog ground. afilt2 - 30 adc anti-aliasing filter 1000pf capacitor to analog ground. nc - 31 not connection dc vol i 32 dc voltage volume control analog input (agnd~avdd) vrefout2 o 33 secondary ref. voltage out analog dc voltage output (2.5v / 4.0v) vrefout3 o 37 third ref. voltage out analog dc voltage output (2.5v / 4.0v) vaux i 34 auxiliary power to keep cd and amplifier turned on. +5v analog stand-by power nc - 40 not connection nc (b version) - 45 not connection total: 11 pins 5.4 power/ground name type pin no description characteristic definition avdd1 i 25 analog vdd (5.0v or 3.3v) avdd2 i 38 analog vdd (5.0v or 3.3v) avss1 i 26 analog gnd avss2 i 42 analog gnd dvdd1 i 1 digital vdd (3.3v) dvdd2 i 9 digital vdd (3.3v) dvss1 i 4 digital gnd dvss2 i 7 digital gnd total: 8 pins www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 6 6. registers 6.1 mixer registers access to registers with an odd number will return a 0. reading uni mplemented registers will also return a 0. x=reserved bit. reg. (hex) name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 defau lt 00h reset x se4 se3 se2 se1 se0 id9 id8 id7 id6 id5 id4 id3 id2 id1 id0 0190h 02h master volume mute x ml5 ml4 ml3 ml2 ml1 ml0 rm* x mr5 mr4 mr3 mr2 mr1 mr0 8000h 04h headphone volume mute x hpl 5 hpl 4 hpl 3 hpl 2 hpl 1 hpl 0 rm* x hpr 5 hpr 4 hpr 3 hpr 2 hpr 1 hpr 0 8000h 06h mono-out volume mute x x x x x x x x x x mm 4 mm 3 mm 2 mm 1 mm 0 8000h 0ah pc_beep volume mute x x f7 f6 f5 f4 f3 f2 f1 f0 pb3 pb2 pb1 pb0 x 8000h 0ch phone volume mute x x x x x x x x x x ph4 ph3 ph2 ph1 ph0 8008h 0eh mic volume mute x x x x x bgo 1 bgo 0 x bc x mi4 mi3 mi2 mi1 mi0 8008h 10h line-in volume mute x x nl4 nl3 nl2 nl1 nl0 rm* x x nr4 nr3 nr2 nr1 nr0 8808h 12h cd volume mute x x cl4 cl3 cl2 cl1 cl0 rm* x x cr4 cr3 cr2 cr1 cr0 8808h 16h aux volume mute x x al4 al3 al2 al1 al0 rm* x x ar4 ar3 ar2 ar1 ar0 8808h 18h pcm out volume mute x x pl4 pl3 pl2 pl1 pl0 rm* x x pr4 pr3 pr2 pr1 pr0 8808h 1ah record select x x x x x lrs 2 lrs 1 lrs 0 x x x x x rrs 2 rrs 1 rrs 0 0000h 1ch adc record gain mute x x x lrg 3 lrg 2 lrg 1 lrg 0 x x x x rrg 3 rrg 2 rrg 1 rrg 0 8000h 1eh mic adc record gain mute x x x lm rg3 lm rg2 lm rg1 lm rg0 x x x x rm rg3 rm rg2 rm rg1 rm rg0 8000h 20h general purpose pop x 3d x drs s1 drs s0 mix ms lbk x x x x x x x 0400h 22h 3d control x x x x x x x x x x x x x dp2 dp1 dp0 0000h 24h audio int. & paging i4 i3 i2 i1 i0 x x x x x x x pg3 pg2 pg1 pg0 0000h 26h power down ctrl/status eap d pr6 pr5 pr4 pr3 pr2 pr1 pr0 x x x x ref anl dac adc 000fh 28h extended audio id id1 id0 x x rev 1 rev 0 am ap x x x x x x spd if dra vra 0a07h 2ah extended audio status x x x x x spc v x x x x sps a1 sps a0 x spd if dra vra 0000h 2ch pcm front out sample rate fsr 15 fsr 14 fsr 13 fsr 12 fsr 11 fsr 10 fsr 9 fsr 8 fsr 7 fsr 6 fsr 5 fsr 4 fsr 3 fsr 2 fsr 1 fsr 0 bb80h 32h pcm input sample rate isr 15 isr 14 isr 13 isr 12 isr 11 isr 10 isr 9 isr 8 isr 7 isr 6 isr 5 isr 4 isr 3 isr 2 isr 1 isr 0 bb80h 34h mic input sample rate msr 15 msr 14 msr 13 msr 12 msr 11 msr 10 msr 9 msr 8 msr 7 msr 6 msr 5 msr 4 msr 3 msr 2 msr 1 msr 0 bb80h 3ah s/pdif ctl v drs sps r1 sps r0 l cc6 cc5 cc4 cc3 cc2 cc1 cc0 pre cop y /au dio pro 2000h 60h/ 6eh vendor define 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000h 76h gpio setup 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000h 78h gpio status 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0000h 7ch vendor id1 f7 f6 f5 f4 f3 f2 f1 f0 s7 s6 s5 s4 s3 s2 s1 s0 414ch 7eh vendor id2 t7 t6 t5 t4 t3 t2 t1 t0 dev 7 dev 6 dev 5 dev 4 dev 3 dev 2 dev 1 dev 0 4750h www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 7 6.1.1 mx00 reset default: 0190h writing any value to this register will start a register reset, and cause all registers to revert to their default values. the written data is ignored. reading this register returns the id code of the specific part. bit type function 15 reserved 14:10 r return 00000b 9 r read as 0 (no support for 20-bit adc) 8 r read as 1 (support for 18-bit adc) 7 r read as 1 (support for 20-bit dac) 6 r read as 0 (no support for 18-bit dac) 5 r read as 0 (no support for loudness) 4 r read as 1 (headphone output support) 3 r read as 0 (no simulated stereo; for analog 3d block use) 2 r read as 0 (no bass & treble control) 1 r reserved, read as 0 0 r read as 0 (no dedicated mic pcm input) 6.1.2 mx02 master volume default: 8000h these registers control the overall volume level of the output f unctions. each step on the left and right channels correspond t o 1.5db in increase/decrease in volume. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14 reserved 13:8 r/w master left volume (mlv[5:0]) in 1.5 db steps 7:6 reserved 5:0 r/w master right volume (mrv[5:0]) in 1.5 db steps n for mrv/mlv: 00h 0 db attenuation 3fh 94.5 db attenuation 6.1.3 mx04 headphone default: 8000h register 04h controls the headphone (ALC250) output volume. each step in bits 5:0 and 13:8 correspond to 1.5db in increase/decrease in volume, allowing 63 levels of volume, from 000000 to 111111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14 reserved 13:8 r/w headphone/true line output left volume (hpl[5:0]) in 1.5 db steps 7:6 reserved 5:0 r/w headphone/true line output right volume (hpr[5:0]) in 1.5 db steps n for hpr/hpl: 00h 0 db attenuation 3fh 94.5 db attenuation www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 8 6.1.4 mx06 mono_out volume default: 8000h register 06h controls the mono volume output. mono output is the same data sent on all output channels. each step in bits 4:0 correspond to 1.5db in increase/decrease in volume, allowing 32 levels of volume from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:5 reserved 4:0 r/w mono master volume (mmv[4:0]) in 1.5 db steps n for mmv: 00h 0 db attenuation 1fh 46.5 db attenuation 6.1.5 mx0a pc beep volume default: 8000h this register controls the input volume for the pc beep signal. each step in bits 4:1 correspond to a 3db increase/decrease in volume. 16 levels of volume are available, from 0000 to 1111. the purpose of this register is to allow the pc beep signals to pass through the ALC250, eliminating the need for an external s ystem speaker/buzzer. the pc beep pin is directly routed (internally hardwired) to the l ine-outl & r pins. if the pc speaker/buzzer i s eliminated, it is recommended to connect th e external speakers at all times so the post codes can be heard during reset. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:5 r/w internal pcbeep frequency, f[7:0] the internal pcbeep frequency is the result of dividing the 48khz clock by 4 times the number specified in f[7:0]. the lowest tone is 48khz/(255*4)=47hz. the highest tone is 48khz/(1*4)=12khz. a value of 00h in f[7:0] disables internal pcb eep generator and allows external pcbeep input. 4:1 r/w pc beep volume (pbv[3:0]) in 3 db steps 0 reserved n for pbv: 00h 0 db attenuation 0fh 45 db attenuation 6.1.6 mx0c phone volume default: 8008h register 0ch controls the tele phone input volume for soft ware modem applications. because software modem applications may not have a speaker, the codec can offer a speaker-out service. e ach step in bits 4:0 correspond to 1.5db in increase/decrease i n volume, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:5 reserved 4:0 r/w phone volume (pv[4:0]) in 1.5 db steps n for pv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 9 6.1.7 mx0e mic volume default: 8008h register 0eh controls the microphone input volume. each step in bits 4:0 correspond to 1.5db in increase/decrease in volume, allowing 32 levels of volume, from 00000 to 11111. bit 6 enables/di sables a boost in volume to a magnification based on bits 9: 8. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:10 reserved 9:8 r/w boost gain option (bgo) 00: 20 db 01: 6 db 10: 12 db 11: 29.5 db (v=30*vmic-in) 7 reserved 6 r/w boost control (bc) 0: disable 1: enable boost 5 reserved 4:0 r/w mic volume (mv[4:0]) in 1.5 db steps n for mv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain o if 29.5db boost gain is selected, input resistor can be reduced to save area of feedback resistor. 6.1.8 mx10 line_in volume default: 8808h register 10h controls the line_in input volume. each step in bits 4:0 correspond to 1.5db in increase/decrease in volume for the right channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 correspond to 1.5db in increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w line-in left volume (nlv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w line-in right volume (nrv[4:0]) in 1.5 db steps n for nlv/nrv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain 6.1.9 mx12 cd volume default: 8808h register 12h controls the cd input volume. each step in bits 4:0 correspond to 1.5db in increase/decrease in volume for the rig ht channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 correspond to 1.5db in increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w cd left volume (clv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w cd right volume (crv[4:0]) in 1.5 db steps n for clv/crv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 10 6.1.10 mx16 aux volume default: 8808h register 16h controls the auxilia ry input volume. each step in bits 4:0 correspond to 1.5db in increase/decrease in volume for the right channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 correspond to 1.5db in increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w aux left volume (alv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w aux right volume (arv[4:0]) in 1.5 db steps n for alv/arv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain 6.1.11 mx18 pcm_out volume default: 8808h register 18h controls the pcm_out output volume. each step in bits 4:0 correspond to 1.5db in increase/decrease in volume for the right channel, allowing 32 levels of volume, from 00000 to 11111. each step in bits 12:8 correspond to 1.5db in increase/decrease in volume for the left channel, allowing 32 levels of volume, from 00000 to 11111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:13 reserved 12:8 r/w pcm volume (plv[4:0]) in 1.5 db steps 7:5 reserved 4:0 r/w pcm right volume (prv[4:0]) in 1.5 db steps n for plv/prv: 00h +12 db gain 08h 0db gain 1fh -34.5db gain www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 11 6.1.12 mx1a record select default: 0000h register 1ah controls the record input source. each bit in bits 2:0 selects a recording source for the right channel. each bit in bits 10:8 selects a recording sour ce for the left channel. bit type function 15:11 reserved 10:8 r/w left record source select (lrs[2:0]) 7:3 reserved 2:0 r/w right record source select (rrs[2:0]) n for lrs 0 mic 1 cd left 2 muted 3 aux left 4 line left 5 stereo mixer output left 6 mono mixer output 7 phone o for rrs 0 mic 1 cd right 2 muted 3 aux right 4 line right 5 stereo mixer output right 6 mono mixer output 7 phone 6.1.13 mx1c record gain for stereo adc default: 8000h register 1ch controls the record gain. each step in bits 3:0 correspond to 1.5db in increase/decrease in gain for the right channel, allowing 16 levels of gain, from 0000 to 1111. each step in bits 11:8 correspond to 1.5db in increase/decrease in gain for the left channel, allowing 16 levels of gain, from 0000 to 1111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:12 reserved 11:8 r/w left record gain select (lrg[3:0]) in 1.5 db steps 7:4 reserved 3:0 r/w right record gain select (rrg[3:0]) in 1.5 db steps n for lrg/rrg: 0fh +22.5db 00h 0 db (no gain) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 12 6.1.14 mx1e record gain for mic adc default: 8000h register 1eh controls the record gain. each step in bits 3:0 correspond to 1.5db in increase/decrease in gain for the right cha nnel, allowing 16 levels of gain, from 0000 to 1111. each step in bits 11:8 correspond to 1.5db in increase/decrease in gain for the left channel, allowing 16 levels of gain, from 0000 to 1111. bit type function 15 r/w mute control 0: normal 1: mute (- db) 14:12 reserved 11:8 r/w left record gain select (lmrg[3:0]) in 1.5 db steps 7:4 reserved 3:0 r/w right record gain select (rmrg[3:0]) in 1.5 db steps n for lrg/rrg: 0fh +22.5db 00h 0 db (no gain) 6.1.15 mx20 general purpose register default: 0000h this register is used to control several functions. bit 13 enable s or disables 3d control. bit 9 allows selection of mono outpu t. bit 8 controls the mic selector. bit 7 enables loopback of the ad output to the da input without involving the ac-link, allowing for full system performance measurements. bit type function 15:14 reserved , read as 0 13 r/w 3d control 1: on 0: off 12:9 reserved , read as 0 8 r/w mic select 0: mic 1 1: mic 2 7 r/w ad to da loop-back control 0: disable 1: enable 6:0 reserved 6.1.16 mx22 3d control default: 0000h this register is used to control the 3d stereo enhancement function built into the ac?97 component. the register bits, dp2-dp0 are used to control the separation ratios in the anal og 3d and digital 3d for both line_out and hp_out. the 3d stereo function provides for a deeper and wider sound experience. note that the 3d bit in the mx20.[13] must be set to 1 to enable this function. bit type function 15:3 reserved , read as 0 2:0 r/w depth control (dp[2:0]) n 3d effect control dp[2:0] function dp[2:0] function 000 0% (off) 100 50% 001 12.5% 101 67.5% 010 25% 110 75% 011 37.5 111 100% www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 13 6.1.17 mx24 audio interrupt and paging default: 0000h bit type function 15 interrupt status, i4 0: interrupt is clear. 1: interrupt was generated interrupt event and status are clear by writing a 1 to th is bit. the status will change regardless of interrupt enable (i0). 14 r interrupt cause, i3 i3=0: gpio, spdif-in and jack-detect interrupt status in mx78 are not changed. 1: gpio, spdif-in and jack-detect interrupt status in mx78 are changed. i3= (mx78.14|mx78.13|mx78.12|mx78.6|mx78.5|mx78.4) this bit reflects the cause of the first interrupt event generated. software should read it after interrupt status (i4) has been confirmed as interrupting. i3 will be zero when i4 is cleared. 13 r interrupt cause, i2 i2=0: sense value in page id-01h mx6a.[12:8] has not changed. 1: sense cycle completed or new sense value in page id-01h mx6a.[12:8] is available. this bit reflects the cause of the first interrupt event generated. software should read it after interrupt status (i4) has been confirmed as interrupting. i2 will be zero when i4 is cleared. 12 r/w sense cycle, i1 0: sense cycle not in progress 1: sense cycle start writing a ?1? to this bit causes a sense cycle start. if a sense cycle is in progress, writing a ?0? to this bit will abort the sense cycle. whether the data in the sense result register (page id-01h mx6a) is valid or not is determined by the iv bit in mx6a, page id-1h. 11 r/w interrupt enable, i0 0: interrupt is masked, interrupt status (i4) will not be shown in bit 0 in slot 12 in sdata-in. 1: interrupt is un-masked, interrupt status (i4) will be shown in bit 0 in slot 12 in sdata-in. 10:4 na reserved, read as 0 3:0 r/w page selector, pg[3:0] 0000b: vendor specific 0001b: page id 01 (ac?97 2.3 di scovery descript or definition) others: reserved. this register is used to select a descriptor of 16 word pages between registers mx60 to mx6f. value of 0 is used to select vendor specific space to maintain compa tibility with ac?97 2.2 ve ndor specific register. once pg[3:0] is not 0000b and 0001b, ALC250 will retu rn zero data for aclink mixer read command. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 14 6.1.18 mx26 powerdown control/status default: 000fh this read/write register is used to program powerdown states and monitor subsystem readiness. the lower half of this register i s read only status; a ?1? indicating that the subsection is ?ready.? ready is defined as the subsection?s ability to perform in i ts nominal state. when the ac-link ?codec ready? indicator bit (sdata_in slot 0, bit 15) is a 1, it indicates that the ac-link and ac?97 control and status registers are in a fully operational state. the ac?97 controller must further probe this powerdown control /status register to determine exactly which subsections, if any are ready. bit type function 15 r/w pr7 external amplifier power down (eapd) 0: normal 1: power down 14 r/w pr6 0: normal 1: power down headphone out (hp-out, pin-39/41) 13 r/w pr5 0: normal 1: disable internal clock 12 r/w pr4 0: normal 1: power down ac-link 11 r/w pr3 0: normal 1: power down mixer (vref off) 10 r/w pr2 0: normal 1: power down mixer (vref still on) 9 r/w pr1 0: normal 1: power down pcm dac 8 r/w pr0 0: normal 1: power down pcm adc and input mux 7:4 reserved , read as 0 3 r vref status 1: vref is up to normal level 0: not yet ready 2 r analog mixer status 1: ready 0: not yet ready 1 r dac status 1: ready 0: not yet ready 0 r adc status 1: ready 0: not yet ready n truth table for power down mode : adc dac mixer verf aclink int clk hp-out eapd pr0=1 pd pr1=1 pd pr2=1 pd pd pr3=1 pd pd pd pd pd pr4=1 pd pd pd pr5=1 pd pd pd pr6=1 pd pr7=1 pd pd: power down blank: don?t care o if mixer is power down (pr2=1 or pr3=1), the line-out (pin-35/36) is shut down and its output is floated. p if headphone-out is power down (pr6=1), the hp-out (pin-39/41) is shut down and its output is floated. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 15 6.1.19 mx28 extended audio id default: 0605h the extended audio id register is a read only register used to communicate information to the digital controller on two functio ns. ALC250 is designed as the primary codec with id is ?00?. bit type function 15:14 r id[1:0], read as ?00?. 13:12 reserved , read as 0 11:10 r rev[1:0]=10 to indicate that the ALC250 is ac?97 rev2.3 compliant 9 r amap read as 1 (dac mapping based on id) 8:6 reserved , read as 0 5:4 r/w dac slot assignment dsa[1:0] (default value depends on id[1:0]) dsa[1:0] controls the dac slot assignment, as described in ac?97 rev2.2. 3 reserved , read as 0 2 r spdif read as 1 (s/pdif is supported) 1 r dra read as 1 0 r vra read as 1 (variable rate audio is supported) n the ALC250 maps dac slot according to the followi ng table: (default maps to ac?97 spec. rev2.3) dsa[1:0] left dac slot # right dac slot # comment 0,0 3 4 default when id[1:0]=00 0,1 7 8 default when id[1:0]=01,10 1,0 6 9 default when id[1:0]=11 1,1 10 11 - 6.1.20 mx2a extended audio status and control default: 0000h this register contains two active bits for powerdown and status of the surrounding dacs. bits 0, 1 & 2 are read/write bits whic h are used to enable or disable vra, dra a nd spdif respectively. bits 4 & 5 are read/w rite bits used to determine the ac-link slot assignment of the s/pdif. bit 10 is a read only bit which tells the controller if the s/pdif configuration is valid. bit type function 15 r/w validity configuration of s/pdif output (vcfg) combines with mx3a.15 to decide validity control in s/pdif output signal. 14:11 na reserved 10 r s/pdif configuration valid (spcv) 0: current s/pdif conf iguration {spsa,spsr,dac/slot rate} is not valid. 1: current s/pdif c onfiguration {spsa,spsr,dac/slot rate} is valid. 9:6 reserved 5:4 r/w spsa[1:0], s/pdif slot assignment when drs=0 00: s/pdif source data assigned to ac-link slot3/4 01: s/pdif source data assigned to ac-link slot7/8 (default when id=00) 10: s/pdif source data assigned to ac-link slot6/9 (default when id=01,10) 11: s/pdif source data assigned to ac-link slot10/11 (default when id=11) spsa[1:0], s/pdif-out slot assign ment when drs=1(for 96k s/pdif-out) 01: s/pdif-out source is from ac-link slot3/4 + slot7/8. 3 reserved 2 r/w spdif 1: enable 0: disable (spdifo is in high impedance) 1 r/w dra 1: enable 0: disable 0 r/w vra 1: enable 0: disable n if vra = 0, ALC250 adc/dac operate at fixed 48khz sampling rate. otherwise, it operates with variable sampling rate defined in mx2c and mx32. vra also control write operation of mx2cand mx32. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 16 o dra can be written when (id=00)&(dsa=00), otherwise it is always 0. if dra = 1, dac operates at a fixed 96khz sampling rate . the pcm(n) and pcm(n+1) data is captured in the same frame. in this mode, mx2c is fixed at bb 80h, mx32 and adc is still controlled by vra. p spcv is a read only bit that indicates whether the current s/pdif-out configuration is supported or not. if the configuration is supported, spcv is set as 1 by h/w. so driver can check this bit to determine the status of the s/pdif transmitter system. spcv is always operating, i ndependent of the spdif enable bit (mx2a.2). the s/pdif output is active if mx2a.2 is set in spite of spcv. once s/pdif output is enabled but spcv is invalid (spcv=0), channel status is still output, but the output data bits will be all zero. 6.1.21 mx2c pcm dac rate default: bb80h the ALC250 allows adjustment of the output sample rate. this register is used to adjust the sample rate. by changing the values , sampling rates from 8000 to 48000 can be chosen. bit type function 15:0 r/w output sampling rate fosr[15:0] n the ALC250 supports the following sampling rates, as required in the pc99/pc2001 design guide. sampling rate fosr[15:0] 8000 1f40h 11025 2b11h 12000 2ee0 16000 3e80h 22050 5622h 24000 5dc0 32000 7d00h 44100 ac44h 48000 bb80h o note that if the value written is not s upport, the closest value is returned. when mx2a.0=0 (vra is disable), this register will return bb80h when read. 6.1.22 mx32 pcm adc rate default: bb80h the ALC250 allows adjustment of the input sample rate. this regist er is used to adjust the sample rate. by changing the values, sampling rates from 8000 to 48000 can be chosen. bit type function 15:0 r/w output sampling rate fisr[15:0] n the ALC250 supports the following sampling rates, as required in the pc99/pc2001 design guide. sampling rate fisr[15:0] 8000 1f40h 11025 2b11h 12000 2ee0 16000 3e80h 22050 5622h 24000 5dc0 32000 7d00h 44100 ac44h 48000 bb80h o note that if the value written is not s upport, the closest value is returned. when mx2a.0=0 (vra is disable), this register will return bb80h when read. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 17 6.1.23 mx3a s/pdif out channel status/control default: 2000h bit type function 15 r/w validity control (control v bit in sub-frame) 0: the v bit (valid flag) in sub-frame depends on whether the s/pdif data is under-run or over-run. 1: the v bit in sub-frame is always send as 1 to indicate the invalid data is not suitable for receiver. 14 r drs (double rate s/pdif) 0: 32k, 44.1k, 48k s/pdif-out 1: 96k s/pdif-out this bit only can be set when spsr is 10b. 13:12 r/w s/pdif sample rate spsr[1:0] 00: sample rate set to 44.1khz, fs[ 0:3 ]=0000 01: reserved 10: sample rate set to 48.0khz, fs[ 0:3 ]=0100 (default) 11: sample rate set to 32.0khz, fs[ 0:3 ]=1100 11 r/w generation level (level) 10:4 r/w category code ( cc[6:0]) 3 r/w preemphasis (pre) 0: none 1: filter preemphasis is 50/15 usec 2 r/w copyright (copy) 0: not asserted 1: asserted 1 r/w non-audio data type (/audio) 0: pcm data 1: ac3 or other digital non-audio data 0 r professional or consumer format (pro) 0: consumer format 1: professional format the ALC250 supports consumer channel status format, so this bit is always 0. n the consumer channel status block (bit0~bit31): 0 1 2 3 4 5 6 7 pro=0 /audio copy pre 0 0 0 0 8 9 10 11 12 13 14 15 cc0 cc1 cc2 cc3 cc4 cc5 cc6 level 16 17 18 19 20 21 22 23 0 0 0 0 0 0 0 0 24 25 26 27 28 29 30 31 fs0 fs1 fs2 fs3 0 0 0 0 o the ?v? bit in the sub-frame is determined by validity control (mx3a.15) and vcfg (mx2a.15): validity vcfg operation 0 0 if s/pdif fifo is under-run, the ?v? bit in the sub-frame is set to indicate that the s/pdif data is invalid. 0 1 if s/pdif fifo is under-run, the ?v?bit in the sub-frame is always 0 , and pads the data with ?0?s. 1 0 the ?v? bit is always 1, and data bits (bit 8 ~ bit 27) should be forced to 0. 1 1 the ?v? bit in sub-frame is always ? ?0?, and the s/pdif output data should be forced to zero. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 18 6.2 vendor defined registers (page id-00h) these registers are available to realtek and realtek customers for specialized functions. 6.2.1 mx60 s/pdif input channel status [15:0] default: 0000h the data in mx60 are captured from channel status [15:0] of s/pdif-in signal. bit type function 15 r level (generation level) 14:8 r cc[6:0] (category code) 7:6 r mode[1:0] 5:3 r pre[2:0] (pre-emphasis) 2 r copy (copyright) 0: asserted 1: not asserted 1 r /audio (non-audio data type) 0: pcm data 1: ac3 or other digital non-audio data 0 r pro (professional or consumer format) 0: consumer format 1: professional format 6.2.2 mx62 s/pdif input channel status [29:15] default: 0000h the data in mx62 are captured from channel status [29:16] of s/pdif-in signal. bit type function 15 r ?v? bit in sub-frame of spdifi 0: data x and y are valid 1: at least one of data x and y is invalid this bit is real-time updated, and it is meaning when s/pdif-in is locked 14 r s/pdif-in input signal locked by hardware 0: unlocked 1: locked 13:12 r ca[1:0] ( clock accuracy) 11:8 r fs[3:0]. (sample frequency in channel status) 0000: 44.1khz 0010: 48 khz 0011: 32 khz others: reserved 7:4 r cn[3:0] (channel number) 3:0 r sn[3:0] (source number) 6.2.3 mx64 equalizer control index port default: 0000h bit type function 15:6 na reserved 3:0 r/w eq control registers index www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 19 6.2.4 mx64 equalizer control data port default: 0000h bit type function 15:0 r/w eq control registers data n data written into this mixer will set the eq register mx64 points to. read this mixer will get the register content mx60 points to. 6.2.5 mx6a data flow control default: 0308h bit type function 15 r/w sdata-in slot 6 source 0: eq&mic adc left channel 1: original adc left channel 14 r/w direct dac mode 0: analog output is from summation of dac and analog inputs. 1: analog output is from dac. 13:12 r/w s/pdif out source 00: s/pdif data is from aclink controller 01: reserved. 10: directly bypass s/pdif-in signal to s/pdif-out. 11: reserved. 11 r/w recorded pcm data to aclink 0: recorded pcm data to host is from original adc 1: recorded pcm data to host is from s/pdif-in 10 r/w dac source 0: dac data is from aclink controller . 1: dac data is from dpe. 9 r/w dpe (digital process engine) adc source 0: eq&mic adc. 1: original adc. 8 r/w eq&mic adc record select 0: from mixed signal of mic, line-in, cd-in, aux-in and video-in. 1: left channel is from mic, right channel is from sum of others. data to dpe is composed of right channel and its duplicated one. 7 r/w mic2 source 0: mic2 1: (mic1+mic2)/2. 6 r/w adc mic source 0: mono duplicated. (default) 1: stereo. 5:4 na reserved 3:2 r/w function selection for pin-47 and pin-16. mx6a.[3:2] pin-47 pin-16 note 00 eapd (out) s/pdif-in (in) 01 eapd (out) jd2 (in) 10 s/pdif-in (in) jd2 (in) (default) 11 jd2 (in) s/pdif-in (in) compatible with alc202 1 r/w s/pdif-in enable 0: disable 1: enable 0 r/w s/pdif-in monitoring control 0: disable, spdifi data is not added into pcm data to dac. (default) 1: enable, spdifi data will be added into pcm data to dac after spdifi is locked. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 20 6.3 discovery descriptor (page id-01h) these registers are defined in ac?97 2.3 for sensing and analog plug&play functions. 6.3.1 mx62 pci sub system id default: ffffh bit type function 15:0 r/w pci sub system vendor id this register can be written once only after power on. bios can set its own sub-system id. the default value ffffh means this register is implemented and data is not set by bios. 6.3.2 mx64 pci sub vendor id default: ffffh bit type function 15:0 r/w pci vendor id this register can be written once only after pow er on. bios can set its own sub-vendor id. the default value ffffh means this register is implemented and data is not set by bios. 6.3.3 mx66 sense function select default: 0000h bit type function 15:5 reserved 4:1 r/w function code bits, fc[3:0] these bits specify the type of audio function described in page id-01h mx66, mx68 and mx6a. 0h: line out 1h: hp out 5h: mic1 in 6h: mic2 in 7h: line in others: not supported 0 r/w tip or ring selection, t/r this bit sets which jack conductor the sense value is measured from. it is combined with fc[3:0]. 0: tip (left channel) 1: ring (right channel) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 21 6.3.4 mx68 sense function information default: 02f1h bit type function 15:11 r/w gain bits, g[4:0] these bits are updated by bios to tell driver the gain supported by external amplifier. 1 lsb = 1.5dbv 00000b: 0dbv, 00001b: +1.5dbv,? 01111b:+24dbv 10000b: 0dbv, 10001b: -1.5dbv,? 11111b: -24dbv 10 r/w inversion bit, inv 0: no inversion reported 1: inverted. 9:5 r/w buffer delays, dl[4:0] delay measurement for the signal from inputs to outputs channels in 20.83 usec (1/48000 second) units. 4 r/w information valid bit, iv 0: after a sense cycle is completed indicates that no information is provided on the sensing method 1: after a sense cycle is completed indicates that information is provided on the sensing method clearing this bit by writing ?1?, writing ?0? to this bit has no effect. 3:1 na reserved 0 r function information present, fip this bit is set to a ?1? indicates that the g[4:0], inv, dl[4:0] and st[2:0] bits are supported and are read/write capable. 6.3.5 mx6a sense detail default: 0000h bit type function 15:13 r/w connection/jack location bits, st[2:0] 000b: rear i/o panel (default) 001b: front panel 010b: motherboard 011b: dock/external 100b ~ 110b: reserved 111b: unused i/o. these bits should be written by bios to let driver know where those i/o fc[3 :0] specify are located. 12:8 r sense bits, s[4:0] (default value depends on sensed result after cold reset) for output devices: 02h: not specificed or unknown 05h: powered speaker 06h: earphone or passive speaker other: not supported for input deices: 12h: not specified or unknown 13h: mono microphone 15h: stereo line-in other: not supported this field reports the type of output/input peripheral plugged in the jack after sensing. 7:0 r always read as 0. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 22 6.4 extension registers 6.4.1 mx76 gpio & interrupt setup default: 0000h bit type function 15 r/w gpio statue indication in sdata_in 0:the status of jd and its valid tag is not indicated in sdata_in. 1: the status of jd and its valid tag is indicated in sdata_in 14 r/w spdifi valid interrupt enable 0:disable 1: enable 13 r/w spdifi lock interrupt enable 0:disable 1: enable 12 r/w jd2 (jack-detect 2) interrupt enable 0: disable 1: enable. a low to high transaction will trigger the jd2 interrupt in bit0 of sdata_in?s slot-12. 11:7 reserved 6 r/w jd1 (jack-detect 1) interrupt enable 0: disable 1: enable. a low to high transaction will trigger the jd interrupt in bit0 of sdata_in?s slot-12. 5:0 reserved 6.4.2 mx78 gpio & interrupt status default: 0000h bit type function 15 na reserved 14 r/w s/pdinf-in valid interrupt status (spdifin_vis) . 0: no spdifi valid interrupt. 1: spdifi valid interrupt. write 1 to clear this status bit and its interrupt. 13 r/w s/pdinf-in lock interrupt status (spdifin_lis) . 0: no spdifi lock interrupt. 1: spdifi lock interrupt. write 1 to clear this status bit and its interrupt. 12 r/w jd2 interrupt status (jd2_is) 0: no jd2 interrupt. 1: jd2 interrupt. write 1 to clear this status bit. 11:7 na reserved 6 r/w jd1 interrupt status (jd1_is) 0: no jd1 interrupt. 1: jd1 interrupt. write 1 to clear this status bit. 5:3 na reserved 2 r jack-detect event (jdevt) 0: no jack-detect event occurs. 1: jack-detect event occurs. jdevt = jds1 | jds2 software can check this bit and mx7a.1 to know the status of jdx. when mx7a.5=0, mx7a.1=jds1. when mx7a.5=1, mx7a.1=jds2. 0 na reserved www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 23 6.4.3 mx7a miscellaneous control default: 0000h bit type function 15:11 na reserved 10 r/w pin-37 function selection (mono-out or vrefout3) 0: vrefout3 1: mono-out 9 r/w vrefout off control 0: vrefout is normal on (output of buffered vref). 1: vrefout is off. (in high-z). 8 r/w vrefout / vrefout2 / v refout3 level control 0: 2.5v 1: 4.0v 7:6 na reserved 5 r/w source of jack-detect status for mx7a.1 0: mx7a.1 indicates the status of jack-detect 1 1: mx7a.1 indicates the status of jack-detect 2 4 r/w hp-out control 0: normal 1: hp-out is muted by h/w when mx7a.1=1 3 r/w mono-out control 0: normal 1: mono-out is muted by h/w when mx7a.1=1 2 r/w spdif output gating 0: spdif output is not gated with mx7a.1 1: spdif output is gated with mx7a.1. 1 r status of jack-detect 1 or 2 (jdsx) 0: jdsx is pull low 1: jdsx is floating or pull high 0 r/w line-out output control 0: normal 1: line-out output is muted by h/w when mx7a.1=1 6.4.4 mx7c vendor id1 the two registers (mx7c vendor id1 and mx7e vendor id2) contai n four 8-bit id codes. the first three codes have been assigned by microsoft for plug and play definitions. the fourth code is a realtek assigned code identifying the ALC250. the mx7c vendor id1 register contains the value 414ch, which is the first and second characters of the microsoft id code. the mx7c vendor id2 register contains the value 4750h, which is the third of the microsoft id code default: 414ch bit type function 15:0 r vendor id ?al? 6.4.5 mx7e vendor id2 default: 4750h bit type function 15:8 r vendor id - ?g? 7:0 r device id ? 50h for ALC250 www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 24 6.5 equalizer control registers 6.5.1 index-00h eq band-0 coefficient (low pass filter, lp0: a1) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.2 index-02h eq band-0 gain (low pass filter, lp0: ho) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -8 ~ 7.99. (gain=-20db ~ +20db) 6.5.3 index-03h eq band-1 coefficient (band pass filter, bp1: a1) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.4 index-04h eq band-1 coefficient (band pass filter, bp1: a2) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.5 index-05h eq band-1 gain (band pass filter, bp1: ho) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -8 ~ 7.99. (gain=-20db ~ +20db) 6.5.6 index-06h eq band-2 coeffi cient (band pass filter, bp1: a1) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.7 index-07h eq band-2 coefficient (band pass filter, bp1: a2) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.8 index-08h eq band-2 gain (band pass filter, bp2: ho) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -8 ~ 7.99. (gain=-20db ~ +20db) 6.5.9 index-09h eq band-3 coefficient (band pass filter, bp3: a1) default: 0000h bit type function www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 25 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.10 index-0ah eq band-3 coefficient (band pass filter, bp3: a2) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.11 index-0bh eq band-3 gain (band pass filter, bp3: ho) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -8 ~ 7.99. (gain=-20db ~ +20db) 6.5.12 index-0ch eq band-4 coefficient (band pass filter, bp4: a1) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.13 index-0dh eq band-4 coefficient (band pass filter, bp4: a2) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.14 index-0eh eq band-4 gain (band pass filter, bp4: ho) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -8 ~ 7.99. (gain=-20db ~ +20db) 6.5.15 index-0fh eq band-5 coefficient (band pass filter, bp5: a1) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.16 index-10h eq band-5 coefficient (band pass filter, bp5: a2) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.17 index-11h eq band-5 gain (band pass filter, bp5: ho) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -8 ~ 7.99. (gain=-20db ~ +20db) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 26 6.5.18 index-12h eq band-6 coefficient (high pass filter, hp6: a1) default: 0000h bit type function 15:0 r/w 16-bit 2?s complement coefficient. range= -2 ~ 1.99 6.5.19 index-13h eq band-6 coefficient (high pass filter, hp6: a2) default: 0000h bit type function 15:1 na reserved 0 r/w 0: 20db/decade slope 1: 40db/decade slope (2 cascaded hp6) 6.5.20 index-20h eq control & status register default: 0000h bit type function 15 r/w digital process engine output control 0: bypass digital eq (default) 1: digital eq output. 14 r/w eq band-6 control. 0: disable 1: enable. 13 r/w eq band-5 control. 0: disable 1: enable. 12 r/w eq band-4 control. 0: disable 1: enable. 11 r/w eq band-3 control. 0: disable 1: enable. 10 r/w eq band-2 control. 0: disable 1: enable. 9 r/w eq band-1 control. 0: disable 1: enable. 8 r/w eq band-0 control. 0: disable 1: enable. 7 r/w bypass digital eq control by jdx 0:normal, bypass eq control is decided by eq control&status register index-20h.15 (default) 1: bypass digital eq by h/w when mx7a.1=1 the eq function is planned to compensate frequenc y response for mini speaker, it should be bypassed when headphone jack is plugged to be output device. 6 r eq band-6 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. 5 r eq band-5 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. 4 r eq band-4 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. 3 r eq band-3 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. 2 r eq band-2 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. 1 r eq band-1 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. 0 r eq band-0 status. 0: no rmal 1: overflow. this bit is set if overflow had ever occurred. write 1 to clear it. n write to eq coefficient-{a1,a1 ,ho} will be ignored when specific control b it is enabled, it means modify individual eq coefficients is forbidde n when eq is working. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 27 6.5.21 index-21h eq pcm digital volume control default: 007fh bit type function 15 r/w mute control. 0: turn on 1: mute, force data to zero. (- db) 14:7 reserved 6:0 r/w 7-bit volume ratio, eqvr[7:0] the multiplier ratio is eqvr[7:0]/128. (1/128 ~ 1) n if 7-bit volume ratio is 7fh, it means the multiplier is 1 (0db). 6.5.22 index-22h eq mic adc digital volume control default: 007fh bit type function 15 r/w mute control. 0: turn on 1: mute, force data to zero. (- db) 14:7 reserved 6:0 r/w 7-bit volume ratio, eqmicvr[7:0] the multiplier ratio is eqmi cvr[7:0]/128. (1/128 ~ 1) n if 7-bit volume ratio is 7fh, it means the multiplier is 1 (0db). www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 28 7. electrical characteristics 7.1 dc characteristics 7.1.1 absolute maximum ratings parameter symbol minimum typical maximum units power supplies digital analog dvdd avdd 3.0 3.0 3.3 5.0 3.6 5.5 v v operating ambient temperature ta 0 - +70 o c storage temperature ts +125 o c 7.1.2 threshold hold voltage dvdd= 3.3v 5%, t ambient =25 0 c, with 50pf external load. parameter symbol minimum typical maximum units input voltage range v in -0.30 - dvdd+0.30 v low level input voltage (ac-link, xtal-in/out) v il - - 0.50*dvdd v low level input voltage (sck,sda) v il - - 1.0 v low level input voltage (jd1, jd2) v il - - 2.0 v high level input voltage (ac-link, xtal-in/out) v ih 0.5*dvdd - - v high level input voltage (sck, sda) v ih 2.0 - - v high level input voltage (jd1, jd2) v ih 2.0 - v high level output voltage v oh 0.9dvdd - v low level output voltage v ol - - 0.1dvdd v input leakage current - -10 - 10 a output leakage current (hi-z) - -10 - 10 a output buffer drive current - - 5 - ma internal pull up resistance - 30k 50k 100k ? 7.1.3 digital filter characteristics filter symbol minimum typical maximum units adc lowpass filter passband 10 - 20.0 khz stopband 28.8 khz stopband rejection -76.0 db passband frequency response +- 0.20 db dac lowpass filter passband 10 - 20.0 khz stopband 28.8 khz stopband rejection -78.5 db passband frequency response +- 0.20 db www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 29 7.1.4 s/pdif output characteristics dvdd= 3.3v, t ambient =25 0 c, with 75 ? external load. parameter symbol minimum typical maximum units high level output voltage v oh 3.0 3.3 v low level output voltage v ol - 0 0.5 v 7.2 ac timing characteristics 7.2.1 cold reset parameter symbol minimum typical maximum units reset# active low pulse width t rst_low 1.0 - - s reset# inactive to bit_clk startup delay t rst2clk 162.8 - - ns cold reset timing diagram 7.2.2 warm reset parameter symbol minimum typical maximum units sync active high pulse width t sync_high 1.0 - - s sync inactive to bit_clk startup delay t sync2clk 162.8 - - ns warm reset timing diagram 7.2.3 ac-link clocks parameter symbol minimum typical maximum units bit_clk frequency - 12.288 - mhz bit_clk period t clk_period - 81.4 - ns bit_clk output jitter - - 750 ps bit_clk high pulse width (note 2) t clk_high 36 40.7 45 ns bit_clk low pulse width (note 2) t clk_low 36 40.7 45 ns sync frequency - 48.0 - khz sync period t sync_period - 20.8 - s sync high pulse width t sync_high - 1.3 - s sync low pulse width t sync_low - 19.5 - s note 1: worse case duty cy cle restricted to 45/55. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 30 bit_clk and sync timing diagram 7.2.4 data output and input timing parameter symbol minimum typical maximum units output valid delay from rising edge of bit_clk t co - - 15 ns note 1: timing is for sdata and sync outputs with respect to bit_clk at the device driving the output. note 2: 50pf external load parameter symbol minimum typical maximum units input setup to falling edge of bit_clk t setup 10 - - ns input hold from falling edge of bit_clk t hold 10 - - ns note: timing is for sdata and sync outputs with respect to bit_clk at the device driving the output. parameter symbol minimum typical maximum units bit_clk combined rise or fall plus flight time - - 7 ns sdata combined rise or fall plus flight time - - 7 ns note: combined rise or fall plus flight times are provided for worst case scenario modeling purposes. data output and input timing diagram 7.2.5 signal rise and fall timing parameter symbol minimum typical maximum units bit_clk rise time trise clk - - 6 ns bit_clk fall time tfall clk - - 6 ns sync rise time trise sync - - 6 ns sync fall time tfall sync - - 6 ns sdata_in rise time trise din - - 6 ns sdata_in fall time tfall din - - 6 ns sdata_out rise time trise dout - - 6 ns sdata_out fall time tfall dout - - 6 ns note 1: 75pf external load (50 pf in ac?97 rev2.1) note 2: rise is from 10% to 90% of vdd (v ol to v oh ) note 3: fall is from 90% to 10% of vdd (v oh to v ol ) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 31 signal rise and fall timing diagram 7.2.6 ac-link low power mode timing parameter symbol minimum typical maximum units end of slot 2 to bit_clk, sdata_in low t s2_pdown - - 1.0 s ac-link low power mode timing diagram 7.2.7 ate test mode to meet ac?97 rev2.3 specifications, eapd, spdifo, bit_ clk and sdata_in should be floating in test mode. parameter symbol minimum typical maximum units setup to trailing edge of reset# (also applies to sync) t setup2rst 15.0 - - ns rising edge of reset# to hi-z delay t off - - 25.0 ns ate test mode timing diagram www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 32 7.2.8 ac-link io pin capacitance and loading output pin 1 codec 2 codec 3 codec 4 codec bit_clk (must support 2 codecs) 55pf 62.5pf 75pf 85pf sdata_in 47.5pf 55pf 60pf 62.5pf 7.2.9 spdif output spdif_out minimum typical maximum units rise time/fall time 0 10 % duty cycle 45 55 % t (h) t (l) t (r) t (f) 90% 50% 10% notes: rise time = 100 * t (r) / (t (l) + t (h) )% fall time = 100 * t (f) / (t (l) + t (h) )% duty cycle = 100 * t (h) / (t (l) + t (h) )% www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 33 8. analog performance characteristics standard test conditions: t ambient =25 0 c, dvdd=3.3v 5%,avdd=5.0v 5% 1khz input sine wa ve; sampling frequency=48khz; 0db=1vrms 10k ? /50pf load; test bench characterization bw: 10hz~22khz 0db attenuation; tone and 3d disabled parameter minimum typical maximum units full scale input voltage: line inputs (mixers) line inputs (a/d) mic input (0 db) mic input (20 db boost) - - - - 1.6 1.0 1.6 0.16 - - - - vrms full scale output voltage line-out hp-out - - 1.25 1.25 - - vrms vrms analog to analog s/n: cd to line-out other to line-out - - 100 100 - - db analog frequency response 10 - 22,000 hz s/n (a-weighted): d/a a/d - - 100 92 - - db total harmonic distortion: d/a a/d - - -92 -86 - - db d/a & a/d frequency response 20 - 20,000 hz transition band 20,000 - 28,800 hz stop band 28,800 - hz stop band rejection -75 - - db out-of-band rejection - -70 - db group delay - - 1 ms power supply rejection - -40 - db mic boost gain 6 20 30 db master volume (line- / hp-out): 64 step step size attenuation control range - 0 1.5 - - -94.5 db db master volume (mono-out): 32 step step size attenuation control range - 0 1.5 - - -46.5 db db pc beep volume 16 steps: step size attenuation control range - 0 3.0 - - -45 db db analog mixer volume 32 steps: step size gain control range - -34.5 1.5 - - +12 db db record gain 16 steps: step size gain control range - 0 1.5 - - +22.5 db db dc volume control: 32 step gain control range 0 db dc voltage mute dc voltage 0 - 4.7 - - - -43 0.1 - db v v input impedance (gain = 0db, mixer = off) line-in, cd-in, aux-in, mic1 / mic2 pcbeep, phone - - 64 16 - - k ? k ? cont? www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 34 output impedance line-out hp-out mono-out - - - 200 5 500 - - - ? ? ? amplifier maximum output power @20 ? load - - 50 mw power supply current va=5.0v va=3.3v vd=3.3v - - - 50 36 26 - - - ma ma ma power down current va=5.0v / 3.3v vd=3.3v - - - - 1000 700 ua ua vrefout/vrefout2/vrefout3 - 2.50 4.0 v vrefout drive current - 5 - ma www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 35 9. design suggestions 9.1 clocking the clock source is decided by xtlsel latched from pin-46 after power-on reset. the clock source of different configuration is listed below: configuration operation & id0 pin-46(xtlsel) id0 bit-clk clock source nc 0 (primary) output 12.288mhz crystal or ext. 24.576mhz is attached at xtl-in low 0 (primary) output 12.288mhz crystal or ext. 14.318mhz is attached at xtl-in nc 0 (primary) input 12.288m input at bit-clk n *low: pulled low by a 0 ohm resistor. nc: not connect or pulled high. *pin-46is internally pulled high by a weak resistor. n according to ac?97 ver 2.3, the primary mode while reset# is asserted, if a clock is present at bit-clk pin for at least 5 cycles before reset# is de-asserted, ALC250 is a consum er of bitclk. ALC250 should use external 12.288mhz bitclk as its clock source. 9.2 ac-link when the ALC250 receives serial data from the ac97 controller, it samples sdat a_out on the falling edge of bit_clk. when the ALC250 sends serial data to the ac97 controller, it starts to drive sdata_in on the rising edge of bit_clk. the ALC250 will return any uninstalled bits or registers with 0 for read operations. the ALC250 also stuffs the unimplemented slot or bit with 0 in sdata_in. note that ac-link is msb-justified. refer to ?audio codec ?97 component specification revision 2.3.? for details. 0 1 2 3 4 5 6 7 8 9 10 11 12 tag cmd data pcm l pcmr spdif l spdif r tag add r data pcm l pcmr default ALC250 slot arrangement ? codec id = 00 (ALC250 supports only primary mode) 9.3 reset there are 3 types of reset operations: cold, warm and register. reset type trigger condition codec response cold assert reset# for a specified period reset all hardware logic and all registers to its default value. register write register indexed 00h reset all registers to its default value. warm driven sync high for specified period without bit_clk reactivates ac-link, no cha nge to register values. the ac97 controller should drive sync and sdata_out low duri ng the period of reset# assertion to guarantee that the ALC250 has reset successfully. slot# s ync sdata-out sdata-in www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 36 9.4 cd input it is important to pay attention to differential cd input. below is an example of differential cd input. example of differential cd input 9.5 odd addressed register access the ALC250 will return ?0000h? when odd-addre ssed and unimplemented registers are read. 9.6 power-down mode it is important to pay special attention to the power down control register (index 26h), especially pr4 (powerdown ac-link). 9.7 test mode to provide compatibility with ac?97 rev2.2, the ALC250 will float its digital output pi ns in both ate and vendor-specific test modes. please refer to ac?97 rev2.2 section 9.2 for a detailed description of the test modes. 9.7.1 ate in circuit test mode sdata_out is sampled high at the trailing edge of reset# . in this mode, the ALC250 will drive bit_clk, sdata_in, eapd and spdifo to high impedance. 9.7.2 vendor specific test mode the vendor specific test mode is no longer supported. www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 37 9.8 dc voltage volume control the ALC250 has a 32-step internal volume control that is controlled by the dc voltage applied the ?dc vol? pin (pin-32). the volume control input range is from gnd to avdd, to attenuate the master volume (real mx02), headphone volume (real mx04) and mono-out volume (real mx06). a higher dc voltage means more attenuation related to output volume. the table below shows the relation between input dc voltage and the 5-bit volume code. input dc voltage volume code note input dc voltage volume code note 95%=< dc 1f dcmute=1 47%< dc <= 50% f 92%< dc <= 95% 1e dcmute=0 44%< dc <= 47% e 89%< dc <= 92% 1d 41%< dc <= 44% d 86%< dc <= 89% 1c 38%< dc <= 41% c 83%< dc <= 86% 1b 35%< dc <= 38% b 80%< dc <= 83% 1a 32%< dc <= 35% a 77%< dc <= 80% 19 29%< dc <= 32% 9 74%< dc <= 77% 18 26%< dc <= 29% 8 71%< dc <= 74% 17 23%< dc <= 26% 7 68%< dc <= 71% 16 20%< dc <= 23% 6 65%< dc <= 68% 15 17%< dc <= 20% 5 62%< dc <= 65% 14 14%< dc <= 17% 4 59%< dc <= 62% 13 11%< dc <= 14% 3 56%< dc <= 59% 12 8%< dc <= 11% 2 53%< dc <= 56% 11 5%< dc <= 8% 1 50%< dc <= 53% 10 dc <= 5% 0 dcmute=0 input dc voltage is ratio of avdd (+5va). ? this 5-bit volume code adds extra attenuation for master volume and headphone volume, the absolute maximum volume is determined by mx02, mx04 and mx06. once the sum of mx value and volume code exceeds 3fh, the real mx value is 3fh. example 1: (normal case) mx02=0002h, mx04=0300h, mx06=0001h, volume code=2h, then master volume=0204h, headphone volume=0502h, mono-out=0003h example 2: (the sum exceeds 3fh for mx02/mx04, 1fh for mx06) mx02=2f2fh, mx04=2e2eh, mx06=0002h, volume code=1eh, then master volume=3f3fh, real headphone volume=3d3dh, mono-out=001fh example 3: (volume code is 1fh, dcmute=1, real mxs should be muted) mx02=0000h, mx04=2020h, mx06=0010h, volume code=1fh, then master volume=9f1fh, headphone volume=bf3fh, mono-out=801fh www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 38 9.9 power off cd function the ?power off cd? function describes a state which, after the system has been shut down and a +5v analog power is supplied at vaux(pin-34), the ALC250 will turn on the cd-in op and output amplifier. it is possi ble to design a system which will save op-amp circuitry and bypass cd output directly to the speaker. the figure below indicates the system application circuitry to support the ?power off cd? function. the operation mode is defined by +3.3vcc and +5vaux. +3.3vcc +5vaux operation mode no (0) no (0) shut down no (0) yes (1) power off cd yes (1) no (0) normal (+5vaudio must be on) yes (1) yes (1) normal (+5vaudio must be on) +3.3vdd +5va +5vstandby d2 1n5817m/cyl d1 1n5817m/cyl 1u 0.1u 0.1u + 10u + 10u 0 0 1u u3 ALC250 1 9 25 38 4 7 26 42 2 3 5 6 8 10 11 12 13 14 15 16 17 18 20 19 21 22 23 24 27 28 29 30 31 32 33 34 35 36 37 39 40 41 43 44 45 46 47 48 vdd vdd avdd avdd gnd gnd agnd agnd xtl-in xtl-out sdout bitclk sdin sync reset# pc-beep phone aux-l aux-r jd2 jd1 cd-l cd-r cd-gnd mic1 mic2 line-l line-r vref vrefout afilt1 afilt2 nc dcvol vrefout2 vaux lineout-l lineout-r mono-out/vrefout3 hpout-l nc hpout-r gpio0 gpio1 nc xtlsel spdifi/eapd spdifo 1u 0 1 2 3 4 power off cd circuitry www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 39 10. application circuits filter connection schematic +12v +3.3vdd +5va +5va +5vaux +5va +3.3vdd +3.3vdd +3.3vdd +5va +5vdd ac97-sdout ac97-sdin ac97-reset# audio-from-modem ext 14.318mhz ac97-sync ac97-bclk pown down ext. amp line-out-l to ext.amp line-out-r to ext.amp sck sda signal-from-pcspk line-out-l mic1-in line-in-r mic2-in line-out-r line-in-l hp-out-l hp-out-r jd2 aux-r aux-l jd1 sda sck gpio0 gpio1 vrefout2 vrefout3 spdif-out spdif-out vrefout r66 0@250 c31 1u@202 c67 1u@202 r33 47k@250 + c1 10u c11 0.1u r65 0@250 + c43 10u c44 0.1u r35 0@250 l3 ferb vol-mute + c6 10u vol-down r53 4.7k j4 cd-in header 1 2 3 4 c20 0.1u + c19 10u + c26 100u y1 24.576mhz c45 22p c12a1 1u + c23 100u c12 1u c5 1u c41 1u c46 22p r1 0 r3 0 u6 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 dvdd1 xtl-in xtl-out dvss1 sdata-out bit-clk dvss2 sdata-in dvdd2 sync reset# pc-beep phone aux-l aux-r jd2 jd1 cd-l cd-gnd cd-r mic1 mic2 line-in-l line-in-r avdd1 avss1 vref vrefout afilt1 afilt2 nc dcvol vrefout2 vaux line-out-l line-out-r mono-o avdd2 hp-out-l nc hp-out-r avss2 gpio0/sck gpio1/sda id0#/jd0 xtlsel spdifi/eapd spdifo r8 0@ext-14.318m r12a1 1k r12b1 10k r7 0 c28 1u c14 1000p c12b1 100p r2 0 r55@203/250 6.8k~8.2k c10 1000p c21 1u c24 1u c25 1u c27 1u c22 1u r64 47k@250 r63 47k@250 c42 0.1u r9 22 r10 22 + c39 100u@203/250 r34 0@250 + c37 100u@203/250 r70 0@203/250 r71 0@202 vol-up r55 0@203 r56 0@203 r41 0@203/250/202 c16 1u r67 var 10k r4 0@ext-14.318m r68 0@203/250 r69 0@203/250 + c8 10u + c15 10u + c7 10u u1 lm7805ct/200ma 1 3 2 in out gnd c30 1u u3 totx178 3 2 1 4 5 in vcc gnd n.c n.c r54 4.7k j6 s/pdif output 1 2 c38 0.01u c50 22p c32 0.1u c40 100p r5 100 r6 220 agnd tied at one point only under the codec or near the codec dgnd crystal saving: r8,r4=0; y1,c45,c46=x (ext-14.288mhz clock) r8,r4=x; y1=24.576m, c45,c46=22p (24.576mhz crystal) ALC250/203/202 gpio volume contro (alc203 only) equalizer control by up (ALC250 only) equalizer control by up (ALC250 only) dc volume control (alc202/203/250) for uaj (alc203/250) for power off cd for uaj (alc203/250) optical transmitter (coaxial) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 40 internal mic-in mic1-in mic2-in hp-out-r vrefout hp-out-l jd1 j2 microphone input 1 2 3 4 5 r17 0 r15 0@203/250, stereo mic c52 100p c53 100p l13 ferb l15 ferb r13 4.7k@203/250, stereo mic j1 headphone out 1 2 3 4 5 c61 100p c60 100p r56 10k@ALC250 c72 3.3u@ALC250 l8 ferb l9 ferb r59 22k r60 22k r12 2.2k@203/250, mono mic jack detect to bypass eq while headphone is plugged in (ALC250 only) 4.7k@203/250,stereo mic standard jack connection (ALC250/203/202) jack connection - standard connection internal mic-in jd1 hp-out-l hp-out-r jd2 vrefout3-uaj1 vrefout2 aux-l aux-r r50 10k + c71 3.3u j2 uaj2 1 2 3 4 5 l19 ferb l18 ferb d4 1n4148 c59 100p c58 100p d5 1n4148 r51 22k + c66 3.3u l16 ferb r32 10k l17 ferb j1 uaj1 1 2 3 4 5 c62 100p c63 100p r31 22k universal audio jack(uaj): (ALC250/203) jack connection -(universal audio jack, uaj) www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 41 11. mechanical dimensions millimeter inch symbol min. typical max. min. typical max a 1.60 0.063 a1 0.05 0.15 0.002 0.006 a2 1.35 1.40 1.45 0.053 0.055 0.057 c 0.09 0.20 0.004 0.008 d 9.00 bsc 0.354 bsc d1 7.00 bsc 0.276 bsc d2 5.50 0.217 e 9.00 bsc 0.354 bsc e1 7.00bsc 0.276 bsc e2 5.50 0.217 b 0.17 0.20 0.27 0.007 0.008 0.011 e 0.50 bsc 0.0197 bsc th 0 o 3.5 o 7 o 0 o 3.5 o 7 o l 0.45 0.60 0.75 0.018 0.0236 0.030 l1 1.00 0.0393 title: lqfp-48 (7.0x7.0x1.6mm) package outline drawing, footprint 2.0mm leadframe material doc. no. approve version 02 dwg no. pkgc-065 check date realtek semiconductor corp. l1 l www.datasheet.co.kr datasheet pdf - http://www..net/
ALC250 datasheet two-channel ac?97 2.3 audio codec rev1.3 43 12. ordering information part number package status ALC250 standard product. lqfp-48 production ALC250-lf ALC250 with lead (pb)-free package production note: 1. see page 3 for lead (pb)-free package and version identification. 2. above parts are tested under avdd =5.0v. if customers have lower avdd request, please contact realtek sales representatives or agents. realtek semiconductor corp. headquarters no. 2, innovation road ii hsinchu science park, hsinchu 300, taiwan tel.: +886-3-578-0211. fax: +886-3-577-6047 www.realtek.com.tw www.datasheet.co.kr datasheet pdf - http://www..net/


▲Up To Search▲   

 
Price & Availability of ALC250

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