C371347_139780418F8DFE40697A24CD62AD2CE5.pdf - 第15页
CM108B USB Audio Single C hip Datasheet Revision: 1.11 www .cmedia.com.tw P age 15 / 24 Copyright© C -Media Electr onics Inc. 7.2 Jumper pins and mode setting: The C M108B can be confi gured via several jumper pins. T he…

CM108B
USB Audio Single Chip
Datasheet Revision: 1.11 www.cmedia.com.tw
Page 14 / 24 Copyright© C-Media Electronics Inc.
bit[1] Reserved, should be 0
bit[0] Reserved, should be 0
~ END
7.1.4 EEPROM SPI interface timing information
CS
SK
DI
DO(READ)
DO(PROG)
t
SV
t
PD1
t
DF
t
DF
t
CSH
t
SKL
t
SKH
t
CSS
t
PD0
t
DIH
t
DIS
STATUS VALID
Symbol
Parameter
Test Condition*
Min
Typ
Max
Units
f
SK
SK Clock Frequency
2.7V<=Vcc<=5.5V
0
-
200
KHz
t
SKH
SK High Time
2.7V<=Vcc<=5.5V
250
-
-
ns
t
SKL
SK Low Time
2.7V<=Vcc<=5.5V
250
-
-
ns
t
CS
Minimum CS Low Time
2.7V<=Vcc<=5.5V
250
-
-
ns
t
CSS
CS Setup Time
2.7V<=Vcc<=5.5V
50
-
-
ns
t
DIS
DI Setup Time
2.7V<=Vcc<=5.5V
100
-
-
ns
t
CSH
CS Hold Time
2.7V<=Vcc<=5.5V
0
-
-
ns
t
DIH
DI Hold Time
2.7V<=Vcc<=5.5V
100
-
-
ns
t
PD1
Output Delay to"1"
2.7V<=Vcc<=5.5V
-
-
250
ns
t
PD0
Output Delay to"0"
2.7V<=Vcc<=5.5V
-
-
250
ns
t
SV
CS to Status Valid
2.7V<=Vcc<=5.5V
-
-
250
ns
t
DF
CS to DO in High
Impedance
2.7V<=Vcc<=5.5V
-
-
100
ns
t
WP
Write Cycle Time
4.5V<=Vcc<=5.5V
0.1
3
10
ms
* based on ATMEL 93C46 EEPROM data

CM108B
USB Audio Single Chip
Datasheet Revision: 1.11 www.cmedia.com.tw
Page 15 / 24 Copyright© C-Media Electronics Inc.
7.2 Jumper pins and mode setting:
The CM108B can be configured via several jumper pins. These jumper pin settings affect both USB descriptors and
USB audio topology.
7.2.1 Mode pin and msel pin
If the MODE pin is pushed up to 3.3V (speaker mode), a playback-only function is activated and no recording function
is declared to the host. At this setting, the MSEL pin is ignored and only one input terminal, one output terminal and
one feature unit is declared in the USB audio topology.
If the MODE pin is pulled low (headset mode), a full-duplex playback and recording function is reported to the host.
The MSEL pin setting activates one mixer unit and one feature unit.
When MSEL = 1, the mixer is enabled (AA-path enabled), but with default mute setting
When MSEL = 0, the mixer is disabled (AA-path disabled)
The above USB audio topology (7.1.4) is an example of headset mode with enabled mixer.
7.2.2 Mode pin and pwrsel pin
The PWRSEL pin affects the power configuration of the CM108B. Together with the MODE pin, there are a total of 4
programmable combinations.
Combinations
MODE
3.3V
GND
PWRSEL
3.3V
Speaker mode:
Playback only
(100mA self-powered)
Headset mode:
Playback and recording
(100mA Bus-powered)
GND
Speaker mode:
Playback only
(500mA Bus-powered)
Headset mode:
Playback and recording
(500mA Bus-powered)
USB Audio Topology Diagram

CM108B
USB Audio Single Chip
Datasheet Revision: 1.11 www.cmedia.com.tw
Page 16 / 24 Copyright© C-Media Electronics Inc.
7.3 HID feature
USB protocols can configure devices at startup or when they are plugged in at run time. These devices are
categorized into various device classes. Each device class defines the common behavior and protocols for devices
that serve similar functions. The HID (Human Interface Device) class is one of the device classes.
The HID class consists primarily of devices that are used to control the operation of computer systems. Typical
examples of HID class devices include:
The CM108B’s HID feature allows users to set volume up, volume down, playback mute and recording mute button
pins, and reports the changes to the host to synchronize host side settings. In addition, all CM108B internal registers
can be accessed via HID function call.
7.3.1 HID descriptors
HID Interface Descriptor
Offset
Field
Size
Value (Hex)
Description
0
bLength
1
09
Size of this descriptor: 9 bytes
1
bDescriptorType
1
04
Interface descriptor type
2
bInterfaceNumber
1
03
Interface number: 3
3
bAlternateSetting
1
00
Alternate: 0
4
bNumEndpoints
1
01
Number of endpoints used by this interface: 1
5
bInterfaceClass
1
03
Interface class: HID
6
bInterfaceSubClass
1
00
Subclass: no
7
bInterfaceProtocol
1
00
Must be set to 0
8
iInterface
1
00
String descriptor index that characterizes this interface
HID Descriptor
Offset
Field
Size
Value (Hex)
Description
0
bLength
1
09
Total: 9 bytes
1
bDescriptorType
1
21
HID descriptor type
2
bcdHID
2
0100
HID class version 1.0
4
bCountryCode
1
00
5
bNumDescriptors
1
01
6
bDescriptorType
1
22
Report descriptor
7
wDescriptorLength
2
003C
Total size of the optional descriptor: 60 bytes
Interrupt IN Endpoint Descriptor
Offset
Field
Size
Value (Hex)
Description
0
bLength
1
07
Total: 7 bytes
1
bDescriptorType
1
05
Endpoint descriptor type
2
bEndpointAddress
1
87
In Endpoint Number = 3
3
bmAttributes
1
03
Interrupt endpoint type
4
wMaxPacketSize
2
0004
Maximum packet size: 4 bytes
6
bInterval
1
2
2ms