![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 1 / 63 copyright? c - media ele ctronics inc. block diagram description the CM6571 is a usb 2.0 audio chip with a built - in 8051 and dsp designed for a wide range of applications. with an internal two - channel adc/dac , s/pdif , it is perfectly suited for gaming headset, speakerphone, surround speaker o r apple docking applications. the CM6571 is a usb audio c lass 1.0 - compatible , boasting plug and play functionality without installing additional software on popular operatin g systems. the internal dac/adc and s/pdif out interface support s 96 k /88.2 k /48 k /44. 1 k hz sampling rate s and 16/24 - bit resolution s . furthermore, the dsp inside CM6571 supports v oice and au dio process. v oice process includes environment noise cancellation, acoustic echo cancellation and noise reduction , functions that produce better communi cation experience. audio process includes xear ? surround headphone, sound expander, dynamic bass, audio brilliant, smart volume and parameter equalizer , process es that en rich music playback, movie and gaming battle sound vividness . features ? usb 2. 0 full speed - com pliant ? usb a udio device c lass 1.0 - comp liant ? usb human i nterface d evice (hid) c lass 1.1 - compliant ? built - in dsp for voice and audio process ? v oice process supports enc, aec and nr ? audio process supports xear ? surround, s onic and parameter eq ? embedded 1t 8051 ? two - channel dac for audio output inter face ? two - channel adc for audio input interface ? aux in for aec signal reference ? buil t - in 96 k /88.2 k / 48 k /44.1 k hz and 16 / 24 - bit s/pdif transmitter ? support s i2 s in/out interface and up to 96 k hz/ 24 bits ? buil t - in agc on recording path ? support s d igital m i crophone interface ? support s s ynchronous /a synchronous audio data synchronization ? master i2c control interface for external audio usb phy gpio spi if uart if i 2 c i 2 c eeprom if ram ( 16 k ) rom ( 18 k ) mcu 8051 m u x agc m u x dac 2 channel i 2 s in microphone in line in speaker / heaphone 2 channel i 2 s out spdif out dsp usb control engine dmic 5 band eq 5 band eq - 30 ~ 12 db , - 1 db / step initial 0 db - 15 ~ 32 db , - 1 db / step initial 20 db - 26 ~ 37 db , - 1 db / step initial 0 db - 14 ~ 49 db , - 1 db / step initial 20 db - 62 ~ 0 db , - 1 db / step initial 0 db - 14 ~ 49 db , - 1 db / step initial 20 db aux in a d c adc
cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 2 / 63 copyright? c - media ele ctronics inc. release n ote s revision date description 1.0 201 3/0 5 / 19 formal release cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 3 / 63 copyright? c - media ele ctronics inc. table of contents 1 description and overview ................................ ................................ ................................ ..................... 5 2 ordering information ................................ ................................ ................................ ............................ 5 3 features ................................ ................................ ................................ ................................ ................. 5 4 applications ................................ ................................ ................................ ................................ .......... 8 5 block diagram ................................ ................................ ................................ ................................ ....... 8 6 pin assignment ................................ ................................ ................................ ................................ ...... 9 6.1 pin - out diagram ................................ ................................ ................................ ............................... 9 6.2 pin description ................................ ................................ ................................ .............................. 10 7 application mode ................................ ................................ ................................ ................................ 13 7.1 a udio flow ................................ ................................ ................................ ................................ .... 13 7.1.1 recording path ................................ ................................ ................................ ...................... 13 7.1.2 playback path ................................ ................................ ................................ ....................... 13 7.2 s ignal connection diagram ................................ ................................ ................................ ............ 14 7.2.1 aec system diagram ................................ ................................ ................................ ............ 14 7.2.2 enc system diagram ................................ ................................ ................................ ........... 16 7.2.3 array system di agram ................................ ................................ ................................ .......... 18 7.2.4 play sound effect system diagram ................................ ................................ ........................ 20 8 usb function description ................................ ................................ ................................ .................... 21 8.1 usb audio topology ................................ ................................ ................................ ...................... 21 8.2 example topology C headset ................................ ................................ ................................ .......... 21 8.3 usb hid ................................ ................................ ................................ ................................ ....... 29 8.3.1 hid interrupt in ................................ ................................ ................................ ....... 29 8.3.2 hid get_input_report ................................ ................................ .............................. 30 8.3.3 hid set_output_report ................................ ................................ ............................ 31 8.4 usb vender command definition ................................ ................................ ................................ .. 32 8.4.1 vender command read ................................ ................................ ............................. 32 8.4.2 vender command write ................................ ................................ ............................ 32 8.5 i2c interface ................................ ................................ ................................ ................................ .. 33 8.5.1 i2c master mode ................................ ................................ ................................ ..... 33 8.5.1.1 i2c protocol timing ................................ ................................ ................................ ........ 33 8.5.1.2 i2c - master read with clk_sync mode ................................ ................................ ............ 34 8.5.2 i2c slave mode ................................ ................................ ................................ ....... 34 8.6 i2s control description ................................ ................................ ................................ .................. 35 8.6.1 i2s format description ................................ ................................ ............................. 35 8.6.2 i2s mclk/bclk/lrck r atio and format ................................ ................................ ........ 37 8.7 spdif control description ................................ ................................ ................................ ............. 39 cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 4 / 63 copyright? c - media ele ctronics inc. 8.7.1 spdif frame description ................................ ................................ ......................... 39 8.7.2 spdif out channel status ................................ ................................ ........................ 40 9 dsp function description ................................ ................................ ................................ .................... 41 9.1 operation modes ................................ ................................ ................................ ........................... 41 9.2 mode state diagram and power management ................................ ................................ ................ 42 9.3 recommended control methods for dsp core ................................ ................................ .............. 44 9.3.1 scenario i ................................ ................................ ................................ .............................. 44 9.3.2 scenario ii ................................ ................................ ................................ ............................. 45 9.3.3 scenario iii ................................ ................................ ................................ ........................... 46 9.4 power level description table of dsp ................................ ................................ ........................... 47 10 electrical characteristics ................................ ................................ ................................ .............. 48 10.1 absolute maximum ratings ................................ ................................ ............................. 48 10.2 recommended operation conditions ................................ ................................ ............... 48 10.3 power consumption ................................ ................................ ................................ ......... 48 10.4 dc characteristics ................................ ................................ ................................ ........... 48 10.5 audio performance ................................ ................................ ................................ ......... 49 10.5.1 dac audio quality ................................ ................................ ................................ .. 49 10.5.2 adc audio quality ................................ ................................ ................................ .. 54 10.5.3 a - a path audio quality ................................ ................................ ............................ 60 10.5.4 dsp audio quality ................................ ................................ ................................ ... 62 11 package dimensions ................................ ................................ ................................ ............................ 63 cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 5 / 63 copyright? c - media ele ctronics inc. 1 description and overview the CM6571 is a usb 2.0 audio chip with a built - in 8051 and dsp designed for a wide range of applications. with an inte rnal two - channel adc/dac , s/pdif , it is perfectly suited for gaming headset, speakerphone, surround speaker or apple docking applications. the CM6571 is a usb audio class 1.0 - compatible, boasting plug and play functionality without installing additional so ftware on popular operating systems. the internal dac/adc and s/pdif out interface supports 96k/88.2k/48k/44.1k hz sampling rates and 16/24 - bit resolutions . furthermore, the dsp inside CM6571 supports voice and audio process. voice process includes environm ent noise cancellation, acoustic echo cancellation and noise red uction, functions that produce better communication experience. audio process includes xear? surround headphone, sound expander, dynamic bass, audio brilliant, smart volume and parameter equal izer, processes that enrich music playback , movie and gaming battle sound vividness. 2 ordering information product package marking package type transport media storage temperature CM6571 CM6571 vqfn - 88 ( 10 x 10 mm) green package tray - 45 to 120 3 features 3.1 usb c ompliance ? usb s pec ification 2.0 full speed - compati ble ? three usb upstream ports for connect i ng to a pc and mobile device simultaneously ? usb a udio d evice c lass 1.0 - comp liant ? usb h uman i nterface d evice (hid) c lass 1.1 - compliant ? supports usb suspend/ resume/reset functions ? supports control / interrupt / bulk / isochronous data transfers 3.2 dsp a lgorithm ? voice process ? xear ? volear environment noise cancellation (enc) technology for dual omni - microphones ? adjustable 20 - 40 db cancellation of environmental dynamic and stationary noises and other parameters ? supports mic auto - calibration mechanism, allowing dual - mic sensitivity an d mismatching in production ? allows wide placement distance range between two microphones (8 - 14 cm recommended) ? supports mic - in auto - gain control (agc) for adc recording quality when the enc function is on ? optional acoustic echo cancellation (aec) processin g mode for speakerphones ? optional mono - mic noise reduction (nr) processing mode for camcorder/voice recorders ? 16 - bit/16k hz high - fidelity voice processing ? audio process ? xear ? surround headphone cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 6 / 63 copyright? c - media ele ctronics inc. ? xear ? sound expander ? xear ? sonic ? dynamic bass ? a udio brilliant ? smart volume ? parameter equalizer 3.3 audio e ngine ? playback streams: ? stereo dac ? s ample r ates: 8k/11.025k/16k/22. 0 5k/32k/ 44.1k/48k/ 88.2k/ 96k ? supported b it l ength s : 16 bits a nd 24 bit s ? gain range : - 62db ~ 0db, 1db/step ? i2s out interface ? sample rates: 8k/11.025k/16k/22.05k/32k/44.1k/48k/88.2k/96k ? supported bit lengths: 16 bits and 24 bit s ? gain range : - 62db ~ 0db, 1db/step ? spdif out ? sample rates: 44.1k/48k/ 88.2k/ 96k ? supported bit lengths: 16 bits and 24 bit s ? capture s treams: ? stereo adc ? default s ample r ates: 8k/11.025k/16k/22.05k/32k/ 44.1k/48k /88.2k /96k ? supported b it l ength s : 16 bits and 24 bit s ? i2s data input ? sample rates: 8k/11.025k/16k/22.05k/32k/44.1k/48k/88.2k/96k ? support ed bit lengths: 16 bits and 24 bit s ? gain range : - 62db ~ 0db, 1db/step 3.4 audio i/o ? o ne i2s or l eft - j ustified serial audio output interface ? one i2s or l eft - j ustified serial audio in put interface ? two - channel m ic rophone in ? two - channel digital m ic rophone in ? two - channel line in ? two - channel line out cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 7 / 63 copyright? c - media ele ctronics inc. ? s/pdif transmitter ? aux in 3.5 integrated 8051 m icro processor ? embedded 8051 microprocessor to handle comment/protocol transactions ? connects to an external eeprom memory for firmware codes ? hid interrupts can be imple mented via firmware codes ? provides maximum hw configuration flexibility with firmware code upgrade ? vid/pid/ p roduct s tring s can be customized via firmware code programming 3.6 control i nterface ? master i2c control interface for external audio devices or eep rom access ? maximum of 15 gpio pins can be configured via firmware programming ? gpios set to hid key , led indicator and ir receiver configurations 3.7 general ? hw eq for both playback and record path s ? s ingle 12mhz crystal input is required only (embedded p ll function) ? single 5 v power supply (embedded 5 v to 1.8 v regulator for digital core , 5v to 3.3v regulator for digital io, 5v to 3.5v regulator for analog codec ) ? 3.3v digital i/o pads with 5v tolerance ? industr y - standard vqfn - 8 8 package ( 10 x 1 0 mm) note: c m6571 is a usb 2.0 full speed audio device. s ince bandwidth limitation, CM6571 can t support 96khz/24btis for playback and capture streams simultaneously. the possible combination s are as below table. playback capture audio format 96khz/24bits 48khz/24b its or below 48k/24bits or below 96khz/24bits a n d for best compatibility in different os, the default input and output audio format support up to 48khz and 16bits. 96khz/24bits can be enable d by firmware update. cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 8 / 63 copyright? c - media ele ctronics inc. 4 applications ? speaker p hone with acoustic echo cancellation ? usb speaker with sound expander and xear ? sound effect ? skype tv module with aec + ldr ? usb h eadset with enc ? usb gaming headset w ith xear ? sound effect ? i device d ocking with xear ? sound effect ? audio b ox es ? usb array/beam forming microphone 5 block d iagram CM6571 functional block diagram u s b p h y g p i o s p i i f u a r t i f i 2 c i 2 c e e p r o m i f r a m ( 1 6 k ) r o m ( 1 8 k ) m c u 8 0 5 1 m u x a g c m u x d a c 2 c h a n n e l i 2 s i n m i c r o p h o n e i n l i n e i n s p e a k e r / h e a p h o n e 2 c h a n n e l i 2 s o u t s p d i f o u t d s p u s b c o n t r o l e n g i n e d m i c 5 b a n d e q 5 b a n d e q - 3 0 ~ 1 2 d b , - 1 d b / s t e p i n i t i a l 0 d b - 1 5 ~ 3 2 d b , - 1 d b / s t e p i n i t i a l 2 0 d b - 2 6 ~ 3 7 d b , - 1 d b / s t e p i n i t i a l 0 d b - 1 4 ~ 4 9 d b , - 1 d b / s t e p i n i t i a l 2 0 d b - 6 2 ~ 0 d b , - 1 d b / s t e p i n i t i a l 0 d b - 1 4 ~ 4 9 d b , - 1 d b / s t e p i n i t i a l 2 0 d b a u x i n a d c a d c cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 9 / 63 copyright? c - media ele ctronics inc. 6 pin a ssignment 6.1 pin - out diagram c m 6 5 7 1 v q f n - 8 8 2 0 1 9 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 9 8 7 6 5 4 3 2 1 i 2 c _ s d a t _ 0 i 2 c _ s c l k _ 0 g p i o _ 1 g p i o _ 2 d _ m s e l _ 0 g p i o _ 3 g p i o _ 4 g p i o _ 5 d _ d m i _ d a t g p i o _ 6 g p i o _ 7 a d c _ b c l k a d c _ d i n a d c _ l r c k a d c _ d o u t d _ m s e l _ 1 g p i o _ 0 a d c _ m c l k d _ d m i _ c l k g n d 1 8 i o / g n d 3 i o 2 2 2 1 d _ a u x i n _ n d _ a u x i n _ p 4 4 4 3 4 2 4 1 4 0 3 9 3 8 3 7 3 6 3 5 3 4 3 3 3 2 3 1 3 0 2 9 2 8 2 7 2 6 2 5 d _ m i c 0 _ n x v 3 3 v c c 1 8 i o / x v 1 8 d _ x v r e f g n d 1 8 i o / g n d 3 i o x t a l _ o x t a l _ i t e s t _ 0 p d s w g p i o _ 1 6 s p d i f _ o g p i o _ 1 8 g p i o _ 1 7 d _ x v 2 4 _ d a d _ a g n d u s b _ d p u s b _ d m d v 5 0 d _ a v d d 2 4 2 3 d _ m i c 1 _ n d _ m i c 1 _ p 4 7 4 8 4 9 5 0 5 1 5 2 5 3 5 4 5 5 5 6 5 7 5 8 5 9 6 0 6 1 6 2 6 3 6 4 6 5 6 6 d _ x v 1 2 d _ t e s t _ 1 d _ d g n d a g n d d _ r s t n x a c r e f l / x a c r e f r x m i c l d _ d m o _ c l k d _ d m o _ d a t x m i c r x l i n l x l i n r d _ i 2 s _ b c l k x m i c b i a s 2 x m i c b i a s 1 x v a g d _ i 2 s _ d i d _ i 2 s _ l r c k a g n d d _ i 2 s _ d o 4 5 4 6 d _ m i c 0 _ p d _ d v d d n c 7 7 7 8 7 9 8 0 8 1 8 2 8 3 8 4 8 5 8 6 6 7 6 8 6 9 7 0 7 1 7 2 7 3 7 4 7 5 7 6 x v 3 5 _ a d c x v o l a d j x l n o u t l x l o c o m x v 3 5 _ d r i v e r a g n d x l n o u t r x v 3 5 _ d a c a v 5 0 d a c _ m c l k d a c _ b c l k d a c _ d o u t d a c _ l r c k d a c _ d i n g n d 1 8 i o / g n d 3 i o g p i o _ 1 1 g p i o _ 1 0 g p i o _ 9 g p i o _ 8 d _ i 2 c _ c l k _ 1 8 7 8 8 d _ i 2 c _ d a t _ 1 d _ c l k _ i n cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 10 / 63 copyright? c - media ele ctronics inc. 6.2 p in d escription pin # symbol i/o description clock 32 xtal_o ao 12mhz crystal oscillator output 31 xtal_i ai 12mhz crystal oscillator input 88 d_ clk_in di, pd clock input (default 26mhz, configurable for 1~31mhz) usb 2.0 bus interface 37 usb _d m aio usb 2.0 data negative (usb d - signal) 36 usb_dp aio usb 2.0 data positive (usb d+ signal) power/ground 42 dv50 pwr 5v digital power for 5/3.3 regulator 40 vcc18io ao 1.8v power for digital i/o and core 41 xv33 ao regulator 3.3v output, drive capacity 150ma for usb and digital i/o 10 gnd 18 io /gnd3io gnd digital g round 33 gnd18io/gnd3io gnd digital ground 81 gnd18io/gnd3io gnd digital ground 75 av50 pwr 5v analog power for 5/3.5 regulator 50 agnd gnd analog ground 65 agnd gnd analog ground 72 agnd gnd analog ground 74 xv35_dac ao regulator 3.5v output, drive capacity 100ma for analog and amplifier 67 xv35_adc ao 3.5v power for adc and voltage and current reference 71 xv35_driver ao 3.5v power for driver 34 d_ xv24_da aio regulator capaci tor filter for analog circuit 35 d_ agnd gnd analog ground 43 d_ avdd pwr analog power 39 d_ xvref ao voltage reference capacitor filter 46 d_ dvdd pwr digital power 47 d_ xv1.2 aio regulator capacitor filter for digital and pll circuit 49 d_ dgnd pwr dig ital ground audio interface 52 xacrefl/xacrefr ao common reference voltage for input signal 53 xmicl ai mic in: left channel 56 xmicr ai mic in: right channel 57 xlinl ai line in: left channel 58 xlinr ai line in: right channel 60 xmicbias2 ao micro phone bias , 2.75v 61 xmicbias1 ao microphone bias , 2.75v 62 xvag ao voltage reference cap filter 68 xvoladj ai analog control voltage input for playback volume control 69 xlnoutl ao line out: left channel 70 xlocom ao line out: common reference for ca pless connection 73 xlnoutr ao line out: right channel 21 d_ auxin_p ai differential analog aux line input p 22 d_ auxin_n ai differential analog aux line input n 23 d_ mic1_n ai differential analog microphone 1 input n 24 d_ mic1_p ai differential analog microphone 1 input p 44 d_ mic0_n ain differential analog microphone 0 input n 45 d_ mic0_p ain differential analog microphone 0 input p 2 - channel i2s dac interface 76 dac_mclk do i2s master clock programmable 3.3v output buffer cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 11 / 63 copyright? c - media ele ctronics inc. 77 dac_bclk dio i2s bit clock programmable 3.3v bidirectional buffer, pull - down 78 dac_dout do i2s serial data output for channels 0 and 1 programmable 3.3v output buffer 79 dac_lrck dio i2s left/right clock programmable 3.3v bidirectional buffer, pull - down 80 dac_din di inpu t from dsp to dac for playback 2 - channel i2s interface 59 d_ i2s_bclk di i2s bit clock 63 d_ i2s_di di i2s serial data input 64 d_ i2s_lrck di i2s left/right clock 66 d_ i2s_do do i2s serial data output digital microphone interface 5 d_ dmi_clk do digita l microphone clock out put 9 d_ dmi_dat di digital microphone data input 54 d_ dmo_clk di digital microphone clock in put 55 d_ dmo_dat do digital microphone data output 2 - channel i2s adc interface 1 adc_ dout do output from adc to dsp for data processing 2 adc_ lrck dio i2s left/right clock programmable 3.3v bidirectional buffer, pull - down 3 adc_ din di i2s serial data input for channel 0, 1 programmable 3.3v input buffer, schmitt trigger, pull - down 4 adc_ bclk dio i2s bit clock programmable 3.3v bidire ctional buffer, pull - down 6 adc_ mclk do i2s master clock programmable 3.3v output buffer s/pdif i/o 26 spdif_o do s/pdif transmitter programmable 3.3v output buffer gpio 19 gpio_0 dio general purpose input/output (default volume up) programmable 3.3v /5v tolerance bidirectional buffer, pull - up 16 gpio_1 dio general purpose input/output (default volume down) programmable 3.3v/5v tolerance bidirectional buffer, pull - up 15 gpio_2 dio general purpose input/output (default play mute) programmable 3.3v/5v tolerance bidirectional buffer, pull - up 13 gpio_3 dio general purpose input/output (default rec mute) programmable 3.3v/5v tolerance bidirectional buffer, pull - up 12 gpio_4 dio general purpose input/output (default led live, 2k hz) programmable 3.3v/5v t olerance bidirectional buffer, pull - down 11 gpio_5 dio general purpose input/output (default led play mute) programmable 3.3v/5v tolerance bidirectional buffer, pull - down 8 gpio_6 dio general purpose input/output (default led rec mute, 1k hz) programmabl e 3.3v/5v tolerance bidirectional buffer, pull - down 7 gpio_7 dio general purpose input/output (default eq mode select 0) programmable 3.3v/5v tolerance bidirectional buffer, pull - down gpio[8:7]=0,0: normal gpio[8:7]=1,0: communication gpio[8:7]=0,1: gamin g gpio[8:7]=1,1: movie 85 gpio_8 dio general purpose input/output (default eq mode select 1) programmable 3.3v/5v tolerance bidirectional buffer, pull - down 84 gpio_9 dio general purpose input/output (default rec clip indicator) programmable 3.3v/5v tole rance bidirectional buffer, pull - down 83 gpio_10 dio general purpose input/output (default wave volume up) programmable 3.3v/5v tolerance bidirectional buffer, pull - down cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 12 / 63 copyright? c - media ele ctronics inc. 82 gpio_11 dio general purpose input/output (default wave volume down) programmable 3.3v/5v tolerance bidirectional buffer, pull - down 28 gpio_16 dio general purpose input/output (default mcu_rxd) programmable 3.3v/5v tolerance bidirectional buffer, pull - down o utput high voltage, 2.4v 27 gpio_17 dio general purpose input/output (default mcu_trx) programmable 3.3v/5v tolerance bidirectional buffer, pull - down o utput high voltage, 2.4v 25 gpio_18 dio general purpose input/output (default ir module) programmable 3.3v/5v tolerance bidirectional buffer, pull - down o utput high voltage, 2.4v 2 - w ire master serial bus (i2c) 18 i2c_sdat _0 dio 2 - wire master serial data programmable 3.3v/5v tolerant bidirectional buffer, pull - down 17 i2c_sclk _0 dio 2 - wire master serial clock programmable 3.3v/5v tolerant bidirectional buffer, pull - down 86 d_ i2c_clk _1 dio, pu i2c clock 87 d_ i2c_dat_1 dio, pu i2c data miscellaneous 29 pdsw do power down switch normal: 0 suspend: 1 30 test_0 di for testing 48 d_ test_1 di for testing 38 nc 14 d_ msel_0 di mode selector values (msel_1, msel_0): 0x00: power down ( default) 0x01: active (enc on/aec/nr) 0x11: by - pass mode (effect off) 0x10: suspend 20 d_ msel_1 di 51 d_ rstn di, pu chip reset i nput, low active n ote: p in name with d character means dsp pin out . cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 13 / 63 copyright? c - media ele ctronics inc. 7 a pplication mode 7.1 a udio flow 7.1.1 r ecording path 7.1.2 playback path surround hp usb (usb side) i2s-out dout(dac_dout) (dsp side)i2s din (i2s_di) (dsp side)i2s dout (i2s_do) (usb side) i2s-out din(dac_din) (usb side) analog out(xlnoutl/xlnoutr) sound expander usb (usb side) i2s-out dout(dac_dout) (dsp side)i2s din (i2s_di) (dsp side)i2s dout (i2s_do) (usb side) i2s-out din(dac_din) (usb side) analog out(xlnoutl/xlnoutr) xear sonic usb (usb side) i2s-out dout(dac_dout) (dsp side)i2s din (i2s_di) (dsp side)i2s dout (i2s_do) (usb side) i2s-out din(dac_din) (usb side) analog out(xlnoutl/xlnoutr) parameter eq usb (usb side) i2s-out dout(dac_dout) (dsp side)i2s din (i2s_di) (dsp side)i2s dout (i2s_do) (usb side) i2s-out din(dac_din) (usb side) analog out(xlnoutl/xlnoutr) output path(playback) output functions dmic clk (gpio10), dmic data(gpio11) analog mic(xmicl, xmicr) dmic clk (dmi_clk), dmic data(dmi_dat) analog mic (mic0_n/p, mic1_n/p) dmic clk (gpio10), dmic data(gpio11) analog mic(xmicl, xmicr) dmic clk (dmi_clk), dmic data(dmi_dat) analog mic(mic0_n/p, mic1_n/p) dmic clk(gpio10), dmic data(gpio11) analog mic(xmicl, xmicr) dmic clk (dmi_clk), dmic data(dmi_dat) analog mic(mic0_n/p, mic1_n/p) usb l, r are for two mic input enc (usb side) mic in (dsp side) mic in mic 0, 1 (dsp side)dmic out(dmo_clk, dmo_dat) aec (usb side) mic in l: mic input r: reference signal (usb side) i2s-in dout (adc_dout) (dsp side) i2s din(i2s_di) usb (dsp side) mic in mic0: mic input, mic1: reference signal (dsp side)dmic out(dmo_clk, dmo_dat) usb (usb side) i2s-in din (adc_din) (usb side) i2s-in dout (adc_dout) (dsp side) i2s din(i2s_di) usb (dsp side) mic in mic 0,1 (dsp side)dmic out(dmo_clk, dmo_dat) usb (usb side) i2s-in din (adc_din) input functions input path(recording) (dsp side) i2s dout(i2s_do) (usb side)dmic in(gpio10, gpio11) (dsp side) i2s dout(i2s_do) (usb side)dmic in(gpio10, gpio11) (dsp side) i2s dout(i2s_do) (usb side)dmic in(gpio10, gpio11) (usb side) i2s-in dout (adc_dout) (dsp side) i2s din(i2s_di) (usb side) i2s-in din (adc_din) usb array (usb side)mic in l, r are for two mic input cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 14 / 63 copyright? c - media ele ctronics inc. 7.2 s ignal connection diagram 7.2.1 aec system diagram 7.2.1.1 from usb side input path : usb audio microphone in ? usb audio i2s in(d out) ? dsp i2s in ? dsp i2s out ? usb audio i2s in(d in) ? usb ? pc r e f s i g n a l r e f s i g n a l ( a e c m o d e ) m i c _ l u s b a u d i o m i c _ r x m i c l / x m i c r g p i o 1 0 / g p i o 1 1 a d c _ d o u t d s p i 2 s _ d i d m i c _ l d m i c _ r a d c _ d i n i 2 s _ d o u s b c m 6 5 7 1 m u x cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 15 / 63 copyright? c - media ele ctronics inc. 7.2.1.2 from dsp side input path: dsp microphone in ? dsp digital microphone out ? usb audio digital microphone in ? usb ? pc ( a e c m o d e ) m i c _ 0 u s b a u d i o m i c _ 1 g p i o 1 0 ( d m i c _ c l k ) , g p i o 1 1 ( d m i c _ d a t ) d s p d m o _ c l k / d m o _ d a t d m i c _ l d m i c _ r u s b c m 6 5 7 1 m u x d m i _ c l k / d m i _ d a t m i c 0 _ n / p , m i c 1 _ n / p r e f s i g n a l r e f s i g n a l cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 16 / 63 copyright? c - media ele ctronics inc. 7.2.2 enc system diagram 7.2. 2 .1 from usb side input path : usb au dio microphone in ? usb audio i2s in(d out) ? dsp i2s in ? dsp i2s out ? usb audio i2s in(d in) ? usb ? pc r e f s i g n a l r e f s i g n a l ( a e c m o d e ) m i c _ l u s b a u d i o m i c _ r x m i c l / x m i c r g p i o 1 0 / g p i o 1 1 a d c _ d o u t d s p i 2 s _ d i d m i c _ l d m i c _ r a d c _ d i n i 2 s _ d o u s b c m 6 5 7 1 m u x ( e n c m o d e ) m i c _ 0 u s b a u d i i o m i c _ 1 x m i c l / x m i c r g p i o 1 0 / g p i o 1 1 a d c _ d o u t d s p i 2 s _ d i d m i c _ l d m i c _ r a d c _ d i n i 2 s _ d o u s b c m 6 5 7 1 m u x cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 17 / 63 copyright? c - media ele ctronics inc. 7.2. 2 .2 from dsp side input path: dsp microphone in ? dsp digital microphone out ? usb audio digit al microphone in ? usb ? pc ( e n c m o d e ) m i c _ 0 u s b a u d i o m i c _ 1 g p i o 1 0 ( d m i c _ c l k ) , g p i o 1 1 ( d m i c _ d a t ) d s p d m o _ c l k / d m o _ d a t d m i c _ l d m i c _ r u s b c m 6 5 7 1 m u x d m i _ c l k / d m i _ d a t m i c 0 _ n / p , m i c 1 _ n / p r e f s i g n a l r e f s i g n a l cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 18 / 63 copyright? c - media ele ctronics inc. 7.2.3 a rray system diagram 7.2.3 .1 from usb side input path: usb audio m icrophone in ? usb i2s i n(d out) ? dsp i2s i n ? dsp i2s out ? usb audio i2s in(d in) ? usb ? pc ( a r r a y m i c m o d e ) m i c _ 0 u s b a u d i i o m i c _ 1 x m i c l / x m i c r g p i o 1 0 / g p i o 1 1 a d c _ d o u t d s p i 2 s _ d i d m i c _ l d m i c _ r a d c _ d i n i 2 s _ d o u s b c m 6 5 7 1 m u x cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 19 / 63 copyright? c - media ele ctronics inc. 7.2.3. 2 from dsp side input path: dsp m icrophone in ? dsp digital microphone out ? usb audio digital microphone in ? usb ? pc ( a r r a y m i c m o d e ) m i c _ 0 u s b a u d i o m i c _ 1 g p i o 1 0 ( d m i c _ c l k ) , g p i o 1 1 ( d m i c _ d a t ) d s p d m o _ c l k / d m o _ d a t d m i c _ l d m i c _ r u s b c m 6 5 7 1 m u x d m i _ c l k / d m i _ d a t m i c 0 _ n / p , m i c 1 _ n / p cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 20 / 63 copyright? c - media ele ctronics inc. 7 .2.4 play sound effect system diagram (surround hp/sound expander/xear ? sonic/ parameter eq) path: pc ? usb ? usb audio ? usb audio i2s out(d out) ? dsp i2s i n ? dsp i2s out ? usb audio i2s out(d in) ? usb audio line out ? speaker ( p l a y s o u n d e f f e c t m o d e ) u s b a u d i o d a c _ d o u t d s p i 2 s _ d i d a c _ d i n i 2 s _ d o c m 6 5 7 1 x l n o u t l / x l n o u t r u s b cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 21 / 63 copyright? c - media ele ctronics inc. 8 usb function description 8.1 usb audio topology t he mcu of CM6571 can u se internal rom code or download customized code to implement usb audio device in different topologies. this usb device can provide one control pipe, two iso in/out pipes, one interrupt pipe and four bulk in/out pipes. 8.2 e xample topology C headset device descriptor offset field size value (hex) description 0 blength 1 12 descriptor length 1 bdescriptortype 1 01 device descriptor 2 bcdusb 2 0110 usb 1.1 compliant 4 bdeviceclass 1 00 device class specified by interface 5 bdevi cesubclass 1 00 device subclass specified by interface 6 bdeviceprotocol 1 00 device protocol specified by interface 7 bmaxpacketsize0 1 10 endpoint zero packet size 8 idvendor 2 0d8c vendor id 10 idproduct 2 0178~017f product id 12 bcddevice 2 0000 d evice release number 14 imanufacturer 1 01 index of string descriptor describing manufacturer 15 iproduct 1 02 index of string descriptor describing product 16 iserialnumber 1 00 index of string descriptor describing serial number 17 bnumconfigurations 1 01 number of configuration 0 x 0 9 m i x e r 0 x 0 7 f e a 0 x 0 5 f e a 0 x 0 6 f e a u s b s t r e a m m i c 0 x 0 8 s e l s p e a k e r u s b s t r e a m 0 x 0 1 i t 0 x 0 2 i t 0 x 0 3 o t 0 x 0 4 o t cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 22 / 63 copyright? c - media ele ctronics inc. configuration descriptor offset field size value (hex) description 0 blength 1 09 descriptor length 1 bdescriptortype 1 02 configuration descriptor 2 wtotallength 2 011d total length of data returned for this configurat ion: 285 bytes 4 bnuminterfaces 1 04 number of interfaces supported by this configuration: 00: control 01: iso - out 02: iso - in 03: int - in (hid) 5 bconfigurationvalue 1 01 configuration value 6 iconfiguration 1 00 index of string descriptor describing thi s configuration 7 bmattributes 1 80 attributes(bus powered) 8 bmaxpower 1 32 maximum power consumption from bus = 100ma: 8h32 (50x2 ma) (pwrsel_2 = 1) audio control interface 0 descriptor 0 offset field size value (hex) description 0 blength 1 09 des criptor length 1 bdescriptortype 1 04 interface descriptor 2 binterfacenumber 1 00 interface number 3 balternatesetting 1 00 alternate interface 4 bnumendpoints 1 00 number of endpoint used by this interface 5 binterfaceclass 1 01 audio interface clas s 6 binterfacesubclass 1 01 subclass code: audio_control 7 binterfaceprotocol 1 00 protocol code 8 iinterface 1 00 index of string descriptor describing this interface class - specific ac interface header descriptor offset field size value (hex) descrip tion 0 blength 1 0a descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 01 header descriptor subtype 3 bcdadc 2 0100 audio device class specification release number 5 wtotallength 2 0066 total length of data re turned for the class - specific audio control interface descriptor: 7 bincollection 1 02 the number of audio stream interfaces in the collection: 02 8 bainterfacenr(1) 1 01 interface number of the first audio stream interface in the collection 9 bainterf acenr(2) 1 02 interface number of the second audio stream interface in the collection class - specific input terminal descriptor (usb stream ), id=01 offset field size value (hex) description 0 blength 1 0c descriptor length 1 bdescriptortype 1 24 cs_inte rface descriptor type 2 bdescriptorsubtype 1 02 input_terminal descriptor subtype 3 bterminalid 1 01 terminal id 4 wterminaltype 2 0101 terminal type: usb stream 6 bassocterminal 1 00 associate terminal 7 bnrchannels 1 02 number of channel stereo : 02 8 wchannelconfig 2 0003 d0: left front (l) d1: right front (r) 10 ichannelnames 1 00 index of string descriptor describing the name of the first logical channel cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 23 / 63 copyright? c - media ele ctronics inc. 11 iterminal 1 00 index of string descriptor describing this input terminal class - sp ecific input terminal descriptor (microphone) , i d=02 offset field size value (hex) description 0 blength 1 0c descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 02 output_terminal descriptor subtype 3 bterminal id 1 02 terminal id 4 wterminaltype 2 0201 terminal type: microphone 6 bassocterminal 1 00 associate terminal 7 bnrchannels 1 02 number of channel stereo : 02 8 wchannelconfig 2 0003 d0: left front (l) d1: right front (r) 10 ichannelnames 1 00 index of string descriptor describing the name of the first logical channel 11 iterminal 1 00 index of string descriptor describing this input terminal class - specific output terminal descriptor (speaker ) ,id=03 offset field size value (hex) description 0 blen gth 1 09 descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 03 output_terminal descriptor subtype 3 bterminalid 1 03 terminal id 4 wterminaltype 1 0301 terminal type: speaker 5 bassocterminal 1 00 associate te rminal 6 bsourceid 1 05 source id: 05 8 iterminal 1 00 index of string descriptor describing this output terminal class - specific output terminal descriptor (usb stream ) , id=04 offset field size value (hex) description 0 blength 1 09 descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 03 output_terminal descriptor subtype 3 bterminalid 1 04 terminal id 4 wterminaltype 2 0101 terminal type: usb stream 6 bassocterminal 1 00 associate terminal 7 bsourceid 1 08 source id: 08 8 iterminal 1 00 index of string descriptor describing this output terminal class - specific feature unit descriptor (speaker playin g) , id=05 offset field size value (hex) description 0 blength 1 0a descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 06 feature_unit descriptor subtype 3 bunitid 1 05 unit id 4 bsourceid 1 09 source id from input unit: 09 5 bcontrolsize 1 01 size in byte of bmacontrols array: 1 bytes 6 bmacontrols(1) 1 01 maste r mute 01 7 bmacontrols(2) 1 02 left front volume control 02 : stereo 8 bmacontrols(3) 1 02 right front volume control 02 : stereo 9 ifeature 1 00 index of string descriptor describing this feature unit cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 24 / 63 copyright? c - media ele ctronics inc. class - specific feature unit descriptor (m icrophone recording ) , id=06 offset field size value (hex) description 0 blength 1 0a descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 06 feature_unit descriptor subtype 3 bunitid 1 06 unit id 4 bsourceid 1 02 source id from input unit: 02 5 bcontrolsize 1 01 size in byte of bmacontrols array: 1 bytes 6 bmacontrols(1) 1 01 master mute 01 7 bmacontrols(2) 1 02 left front volume control 02 : stereo 8 bmacontrols(3) 1 02 right front volume control 02 : ste reo 9 ifeature 1 00 index of string descriptor describing this feature unit class - specific feature unit descriptor (microphone recordin g) , id=07 offset field size value (hex) description 0 blength 1 0a descriptor length 1 bdescriptortype 1 24 cs_inte rface descriptor type 2 bdescriptorsubtype 1 06 feature_unit descriptor subtype 3 bunitid 1 07 unit id 4 bsourceid 1 02 source id from input unit: 02 5 bcontrolsize 1 01 size in byte of bmacontrols array: 1 bytes 6 bmacontrols(1) 1 01 master mute 01 7 bmacontrols(2) 1 02 left front volume control 02 : stereo 8 bmacontrols(3) 1 02 right front volume control 02 : stereo 9 ifeature 1 00 index of string descriptor describing this feature unit class - specific selector unit descriptor (usb strea m ), id= 08 offset field size value (hex) description 0 blength 1 07 descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 05 selector_unit descriptor subtype 3 bunitid 1 08 unit id 4 bnrinpins 1 01 number of input pin 5 bmacontrols(1) 1 06 microphone feature 6 iselector 1 00 index of string descriptor describing this selector unit class - specific mixer unit descriptor (spe aker) , id=09 offset field size value (hex) description 0 blength 1 0d descriptor length 1 bdescr iptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 04 mixer_unit descriptor subtype 3 bunitid 1 09 unit id 4 bnrinpins 1 02 number of input pin 5 basourceid(1) 1 01 usb stream 6 basourceid(2) 1 07 microphone feature 7 bnrchannels 1 02 number of output channel 8 wchannelconfig 2 0003 d0: left front (l) d1: right front (r) 10 ichannelnames 1 00 index of string descriptor describing the name of the first logical channel 11 bmcontrols 1 00 all mixing controls are not programmable (this field occupies (2+2+2)*2/8 bytes) cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 25 / 63 copyright? c - media ele ctronics inc. 12 imixer 1 00 index of string descriptor describing this mixer unit standard as interface descriptor (interface 1, alternate 0) offset field size value (hex) description 0 blength 1 09 descriptor length 1 bdescriptor type 1 04 interface descriptor 2 binterfacenumber 1 01 interface number 3 balternatesetting 1 00 alternate interface 4 bnumendpoints 1 00 number of endpoint used by this interface 5 binterfaceclass 1 01 audio interface class 6 binterfacesubclass 1 02 subclass code: audio_stream 7 binterfaceprotocol 1 00 protocol code 8 iinterface 1 00 index of string descriptor describing this interface standard as interface descriptor (interface 1, alternate 1) offset field size value (hex) description 0 blength 1 09 descriptor length 1 bdescriptortype 1 04 interface descriptor 2 binterfacenumber 1 01 interface number 3 balternatesetting 1 01 alternate interface 4 bnumendpoints 1 01 number of endpoint used by this interface 5 binterfaceclass 1 01 audio interf ace class 6 binterfacesubclass 1 02 subclass code: audio_stream 7 binterfaceprotocol 1 00 protocol code 8 iinterface 1 00 index of string descriptor describing this interface class - specific as general interface descriptor (interface 1, alternate 1) of fset field size value (hex) description 0 blength 1 07 descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 01 as_general descriptor subtype 3 bterminallink 1 01 link to output usb stream 4 bdelay 1 01 sync dela y: 1ms 5 wformattag 2 0001 pcm 16 - bits format class - specific as type format descriptor (interface 1, alternate 1) offset field size value (hex) description 0 blength 1 1d descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescr iptorsubtype 1 02 format descriptor subtype 3 bformattype 1 01 format type 1 4 bnrchannels 1 02 number of channel 02 : stereo 5 bsubframesize 1 02 2 bytes per slot 6 bbitresolution 1 10 bit resolution : 16 - bits 7 bsamfreqtype 1 07 7 sampling rates 8 tsampfreq(1) 3 001f40 sampling rate: 8khz 11 tsampfreq(2) 3 002b11 sampling rate: 11.025khz 14 tsampfreq(3) 3 003e80 sampling rate: 16khz 17 tsampfreq(4) 3 005622 sampling rate: 22.05khz 20 tsampfreq(5) 3 007d00 sampling rate: 32khz 23 tsampfreq(6) 3 00ac44 sampling rate: 44.1khz 26 tsampfreq(7) 3 00bb80 sampling rate: 48khz cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 26 / 63 copyright? c - media ele ctronics inc. standard as iso out audio data endpoint descriptor (ep 1) offset field size value (hex) description 0 blength 1 09 descriptor length 1 bdescriptortype 1 05 endpoint desc riptor 2 bendpointaddress 1 1 in endpoint, endpoint number 1 3 bmattributes 1 0d iso endpoint, synchronous 4 wmaxpacketsize 2 0188 maximum packet size: 392 bytes 6 binterval 1 01 1ms 7 brefresh 1 00 reset to 0 8 bsynchaddress 1 00 no synchronizatio n pipe class - specific as iso out audio data endpoint descriptor (ep 1) offset field size value (hex) description 0 blength 1 07 descriptor length 1 bdescriptortype 1 25 cs_endpoint descriptor type 2 bdescriptorsubtype 1 01 ep_general descriptor subtyp e 3 bmattributes 1 01 sampling frequency control 4 blockdelayunits 1 00 reset to 0 5 wlockdelay 2 0000 no synchronization pipe standard as interface descriptor (interface 2, alternate 0) offset field size value (hex) description 0 blength 1 09 descri ptor length 1 bdescriptortype 1 04 interface descriptor 2 binterfacenumber 1 02 interface number: 02 3 balternatesetting 1 00 alternate interface 4 bnumendpoints 1 00 number of endpoint used by this interface 5 binterfaceclass 1 01 audio interface cla ss 6 binterfacesubclass 1 02 subclass code 7 binterfaceprotocol 1 00 protocol code 8 iinterface 1 00 index of string descriptor describing this interface standard as interface descriptor (interface 2, alternate 1) offset field size value (hex) descrip tion 0 blength 1 09 descriptor length 1 bdescriptortype 1 04 interface descriptor 2 binterfacenumber 1 02 interface number: 02 3 balternatesetting 1 01 alternate interface 4 bnumendpoints 1 01 number of endpoint used by this interface 5 binterfacecla ss 1 01 audio interface class 6 binterfacesubclass 1 02 subclass code 7 binterfaceprotocol 1 00 protocol code 8 iinterface 1 00 index of string descriptor describing this interface class - specific as general interface descriptor (interface 2, alternate 1) offset field size value (hex) description 0 blength 1 07 descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 01 as_general descriptor subtype 3 bterminallink 1 04 link to output usb stream 4 bdelay 1 01 syn c delay: 1ms 5 wformattag 2 0001 pcm 16 - bits format cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 27 / 63 copyright? c - media ele ctronics inc. class - specific as type format descriptor (interface 2, alternate 1) offset field size value (hex) description 0 blength 1 1d descriptor length 1 bdescriptortype 1 24 cs_interface descriptor type 2 bdescriptorsubtype 1 02 format descriptor subtype 3 bformattype 1 01 format type 1 4 bnrchannels 1 02 number of channelalways 2ch 5 bsubframesize 1 02 2 bytes per slot 6 bbitresolution 1 10 bit resolution: 16 - bits 7 bsamfreqtype 1 07 7 sampling ra tes 8 tsampfreq(1) 3 001f40 sampling rate: 8khz 11 tsampfreq(2) 3 002b11 sampling rate: 11.025khz 14 tsampfreq(3) 3 003e80 sampling rate: 16khz 17 tsampfreq(4) 3 005622 sampling rate: 22.05khz 20 tsampfreq(5) 3 007d00 sampling rate: 32khz 23 tsampfre q(6) 3 00ac44 sampling rate: 44.1khz 26 tsampfreq(7) 3 00bb80 sampling rate: 48khz standard as iso in audio data endpoint descriptor (ep 82) offset field size value (hex) description 0 blength 1 09 descriptor length 1 bdescriptortype 1 05 endpoint des criptor 2 bendpointaddress 1 82 in endpoint, endpoint number 2 3 bmattributes 1 0d iso endpoint, synchronous 4 wmaxpacketsize 2 0188 maximum packet size: 392 bytes 6 binterval 1 01 1ms 7 brefresh 1 00 reset to 0 8 bsynchaddress 1 00 no synchronizat ion pipe class - specific as iso in audio data endpoint descriptor (ep 82) offset field size value (hex) description 0 blength 1 07 descriptor length 1 bdescriptortype 1 25 cs_endpoint descriptor type 2 bdescriptorsubtype 1 01 ep_general descriptor subt ype 3 bmattributes 1 01 sampling frequency control 4 blockdelayunits 1 00 reset to 0 5 wlockdelay 2 0000 no synchronization pipe standard hid interface descriptor (interface 3, alternate 0) offset field size value (hex) description 0 blength 1 09 des criptor length 1 bdescriptortype 1 04 interface descriptor 2 binterfacenumber 1 03 interface number: 03 3 balternatesetting 1 00 alternate interface 4 bnumendpoints 1 01 number of endpoint used by this interface 5 binterfaceclass 1 03 audio interface class 6 binterfacesubclass 1 00 subclass code 7 binterfaceprotocol 1 00 protocol code 8 iinterface 1 00 index of string descriptor describing this interface cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 28 / 63 copyright? c - media ele ctronics inc. class - specific hid interface descriptor (interface 3, alternate 0) offset field size va lue (hex) description 0 blength 1 09 descriptor length 1 bdescriptortype 1 21 hid descriptor type 2 bcdhid 2 0100 hid class version 4 bcountrycode 1 00 no country code 5 bnumdescriptors 1 01 one hid class descriptor 6 bdescriptortype 1 22 report desc riptor 7 wdescriptorlength 2 002c hid class descriptor length in byte: 44 bytes standard hid interrupt in endpoint descriptor (ep 87) offset field size value (hex) description 0 blength 1 07 descriptor length 1 bdescriptortype 1 05 endpoint descript or 2 bendpointaddress 1 87 in endpoint, endpoint number: 07 3 bmattributes 1 03 interrupt endpoint 4 wmaxpacketsize 2 0010 maximum packet size: 16 bytes 6 binterval 1 01 1ms cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 29 / 63 copyright? c - media ele ctronics inc. 8.3 usb hid 8.3.1 hid interrupt in 8.3.1.1 input data format: byt e 0 always 1 for org hid event report id byte1 for defined hid event, and each event occupies one bit byte2 byte3 start address of returned data (h - start_addr) byte4 start address of returned data (l - start_addr) byte5 bit7 bit6:uart_int bit5:gpi_ int bit4:spis_int(slavemode int) bit3: spim_int(mastermode int) bit2:i2cs_int(slavemode int) bit1:i2cm_int(mastermode int) bit0: ir_int byte6 read data of [start_addr] byte7 read data of [start_addr+1] byte8 read data of [start_addr+2] byte9 read data of [start_addr+3] byte10 read data of [start_addr+4] byte11 read data of [start_addr+5] byte12 read data of [start_addr+6] byte13 read data of [start_addr+7] byte14 read data of [start_addr+8] byte15 read data of [start_addr+9] cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 30 / 63 copyright? c - media ele ctronics inc. 8.3.2 hid get_input_report 8.3.2.1 command format: bmrequesttype brequest wvalue windex wlength data 8h a1 8h 01 (get_report) 16h 01 01 (rpt type + rpt id) 16h 00 03 (interface) 16h 00 10 (16 bytes) report *note: the start_addr value in the input reported is put in the internal register addr ess 0xff. software must set the value of start_addr register to make sure get input report can read the proper data you want. 8.3.2.2 input data format: byte 0 always 1 for org hid event report id byte1 for de fined hid event, and each event occupies one bit byte2 byte3 start address of returned data (h - start_addr) byte4 start address of returned data (l - start_addr) byte5 bit7 bit6:uart_int bit5:gpi_int bit4:spis_int(slavemode int) bit3: spim_int(ma stermode int) bit2:i2cs_int(slavemode int) bit1:i2cm_int(mastermode int) bit0: ir_int byte6 read data of [start_addr] byte7 read data of [start_addr+1] byte8 read data of [start_addr+2] byte9 read data of [start_addr+3] byte10 read data of [star t_addr+4] byte11 read data of [start_addr+5] byte12 read data of [start_addr+6] byte13 read data of [start_addr+7] byte14 read data of [start_addr+8] byte15 read data of [start_addr+9] cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 31 / 63 copyright? c - media ele ctronics inc. 8.3.3 hid set_output_report 8.3.3.1 command format: bmrequ esttype brequest wvalue windex wlength data 8h 21 8h 09 (set_report) 16h 02 01 (rpt type + rpt id) 16h 00 03 (interface) 16h 00 10 (16 bytes) report note: byte5 is the beginning address of the write sequence. 8.3.3.2 output data format: byte 0 alway s 1 for org hid event report id byte1 start address of write reg (h - start_addr) byte2 start address of write reg (l - start_addr) byte3 effective write/read data length (<=12) byte4 write data to [start_addr] byte5 write data to [start_addr+1] byte6 wr ite data to [start_addr+2] byte7 write data to [start_addr+3] byte8 write data to [start_addr+4] byte9 write data to [start_addr+5] byte10 write data to [start_addr+6] byte11 write data to [start_addr+7] byte12 write data to [start_addr+8] byte13 wr ite data to [start_addr+9] byte14 write data to [start_addr+10] byte15 write data to [start_addr+11] cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 32 / 63 copyright? c - media ele ctronics inc. 8.4 usb vender command definition 8.4.1 vender command read 8.4.1.1 command format: bmrequesttype brequest wvalue windex wlength data 8h c3 8h 02 (command 2) 16h -- -- (start address of input data) 16h 00 00 16h 00 C (<=64 bytes) data 8.4.1.2 input data format: byte 0 data of reg[wvalue] byte 1 data of reg[wvalue + 1] byte 2 data of reg[wvalue + 2] byte 63 data of reg[wvalue + 63] 8.4.2 vender command write 8.4.2.1 command format: bmrequesttype brequest wvalue windex wlength data 8h 43 8h 01 (command 1) 16h -- -- (start address of output data) 16h 00 00 16h 00 C (<=64 bytes) data 8.4.2.2 output data format: byte 0 data of reg[wvalue] b yte 1 data of reg[wvalue + 1] byte 2 data of reg[wvalue + 2] byte 63 data of reg[wvalue + 63] cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 33 / 63 copyright? c - media ele ctronics inc. 8.5 i2c interface 8.5.1 i2c master mode 8.5.1.1 i2c protocol timing a a a a s l a v e a d d r e s s 0 m a p a d d r e s s d a t a 0 d a t a 1 a a s l a v e a d d r e s s 0 m a p a d d r e s s a s l a v e a d d r e s s 1 a d a t a 0 w r i t e t r a n s a c t i o n r e a d t r a n s a c t i o n f r o m m a s t e r t o s l a v e f r o m s l a v e t o m a s t e r s c l 0 a a a a m a p d a t a 1 s d a 1 . n b y t e w r i t e t r a n s a c t i o n s l a v e a d d r e s s 1 a d a t a 1 s d a 2 . n b y t e r e a d t r a n s a c t i o n s l a v e a d d r e s s a a f r o m m a s t e r t o s l a v e f r o m s l a v e t o m a s t e r ) ( ) ( h i g h s d a e a c k n o w l e d g n o t a l o w s d a e a c k n o w l e d g a ? ? s t o p s t o p m a p : m e m o r y a d d r e s s p o i n t e r ( t h e t a r g e t r e g i s t e r a d d r e s s i n s l a v e d e v i c e ) s c l 1 a d a t a s l a v e a d d r e s s s t a r t s t o p 0 a a m a p s d a 3 . a u t o r e a d t r a n s a c t i o n ( = w r i t e - m a p - o n l y + n b y t e r e a d t r a n s a c t i o n ) s l a v e a d d r e s s s t o p s t a r t d a t a d a t a d a t a d a t a d a t a a cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 34 / 63 copyright? c - media ele ctronics inc. 8.5.1.2 i2c - m aster read with clk_sync mode 8.5.2 i2 c slave mode 8.5.2 .1 slave mode architecture 7 - bit slave address = 7b0001000 to 7b0001011 the cm65 71 can serve as a slave device with a bit rate of up to 400kbps (in fast mode). an external mcu can write data to or r ead from the cm65 71 with no size limitation in the i2c interface. furthermore, both the host side and the mcu have access to all the internal registers. the cm65 71 will transfer an interrupt to the internal mcu until the int bit of the i2c control register has been cleared by the internal mcu. the interrupt is triggered when a write transaction is done, or when a slave address read is detected. the main function of the two - wire slave bus is to be in the interface between the cm65 71 and an external micro con trol unit (emcu). cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 35 / 63 copyright? c - media ele ctronics inc. 8.6 i2s control description 8.6.1 i2s format description 8.6.1.1 i2s interface settings i 2 s has thre e clock signals, mclk, bclk and lrck, and one data line dout . the i 2 s clock symbols are as follows : ? mclk = main clock ? bclk = bit clo ck ? lrck = left and right clock 8.6.1.2 i2s bus basics both master and slave modes of i 2 s are supported . i 2 s dac master mode means bclk and lrck are provided as shown below ( left ) . on the contrary, slave mode means bclk and lrck are provided by the i 2 s cod ecs as shown below ( right ) . master mode slave mode i2s m aster /s lave b lock d iagram below figure indicates the basic waveform of i 2 s. note that bclk is generate d at the positive edges of mclk with the ratios 1 : 4 , and lrck is generated at the negative edges of bclk with the ratios 1 : 64. data lines are transited at the negative edges of bclk and are sampled at the positive edges of bclk by codecs in the case of pla yback or recording. i2s timing diagram i2s interface codec mclk bclk lrck i2s interface codec mclk bclk lrck msb msb 1 2 3 n - 1 n 4 lsb lsb 1 2 3 n - 1 n 4 lrck bclk din/ dout left channel right channel cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 36 / 63 copyright? c - media ele ctronics inc. for the i 2 s dac controller, the audio data is transformed from the parallel format to the serial format before transmission ; then the bit data is shifted out one by one with the msb first via dout signal. if the i 2 s dac controller is set to 32 bits, at least 32 bclks must exist in both the lrck left and right channels. in the same manner, the audio data is transformed from the coming serial format to the parallel format for an i 2 s adc controller. 8.6.1.3 left justified mode in the i 2 s dac controller left - justified mode, the msb data bit is clocked out at the negative edge of bclk, which is aligned to the transition of lrck. the msb data bit is clocked out by codecs and sampled at the first positive edge of bclk which follows a lrck transition. the lrck is high during left - channel transmission and low during right - channel transmission in the left - justified mode. i2s left - justified mode timing diagram 8.6.1.4 i2s mode once the i 2 s dac controller is in i 2 s mode, the msb data bit is clocked out by the cm 6571 at the first negative edge of bclk which follows a lrck transition. the msb data bit is clocked out by codecs and sampled at the second positive edge of bcl k which follows a lrck transition. lrck is low during left - channel transmission and high during right - channel transmission in this mode. i 2 s dac controllers i 2 s mode diagram msb msb 1 2 3 n - 1 n 4 lsb lsb 1 2 3 n - 1 n 4 lrck bclk din/ dout left channel right chan nel where the msb is clocked out the msb is sampled here msb msb 1 2 3 n - 1 n lsb lsb 1 2 3 n - 1 n lrck bclk din/ dout left cha nnel right channel where the msb is clocked out the msb is sampled here 1 bclk 1 bclk cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 37 / 63 copyright? c - media ele ctronics inc. 8.6.2 i2s mclk/bclk/lrck ratio and format internal c odecs sampling freq. resolution format bclk/lrck mclk/lrck default 24 bits left justified 64 256 others 8/11.025/16/ 22.5/32/44.1/48 /88.2/96 16/24 bits left justified/ i2s - mode 64 256 external codecs sampling freq. resolution format bclk/lrck mcl k/lrck master mode 8/11.025/16/ 22.5/32/44.1/48 16/24 bits left justified/ i2s - mode 64 256/512 88.2/96 16/24 bits left justified/ i2s - mode 64 256 slave mode mclk from cm6523 8/11.025/16/ 22.5/32/44.1/48 16/24 bits left justified/ i2s - mode 64 256/512 88.2/96 16/24 bits left justified/ i2s - mode 64 256 slave mode mclk from external 8/11.025/16/ 22.5/32/44.1/48 /88.2/96 16/24 bits left justified/ i2s - mode 64 128/256/512 cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 38 / 63 copyright? c - media ele ctronics inc. cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 39 / 63 copyright? c - media ele ctronics inc. 8.7 spdif control description 8.7.1 spdif frame description ? audio format: linear 16 - bit d efault, up to 24 - bit expandable ? a udio sampling frequencies (fs): ? 44.1khz from cd ? 48 khz from dat ? 32 khz from dsr ? one - way communication: from a transmitter to a receiver ? control information: ? v (validity) bit: indicates if audi o sample is valid ? u (user) bit: user free coding , i.e. running time song and track number ? c (channel status) bit: emphasis, sampling rate and copy permit ? p (parity) bit: error detection bit to check for good reception ? coding format: biphase mark except the headers (preambles), for sync purposes ? bandwidth occupation: 100khz up to 6mhz (no dc) ? signal bitrate is 2.8mhz (fs=44.1khz), 2mhz (fs=32khz) and 3.1mhz (fs=48khz) spdif biphase mark signal diagram preamble c ell o rder c ell o rder (last cell "0") (last cell "1") ------------------------------------------------------ "b" 11101000 00010111 "m" 11100010 00011101 "w" 11100100 00011011 preamble b: marks a word containing data for channel a (lef t) at the start of the data - block. preamble m: marks a word with data for channel a that is no t at the start of the data - block. preamble w: marks a word containing data for channel b (right, for stereo). when using more than two channels, this could also b e any other channel (except for a). 1 0 1 1 0 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 0 0 1 1 0 1 0 0 1 0 0 c l o c k d a t a s i g n a l b i p h a s e m a r k s i g n a l cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 40 / 63 copyright? c - media ele ctronics inc. the number of subframes that are used depends on the number of channels that are transmitted. a cd player uses channels a and b (left/right), so each frame contains two subframes. a block contains 192 frames and starts w ith the preamble b: v: valid, u: user data, c: channel - status data, p: parity bit spdif sub - frame description in each block, 384 bits of channel status and subcode info are transmitted. the channel - status bits are equal fo r both subframes, so only 1 92 useful bits are transmitted: 192 - bit spdif frame preamble description diagram 8.7.2 spdif out channel status bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 byte 0 consumer /professional audio/ non - audio copyright pre - emphasis mode default 0 (p) 0 (p) 1 (p) 0 (p) 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) byte 1 category code l default 0 (p) 0 (p) 0 (p) 0(p) 0 (p) 0 (p) 0 (p) 0 (p) byte 2 source number channel number default 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) byte 3 sampling frequency clock accuracy reserved default 0 (p) 0 (p) 0 (p) 0 (p) 0 (fixed) 0 (fixed) 0 (fixed) 0 (fixed) note: p bit can be programmed by usb hid or usb vendor command p r e a m b l e a u x d a t a l s b a u d i o d a t a m s b v u c p 0 3 4 7 8 2 7 2 8 2 9 3 0 3 1 s u b - f r a m e c h a n n e l a m c h a n n e l a w c h a n n e l a b c h a n n e l a w c h a n n e l a m c h a n n e l a w f r a m e 1 9 1 f r a m e 0 f r a m e 1 s u b f r a m e s u b f r a m e cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 41 / 63 copyright? c - media ele ctronics inc. 9 dsp function description 9.1 o peration modes it b asically supports four operation modes with different power management levels for easy oper ati ng control: power down/enc on/by - pass/suspend. it could be controlled by 2 hw mode_selector input pin s (msel_0,msel_1) under default setting, or by i2c command control set from the host controller/baseband. when i2c is chosen to switch the se modes, the dsp receives the mode switch command from baseband chip through i2c interface and writes the result to the two - bit mode_sel registers to handle the mode/ power control. if b aseband chip choose i2c interface to control the mode selection, then some function blocks will be kept alive at suspend and power down modes. 9.1.1 there are two bits for mode selection: mode_sel pins [1:0] register[1:0] mode description 00 power down (default) default state for power saving in phones standby, sleep, deep sleep, or po wer - off states 01 active (enc/aec/nr on) chip and voice processor is turned on for phone active state (calling) (enc is the default function, host cpu could switch the function to aec or nr for different applications via i2c commands) 11 by - pass by - pass voice processor and redirect mic - in signals to mic - out directly (an option allowing users to turn off enc/aec/nr functions during the call or other applications) 10 suspend reserved alternative suspend mode in phones standby or sleep states especially fo r keeping new downloaded f/w codes in the internal ram saving the reloading time for enc on cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 42 / 63 copyright? c - media ele ctronics inc. 9.2 mode state diagram and power management the following graphs are two mode switch state diagrams and corresponding power level (level 0 - 4) for mode_s el and i2c interface respectively : figure 9.1 mode state diagram (by mode_sel pins) mode state diagram controlled by t wo mode_sel ( 1,0 ) p ins no power initi a lization ( boot / get parameters /codes from baseband ) power and clock supplied power down enc on bypass suspend power down mode ? digital power level 0: no power ? analog power level 0: m inimum analog power consu mption enc on mode ? digital power level 4 : n ormal operation ? analog power level 4 : n ormal operation bypass mode ? digital power level 3 : by - pass dsp co re processing ? analog power level 4 : normal operation suspend mode ? digital power level 1: d igital core only consume sta t ic power ? analog power level 1 : a nalog keeps digital core ldo voltage on 00 01 11 10 00 00 00 01 01 11 11 10 10 01/10/11 cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 43 / 63 copyright? c - media ele ctronics inc. figure 9.2 mode state diagram (by i2c interface) mode state diagram controlled by i2c bus power down mode ? digital power level 2 : dsp core is operated at a lowest frequency ? analog powe r level 2 : analog keeps digital core/pll ldo voltages on enc on mode ? digital power level 4 : n ormal operation ? analog power level 4 : n ormal operation bypass mode ? digital power level 3 : by - pass dsp core processing ? analog power level 4 : normal operation suspend mode ? digital power level 2 : dsp core is operated at a lowest frequency ? analog power level 2 : a nalog keeps digital core /pll ldo voltage s on no power initi alization ( boot / get parameters /codes from baseband / set i2c mode control ) power and clock supplied power down enc on bypass suspend 00 01 11 10 00 00 00 01 01 11 11 10 10 01 11 10 cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 44 / 63 copyright? c - media ele ctronics inc. 9.3 r ecommended control methods for dsp core there a re th ree recommended control scenarios for di fferent customer considerations . thes e are as follows: 9.3.1 scenario i mode_sel pins control for no custom tuning or just programming parameters with the best power saving in typical cases, when all default hw setti ngs and dsp algorithm rom codes could satisf y your needs, or you just need to change some rom code parameters or set hw registers thro ugh i2c interface, we suggest you use mode_sel 0/1 pins to simply control chip operation mode for better power saving. in this way, the power down mode will go into power level 0 and consume almost no power for phone standby/sleep/deep sleep or power - off status. when phone is active during a call, switch to enc mode by baseband s active signal pin or a gpio pin (drive high) t o mode_sel0 pin. pull it low back to power down when ending a call to standby status. another gpio pin could drive mode_sel1 pin high (while mode_sel 0 is high at the same time) to enter by - pass mode when you choose to turn off enc function or when the des ign does n o t use CM6571 s aec or nr functions in speakerphone and recorder applications. the phone status should matc h the following operation modes : phone status power - off stand - by/sleep/de ep sleep active (effect on) active (effect off) operation mode p ower down (no power supply) power down active (enc on, or aec or nr by i2c command) by - pass mode_sel0/1 control mode_sel 0=0 mode_sel 1=0 mode_sel 0=0 mode_sel 1=0 mode_sel 0=1 mode_sel 1=0 mode_sel 0=1 mode_sel 1=1 in this scenario, note that the baseb and needs to program the parameters or hw registers through i2c every time before entering into p hone a ctive/ c alling status with enc chip working (very short time~0.12ms). cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 45 / 63 copyright? c - media ele ctronics inc. 9.3.2 scenario ii mode_sel pins control for demand to download fi rmware codes with power saving when default dsp algorithm rom codes could not satis fy your needs, CM6571 enc chip allows baseband to download a whole new version of codes into the ram program through i2c interface. in this situation, we suggest you still u se mode_sel 0/1 pins to simply control chip operation mode for better power saving. however, to avoid downloading time (1.16sec for 32kbytes fw @ i2c fast mode) ever y time getting start from power down mode, it might be necessary to use suspend mode (mode_ sel0=low, mode_sel1=high) for phone standby or sleep status, which will keep the ram program /data alive. when ph one is active during a call, switch to active enc o n mode by baseband s phone active signal pin or a gpio pin to pull - high mode_sel0 pin , and mo de_sel1 pin must be pull low at the same time. reverse back to suspend when ending a call to standby /sleep status. the same as scenario i, drive both mode_sel 0/1 pins to high at the same time to enter by - pass mode when you want to turn off enc in a call . the phone status should match the following operation modes : phone status power - off/ deep sleep stand - by/sleep active (effect on) active (effect off) operation mode power down (or no power supply) suspend active (enc on, or aec or nr by i2c command) by - p ass mode_sel0/1 control mode_sel 0=0 mode_sel 1=0 mode_sel 0=0 mode_sel 1=1 mode_sel 0=1 mode_sel 1=0 mode_sel 0=1 mode_sel 1=1 gpio0 / active high i2c slave_dat i2c master_dat commands baseband or application processor CM6571 enc processor mo de_sel 0 mode_sel 1 gpio1 i2c slave_clk i2c master_clk cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 46 / 63 copyright? c - media ele ctronics inc. 9.3.3 scenario iii i2c control only for convenience CM6571 enc chip also allows baseband to switch the opera tion modes via i2c programming hardware registers if customers do not want to use additional gpio control. this way only uses i2c for all control over enc chip but will need higher power levels to keep i2c slave interface and digital core alive in standby status. in this situa tion, we suggest to keep power d own (00) or suspend (10) mode for phone standby status ( i n this i2c control scenario , two modes are actually the same operation), which will keep the ram program /data and i2c alive. therefore, baseband d oes n o t need to program or download codes every time when phone is going to active status for calling. set registers [1:0] to 01 for enc on operation in active normal handset calling. reverse back to pow er down / suspend mode when ending a call to standby /sl eep status. the same with scenario i and ii , set register [1:0] as 11 to enter by - pass mode when the user (or design) would like to turn off enc in a call or other applications. the phone status should match the following operation modes via i2c interface writing from the baseband: phone status power - off stand - by/sleep/ deep sleep active (effect on) active (effect off) operation mode power down (no power supply) power down or suspend active (enc on, or aec or nr by i2c command) by - pass mode_sel0/1 contro l mode_sel 0=0 mode_sel 1=0 mode_sel 0=0 mode_sel 1=0 or 1 mode_sel 0=1 mode_sel 1=0 mode_sel 0=1 mode_sel 1=1 i2c slave_dat mode selection /commands /downloading fw gpio0 / active high i2c slave_dat i2c master_dat downloading fw baseband or application processor CM6571 enc processor mode_sel 0 mode_sel 1 gpio1 i2c slave_clk i2c master_clk baseband or application processor CM6571 enc processor i2c master_clk i2c slave_clk i2c master_dat cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 47 / 63 copyright? c - media ele ctronics inc. 9.4 p ower level description table of dsp 9.4.1 power levels of dsp core power levels digital description analog description 0 1.2v core power: off pll clock: off (no power consumption) analog logic power: on others: off self regulator: 0ua external dvdd: 1ua 1 1.2v core power: on pll clock: off only consume static power ( 120uw or 100ua ) 1.2v regulator: on pll power: off others : off 80ua 2 1.2v core power: on pll clock: on dsp and i2c is operated at the lowest frequency 3.792 mhz ( 703uw or 585ua ) 1.2v regulator: on pll power: on others: off 80+500ua 3 1.2v core power: on pll clock: on adc digital filter dsp , i2c, and adda (in order to avoid pop - noise) is operated at the lowest frequency 3.792 mhz ( 772uw or 643ua ) 1.2v/pll: on adc/dac: off mic bias/ opa of dac: on 1050+500ua 4 1.2v core power: on pll clock: on enc normal operation mode. dsp is operated at 45.5 mhz ( 17mw or 14.2 ma ) 1.2v regulator: on pll power: on others: on 4200+500ua phone state and CM6571 state contrast table phone states CM6571 states active enc on or bypass stand - by suspend switch - of f power down power - off no power cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 48 / 63 copyright? c - media ele ctronics inc. 10 electrical character istics 10.1 absolute maximum ratings test conditions : d v 50 = 5 v, av50 = 5v, dgnd =0v, ta=+25 o c parameter symbol min. typ max. units storge temperature t s - 25 - 1 5 0 o c operating ambient temperature t a 0 25 75 o c digital supply voltage(dv50) 4.5 5.0 5.5 v a nalog supply voltage(av50) 4.5 5.0 5.5 v digital supply voltage2( dvdd) 1.75 1.8/2.8 3.6 v analog supply voltage2( avdd) 2. 2 2.8 3.6 v i/o pin voltage - gnd - 3.3 v esd (body mode) 4000 v esd (machine mode) 200 v 10.2 recommended operation cond itions parameter symbol min. typ max. units digital supply voltage(dv50) - 5 v analog supply voltage(av50) 5 v digital supply voltage2(dvdd) 1.75 1.8/2.8 3.6 v analog supply voltage2(avdd) 2.4 2.8 3.6 v operating ambient temperature 25 o c crystal clock - 12.000 mhz 10.3 power consumption test conditions: dv50=5v, av50 = 5 v, dgnd =0v, ta=+25 o c sample rate=48khz , 16bits, operation: hp - out playback+mic - in recording, eq disable, spdif out disable parameter symbol min. typ max. units total powe r consumption (playback + record) - - 76 - ma standby power consumption - - 58 - ma suspend mode power consumption - - 1 650 - ua 10.4 dc characteristics test conditions: dv50=5v, v dd = 3.3 v, dgnd =0v, ta=+25 o c , v dd = 3.3v parameter symbol min. typ max. uni ts input voltage range vin dgnd - 0.3 v dd v dd +0.3 v output voltage range vout 0 - v dd v high - level input voltage vih 0.7v dd - - v low - level input voltage vil - - 0.3v dd v high - level output voltage voh 2.4 - - v low - level output voltage vol - 0.4 v in put leakage current iil - 10 - 10 ua output leakage current iol - 10 - 10 ua output buffer driver current - 2 8 16 ma spdif transmit output driver current - 2 8 16 ma cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 49 / 63 copyright? c - media ele ctronics inc. 10.5 audio performance 10.5.1 dac audio quality ta=25 , dv50=5v, av50=5v items test condition s test values unit min. typ. max. full - scale output voltage 10k ? loading 0.95 vrms 32 ? loading 0.82 vrms thd+n @ vout= - 3db 10k ? loading ? loading ? loading ? loading ? loading ? loading ? loading ? loading ? loading ? loading ? loading ? loading ? loading cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 50 / 63 copyright? c - media ele ctronics inc. channel separation 10k ? lo ading fs=48 khz /16bits,a - weighted 98 108 119 db 32 ? loading fs=48 khz /16bits,a - weighted 67 72 78 db magnitude response frequency response 10k ? loading fs=48 khz /16bits,a - weighted - 0.085 - 0.937 db passband ripple 10k ? loading fs=48 khz /16bits,a - weighted 0.291 db cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 51 / 63 copyright? c - media ele ctronics inc. f igure 1 . 48 k /16 bit , 10k loading dac, thd+n f igure 2 . 48 k /16 bit , 10k loading dac, f requency r esponse f igure 3 . 48 k /16 bit , 10k loading dac, p assband r ipple f igure 4 . 48 k /16 bit , 10k loading dac, c rosstalk l audio precision 12/08/11 16:33:29 vista-d-a thd+n.at27 color sweep trace line style thick data axis comment 1 1 cyan solid 2 anlr.thd+n ampl left 1 2 yellow solid 2 anlr.thd+n ampl left -120 -65 -115 -110 -105 -100 -95 -90 -85 -80 -75 -70 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/08/11 16:35:53 vista-d-a fr+pr.at27 color sweep trace line style thick data axis comment cursor1 cursor2 1 1 cyan solid 2 anlr.ampl left *-0.899 dbr *+0.116 dbr 1 2 yellow solid 2 anlr.ampl left -0.917 dbr a +0.099 dbr a -3 +1 -2.5 -2 -1.5 -1 -0.5 +0 +0.5 -0.899 +0.116 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 19.9997k 19.9995 hz dx=-19.980 khz dy=-1.015 db audio precision 12/08/11 16:42:33 vista-d-a fr+pr.at27 color sweep trace line style thick data axis comment cursor1 cursor2 1 1 cyan solid 2 anlr.ampl left *+0.050 dbr *-0.231 dbr 1 2 yellow solid 2 anlr.ampl left +0.032 dbr a -0.249 dbr a -3 +1 -2.5 -2 -1.5 -1 -0.5 +0 +0.5 +0.05 -0.231 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 6.99992k 2.99996k hz dx=-4.0000 khz dy=-0.281 db audio precision 12/08/11 16:38:27 vista-d-a crosstalk-r.at27 color sweep trace line style thick data axis comment 1 1 cyan solid 2 anlr.crosstalk left -120 +0 -100 -80 -60 -40 -20 d b 20 20k 50 100 200 500 1k 2k 5k 10k hz cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 52 / 63 copyright? c - media ele ctronics inc. f igure 5 . 48 k /16 bit , 10k loading dac, c rosstalk r f igure 6 . 48 k /16 bit , 10k loading dac, p hase d elay f igure 7 . 96 k /24 bit , 10k loading dac, thd+n f igure 8 . 96 k /24 bit , 10k loading dac, f requency r esponse audio precision 12/08/11 16:43:51 vista-d-a interchannelphasedelay.at27 color sweep trace line style thick data axis comment cursor1 cursor2 1 1 cyan solid 2 anlr.phase left .. .. -1.6 +1 -1.4 -1.2 -1 -0.8 -0.6 -0.4 -0.2 +0 +0.2 +0.4 +0.6 +0.8 d e g 20 20k 50 100 200 500 1k 2k 5k 10k 19.9999k 20 hz dx=-19.980 khz audio precision 12/08/11 16:41:08 vista-d-a-crosstalk-l.at27 color sweep trace line style thick data axis comment 1 1 cyan solid 2 anlr.crosstalk left -120 +0 -100 -80 -60 -40 -20 d b 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/21/11 19:29:41 vista-d-a thd+n.at27 color sweep trace line style thick data axis comment 1 1 cyan solid 2 anlr.thd+n ampl left 1 2 yellow solid 2 anlr.thd+n ampl left -120 -65 -115 -110 -105 -100 -95 -90 -85 -80 -75 -70 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/21/11 19:32:27 vista-d-a fr+pr.at27 color sweep trace line style thick data axis comment cursor1 cursor2 1 1 cyan solid 2 anlr.ampl left -0.263 dbr a +0.023 dbr a 1 2 yellow solid 2 anlr.ampl left *-0.271 dbr *+0.021 dbr -3 +1 -2.5 -2 -1.5 -1 -0.5 +0 +0.5 -0.271 +0.021 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 19.9988k 19.999 hz dx=-19.979 khz dy=-0.292 db cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 53 / 63 copyright? c - media ele ctronics inc. f igure 9 . 96 k /24 bit , 10k loading dac, p assband r ipple f igure 10 . 96 k /24 bit , 10k loading dac, c rosstalk l f igure 11 . 96 k /24 bit , 10k loading dac, c rosstalk r f igure 12 . 96 k /24 bit , 10k loading dac, p hase d elay audio precision 12/21/11 19:32:27 vista-d-a fr+pr.at27 color sweep trace line style thick data axis comment cursor1 cursor2 1 1 cyan solid 2 anlr.ampl left +0.022 dbr a -0.277 dbr a 1 2 yellow solid 2 anlr.ampl left *+0.012 dbr *-0.287 dbr -3 +1 -2.5 -2 -1.5 -1 -0.5 +0 +0.5 +0.012 -0.287 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 13.0003k 5.99965k hz dx=-7.0007 khz dy=-0.299 db audio precision 12/21/11 19:38:25 vista-d-a-crosstalk-l.at27 color sweep trace line style thick data axis comment 1 1 cyan solid 2 anlr.crosstalk left -140 +0 -120 -100 -80 -60 -40 -20 d b 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/21/11 19:36:13 vista-d-a crosstalk-r.at27 color sweep trace line style thick data axis comment 1 1 cyan solid 2 anlr.crosstalk left -120 +0 -100 -80 -60 -40 -20 d b 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/21/11 19:40:48 vista-d-a interchannelphasedelay.at27 color sweep trace line style thick data axis comment cursor1 cursor2 1 1 cyan solid 2 anlr.phase left .. .. -1 +1 -0.8 -0.6 -0.4 -0.2 +0 +0.2 +0.4 +0.6 +0.8 d e g 20 20k 50 100 200 500 1k 2k 5k 10k 19.9999k 20 hz dx=-19.980 khz cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 54 / 63 copyright? c - media ele ctronics inc. 10.5.2 adc audio quality ta=25 , dv50=5v, av50=5v, input test signal is 997hz sine wave, measure bandwidth is 20hz to 20 khz items test conditions test values unit min. typ. max. full - scale output voltage microphone fs=48 khz 1.11 vrms line in fs=48 khz 1.08 thd+n @ vout= - 3db microphone fs=48 khz /16bits,a - weighted - 81 - 82 - 89 db microphone fs=96 khz /24bits, a - weighted -- 82 - 82 - 91 db line in fs=48 khz /16bits,a - weighted - 82 - 82 - 90 db line i n fs=96 khz /24bits,a - weighted - 82 - 82 - 90 db dynamic range with signal present microphone fs=48 khz /16bits,a - weighted 90 db microphone fs=96 khz /24bits, a - weighted 91 db line in fs=48 khz /16bits,a - weighted 90 db line in fs=96 khz /24bits,a - weighted 90 db sampling frequency accuracy microphone fs=48 khz /16bits +0.0001 +0.009 % line in fs=48 khz /16bits - 0.0048 - 0.0034 channel separation microphone fs=48 khz /16bits 81 86 91 db microphone fs=96 khz /24bits 83 86 91 db line in fs=48 khz /16bits 86 8 6 89 line in fs=96 khz /24bits 87 86 90 frequency response microphone fs=48 khz /16bits,a - weighted - 0.433 - 0.484 db cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 55 / 63 copyright? c - media ele ctronics inc. line in fs=48 khz /16bits,a - weighted - 0.313 - 0.695 passband ripple microphone fs=48 khz /16bits,a - weighted 0.204 db line in fs=48 khz / 16bits,a - weighted 0.159 cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 56 / 63 copyright? c - media ele ctronics inc. f igure 13 . 48 k /16 bit , m icrophone in , thd+n f igure 14 . 48 k /16 bit , m icrophone in , f requency r esponse 5.2. 1 .1 p assband r ipple 48k f igure 15 . 48 k /16 bit , m icrophone in , p assband r ipple f igure 16 . 48 k /16 bit , m icrophone in , c hannel s eparation r audio precision 12/19/11 14:55:26 a-d thd+n vs frequency vista-a-d thd+n.at2c color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.thd+n ampl a left 1 2 cyan solid 1 dsp anlr.thd+n ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/19/11 14:57:33 a-d frequency response vista-a-d frequency response.at2c color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.level a left 1 2 cyan solid 1 dsp anlr.level b left -3 +0 -2.5 -2 -1.5 -1 -0.5 -0.484 -0.433 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k 20k 20.55 hz dx=-19.979 khz dy=+0.051 db audio precision 12/19/11 14:57:33 a-d frequency response vista-a-d frequency response.at2c color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.level a left 1 2 cyan solid 1 dsp anlr.level b left -3 +0 -2.5 -2 -1.5 -1 -0.5 +0.058 -0.135 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k 12.6775k 10.0225k hz dx=-2.6550 khz dy=-0.193 db audio precision 05/04/12 18:06:36 a-d thd+n vs frequency vista-a-d crosstalk_r.at27 color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 57 / 63 copyright? c - media ele ctronics inc. f igure 17 . 48 k /16 bit , m icrophone in , c hannel s eparation l f igure 18 . 48 k /16 bit , l ine in , thd+n f igure 19 . 48 k /16 bit , l ine in , p assband r ipple f igure 20 . 48 k /16 bit , l ine in , f requency r esponse audio precision 05/04/12 18:05:51 a-d thd+n vs frequency vista-a-d crosstalk_l.at27 color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.ampl a left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 05/04/12 15:11:46 a-d thd+n vs frequency vista-a-d thd+n.at2c color sweep trace line style thick data axis comment 1 1 red solid 1 dsp anlr.thd+n ampl a left 1 2 magenta solid 1 dsp anlr.thd+n ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 05/04/12 10:55:03 a-d frequency response vista-a-d frequency response.at2c color sweep trace line style thick data axis comment 1 1 cyan solid 2 dsp anlr.level a left 1 2 yellow solid 2 dsp anlr.level b left -3 +0 -2.5 -2 -1.5 -1 -0.5 +0.029 -0.13 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k 12.5025k 9.6175k hz dx=-2.8850 khz dy=-0.159 db audio precision 05/04/12 10:55:03 a-d frequency response vista-a-d frequency response.at2c color sweep trace line style thick data axis comment 1 1 cyan solid 2 dsp anlr.level a left 1 2 yellow solid 2 dsp anlr.level b left -3 +0 -2.5 -2 -1.5 -1 -0.5 -0.695 -0.313 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k 20k 20.55 hz dx=-19.979 khz dy=+0.382 db cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 58 / 63 copyright? c - media ele ctronics inc. f igure 21 . 48 k /16 bit , l ine in , c hannel s eparation r f igure 22 . 48 k /16 bit , l ine in , c hannel s eparation l f igure 23 . 96 k /24 bit , m icrophone in , thd+n f igure 24 . 96 k /24 bit , m icrophone in , f requency r esponse audio precision 05/04/12 15:17:59 a-d thd+n vs frequency vista-a-d crosstalk_r.at27 color sweep trace line style thick data axis comment 1 1 red solid 1 dsp anlr.ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 05/04/12 15:17:08 a-d thd+n vs frequency vista-a-d crosstalk_l.at27 color sweep trace line style thick data axis comment 1 1 red solid 1 dsp anlr.ampl a left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/29/11 15:19:39 a-d thd+n vs frequency vista-a-d thd+n.at2c color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.thd+n ampl a left 1 2 cyan solid 1 dsp anlr.thd+n ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 12/29/11 15:22:58 a-d frequency response vista-a-d frequency response.at2c color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.level a left 1 2 cyan solid 1 dsp anlr.level b left -3 +0 -2.5 -2 -1.5 -1 -0.5 -0.108 -0.14 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k 20.55 20k hz dx=19.9795 khz dy=+0.032 db cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 59 / 63 copyright? c - media ele ctronics inc. f igure 25 . 96 k /24 bit , m icrophone in , p assband r ipple f igure 26 . 96 k /24 bit , m icrophone in , c hannel s eparation r f igure 27 . 96 k /24 bit , m icrophone in , c hannel s eparation l f igure 28 . 96 k /24 bit , l ine in , thd+n audio precision 12/29/11 15:22:58 a-d frequency response vista-a-d frequency response.at2c color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.level a left 1 2 cyan solid 1 dsp anlr.level b left -3 +0 -2.5 -2 -1.5 -1 -0.5 -0.138 +0.023 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k 8.5525k 12.855k hz dx=4.30250 khz dy=-0.161 db audio precision 05/04/12 17:46:26 a-d thd+n vs frequency vista-a-d crosstalk_r.at27 color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 05/04/12 17:45:46 a-d thd+n vs frequency vista-a-d crosstalk_l.at27 color sweep trace line style thick data axis comment 1 1 yellow solid 1 dsp anlr.ampl a left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 05/04/12 15:11:46 a-d thd+n vs frequency vista-a-d thd+n.at2c color sweep trace line style thick data axis comment 1 1 red solid 1 dsp anlr.thd+n ampl a left 1 2 magenta solid 1 dsp anlr.thd+n ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 60 / 63 copyright? c - media ele ctronics inc. f igure 29 . 96 k /24 bit , l ine in , c hannel s eparation r f igure 30 . 96 k /24 bit , l ine in , c hannel s eparation l 10.5.3 a - a path audio quality ta=25 , dv50=5v, av50=5v items test conditions test values unit min. typ. max. full - scale output voltage microphone to line out 1.09 vrms thd+n @ vout= - 3db microphone to line out fs=48 khz /16bits,a - weighted - 80 - 80 - 81 db dynamic range with signal present microphone to line out fs=48 khz /16bits,a - weighted 92 db channel separati on microphone to line out fs=48 khz /16bits,a - weighted 74 104 119 db frequency response microphone to line out fs=48 khz /16bits,a - weighted - 0.194 +0.484 db passband ripple microphone fs=48 khz /16bits,a - weighted 0.1 db audio precision 05/04/12 15:15:25 a-d thd+n vs frequency vista-a-d crosstalk_l.at27 color sweep trace line style thick data axis comment 1 1 red solid 1 dsp anlr.ampl a left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz audio precision 05/04/12 15:14:43 a-d thd+n vs frequency vista-a-d crosstalk_r.at27 color sweep trace line style thick data axis comment 1 1 red solid 1 dsp anlr.ampl b left -120 +0 -100 -80 -60 -40 -20 d b f s 20 20k 50 100 200 500 1k 2k 5k 10k hz cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 61 / 63 copyright? c - media ele ctronics inc. f igure 31 . l ine in to l ine out , thd+n f igure 32 . l ine in to l ine out , f requency r esponse f igure 33 . l ine in to l ine out , p assband r ipple f igure 34 . l ine in to l ine out , c rosstalk l f igure 35 . l ine in to l ine out , c rosstalk r audio precision 12/28/11 10:45:36 a-d thd+n vs frequency a-a fr+pr.at27 color sweep trace line style thick data axis comment cursor1 1 1 yellow solid 1 anlr.ampl left *-0.004 dbr 1 2 cyan solid 1 anlr.ampl left +0.066 dbr a -1 +1 -0.8 -0.6 -0.4 -0.2 +0 +0.2 +0.4 +0.6 +0.8 -0.004 -0.002 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 186.222 263.045 hz dx=76.8234 hz dy=+0.002 db audio precision 12/28/11 11:01:21 a-d thd+n vs frequency a-a crosstalk.at27 color sweep trace line style thick data axis comment cursor1 1 1 yellow solid 1 anlr.crosstalk left *-103.389 db 1 2 cyan solid 1 anlr.crosstalk left -105.533 db -120 +0 -100 -80 -60 -40 -20 -103.389 -82.007 d b 20 20k 50 100 200 500 1k 2k 5k 10k 21.4304 20k hz dx=19.9786 khz dy=+21.382 db audio precision 12/28/11 10:42:20 a-d thd+n vs frequency a-a thd+n.at27 color sweep trace line style thick data axis comment 1 1 yellow solid 1 anlr.thd+n ampl left -100 +40 -80 -60 -40 -20 +0 +20 -81.08 -80.51 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 20 20k hz dx=19.9800 khz dy=+0.570 db audio precision 12/28/11 10:45:36 a-d thd+n vs frequency a-a fr+pr.at27 color sweep trace line style thick data axis comment cursor1 1 1 yellow solid 1 anlr.ampl left *-0.171 dbr 1 2 cyan solid 1 anlr.ampl left -0.099 dbr a -30 +10 -25 -20 -15 -10 -5 +0 +5 -0.171 +0.023 d b r a 20 20k 50 100 200 500 1k 2k 5k 10k 20k 20 hz dx=-19.980 khz dy=-0.194 db audio precision 12/28/11 11:01:21 a-d thd+n vs frequency a-a crosstalk.at27 color sweep trace line style thick data axis comment cursor1 1 1 yellow solid 1 anlr.crosstalk left -103.624 db 1 2 cyan solid 1 anlr.crosstalk left *-108.648 db -120 +0 -100 -80 -60 -40 -20 -108.648 -82.012 d b 20 20k 50 100 200 500 1k 2k 5k 10k 69.3474 20k hz dx=19.9307 khz dy=-26.636 db cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 62 / 63 copyright? c - media ele ctronics inc. 10.5.4 dsp audio quality test conditions: avdd = 2.8v, dvdd (v dd ) = 1 .8v dgnd =0v, fs= 16 khz , pga gain= 0db, ta=+25 o c , output loading=10k ohms, m ic - in coupling capacitor= 220nf, w/ 8 khz filter item min . typ . max . unit adc performance resolution - 16 - bit sample rate - 16k - hz thd + n (@1 khz ) - - 60 - dbfs snr (@1 khz ) 85 90 - dbfs dynamic range (@1 khz ) 85 90 - dbfs frequency response ( - 3db/ - 9db) 60 - 6.8k hz passband ripple - 0.25 - dbfs single - ended full - scale input voltage - 1.41 1 - vp - p differential full - scale input voltage - 2.82 1 - vp - p power supply rejection ratio (217hz) 85 db microphone /aux input mic - in pga g ain range 0 +20 ( default) +31 db aux - in pga gain range - 12 +8 (default) +19 db adc pga g ain step - 1 - db/step mic input impedance - 15k - aux input impedance 60k microphone bias voltage - 1.9 - v dac performance (10k ohm line loading) resolution - 16 - bits sample rate 16k hz thd + n (@1 khz ) - - 67.5 - dbfs snr (@1 khz ) - 90 - dbfs dynamic range (@1 khz ) - 85.5 - dbfs frequency response ( - 3db/ - 3db) 20 - 6.8k hz passband ripple - + - 0.1 - dbfs single - ended full - scale o utput voltage - 1.41 - vp - p different ial full - scale output voltage - 2.82 - vp - p power supply rejection ratio (217hz) 80 db dac/analog output gain dac pga gain range - 31 - 17 (default) 0 db dac pga gain step - 1 - db/step note : although the full - scale input voltage can be as high as 1.5 5vp - p, the recommended max input voltage is below 1.41vp - p (500mvrms) for single - ended input and 2.82vp - p (1.0vrms) for differential input to reserve the best signal linearity . cm6 5 71 usb audio sound chip revised: nov. 2012 www.cmedia.com.tw p age 63 / 63 copyright? c - media ele ctronics inc. 11 package dimensions |
Price & Availability of CM6571
![]() |
|
|
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] |