ASIX CM108A

CM108AH
A High Integrated USB Audio I/O Controller
DESCRIPTION
FEATURES
CM108AH is a highly integrated single chip USB
„
Compliant with USB 2.0 Full Speed Operation
audio solution. All essential analog modules are
„
Compliant with USB Audio Device Class
Specification v1.0
regulator, and USB transceiver. It is very suitable
for USB headset, USB earphone or USB audio
Supports USB Suspend / Resume Mode and
81
„
Remote Wakeup with Volume Control Pins
Single 12MHz Crystal Input with On-chip PLL and
44
„
51
earphone driver, ADC, microphone booster, PLL,
9
embedded in CM108AH, including dual DAC and
Embedded USB Transceiver
programmable with jumper pins or external
Jumper Pin for Speaker Mode (Playback Only) or
:
„
71
interface box application. Many features are
Headset Mode (Playback + Recording)
In addition, audio adjustment can be easily
„
QQ
EEPROM.
For Headset Mode, USB Audio Function Topology
has 2 Input Terminals, 2 Output Terminals, 1
control pins. For value added application, external
Mixer Unit, 1 Selector Unit, and 3 Feature Units
Jumper Pin for Mixer Unit Enable / Disable under
Headset Mode
18
66
via I2S pin for further processing.
„
43
41
5
codec or audio DSP can be connected to CM108AH
85
,
controlled via specific HID compliant volume
深
圳
市
金
合
讯
科
技
有
限
公
司
,
BLOCK DIAGRAM
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 1/27
CM108AH
A High Integrated USB Audio I/O Controller
TABLE OF CONTENTS
9
81
3.2
Pin-Out Diagram ................................................................................................ 5
3.3
Pin Signal Descriptions ......................................................................................... 6
71
43
41
5
USB Interface...................................................................................................11
Device Descriptor................................................................................................ 11
7.1.2
Configuration Descriptor ....................................................................................... 12
7.1.3
Content Format for EEPROM (93C46)......................................................................... 13
7.1.4
USB Audio Topology Diagram .................................................................................. 14
,
18
66
7.1.1
Jumper Pins and Mode Setting:..............................................................................15
7.3
HID Feature .....................................................................................................16
公
司
7.2
What’s HID ........................................................................................................ 16
7.3.2
HID Descriptor ................................................................................................... 17
7.3.3
Windows Software Architecture for HID ..................................................................... 18
限
7.3.1
技
有
7.4
Internal Registers ..............................................................................................19
Electrical Characteristics..................................................................... 22
8.1
Absolute Maximum Rating ....................................................................................22
8.2
Operation Conditions..........................................................................................22
8.3
Electrical Parameters .........................................................................................23
市
金
圳
Audio Quality Graphs.......................................................................... 24
深
9
85
,
QQ
:
I²S Interface ..................................................................................... 8
Block Diagram ................................................................................... 9
Ordering Information.......................................................................... 10
Function Description .......................................................................... 11
7.1
8
51
Pin Assignment by Pin Number................................................................................ 5
44
3.1
讯
科
4
5
6
7
Description and Overview ..................................................................... 3
Features .......................................................................................... 3
Pin Descriptions ................................................................................. 5
合
1
2
3
9.1
Line Out Freq Response @ 48KHz Sample Rate (10K Ohm Loading) ...................................24
9.2
Line Out THD+N @ 48KHz sample rate (10K Ohm Loading) .............................................24
9.3
Microphone Input Freq Response @ 48KHz Sample Rate ................................................25
9.4
Microphone Input THD+N @ 48KHz Sample Rate ..........................................................25
Reference ............................................................................................ 26
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 2/27
CM108AH
A High Integrated USB Audio I/O Controller
1
Description and Overview
CM108AH is a highly integrated single chip USB audio solution. All essential analog modules are embedded in
CM108AH, including dual DAC and earphone driver, ADC, microphone booster, PLL, regulator, and USB
transceiver. It is very suitable for USB headset, USB earphone or USB audio interface box application. Many
9
features are programmable with jumper pins or external EEPROM.
81
In addition, audio adjustment can be easily controlled via specific HID compliant volume control pins. For value
51
added application, external codec or audio DSP can be connected to CM108AH via I2S pin for further processing.
44
3 GPIO pins can be accessed with customer application software for additional value added application. Also
Features
QQ
2
:
71
CM108AH support a standard HID button for HOOK/OFF_HOOK function, this can be used for VOIP applications.
Compliant with USB 2.0 Full Speed Operation
„
Compliant with USB Audio Device Class Specification v1.0
„
Supports USB Suspend / Resume Mode and Remote Wakeup with Volume Control Pins
„
Single 12MHz Crystal Input with On-chip PLL and Embedded USB Transceiver
„
Jumper Pin for Speaker Mode (Playback Only) or Headset Mode (Playback + Recording)
„
For Headset Mode, USB Audio Function Topology has 2 Input Terminals, 2 Output Terminals, 1 Mixer Unit, 1
18
66
43
41
5
85
,
„
Selector Unit, and 3 Feature Units
Jumper Pin for Mixer Unit Enable / Disable under Headset Mode
„
For Speaker Mode, USB Audio Function Topology has 1 Input Terminal, 1 Output Terminal, and 1 Feature
公
司
,
„
Support One Control Endpoint, One Isochronous Out Endpoint, One Isochronous In Endpoint, and One
Interrupt In Endpoint
技
有
„
限
Unit
Alternate Zero Bandwidth Setting for Releasing Playback Bandwidth on USB Bus when this Device is Inactive
„
Supports AES/EBU, IEC60958, S/PDIF Consumer Formats for Stereo PCM Data at S/PDIF Output
„
Volume Up, Volume Down, and Playback Mute Pins support USB HID device class for Host Control
合
讯
科
„
市
金
Synchronization
HOOK / OFF_HOOK Pin support USB HID device class for VOIP Applications
„
Record Mute Pin with LED Indicator for Record Mute Status
„
圳
„
„
EEPROM Write Function via Vendor Specific request for Mass Production Convenience
„
Customized Embedded VID, PID, Product String, Manufacture String and Volume Settings by Customer
深
External EEPROM Interface for Vendor Specific USB VID, PID, and Serial Number
Request
„
3 GPIO Pins with Read/Write via HID Interface
„
Jumper Pin to Set the Power Mode (100mA or 500mA, Bus Power or Self Power)
„
Isochronous Transfer uses Adaptive Mode with Internal PLL for Synchronization
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 3/27
CM108AH
A High Integrated USB Audio I/O Controller
48K / 44.1KHz Sampling Rate for Both Playback and Recording
„
Soft Mute Function
„
Embedded High Performance 16-Bit Audio DAC with Earphone Phone Amplifier
„
Host Side Data Loss Noise Reduction Function
„
Embedded 16-Bit ADC Input with Microphone Boost
„
Embedded Power-On-Reset Block
„
Embedded 5V to 3.3V Regulator for Single External 5V Operation
„
Compatible with Win 2K / Win XP / Vista / 7, Linux, and Mac OS X without Additional Driver (WinCE / Win
44
51
81
9
„
48 Pin LQFP Package
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
43
41
5
85
,
QQ
:
„
71
Mobile supported with C-Media’s own Driver)
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 4/27
CM108AH
A High Integrated USB Audio I/O Controller
Pin Descriptions
Pin #
Signal Name
Pin #
Signal Name
Pin #
Signal Name
SPDIFO
13
GPIO3
25
VBIAS
37
REGV
DI
14
DVSS1
26
VREF
38
MSEL
DO
15
GPIO4
27
MICIN
39
9
Pin Assignment by Pin Number
Signal Name
1
2
3
SK
16
SDIN
28
N.C.
40
5
CS
17
ADSCLS
29
AVDD1
41
6
MUTER
18
MUTEP
30
LOL
42
7
PWRSEL
19
ADLRCK
31
LOBS
ADMCLK
32
LOR
21
LEDR
33
AVSS2
71
20
XO
:
XI
9
43
QQ
8
PDSW
44
4
VOLUP
81
Pin #
51
3.1
USBDP
USBDM
GPIO1
44
SDOUT
45
DAMCLK
MODE
22
ADSEL
34
AVDD2
46
DALRCK
11
HOOK
23
TEST
35
DVDD
47
DASCLK
12
LEDO
24
AVSS1
36
DVSS2
48
VOLDN
SK
REGV
43
41
5
PDSW
VOLUP
USBDP
GPIO1
USBDM
SDOUT
DALRCK
MSEL
DVSS2
DVDD
AVDD2
AVSS2
LOR
公
CS
37
司
DO
18
66
1
DI
,
SPDIFO
DAMCLK
Pin-Out Diagram
VOLDN
3.2
85
,
10
DASCLK
3
MUTER
LOBS
LOL
限
PWRSEL
XI
AVDD1
CM108AH
HOOK
N.C.
MICIN
VREF
LEDO
25
AVSS1
TEST
ADSEL
LEDR
ADMCLK
ADLRCK
MUTEP
ADSCLK
SDIN
GPIO4
DVSS1
GPIO3
13
Pin Assignments (Top View)
深
圳
市
金
合
讯
科
技
有
XO
MODE
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 5/27
VBIAS
CM108AH
A High Integrated USB Audio I/O Controller
Pin Signal Descriptions
SPDIFO
2
DI
3
4
5
6
DO
SK
CS
MUTER
DO, 8mA, SR
DIO, 8mA,
PD, 5VT
DO, 4mA, SR
DO, 4mA, SR
DO, 4mA, SR
DI, ST, PU
7
PWRSEL
DI, ST
8
9
XI
XO
DI
DO
10
MODE
DI, ST
11
HOOK
DI, ST, PU
12
LEDO
DO, SR, 8mA
13
GPIO3
14
DVSS1
15
GPIO4
16
SDIN
17
18
19
ADSCLK
MUTEP
ADLRCK
DIO, 8mA,
PD, 5VT
P
DIO, 8mA,
PD, 5VT
DIO, 8mA,
PD, 5VT
DIO, 4mA, SR
DI, ST, PU
DO, 4mA, SR
20
ADMCLK
DIO, 4mA, SR
SPDIF Output
EEPROM Interface Data read from EEPROM
EEPROM Interface Data write to EEPROM
EEPROM Interface Clock
EEPROM Interface Chip Select
Mute Recording (Edge Trigger with de-Bouncing)
Chip Power Select Pin, worked with MODE Pin
Speaker Mode H:Self Power with 100mA
L:Bus Power with 500mA
Headset Mode H:Bus Power with 100mA
L:Bus Power with 500mA
( H: Pull Up to 3.3V; L: Pull Down to Ground )
Input Pin for 12MHz Oscillator
Output Pin for 12MHz Oscillator
Operating mode select
H:Speaker Mode - Playback Only
L:Headset Mode - Playback & Recording
( H: Pull Up to 3.3V; L: Pull Down to Ground )
Hook / Off_Hook Pin (Edge Trigger with de-Bouncing)
LED for Operation;
Output H for Power On; Toggling for Data Transmit
9
1
71
:
QQ
85
,
43
41
5
GPIO Pin
公
司
,
Digital Ground
GPIO Pin
ADC I2S Data Input
DI, ST, PD
23
TEST
DI, ST, PD
24
25
AVSS1
VBIAS
P
AO
26
VREF
AO
27
28
29
30
31
MICIN
N.C.
AVDD1
LOL
LOBS
AI
P
AO
AO
5V Analog Power for Analog Circuit
Line Out Left Channel
DC 2.25V Output for Line Out Bias
技
有
讯
科
合
LEDR
圳
市
金
22
限
ADSEL
ADC I2S Serial Clock
Mute Playback (Edge Trigger with de-Bouncing)
ADC I2S Left / Right Clock
11.2896MHz Output for 44.1KHz Sampled Data and
12.288MHz Output for 48KHz Sampled Data
LED for Mute Recording Indicator;
Output H when Recording is Muted
ADC Input Source Select Pin
H: Use external (via I2S) ADC
L: Use internal ADC
( H: Pull Up to 3.3V; L: Pull Down to Ground )
Test Mode Select Pin;
H: Test Mode
L: Normal Operation
( H: Pull Up to 3.3V; L: Pull Down to Ground )
Analog Ground
Microphone Bias Voltage Supply (4.5V), with a small Driving Capability
Connecting to External Decoupling Capacitor for Embedded Bandgap
Circuit; 2.25V Output
Microphone Input
21
深
Description
81
Type
51
Symbol
44
Pin #
18
66
3.3
DO, SR, 8mA
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 6/27
CM108AH
LOR
AVSS2
AVDD2
DVDD
DVSS2
REGV
AO
P
P
P
P
AO
38
MSEL
DI, ST
39
VOLUP
DI, ST, PU
40
PDSW
DO, 4mA , OD
41
42
USBDP
USBDM
43
GPIO1
44
SDOUT
AIO
AIO
DIO, 8mA,
PD, 5VT
DO, 4mA, SR
45
DAMCLK
DO, 4mA, SR
46
47
48
DALRCK
DASCLK
VOLDN
DO, 4mA, SR
DO, 4mA, SR
DI, ST, PU
Line Out Right Channel
Analog Ground
5V Power Supply for Analog Circuit
5V Power Supply for Internal Regulator
Digital Ground
3.3V Reference Output for Internal 5V Æ 3.3V Regulator
Mixer Enable Select, worked with MODE pin
H: With Mixer / AA-Path Enable (With Default Mute)
L: Without Mixer / AA-Path Disable
( H: Pull Up to 3.3V, L: Pull Down to Ground )
USB Descriptors will also be changed accordingly
Volume Up (Edge Trigger with de-Bouncing)
Power Down Switch Control Signal (for PMOS Polarity)
0: Normal Operation,
1: Power Down Mode (Suspend Mode)
USB Data D+
USB Data D-
QQ
:
71
44
51
81
32
33
34
35
36
37
GPIO Pin
18
66
43
41
5
85
,
DAC I2S Data Output
11.2896 MHz Output for 44.1KHz Sampled Data and
12.288 MHz Output for 48KHz Sampled Data
DAC I2S Left/Right Clock
DAC I2S Serial Clock
Volume Down (Edge Trigger with de-Bouncing)
Note : DI / DO / DIO – Digital Input / Output / Bi-Directional Pad
AI / AO / AIO – Analog Input / Output / Bi-Directional Pad
SR – Slew Rate Control
ST – Schmitt Trigger
PD / PU – Pull Down / Pull Up
5VT – 5 Volt Tolerant (3.3V Pad)
OD – Open Drain
深
圳
市
金
合
讯
科
技
有
限
公
司
,
U
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
9
A High Integrated USB Audio I/O Controller
Rev. 1.7︱ Page 7/27
CM108AH
A High Integrated USB Audio I/O Controller
4
I²S Interface
CM108AH provide I 2 S interface for both playback and recording. External ADC, DAC, or DSP can be added to
P
P
provide additional function in the USB audio system. CM108AH sends out the master clock (fixed at x256), LRCK
(fixed at x64), and data clock. Therefore external ADC, DAC, or DSP should be set at slave mode for I 2 S
P
P
P
P
P
81
P
9
interface. Left channel of I 2 S bus is used for CM108AH mono recording. Both I 2 S buses use 5V tolerant pad so
bus. Recording source (from ADC or from I 2 S bus) can be selected by ADSEL jumper pin.
P
44
P
71
R ight C hannel
Left C hannel
SDATA
-1
-2
+2
+1
LS B
M SB
-1
-2
+2
+1
LSB
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
43
41
5
85
,
M SB
QQ
:
LR C K
S C LK
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 8/27
51
they can be easily interfacing with 5V or 3.3V devices. Playback data is simultaneously sent to both DAC and I 2 S
P
P
CM108AH
A High Integrated USB Audio I/O Controller
Block Diagram
,
18
66
43
41
5
85
,
QQ
:
71
44
51
81
9
5
深
圳
市
金
合
讯
科
技
有
限
公
司
Block Diagram Of CM108AH
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 9/27
CM108AH
A High Integrated USB Audio I/O Controller
Ordering Information
Operating Ambient
Model Number
Package
CM108AH
48-Pin LQFP 7mm×7mm×1.4mm (Plastic)
DVdd = 5V, AVdd = 5V
-15°C to +70°C
*Dimensions shown in inches and (mm)
71
44
51
81
Outline Dimensions
Supply Range
Temperature
9
6
Ordering Information Of CM108AH
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
43
41
5
85
,
QQ
:
48-Lead Thin Plastic Quad Flatpack (LQFP)
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 10/27
CM108AH
A High Integrated USB Audio I/O Controller
7
Function Description
7.1
USB Interface
CM108AH integrates USB transceiver, PLL, and regulator. So only a few passive components are necessary for
the USB interface connection. Default USB descriptors are embedded in CM108AH; therefore no additional
9
design effort is needed for USB operation. PID will be changed with the MODE pin setting, so different setting
81
will have different PID. For customized product, customers can attach a 93C46 EEPROM to override the
51
embedded VID, PID, Product String, Manufacture String, and serial number for each set. CM108AH will
71
44
automatically detect the 93C46 existence and performs the overwrite function during power up.
Field
Size
Value
Description
QQ
Offset
:
7.1.1 Device Descriptor
85
,
(Hex)
bLength
1
12
Total 18 Bytes
1
bDescriptorType
1
01
Device Descriptor
2
bcdUSB
2
0110
4
bDeviceClass
1
00
5
bDeviceSubClass
1
6
bDeviceProtocol
1
7
bMaxPacketSize0
1
8
idVendor
10
idProduct
12
bcdDevice
43
41
5
0
18
66
USB 1.1 compliant.
00
司
,
00
40
Endpoint zero Size = 64 bytes
0d8c
2
0139
2
0100
iManufacturer
1
01
Index of string descriptor describing manufacturer
iProduct
1
02
Index of string descriptor describing product
16
iSerialNumber
1
03
17
bNumConfigurations
1
01
限
技
有
讯
科
Vendor ID
Product ID
Programmable by MSEL and MODE pin
Device compliant to the Audio Device Class
specification version 1.00
Index of string descriptor describing the device’s
serial number
Configurations number = 1
深
圳
市
金
合
14
15
公
2
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 11/27
CM108AH
A High Integrated USB Audio I/O Controller
7.1.2 Configuration Descriptor
Offset
Field
Size
0
1
bLength
bDescriptorType
wTotalLength
1
1
Description
(Hex)
09
02
9
2
Total 9 Bytes
Configuration Descriptor
Total length of data returned for this configuration.
Programmable by MSEL and MODE pin
Number of interfaces supported by this Configuration,
Changed by MODE pin.
EP0: Control Interface
EP1: ISO-OUT Interface
EP2: ISO-IN Interface (Optional)
EP3: INT-IN (HID) Interface
04 or 03
1
1
1
01
00
A0 or E0
2
32 or FA
QQ
Programmable by PWRSEL
Maximum power consumption of the USB.
Programmable by MODE and PWRSEL Pin
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
43
41
5
8
bConfigurationValue
iConfiguration
bmAttributes
bMaxPower
85
,
5
6
7
:
71
1
44
bNumInterfaces
4
51
81
2
Value
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 12/27
CM108AH
A High Integrated USB Audio I/O Controller
7.1.3 Content Format for EEPROM (93C46)
Addr
(Dec)
(Hex)
0x00
Magic Word
0x670X
where X = bit 4, 3, 2, 1
bit 3 The value within address 0x2A,0x2B is valid
1: valid 0: invalid
bit 2 manufacture string enable
1: enable(default) 0: disable
bit 1 serial number enable control 1: enable
0: disable(default)
bit 0 product string enable control 1: enable(default) 0: disable
PID 2-byte
Serial number length
(low byte)
4
~
9
0x04
~
0x09
Serial number 12-byte
10
0x0A
Product string length
(low byte)
11
~
25
0x0B
~
0x19
Product string 30-byte (default: USB PnP Sound Device)
26
0x1A
Manufacture string length
(low byte)
27
~
41
0x1B
~
0x29
Manufacture string 30-byte (default: C-Media Electronics Inc.)
42
0x2A
44
~
END
0x2C
~
END
QQ
85
,
43
41
5
Manufacture string 1st
(high byte)
,
18
66
限
bit 15 ~ bit 9
bit 8
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Product string 1st byte
(high byte)
DAC initial volume (7-bit) max:0x02
ADC initial volume (5-bit) max: 0x00
司
公
bit 15 ~ 8
bit 7 ~ 0
技
有
讯
科
合
0x2B
:
0x03
市
金
圳
Serial number 1st byte
(high byte)
3
43
深
44
0x02
2
VID 2-byte
71
0x01
1
51
81
0
Description
9
Addr
<reserved>
Shutdown DAC analog 1:shutdown 0:active(default)
Total Power Control 1:enable 0:disable(default)
Reserved, should be 0
MIC High Pass Filter
1:enable(default) 0:disable
ADC synchronization mode 1:enable 0:disable(default)
MIC BOOST
1:enable(default) 0:disable
DAC Output Terminal property set to SPK or HP
1: Headset 0: Speaker(default)
HID 1: enable (default) 0: disable
Remote Wakeup enable/disable
1: enable 0: disable(default)
<reserved>
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
min:0x4a
min:0x78
Rev. 1.7︱ Page 13/27
CM108AH
A High Integrated USB Audio I/O Controller
7.1.4 USB Audio Topology Diagram
USB Out
IT
Speaker out
ID = 01
OT
9
ID = 06
81
Feature Unit
Mixer Unit
ID = 0F
51
(volume) (mute)
Feature Unit
ID = 09
ID = 0D
44
(volume) (mute)
85
,
QQ
:
71
enable or disable by
MSEL pin
43
41
5
Microphone In
IT
selector Unit
ID=02
ID = 08
18
66
Feature Unit
(volume) (mute)
深
圳
市
金
合
讯
科
技
有
限
公
司
,
ID= 0A
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 14/27
USB IN
OT
ID = 07
CM108AH
A High Integrated USB Audio I/O Controller
7.2
Jumper Pins and Mode Setting:
Jumper pins can set the configuration of CM108AH. These jumper pin settings affect both USB descriptors and
USB audio topology.
7.2.1 MODE Pin and MSEL Pin
81
9
If MODE pin is pulled high (Speaker Mode), a playback only function is activated and there is no recording
51
function declared to the host. At this setting, MSEL pin is ignored and only one input terminal, one output
44
terminal and one feature unit is declared in USB audio topology.
MSEL pin setting activates one mixer unit and one feature unit.
QQ
:
When MSEL = 1, Mixer is enable (AA-Path enable), but with default mute setting;
71
If MODE pin is pulled low (Headset Mode), a full duplex playback and recording function is reported to the host.
When MSEL = 0, Mixer is disable (AA-Path disable).
85
,
The above USB audio topology (7.1.4) is an example of headset mode with Mixer enable.
43
41
5
7.2.2 MODE Pin and PWRSEL Pin
PWRSEL pin affects the power configuration of CM108AH; together with MODE pin totally 4 combinations are
18
66
programmable.
司
,
Combinations
3.3V
Playback Only
Playback + Recording
(Self Power with 100mA)
(Bus Power with 100mA)
Speaker Mode:
Headset Mode:
Playback Only
Playback + Recording
(Bus Power with 500mA)
(Bus Power with 500mA)
公
Headset Mode:
技
有
GND
USB Audio Topology Diagram
深
圳
市
金
合
讯
科
PWRSEL
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
GND
Speaker Mode:
限
3.3V
MODE
Rev. 1.7︱ Page 15/27
CM108AH
A High Integrated USB Audio I/O Controller
7.3
HID Feature
HID feature is provided by CM108AH so user setting to Volume Up, Volume Down, Playback Mute, Recording
Mute, and Hook/Off_Hook button pins is reported to the host to synchronize host side setting. In addition, all
CM108AH internal registers can be accessed via HID function call.
What’s HID
9
7.3.1
81
USB protocols can configure devices at startup or when they are plugged in at run time. These devices are
51
broken into various device classes. Each device class defines the common behavior and protocols for devices
44
that serve similar functions. The HID (Human Interface Device) class is one of the device classes.
71
The HID class consists primarily of devices that are used by humans to control the operation of computer
:
systems. Typical examples of HID class devices include:
85
,
- Front-panel controls, for example: knobs, switches, buttons, and sliders.
QQ
- Keyboards and pointing devices, for example: mouse, trackballs, and joysticks.
example: data gloves, throttles, and steering wheels.
43
41
5
- Controls that might be found on devices such as VCR remote controls, games or simulation devices, for
- Devices that may not require human interaction but provide data in a similar format to HID class devices, for
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
example: bar-code readers, thermometers, or voltmeters.
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 16/27
CM108AH
A High Integrated USB Audio I/O Controller
7.3.2
HID Descriptor
HID Interface Descriptor
Field
Size
Value (Hex)
Description
0
bLength
1
09
Size of this descriptor: 9 byte
1
bDescriptorType
1
04
INTERFACE descriptor type
2
bInterfaceNumber
1
03
Number of Interface: 3
3
bAlternateSetting
1
00
alternate 0
4
bNumEndpoints
1
01
Number of endpoints used by this Interface: 1
5
bInterfaceClass
1
03
HID Interface Class
6
bInterfaceSubClass
1
00
No Subclass
7
bInterfaceProtocol
1
00
Must be set to 0
8
iInterface
1
00
Index of a string descriptor that describes this interface.
Size
Value (Hex)
0
bLength
1
09
1
bDescriptorType
1
21
2
bcdHID
2
4
bCountryCode
1
5
bNumDescriptors
1
6
bDescriptorType
7
wDescriptorLength
,
司
公
限
技
有
81
71
:
QQ
Total 9 Bytes
HID Descriptor Type
HID class version 1.00
00
01
22
0030
Report Descriptor
Numeric expression that is the total size of the
optional descriptor: 48 Bytes
Interrupt IN Endpoint Descriptor
Value (Hex)
合
讯
科
Description
Size
bLength
1
07
Total 7 Bytes
bDescriptorType
1
05
ENDPOINT Descriptor Type
bEndpointAddress
1
83
3
bmAttributes
1
03
4
wMaxPacketSize
2
0004
6
bInterval
1
2
0
圳
1
深
2
Field
市
金
Offset
0100
44
51
Field
18
66
Offset
2
85
,
43
41
5
HID Descriptor
1
9
Offset
Description
IN Endpoint
Endpoint number = 3
Interrupt endpoint type
Maximum packet size: 4 bytes
2ms
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 17/27
CM108AH
A High Integrated USB Audio I/O Controller
7.3.3 Windows Software Architecture for HID
Applications
C-Media SDK
Reports
Winmm.dll
Direct Input
(device specification)
HID.dll
Audio Driver
Joy Stick Class Driver
51
Keyboard Class Driver
81
9
User32.exe or User.exe
44
Mouse Class Driver
USB
Gameport
USB HUB Driver(USBHUB.SYS)
QQ
Gameport
:
71
HID Class Driver(HIDCLASS.SYS)
85
,
USB Class Driver(USBD.SYS)
43
41
5
PCI Enumerator
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
Note: Please contact with our sales for the C-Media SDK example if needed.
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 18/27
CM108AH
A High Integrated USB Audio I/O Controller
7.4
Internal Registers
All internal registers of CM108AH can be accessed via generic HID functional calls without the need to develop
kernel mode driver. Totally 4 bytes of data can be read or write from HID. Input report is for read and output
report is for write. Internal registers of CM108AH are used to control GPIO, S/PDIF output, and EEPROM data
81
9
access.
51
HID_IR0 (HID input report byte 0)
Read/Write
7-6
R
Description
Default
71
Bits
44
Offset : 0x00
0x0
:
00: HID_IR1 is used as GPI
QQ
10: Values written to HID_IR0-3 are also mapped to
EPROM_DATA0-1, EEPROM_CTRL
85
,
Others: Reserved
R
Reserved
3
R
0: No activity on Record-Mute button
2
R
1
R
43
41
5
5-4
0x0
0x0
1: Record-Mute button pressed then released
0: No activity on Playback-Mute button
0x0
18
66
1: Playback-Mute button pressed then released
0: Volume-Down button released
0x0
1: Volume-Down button pressed
0
0: Volume-Up button released
,
R
0x0
技
有
Offset : 0x01
Read/Write
讯
科
Bits
R
合
7-0
限
HID_IR1 (HID input report byte 1)
公
司
1: Volume-Up button pressed
Description
Default
When HID_IR0[7:6] == 2’b00:
HID_IR1[3:0] is the input from GPIO4 ~ GPIO1 in input mode
When HID_OR0[7] == 1’b1:
0x00
圳
市
金
Mapped from EEPROM_DATA0
深
HID_IR2 (HID input report byte 2)
Offset : 0x02
Bits
Read/Write
7-0
R
Description
When HID_OR0[7] == 1’b1:
Mapped from EEPROM_DATA1
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 19/27
Default
0x00
CM108AH
A High Integrated USB Audio I/O Controller
HID_IR3 (HID input report byte 3)
Offset : 0x03
Bits
Read/Write
7-0
R
Description
Default
When HID_OR0[7] == 1’b1:
0x00
81
9
Mapped from EEPROM_CTRL
51
HID_OR0 (HID output report byte 0)
Read/Write
Description
Default
R/W
5
R/W
Reserved
QQ
18
66
R/W
3-0
85
,
When HID_OR0[7] == 1’b0:
Valid bit in SPDIF frame
When HID_OR0[7] == 1’b1:
Reserved
When HID_OR0[7] == 1’b0:
First nibble of SPDIF status channel
When HID_OR0[7] == 1’b1:
Reserved
43
41
5
4
0x0
:
7-6
0: HID_OR1-2 are used for GPO;
HID_OR0, 3 are used for SPDIF
1: Reserved
2: Values written to HID_OR0-3 are also mapped to
EEPROM_DATA0-1, EEPROM_CTRL (See Note)
3: Reserved
71
Bits
44
Offset : 0x04
0x0
0x0
,
R/W
0x0
司
Note 1: When EEPROM access is done, HID interrupt will occur. USB host can get the result from interrupt pipe (endpoint 3).
限
公
Note 2: HID_OR0 is used for SPDIF when SPDIF_CONFIG[5] == 1’b0
技
有
HID_OR1 (HID output report byte 1)
Read/Write
合
Bits
讯
科
Offset : 0x05
市
金
圳
When HID_OR0[7:6] == 2’b00:
HID_OR1[3:0] is the output to GPIO4 ~ GPIO1 in output
mode
0: GPO drives L
R/W
深
7-0
Description
1: GPO drives H
When HID_OR0[7:6] == 2’b01:
Reserved
When HID_OR0[7:6] == 2’b1x:
Mapped to EEPROM__DATA0
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 20/27
Default
0x00
CM108AH
A High Integrated USB Audio I/O Controller
HID_OR2 (HID output report byte 2)
Offset : 0x06
Bits
Read/Write
Description
Default
When HID_OR0[7:6] == 2’b00:
0x00
HID_OR2[3:0] is the mode setting for GPIO4 ~ GPIO1
81
51
1: Set GPIO to output mode
R/W
When HID_OR0[7:6] == 2’b01:
44
7-0
9
0: Set GPIO to input mode
71
Reserved
:
When HID_OR0[7:6] == 2’b1x:
QQ
Mapped to EEPROM_DATA1
85
,
HID_OR3 (HID output report byte 3)
Offset : 0x07
Read/Write
Description
43
41
5
Bits
When HID_OR0[7] == 1’b0:
7-0
Category byte of SPDIF status channel
18
66
R/W
When HID_OR0[7] == 1’b1:
,
Mapped to EEPROM_CTRL
深
圳
市
金
合
讯
科
技
有
限
公
司
Note: HID_OR3 is used for SPDIF when SPDIF_CONFIG[5] == 1’b0
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 21/27
Default
0x00
CM108AH
A High Integrated USB Audio I/O Controller
Electrical Characteristics
8.1
Absolute Maximum Rating
Symbol
Parameter
Value
Unit
Min Digital Supply Voltage
– 0.3
V
Dvmax
Max Digital Supply Voltage
+6
V
Avmin
Min Analog Supply Voltage
– 0.3
Avmax
Max Analog Supply Voltage
+6
Dvinout
Voltage on any Digital Input or Output Pin
–0.3 to +5.5
V
Avinout
Voltage on any Analog Input or Output Pin
–0.3 to +5.5
V
TBstgB
Storage Temperature Range
-40 to +125
P0PC
ESD (HBM)
ESD Human Body Mode
4000
V
ESD (MM)
ESD Machine Mode
200
V
Latch Up
JEDEC Standard No.78, Mar 1997
200
mA
81
51
V
44
V
71
:
85
,
QQ
Operation Conditions
18
66
8.2
Operation conditions
Min
Typ
Max
Unit
4.5
5.0
5.5
V
4.5
5.0
5.5
V
-
35
mA
-
500
uA
-15
-
,
司
Analog Supply Voltage
限
公
Digital Supply Voltage
技
有
Total Power Consumption
Suspend Mode Power Consumption
深
圳
市
金
合
讯
科
Operating ambient temperature
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 22/27
70
9
Dvmin
43
41
5
8
PoPC
CM108AH
A High Integrated USB Audio I/O Controller
8.3
Electrical Parameters
Min
Typ
Max
Unit
-
16
-
Bits
THD + N (-3dBr)
-
-74.29
-
dB
SNR
-
93.6
-
dB
Silent SNR
-
98.2
-
dB
Dynamic range
-
93.8
-
Frequency response 48KHz
20
-
20K
Frequency Response 44.1KHz
20
-
20K
Output Voltage (rms)
-
1.25
-
Output Voltage Swing
0.5
-
81
44
dB
:
71
Hz
Hz
Vrms
V
QQ
4.0
-
16
-
Bits
THD + N (-3dBr)
-
-71.1
-
dB
SNR
-
93.7
-
dB
Silent SNR
-
98.2
-
dB
Dynamic Range
-
93.8
-
dB
20
-
20K
Hz
20
-
20K
-
1.25
-
Vrms
0.5
-
4.0
V
-
16
-
bit
-
-76.1
-
dB
-
83.1
-
dB
-
81.6
-
dB
Frequency Response 48KHz
20
-
19.2K
Hz
Frequency Response 44.1KHz
20
-
17.6K
Hz
Input Range
0
-
2.88
Vpp
18
66
,
Frequency Response 44.1KHz
司
Output Voltage (rms)
限
公
Output Voltage Swing
THD + N (-3dBr)
讯
科
SNR
技
有
Resolution
市
金
合
Dynamic Range
43
41
5
Resolution
Frequency Response 48KHz
ADC
Amplification
Volume Control Level
-45
-
0
dB
Volume Control Step
-
38
-
Steps
圳
深
85
,
DAC (32 Ohm Loading)
Microphone Input
Boost Gain
-
+20
-
dB
Gain Adjustment Range
0
-
22.5
dB
Gain Adjustment Steps
-
16
-
Steps
-33.0
-
12.0
dB
-
32
-
Steps
Mixer Gain Adjustment
Mixer Gain Adjustment Steps
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 23/27
9
Resolution
51
DAC (10K Ohm Loading)
CM108AH
A High Integrated USB Audio I/O Controller
9
Audio Quality Graphs
9.1
Line Out Freq Response @ 48KHz Sample Rate (10K Ohm Loading)
A u d io P r e c is io n
0 9 /2 6 /0 8 1 4 :3 3 :5 1
d x=-19 .98 0 k H z
d y =-3.1 32 d B
9
+1
81
+0
-0 . 0 1
d
B
r
51
-1
44
-2
71
-3
-3 . 1 4 3
A
:
-4
50
100
200
500
1k
2k
5k
85
,
-6
20
QQ
-5
Hz
T ra c e
C o lo r
L i n e S tyl e
T h ic k
D a ta
1
1
1
2
C ya n
Ye llo w
S o lid
S o lid
1
1
F a s tte s t.C h .1 A m p l !N o r m a l i ze
F a s tte s t.C h .2 A m p l !N o r m a l i ze
A xi s
43
41
5
Sweep
10k
12 90 .k9 9 8 k
Com m ent
L e ft
L e ft
Line Out THD+N @ 48KHz sample rate (10K Ohm Loading)
,
9.2
18
66
V i s ta - F r e q u e n c y R e s p o n s e - M 4 8 k .a t2 7
公
+0
限
-10
技
有
-20
-30
-50
A
-70
讯
科
-40
d
B
r
市
金
合
-60
-80
0 9 /2 6 /0 8 1 4 :2 7 :0 7
司
A ud io P re c is io n
-90
深
圳
-100
-110
-120
20
50
100
200
500
1k
2k
Hz
Sw eep
Tra ce
C o lo r
L in e S tyle
Th ick
D a ta
Axis
1
1
1
2
C ya n
Ye llo w
S o lid
S o lid
2
2
An lr.TH D + N Am p l
An lr.TH D + N Am p l
L e ft
L e ft
Com m ent
Vis ta -D -A TH D +N .a t2 7
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 24/27
5k
10k
20k
CM108AH
A High Integrated USB Audio I/O Controller
9.3
Microphone Input Freq Response @ 48KHz Sample Rate
Audio Precision
A-D FREQUENCY RESPONSE
dx=-19.980 kHz
-1
09/26/08 14:52:45
dy=+1.389 dB
-1.2
51
81
9
-1.4
-1.423
-1.6
-1.8
d
B
F
S
44
-2
71
-2.2
:
-2.4
QQ
-2.6
-3
20
50
100
200
500
85
,
-2.8
-2.812
1k
2k
43
41
5
Hz
Trace
Color
Line Style
Thick
Data
Axis
1
1
1
2
Yellow
Cyan
Solid
Solid
1
1
DSP Anlr.Level A
DSP Anlr.Level B
10k
Com m ent
20k
20k
Curs or1
Left
Left
*-2.812 dBFS
-2.812 dBFS
18
66
Sweep
5k
,
Vis ta-A-D Frequency Res pons e.at2c
Microphone Input THD+N @ 48KHz Sample Rate
公
司
9.4
A -D T H D + N v s F R E Q U E N C Y
技
有
+0
讯
科
-2 0
-4 0
合
-6 0
-8 0
市
金
d
B
F
S
0 9 /2 6 /0 8 1 4 :5 1 :1 3
限
A u d io P re c is io n
圳
-1 0 0
深
-1 2 0
20
50
100
200
500
1k
2k
5k
Hz
Sw eep
T ra c e
C o lo r
L in e S tyle
T h ic k
D a ta
Axis
1
1
1
2
Ye llo w
C ya n
S o lid
S o lid
1
1
D S P An lr .T H D + N Am p l A
D S P An lr .T H D + N Am p l B
L e ft
L e ft
Vis ta -A-D T H D + N .a t2 c
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 25/27
Com m ent
10k
20k
CM108AH
A High Integrated USB Audio I/O Controller
Reference
Universal Serial Bus Specification, Version 2.0
„
Universal Serial Bus Device Class Definition for Audio Devices, Version 1.0.
„
Universal Serial Bus Device Class Definition for Human Interface Devices, Version 1.11
深
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
43
41
5
85
,
QQ
:
71
44
51
81
9
„
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 26/27
CM108AH
85
,
QQ
:
71
44
51
81
9
A High Integrated USB Audio I/O Controller
圳
市
金
合
讯
科
技
有
限
公
司
,
18
66
43
41
5
-End of Specifications-
深
C-MEDIA ELECTRONICS INC.
6F., 100, Sec. 4, Civil Boulevard, Taipei, Taiwan 106 R.O.C.
TEL:886-2-8773-1100
FAX:886-2-8773-2211
E-MAIL:[email protected]
Disclaimer:
Information furnished by C-Media Electronics Inc. is believed to be accurate and reliable. However, no responsibility is assumed by C-Media Electronics Inc. for its use, nor for any
infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise
under any patent or patent rights of C-Media. Trademark and registered trademark are the property of their respective owners.
www.cmedia.com.tw
Copyright © C-Media Electronics Inc.
Rev. 1.7︱ Page 27/27