ETC CM102

Best Single Chip USB Audio Controller for PC Entertainment
CM102-A/102S USB 2CH Audio Controller
Data Sheet
Version 1.5
VP
Project Leader
Product Manager
Engineer
Test Engineer
Eric Cheng
Lawrence Ding
Deko Tsai
William Liu
Yi-Sung Lin
C-MEDIA ELECTRONICS INC.
TEL: 886-2-8773-1100 FAX: 886-2-8773-2211
6F, 100, Sec. 4, Civil Boulevard, Taipei, Taiwan 106, R.O.C.
For detailed product information, please contact [email protected]
CM102-A/102S
Integrated 2 Channel USB Audio Controller
NOTICES
THIS DOCUMENT IS PROVIDED “AS IS” WITH NO WARRANTIES WHATSOEVER, INCLUDING
ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY
PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY
PROPOSAL, DOCUMENT OR SAMPLE.
ALL RIGHTS RESERVED. NO PART OF THIS DOCUMENT MAY BE REPRODUCED OR
TRANSMITTED IN ANY FORM OR BY ANY MEANS, ELECTRONIC OR MECHANICAL,
INCLUDING INFORMATION STORAGE AND RETRIEVAL SYSTEMS, WITHOUT PERMISSION
IN WRITING FROM THE C-MEDIA ELECTRONICS, INC.
Third-party brands and names are the property of their respective owners.
Copyright 2002-2003 © C-Media Electronics Inc.
*C-Media reserves the right to modify the specifications without further notice*
Date: 10/17/2003
Version:
-1-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
1.DESCRIPTION AND OVERVIEW
CM102 series is a highly integrated single chip for USB speaker application. Minimum external
components are needed for building an USB speaker system, which makes CM102-A/S a simple and
very cost-effective solution. Since no driver is necessary for audio playback on all major OS;
CM102-A/S provides a truly plug-and-play feature for external digital audio playback. For energy
saving, USB suspend mode and resume is supported by CM102-A/S. With power amplifier enable pin
and volume control VR input pin, a traditional speaker front panel design can be built. More flexible
and customized design is possible with GPIO pin, which is accessible by USB vendor specific request.
Features
z
USB 2.0 Full Speed Compatible
z
USB audio device class specification v1.0 Compatible
z
USB bus powered 500mA operation with suspend mode support
z
Single 12MHz crystal input with on-chip PLL and embedded USB transceiver
z
USB audio function topology has 1 input terminal, 1 output terminal, and 1 feature unit
z
Alternate zero bandwidth setting for releasing bandwidth on USB bus during inactive operation
z
Isochronous transfer using adaptive synchronization with internal PLL
z
High performance 48KHz sampling rate for audio playback
z
Embedded high performance 16 bit audio DAC
z
Embedded class AB power amplifier for speaker driving
z
Embedded power on reset block and Power amplifier enable / disable control pin
z
Volume control input with simple external VR circuit
z
GPIO pin for application specific usage
z
S/PDIF output interface
z
Single 5V external power supply with internal power regulation
z
3.3V IO with 5V tolerance; 3.3V core logics design
z
Compatible with Win 98SE / Win ME / Win 2000 / Win XP, and Mac OS 9 / OS X without
additional driver
z
Compact 18 pin SOP package
z
Target application: multimedia USB audio box, decoder integrated, pen driver
z
Software Xear 3D Sound Technology With HRTF 3D, EAXTM, Speaker Shifter and Virtual
5.1CH effects
Date: 10/17/2003
Version:
-2-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
PIN DESCRIPTIONS
CM102-A/102S
PIN #
1
2
3
4
5
6
7
8
9
Signal Name
PAEN
GPIO
XO
XI
DVDD1
DVDD2
USBDP
USBDM
DVSS
PIN #
10
11
12
13
14
15
16
17
18
Signal Name
TEST
VREF
VOLADJ
AVDD
LOL
LOR
AVSS
SPDIF Out
PDSW
Figure 1. Pin Assignments (Top View)
Date: 10/17/2003
Version:
-3-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
Pin # Symbol
z
Type
Description
Power amplifier enable;
1
PAEN
DI, PD
2
GPIO
DIO, PD
3
XO
AO
Clock output pin for 12MHz oscillator
4
XI
AI
Clock input pin for 12MHz oscillator
5
DVDD1
P
5V digital power
H – normal mode, L – power down power amplifier
GPIO pin, default is input mode after reset; accessible
by USB vendor specific request
3.3V voltage from internal regulator for decouple
capacitor connection
6
DVDD2
P
7
USBDP
AIO
USB data D+
8
USBDM
AIO
USB data D-
9
DVSS
P
10
TEST
DI, PD
11
VREF
AO
Connect to external decouple capacitor for embedded
bandgap
12
VOLADJ
AI
0 ~ 2.25V input for volume adjustment by external
VR; pull high to disable VR volume adjustment
function
13
AVDD
P
5V analog power
14
LOL
AO
Line out left channel
15
LOR
AO
Line out right channel
16
AVSS
P
17
SPDIF Out
DO
18
PDSW
DO, 4mA
It is not affected by power down mode and can be
used to connect USB pull up resistor.
5V digital ground
Test mode select pin; pull low in normal mode
operation
5V analog ground
SPDIF Out
Power down switch control
1: normal mode, 0: power down mode
Note: DI – digital input pin , DO – digital output pin, DIO – digital bi-directional pin, P – power pin, PD –
pull down with 100K Ohm resistor, AI – analog input, AO – analog output
Date: 10/17/2003
Version:
-4-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
Block Diagram of CM102-A/102S
PAEN TEST PDSW
GPIO
DVDD2
control block
power on
reset
5V to 3.3V
regulator
SRAM
USB protocol
processing
USB
TRX
USB
IF
+21 ~ -33 dB
ISO out processing
PLL1
48 MHz
PLL2
line out
power
amp
16 bit DAC
12.288 MHz
6 bit
ADC
bandgap
VREF
VR input
Figure 2:Block Diagram Of CM102-A/102S
Vendor Specific Request for GPIO Access
GPIO write
Offset
0
1
Field
bmRequestType
bRequest
Size
1
1
Value
43
01
2
wValue
2
Value
4
6
wIndex
wLength
2
2
0000
0000
Offset
0
1
Field
bmRequestType
bRequest
Size
1
1
Value
C3
81
2
wValue
2
Value
4
6
wIndex
wLength
2
2
0000
0001
Description
Bit 0: GPIO value
Bit 1: 1: output; 0: input
GPIO read
Date: 10/17/2003
Description
Bit 0: GPIO value
Bit 1: 1: output; 0: input
Version:
-5-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
2. ORDERING INFORMATION
Model
Number
Package
CM102-A/102S
18-Pin PDIP
18-Pin SOP
Outline of Dimensions
Operating Ambient
Temperature
0 o C to +70 o C
0 o C to +70 o C
Supply Range
DVdd = 4.5V, AVdd = 5.5V
DVdd = 4.5V, AVdd = 5.5V
Dimensions shown in inches and (mm)
‹18- Plastic dual-in-line packaging (PDIP)
Figure 3:Mechanical Dimension of CM102-A
‹18- Pin SOP
Figure 4:Mechanical Dimension of CM102S
Date: 10/17/2003
Version:
-6-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
TABLE OF CONTENTS
1. DESCRIPTION AND OVERVIEW
2
2. ORDERING INFORMATION
6
3. PIN/SIGNAL DESCRIPTIONS
9
3.1 CLOCK PIN
9
3.2 ANALOG I/O
9
3.3 POWER / GROUND
9
3.4 CONFIGURATION / GPIO
10
4. VR MAPPING TABLE
11
5. VENDOR SPECIFIC REQUEST FOR GPIO ACCESS
12
6. USB DESCRIPTORS
13
6.1 DEVICE DESCRIPTORS
13
6.2 CONFIGURATION DESCRIPTOR
13
6.3 USB AUDIO TOPOLOGY DIAGRAM
14
7. ELECTRICAL CHARACTERISTICS
15
7.1 ABSOLUTE MAXIMUM RATING
15
7.2 OPERATION CONDITIONS
15
7.3 ELECTRICAL PARAMETERS
15
7.4 AUDIO PERFORMANCE
16
8. FREQUENCY RESPONSE GRAPHS
17
8.1 AUDIO PERFORMANCE
17
8.2 LINE OUTPUT SERIES CAPACITORS: 1000ΜF
17
9. APPLICATION CIRCUIT REFERENCE
Date: 10/17/2003
18
Version:
-7-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
10. LIST OF FIGURES
Figure 1:Pin Assignments (Top View)
Figure 2:Block Diagram Of CM102-A/102S
Figure 3:Mechanical Dimension of CM102-A
Figure 4:Mechanical Dimension of CM102S
Figure 5:Topology Diagram
Figure 6:Frequency Response of CM102-A/S with 220μF Series Capacitor
Figure 7:Frequency Response of CM102-A/S with 1000μF Series Capacitor
Figure 8:Application Circuit of CM102 Rev 1.6
Date: 10/17/2003
3
5
6
6
14
17
17
18
Version:
-8-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
3. PIN/SIGNAL DESCRIPTIONS
3.1 Clock Pin
These signals connect CM102-A/CM102S to external clock source signal.
Signal Name
XO
XI
Type
O
I
Pin No
3
4
Description
Clock output pin for 12MHz oscillator.
Clock input pin for 12MHz oscillator.
3.2 Analog I/O
These signals connect CM102-A/CM102S to analog signals, external VR, and decouple capacitor.
Signal Name
Type
Pin No
VREF
O
11
VOLADJ
I
12
LOL
LOR
USBDP
USBDM
O
O
I/O
I/O
14
15
7
8
Description
Connect to external decouple capacitor for
embedded bandgap.
0 ~ 2.25V input for volume adjustment by
external VR; pull high to disable VR volume
adjustment function.
Line out left channel.
Line out right channel.
USB data D+.
USB data D-.
3.3 Power / Ground
Analog VDD is 5V, Digital VDD is 3.3V and 5V. Analog ground plane and digital ground plane
should be separated well.
Signal Name
DVDD1
Type
I
Pin No
5
DVDD2
O
6
DVSS
AVDD
AVSS
I
I
I
9
13
16
Description
5V digital power.
3.3V voltage from internal regulator for
decouple capacitor connection.
It is not affected by power down mode and
can be used to connect USB pull up resistor.
Digital ground.
5V analog power.
5V analog ground.
Date: 10/17/2003
Version:
-9-
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
3.4 Configuration / GPIO
These signals are for various configuration and GPIO.
Signal Name
Type
Pin No
PAEN
I
1
GPIO
I/O
2
TEST
I
10
SPDIF Out
O
17
PDSW
O
18
Description
Power amplifier enable;
H – Normal mode,
L – Power down power amplifier.
GPIO pin, default is input mode after reset;
accessible by USB vendor specific request.
Test mode select pin; pull low in normal
mode operation.
This pin is used for SPDIF Out.
Power down switch control.
H - Normal mode,
L - Power down mode.
PAEN / GPIO / TEST:
Internal pull down via 100KΩ resistor.
Date: 10/17/2003
Version:
- 10 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
4. VR MAPPING TABLE
VOLADJ (pin 12) can be pulled high to disable external VR volume adjustment function. Voltage
level set by external VR can change the CM102-A/CM102S volume control value according to the
following table.
Input DC voltage
relative to 2.25V
>= 96.5 %
95 ~ 96.5 %
93.5 ~ 95 %
92 ~ 93.5 %
90.5 ~ 92 %
89 ~ 90.5 %
87.5 ~ 89 %
86 ~ 87.5 %
84.5 ~ 86 %
83 ~ 84.5 %
81.5 ~ 83 %
80 ~ 81.5 %
78.5 ~ 80 %
77 ~ 78.5 %
75.5 ~ 77 %
74 ~ 75.5 %
72.5 ~ 74 %
71 ~ 72.5 %
69.5 ~ 71 %
68 ~ 69.5 %
66.5 ~ 68 %
65 ~ 66.5 %
63.5 ~ 65 %
62 ~ 63.5 %
60.5 ~ 62 %
59 ~ 60.5 %
57.5 ~ 59 %
56 ~ 57.5 %
54.5 ~ 56 %
53 ~ 54.5 %
51.5 ~ 53 %
50 ~ 51.5 %
Adjust value added to
volume control
(unit : DAC step)
-37 (MUTE)
-30
-29
-28
-27
-26
-25
-24
-23
-22
-21
-20
-19
-18
-17
-16
-15
-14
-13
-12
-11
-10
-9
-8
-7
-6
-5
-4
-3
-2
-1
0
Input DC voltage
relative to 2.25V
48.5 ~ 50 %
47 ~ 48.5 %
45.5 ~ 47 %
44 ~ 45.5 %
42.5 ~ 44 %
41 ~ 42.5 %
39.5 ~ 41 %
38 ~ 39.5 %
36.5 ~ 38 %
35 ~ 36.5 %
33.5 ~ 35 %
32 ~ 33.5 %
30.5 ~ 32 %
29 ~ 30.5 %
27.5 ~ 29 %
26 ~ 27.5 %
24.5 ~ 26 %
23 ~ 24.5 %
21.5 ~ 23 %
20 ~ 21.5 %
18.5 ~ 20 %
17 ~ 18.5 %
15.5 ~ 17 %
14 ~ 15.5 %
12.5 ~ 14 %
11 ~ 12.5 %
9.5 ~ 11 %
8 ~ 9.5 %
6.5 ~ 8 %
5 ~ 6.5 %
3.5 ~ 5 %
<=3.5 %
Date: 10/17/2003
Adjust value added to
volume control
(unit : DAC step)
0
+1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+19
+20
+21
+22
+23
+24
+25
+26
+27
+28
+29
+30
+37
Version:
- 11 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
5. VENDOR SPECIFIC REQUEST FOR GPIO ACCESS
GPIO Write
Offset
Field
Size
0
bmRequestType
1
Value
(Hex)
43
1
bRequest
1
01
2
wValue
2
Value
4
wIndex
2
0000
6
wLength
2
0000
Offset
Field
Size
0
bmRequestType
1
Value
(Hex)
C3
1
bRequest
1
81
2
wValue
2
Value
4
wIndex
2
0000
6
wLength
2
0001
Description
Bit 0: GPIO value
Bit 1: 1: output; 0: input
GPIO Read
Date: 10/17/2003
Description
Bit 0: GPIO value
Bit 1: 1: output; 0: input
Version:
- 12 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
6. USB DESCRIPTORS
The audio and control data are transferred to CM102-A/CM102S via USBDP (Pin 7) and USBDM
(Pin8) in full-speed, which correspond to D+ and D- in the USB specification. The descriptors are
listed for design reference.
6.1 Device Descriptors
Offset
Field
Size
Value
(Hex)
0
bLength
1
12
Total 18 Bytes.
1
bDescriptorType
1
01
Device Descriptor.
2
bcdUSB
2
0110
4
bDeviceClass
1
00
5
bDeviceSubClass
1
00
6
bDeviceProtocol
1
00
7
bMaxPacketSize0
1
08
8
idVendor
2
0D8C
Vendor ID.
10
idProduct
2
0001
Product ID.
12
bcdDevice
2
0010
14
iManufacturer
1
01
Index of string descriptor
describing manufacturer.
15
iProduct
1
02
Index of string descriptor
describing product.
Description
USB Specification comptible.
Endpoint zero Size = 8 bytes.
16
iSerialNumber
1
00
Index of string descriptor
describing the device’s serial
number.
17
bNumConfiguratio
ns
1
01
Configurations number = 1.
6.2 Configuration Descriptor
The following information is described in the configuration descriptor.
Date: 10/17/2003
Version:
- 13 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
Offset
Field
Size
0
bLength
1
1
bDescriptorType
1
wTotalLength
2
bNumInterfaces
4
bConfigurationValu
5
e
Value
Description
(Hex)
09
Total 9 Bytes.
02
Configuration Descriptor.
006e
Total length of data returned
for this configuration: 110
Bytes.
1
02
Number
of
interfaces
supported
by
this
Configuration:
0: control interface.
1: ISO-OUT interface.
1
01
2
6
iConfiguration
1
00
7
bmAttributes
1
80
bus Power and non support
Remote Wakeup.
FA
Maximum power consumption
of the USB
Device: 500mA.
bMaxPower
8
2
6.3 USB audio topology diagram
IT
feature
unit
OT
speaker
USB
Figure 5:Topology Diagram
Date: 10/17/2003
Version:
- 14 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
7. ELECTRICAL CHARACTERISTICS
7.1 Absolute maximum rating
Symbol
Parameter
Value
Unit
Dvmin
Dvmax
Avmin
Avmax
Min digital supply voltage
Max digital supply voltage
Min analog supply voltage
Max analog supply voltage
Voltage on any digital input or output
pin
Voltage on any analog input or
output pin
Storage temperature range
ESD human body mode
ESD machine mode
– 0.3
+6
– 0.3
+6
V
V
V
V
–0.3 to +5.5
V
–0.3 to +5.5
V
-40 to +125
3500
200
℃
V
V
Dvinout
Avinout
Tstg
ESD (HBM)
ESD (MM)
7.2 Operation conditions
Parameter
Min
Typ
Max
Unit
Analog supply voltage
Digital supply voltage
Total power consumption
Operating ambient temperature
4.5
4.5
0
5.0
5.0
-
5.5
5.5
50
70
V
V
mA
℃
Min
Typ
Max
Unit
2.25
bit
V
12.006
-
MHz
MHz
MHz
+6
-
dB
Steps
7.3 Electrical Parameters
Parameter
Resolution
Input range
Clock input frequency
PLL1 output frequency
PLL2 output frequency
Volume control level
Volume control step(1)
VR Input
5
0
Clock
11.994
12
48
12.288
Amplification
-33
37
Note: 1) with an additional mute step
Date: 10/17/2003
Version:
- 15 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
7.4 Audio Performance
Parameter
Min
Typ
Max
Unit
-
16
-
bits
THD + N (-3dBr)
-66
-
-
dB
SNR
82.1
-
-
dB
Silent SNR
90.5
-
-
dB
Dynamic range
82.7
-
-
dB
20
-
20K
Hz
Output voltage (rms)
-
1.1
-
Vrms
Output voltage swing
0.7
-
3.8
V
4.5
5.0
5.5
V
-53.5
-
-
dB
82
-
-
dB
Silent SNR
103
-
-
dB
Dynamic range
83.4
-
-
dB
Output voltage (rms)
-
1.34
-
Vrms
Output voltage swing
-
-
4.50 Vpp
V
0.308
-
0.427
W
0.291
-
0.368
W
0.248
-
0.316
W
DAC
Resolution
Frequency response
Power amplifier
Power supply
THD + N (-3dBr)
SNR
Maximum output power per
channel (RMS value, 4 ohm load)
Maximum output power per
channel (RMS value, 6 ohm load)
Maximum output power per
channel (RMS value, 8 ohm load)
Date: 10/17/2003
Version:
- 16 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
8. FREQUENCY RESPONSE GRAPHS
8.1 Line Output Series Capacitors : 220µF
C -m edia
D igital P layback (P C -D -A ) for Line O utput Frequency
R esponse
01/29/01 18:06:34
+1
+0
-1
d
B
r
-2
-3
A
-4
-5
-6
30
50
100
200
500
1k
2k
5k
10k
Hz
C o lo r
L ine Style
Th ick
D a ta
Axis
C yan
Ye llo w
Solid
Solid
3
3
Fa s tte s t.C h .1 Am pl!N o rm alize
Fa s tte s t.C h .2 Am pl!N o rm alize
L eft
L eft
WL-Mu ltitone -4 8k.at2
Figure 6:Frequency Response of CM102-A/S with 220µF Series Capacitor
8.2 Line Output Series Capacitors : 1000µF
C -Media
D igital Playback (PC-D -A) for Line O utput Frequency
R esponse
01/29/01 18:16:17
30
5k
+1
+0
d
B
r
-1
-2
-3
A
-4
-5
-6
50
100
200
500
1k
2k
10k
Hz
C olor
Line Style
Thick
D ata
Axis
C yan
Yellow
Solid
Solid
3
3
Fas ttes t.C h.1 Am pl!N orm alize
Fas ttes t.C h.2 Am pl!N orm alize
Left
Left
WL-Multitone-48k.at2
Figure 7:Frequency Response of CM102-A/S with 1000µF Series Capacitor
Date: 10/17/2003
Version:
- 17 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
9. APPLICATION CIRCUIT REFERENCE
Figure 8:Application Circuit of CM102-A/S Rev 1.6
Date: 10/17/2003
Version:
- 18 -
1.5
CM102-A/102S
Integrated 2 Channel USB Audio Controller
10. REFERENCE
USB-IF, USB Specification, Revision 1.1 and 2.0, and USB Audio Device Class Specification, Revision 1.0,.
-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]
URL:http://www.cmedia.com.tw
Date: 10/17/2003
Version:
- 19 -
1.5