0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
CM118B

CM118B

  • 厂商:

    CMEDIA(骅讯)

  • 封装:

    LQFP48_7X7MM

  • 描述:

    Crystal-less USB audio codec with stereo inputs / outputs and I2S out

  • 数据手册
  • 价格&库存
CM118B 数据手册
CM118B Highly Integrated & Configurable USB Audio Single Chip DESCRIPTION FEATURES The CM118B is a highly integrated, crystal-less USB audio single chip solution optimized for USB headset, headphone, dongle, microphone and application such as VoIP (voice over Internet protocol). All essential analog modules are embedded in the CM118B, including dual DAC and ADC, earphone driver, microphone booster, PLL, regulator, and USB transceiver. It also supports 3 GPIO pins. In addition, audio adjustment can be easily controlled via specific HID compliant volume control pins. Many features such as headset, headphone and microphone only topologies are programmable with jumper pins. Vender can customize unique USB VID / PID / Product String / Manufacture String and min/max/initial volumes to the external EEPROM. The CM118B also offers anti-pop noise circuits design and internal oscillator which can operate without an external crystal oscillator.  Compliant with USB 2.0 Full Speed Operation  Compliant with USB Audio Device Class v1.0  Supports USB Suspend/Resume Mode and Remote Wakeup with Volume Control pins  On-chip oscillator to provide reference sources for PLL and embedded USB transceiver  Jumper pin for Headset Mode (Playback + Recording), Microphone Mode (Stereo and Mono Mode Recording),or Speaker/Headphone (Playback Only)  Jumper pin for Mixer Unit enable/disable under Headset Mod, and Power Mode setting  I2C interface to access internal registers, and I2S Output for external DAC  In Headset Mode, USB audio function topology has 2 Input Terminals, 2 Output Terminals, 1 Mixer Unit, 1 Selector Unit, and 3 Feature Units  In Speaker Mode, USB audio function topology has 1 Input Terminal, 1 Output Terminal, and 1 Feature Unit.  In Microphone Mode, USB audio function topology has 1 Input Terminal, 1 Output Terminal, 1 Selector Unit and 1 Feature Unit.  Anti-pop noise design for plug and unplug. BLOCK DIAGRAM VOLUP DASCLK VOLDN DALRCK MUTER LEDO SCLK DAMCLK MUTEP LEDR GPIOs SDAT SDOUT PWRSEL MODE AREG36 DREG33 DREG18 PDSW MSEL 3.6V 3.3V I2C 1.8V Regulator 5->3.6, 3.3 & 1.8 I2S Out Interface Logics LOBS USB Control VRE F 16 bit DAC LOR 0 ~ -37dB DW DR SK CS SPI USBDP USBDN USB USB Interface EEPROM Interface ISO Out Processing 16 bit DAC LOL 0 ~ -37dB SRAM USB TRX 8 ~ -22dB MICINR 16 bit ADC PLL RF 48M 23 ~ -22dB ISO In Processing 12dB/22dB Booster 8 ~ -22dB 12M MICINL 16 bit ADC VREF bandgap Datasheet Revision: 1.00 Page 1 / 25 23 ~ -22dB 12dB/22dB Booster VREF (1.75V) VBIAS (3V) www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip RELEASE NOTES Revision 1.00 Datasheet Revision: 1.00 Page 2 / 25 Date 23 May 2014 Description - First release www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip LIST OF CONTENTS 1. Ordering Information .................................................................................................................... 4 2. Pin Descriptions.............................................................................................................................. 4 2.1 Pin Assignment by Pin Number ..................................................................................................... 4 2.2 Pin-Out Diagram ............................................................................................................................ 4 2.3 Pin Signal Descriptions.................................................................................................................. 5 3. USB Topology .................................................................................................................................. 7 3.1 Headset Topology with Mixer ....................................................................................................... 7 3.2 Speaker Topology .......................................................................................................................... 8 3.3 Microphone Topology.................................................................................................................... 9 4. Function Description ................................................................................................................... 10 4.1 Content Format for EEPROM (93C46) ....................................................................................... 10 4.2 EEPROM SPI Interface Timing Information .............................................................................. 11 4.3 Jumper Pins and Mode Settings ................................................................................................... 12 4.4 MCU Interface ............................................................................................................................. 13 4.5 HID Feature and Descriptor......................................................................................................... 17 4.6 Internal Registers ......................................................................................................................... 18 5. Electrical Characteristics ........................................................................................................... 22 5.1 Absolute Maximum Rating ....................................................................................................... 22 5.2 DC Specifications ...................................................................................................................... 22 5.3 Operation Conditions................................................................................................................ 22 5.4 Electrical Parameters ............................................................................................................... 23 6. Package dimensions..................................................................................................................... 24 Reference ................................................................................................................................................ 25 Datasheet Revision: 1.00 Page 3 / 25 www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip 1. Ordering Information Product Package Marking Package Type Transport Media Storage Temperature CM118B CM118B LQFP-48 (7 x 7mm) Green Package Tray -45 to 120℃ 2. Pin Descriptions Pin Assignment by Pin Number Pin # 1 2 3 4 5 6 7 8 9 10 11 12 Pin # 13 14 15 16 17 18 19 20 21 22 23 24 Signal Name MODE LEDO DVSS GPIO4 GPIO5 GPIO6 MUTEP LEDR TEST AVSS VBIASL VREF Pin # 25 26 27 28 29 30 31 32 33 34 35 36 Signal Name MICINL VBIASR MICINR AVDD LOL LOBS LOR AVSS AVDD DVDD DVSS AREG36 Pin # 37 38 39 40 41 42 43 44 45 46 47 48 Signal Name DREG18 MICONLY MSEL VOLUP PDSW DREG33 USBDP USBDM SCLK SDOUT DAMCLK SDAT Datasheet Revision: 1.00 Page 4 / 25 DVDD AVDD AVSS LOR LOBS LOL AVDD MICINR VBIASR MICINL 33 32 31 30 29 28 27 26 25 35 34 AREG36 DVSS 36 Pin-Out Diagram DREG18 37 24 MICONLY 38 23 VBIASL MSEL 39 22 AVSS VOLUP 40 21 TEST PDSW 41 20 LEDR DREG33 42 19 MUTEP 18 GPIO6 17 GPIO5 CM118B VREF USBDP 43 USBDM 44 SCLK 45 16 GPIO4 LQFP-48 7 8 9 10 11 12 SK MUTER PWRSEL DREG18 DREG33 6 CS 5 DR MODE DW 13 4 48 3 LEDO SDAT VOLDN DVSS 14 SPDIFO 15 47 2 46 1 SDOUT DAMCLK DASCLK 2.2 Signal Name DALRCK DASCLK VOLDN SPDIFO DW DR SK CS MUTER PWRSEL DREG18 DREG33 DALRCK 2.1 www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip 2.3 Pin Signal Descriptions Pin # 1 2 3 4 5 6 7 8 9 Symbol DALRCK DASCLK VOLDN SPDIFO DR DW SK CS MUTER Type DO, 2mA, SR DO, 2mA, SR DI, ST, PU DO, 4mA, SR DI, 8mA, PD, 5VT DO, 4mA, SR DO, 4mA, SR DO, 4mA, SR DI, ST, PU 10 PWRSEL DI, ST, PU 11 12 13 DREG18 DREG33 MODE P P DI, ST, PD 14 LEDO DO, SR, 4mA 15 16 17 18 19 20 DVSS GPIO4 GPIO5 GPIO6 MUTEP LEDR P DIO, 8mA, PD, 5VT DIO, 8mA, PD, 5VT DIO, 8mA, PD, 5VT DI, ST, PU DO, SR, 4mA 21 TEST DI, ST, PD 22 23 24 AVSS VBIASL VREF P AO AO 25 26 27 28 29 30 31 32 33 34 35 36 MICINL VBIASR MICINR AVDD LOL LOBS LOR AVSS AVDD DVDD DVSS AREG36 AI AO AI P AO AO AO P P P P P Datasheet Revision: 1.00 Page 5 / 25 Description DAC I2S left/right clock DAC I2S serial clock Volume down (edge trigger with de-bouncing) SPDIF Output EEPROM interface data read from EEPROM EEPROM interface data write to EEPROM EEPROM Interface Clock (100KHz) EEPROM Interface Chip Select Mute Recording (Edge Trigger with de-Bouncing) H: Pull Up to 3.3V; L: Pull Down to Ground Speaker Mode H:Self Power with 100mA;L:Bus Power with 500mA Headset Mode H:Bus Power with 100mA;L:Bus Power with 500mA 1.8V Regulator Output for Digital Core 3.3V Regulator Output for Digital I/O H: Pull Up to 3.3V; L: Pull Down to Ground When MICONLY:H MODE L:Headset Mode: Playback & Recording H:Speaker Mode: Playback Only When MICONLY:L MODE L:Stereo MIC Mode: Stereo Recording H:Mono MIC Mode: Mono Recording LED for Operation; Output H for Power On; Toggling for Data Transmit Digital Ground GPIO Pin GPIO Pin GPIO Pin Mute Playback (Edge Trigger with de-Bouncing) LED for Mute Recording Indicator; Output H when Recording is Muted Test Mode Select Pin; Pull Low for Normal Operation Analog Ground Microphone Bias Voltage Supply for Left Channel (3V) Connecting to External Decoupling Capacitor for Embedded Bandgap Circuit; 1.75V Output Microphone Input for Left Channel Microphone Bias Voltage Supply for Right Channel (3V) Microphone Input for Right Channel 5V Analog Power for Analog Circuit Line Out Left Channel DC 1.75V Output for Line Out Bias Line Out Right Channel Analog Ground 5V Analog Power for Analog Circuit 5V Power Supply to Internal Regulator Digital Grounding 3.6V analog power for analog circuit www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip 37 38 DREG18 MICONLY P DI, ST, PU 39 MSEL DI, ST, PU 40 41 VOLUP PDSW DI, ST, PU DO, 4mA , OD 42 43 44 45 46 DREG33 USBDP USBDM SCLK SDOUT P AIO AIO DI, ST, PD, 5VT DO, 2mA, SR 47 DAMCLK DO, 2mA, SR 48 SDAT DIO, 8mA, PD, 5VT 1.8V Regulator Output for Digital Core Microphone only and Headset Topology Selection H: Pull Up to 3.3V; L: Pull Down to Ground MICONLY H: Headset or Speaker Topology L: Microphone Only Topology Mixer Enable/Disable or Selector On/Off Pin H: Pull Up to 3.3V, L: Pull Down to Ground When MICONLY: H MSEL L: Without AA Mixer H: With AA Mixer (Default Mute) When MICONLY: L MSEL L: Selector is off H: Selector is on Descriptors are changed accordingly Volume Up (Edge Trigger with de-Bouncing) Power Down Switch Control (for PMOS Polarity) 0: Normal Mode, 1: Power Down Mode 3.3V Regulator Output for Digital I/O USB Data D+ USB Data DExternal MCU Serial Bus Clock Pin for I2C DAC I2S data output DAC MCLK 11.2896 MHz output for 44.1KHz sampled data and 12.288 MHz output for 48KHz sampled data External MCU Serial Bus Data Pin for I2C Note: DI / DO / DIO – Digital Input / Output / Bi-Directional Pin, AI / AO / AIO – Analog Input / Output / Bi-Directional Pin, SR – Slew Rate Control, ST – Schmitt Trigger, PD / PU – Pull Down / Pull Up, 5VT – 5 Volt Tolerant (3.3V Pin), OD – Open Drain, P – Power Supply Pin Datasheet Revision: 1.00 Page 6 / 25 www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip 3. USB Topology The CM118B supports USB Headset / USB Speaker / USB Microphone topology that can be selected by pins. Detail setting please refer to chapter 6.4 – Jumper Pins and Mode Setting 3.1 Headset Topology with Mixer 0X0F MIXER 0X01 IT 0X09 FEA 0X06 OT 0X08 SEL 0X07 OT 0X0D FEA 0X02 IT 0X0A FEA Device Descriptor Offset 0 1 2 4 5 6 7 8 10 Field bLength bDescriptorType bcdUSB bDeviceClass bDeviceSubClass bDeviceProtocol bMaxPacketSize0 idVendor idProduct Size 1 1 2 1 1 1 1 2 2 Value (Hex) 12 01 0110 00 00 00 8 0d8c 0016 12 bcdDevice 2 0100 1 01 1 02 1 00 1 01 14 15 16 17 iManufacturer iProduct iSerialNumber bNumConfigurations Description Total 18 Bytes Device descriptor USB 1.1 compliant Device class specified by interface Device subclass specified by interface Device protocol specified by interface Endpoint zero Size = 8 bytes Vendor ID Product ID Device compliant to the Audio Device Class specification version 1.00 Index of string descriptor that characterizes the manufacturer Index of string descriptor that characterizes the product Index of string descriptor that characterizes the device’s serial number Configurations number = 1 Configuration Descriptor Offset 0 1 2 4 Field bLength bDescriptorType wTotalLength bNumInterfaces Datasheet Revision: 1.00 Page 7 / 25 Size 1 1 2 1 Value (Hex) Description 09 Total 9 Bytes 02 Configuration descriptor Total length of data returned for this configuration: XXXX Programmable by MSEL and MODE pin Number of interfaces supported by this configuration: 04 0: control interface 1: ISO-OUT interface www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip 5 bConfigurationValue 1 01 6 iConfiguration 1 00 7 8 bmAttributes bMaxPower 1 2 80 32 2: ISO-IN interface 3: INT-IN(HID) interface Configuration value Index of string descriptor that characterizes this configuration Bus Power and support Remote Wakeup Maximum power consumption of the USB Device: 100mA Speaker Topology 3.2 0X01 IT 0X09 FEA 0X06 OT Device Descriptor Offset 0 1 2 4 5 6 7 8 10 12 Field bLength bDescriptorType bcdUSB bDeviceClass bDeviceSubClass bDeviceProtocol bMaxPacketSize0 idVendor idProduct bcdDevice Size 1 1 2 1 1 1 1 2 2 2 Value (Hex) 12 01 0110 00 00 00 08 0d8c 0016 0100 14 iManufacturer 1 01 15 iProduct 1 02 16 iSerialNumber 1 00 17 bNumConfigurations 1 01 Description Descriptor length Device descriptor USB 1.1 compliant Device class specified by interface Device subclass specified by interface Device protocol specified by interface Endpoint zero packet size Vendor ID Product ID Device release number Index of string descriptor that characterizes the manufacturer Index of string descriptor that characterizes the product Index of string descriptor that characterizes the serial number Number of configuration Configuration Descriptor Offset 0 1 2 Field bLength bDescriptorType wTotalLength Size 1 1 2 4 bNumInterfaces 1 5 bConfigurationValue 1 6 iConfiguration 1 7 8 bmAttributes bMaxPower 1 1 Datasheet Revision: 1.00 Page 8 / 25 Value (Hex) Description 09 Descriptor length 02 Configuration descriptor 008A Total length of data returned for this configuration Number of interfaces supported by this Configuration: 00: Control 03 01: ISO-Out 02: INT-IN (HID) 01 Configuration value Index of string descriptor that characterizes this 00 configuration 80 Attributes(PWRSEL=0:Bus Powered, 1:SELF Powered) 32 Maximum power consumption from bus = 100mA www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip Microphone Topology 3.3 0X0A FEA 0X02 IT 0X08 SEL 0X07 OT Device Descriptor Offset 0 1 2 4 5 6 7 8 10 12 Field bLength bDescriptorType bcdUSB bDeviceClass bDeviceSubClass bDeviceProtocol bMaxPacketSize0 idVendor idProduct bcdDevice Size 1 1 2 1 1 1 1 2 2 2 Value (Hex) 12 01 0110 00 00 00 08 0d8c 0016 0100 14 iManufacturer 1 01 15 iProduct 1 02 16 iSerialNumber 1 00 17 bNumConfigurations 1 01 Description Descriptor length Device descriptor USB 1.1 compliant Device class specified by interface Device subclass specified by interface Device protocol specified by interface Endpoint zero packet size Vendor ID Product ID Device release number Index of string descriptor that characterizes the manufacturer Index of string descriptor that characterizes the product Index of string descriptor that characterizes the serial number Number of configuration Configuration Descriptor Offset 0 1 2 Field bLength bDescriptorType wTotalLength Size 1 1 2 4 bNumInterfaces 1 5 bConfigurationValue 1 6 iConfiguration 1 7 8 bmAttributes bMaxPower 1 1 Datasheet Revision: 1.00 Page 9 / 25 Value (Hex) Description 09 Descriptor length 02 Configuration descriptor xxxx Total length of data returned for this configuration Number of interfaces supported by this Configuration: 00: Control 03 01: ISO-IN 02: INT-IN (HID) 01 Configuration value Index of string descriptor that characterizes this 00 configuration 80 Attributes(PWRSEL=0:Bus Powered, 1:SELF Powered) 32 Maximum power consumption from bus = 100mA www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip 4. Function Description 4.1 Content Format for EEPROM (93C46) The CM118B integrates USB transceiver, internal oscillator and regulator so that only several passive components are necessary for the USB interface connection. Default USB descriptors are embedded in the CM118B; therefore there is no additional design effort needed for a generic USB operation. For customized product, customer can attach a SPI interface 93C46 EEPROM to override the embedded VID, PID and initial/max/min volume settings. The CM118B automatically detects 93C46 existence and performs the overwrite function during power up. Each address has 2-byte data, prefix `0x` means hex number Address (Hex) 0x00 0x01 0x02 0x03 0x04 ~ 0x09 0x0A 0x0B ~ 0x19 0x1A 0x1B ~ 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F 0x30 0x31 0x32 Datasheet Revision: 1.00 Page 10 / 25 Description bit[15:4] Magic Word -- 0x670X where X = bit 4, 3, 2, 1 bit[3] The value within address 0x2A, 0x2B, 0x32 is valid 1: valid 0: invalid bit[2] reserved, should be 1 bit[1] serial number enable control 1: enable, 0: disable(default) bit[0] reserved, should be 1 VID 2-byte PID 2-byte Serial number 1st byte Serial number length (bit15-bit8, first character) (bit7-bit0) Serial number 12-byte Product string 1st byte Product string length (bit15-bit8, first character) (bit7-bit0) [0x3E->30,0x40->31Char] Product string 30-byte (default: USB Audio Device) Manufacturer string 1st byte Manufacturer string length (bit15-bit8, first character) (bit7-bit0) [0x3E->30,0x40->31Char] Manufacturer string 30-byte (default: C-Media Electronics Inc.) bit[15: 9] DAC initial volume (7-bit, default = -10dB) bit[8: 3] ADC initial volume (6-bit, default = 8dB) bit[2] DAC EEPROM MAX/MIN volume valid bit[1] ADC EEPROM MAX/MIN volume valid bit[0] AA EEPROM MAX/MIN volume valid bit[15:11] AA initial volume (5-bit, default = -7dB) bit[10] Reserved, should be 0 bit[9] Boost mode 0: 22dB 1:12dB (default) bit[8] Reserved, should be 0 bit[7] Total Power Control 1:enable, 0:disable(default) bit[6] Reserved, should be 0 bit[5] MIC High Pass Filter 1:enable(default), 0:disable bit[4] MIC PLL Adjust 1:enable, 0:disable(default) bit[3] MIC BOOST 1:enable (default), 0:disable bit[2] DAC Output Terminal property 1: Headset, 0: Speaker(default) bit[1] HID, 1: enable (default), 0: disable bit[0] Remote wakeup, 1:enable, 0:disable(default) bit[15:0] DAC Minimum Volume (0xD300, DAC-Min.=-45dB, default=-37dB) bit[15:0] DAC Maximum Volume (0x0000, DAC-Max.=0dB, default=0dB) bit[15:0] ADC Minimum Volume(0xEA00, ADC-Min.=-22dB, default=-12dB) bit[15:0] ADC Maximum Volume(0x1700, ADC-Max.=+23dB, default=+23dB) bit[15:0] AA Minimum Volume (0xE900, AA-Min.=-23dB, default=-23dB) bit[15:0] AA Maximum Volume (0x0800,AA-Max.+8dB, default=+8dB) EE_OPTION2 Register bit[3] Reserved, should be 0 bit[2] Reserved, should be 0 bit[1] Reserved, should be 1 bit[0] EE_Stereo, 1: stereo ADC for headset topology, 0: mono ADC for headset www.cmedia.com.tw Copyright© C-Media Electronics Inc. CM118B Highly Integrated & Configurable USB Audio Single Chip topology ~ END 4.2 EEPROM SPI Interface Timing Information CS tSKL tSKH tCSS tCSH SK tDIS tDIH DI DO(READ) tDF tPD1 tPD0 tDF tSV DO(PROG) STATUS VALID Symbol Parameter Test Condition* Min f SK SK Clock Frequency 2.7V
CM118B 价格&库存

很抱歉,暂时无法提供与“CM118B”相匹配的价格&库存,您可以联系我们找货

免费人工找货