International Technology Centre Leuven
Addendum Change Request 12
UDA 1325 USB_CODEC
PLR-10247
Pg. 1/7
Editor: H e rman D’HAESELEER Version: P:\20249.1325\SW\TechnicalSpecifications\PLR101247.doc
PVCS $Revision:: 1.22 $
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name : Herman
D’HAESELEER 7 193 - 1 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND
Config map 3
UDA 1325
SIGNATURES FOR AGREEMENT
Function Name Date Signature
FRS: UDA 1335 USB_CODEC Version: Pg. 2/7
PLR-10241
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name: Herman
D’HAESELEER 7 193 - 2 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND
4.6.2 General descriptors
The general USB (CODEC) de scriptors describe in general terms the capabilities of the device, like; ‘how many
configurations it supports’, ‘how many interfaces’ etc. A detailed description of these descriptors can be found in
the USB specification [USBSpec]. It layouts a framework to which the additional class specific descriptors can be
integrated. (See paragraph ‘Descriptors’ of the [USBSpec]).
This USB_CODEC supports 4 ‘different’ interfaces. The control, the AudioStreaming out, the AudioStreaming
in and the human interface (HID) are declared in the Configuration Descriptor. The audio interfaces support
different audio topologies see paragraph 4.6.3.1 Audio function topology. It is possible to switch the HID
interface ON or OFF.
Each internal and the external hardware selectable configuration-map has its own Descriptor Map, depending of
the selected Audio topology and the supported HID interface. At start-up time only one Descriptor map can be
implicit selected with a predefined combination of selection diodes. This selection will be discussed in paragraph
4.10.
For each descriptor a column is added to indicate if it is allowed to change the value in the external
configuration-map. The described descriptors are these of configuration-map 1
Fixed Device Descriptor Value hex
XbLength 12
XbDescriptorType 01 DEVICE descriptor Type
bcdUSB 0100 Version USB 1.00 in BCD
XcDeviceClass 00 each interface specifies its own class information
XcDeviceSubClass 00 0 because cDeviceClass is 0
XcDeviceProtocol 00 no class specific protocols on a device basis
XbMaxPacketSize0 08 The amount of bytes/packet on the control endpoint is limited by the PSIE
MMU hardware to 8 bytes/packet.
idVendor 1E04 Creative = 041E
idProduct 0101 Product 1 version 04 USB CODEC [USBPROD]
bcdDevice 0100 Device Release Number Mode 1.0 or Actual Software version Nb
iManufactor 01 Index to stringdescriptor manufacturer
iProduct 02 Index to stringdescriptor product
iSerialNumber 00 Index to stringdescriptor serial number
XbNumConfigurations 01 Number of possible configurations at a time
Table 4-3 Standard Device Descriptor
FRS: UDA 1335 USB_CODEC Version: Pg. 3/7
PLR-10241
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name: Herman
D’HAESELEER 7 193 - 3 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND
4.6.4.1 ReportDescriptor’s Main Item: Input and Output
Fixed Name ReportDescriptor line
Main Item: Input hex
Usage Page(Consumer Devices) 050C Header Collection
Usage (Consumer Control) 0901 Consumer Controls
XCollection(Application) A101
XLogical Minimum(0) 1500 global remain true until defined otherwise
XLogical Maximum(1) 2501
XReport Count (6) 9506 Create 6 one bits reports
xReport Size (1) 7501
Usage (VolumeUp) 09E9 HID In 1 Device Volume Up
Usage (VolumeDown) 09EA HID In 2 Device Volume Down
Usage (Bass boost) 09E5 HID In 3 Bass Boost
Usage (incr sound) 0900 HID In 4 incr sound
Usage (Unassigned) 0900 HID In 5 not assigned
Usage (Unassigned) 0900 HID In 6 not assigned
xInput (Data,Var,Abs,Null) 8142 .
xReport Count (1) 9501 Padding with one two bit report
xReport Size (2) 7502
xInput (Constant) 8101 Constants.
xReport Count (3) 9503 Create 3 one bit report fields global items
xReport Size (1) 7501
Usage (Unassigned) 0900 HID Device output 1 not implemented
Usage (Unassigned) 0900 HID device output 2 not implemented
Usage (Unassigned) 0900 HID device output 3 not implemented
xOutput (Data, Variable, Relative) 9106 Add fields to the Output reporter; 1 out bits.
xReport Count (1) 9501 Create 1 five bit report fields
xReport Size (5) 7505
xOutput (Constant) 9103 Padding constants
xEnd Collection C0
Table 4-601 USBCODECIC Reportdescriptor with 6 inputs and 3 outputs.
FRS: UDA 1335 USB_CODEC Version: Pg. 4/7
PLR-10241
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name: Herman
D’HAESELEER 7 193 - 4 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND
4.10.2 Configuration Map 3
Main Features:
Audio Playback configuration with DBB and Clipping prevention on (no distortion)
Audio Input configuration Analog Input
With HID, external port expander
Mute function on codec
Volume Up and Down and mute and incr sound
Self powered
Powerup time for amp = 300mSec (x time = 0F)
Time between play and mute = 5Sec (y time = 5)
go into standby after 2 min(z time = 18)
Default volume = -32dB
Vendor ID = Creative
Manufactor = Creative Technology Ltd
Product = Creative USB Speaker
Gain setting for mike = 0dB
Value
Hex Affects Comment
00 Clockshop control Register 1000
00 Rstgen and PLL control Register 1001
00 Power Control Register 1003
8B ASR _UDAO Reg. Register 2000
09 PGA control Anal. Input Terminal 1 Register 800
09 PGA control Anal. Input Terminal 2 Only for Interface 2 Analog configuration
5C ADIF Control Register 801
60 ADAC feature setting (Reg0) via L3
90 ADAC lock mode (Reg1)via L3
D0 I/O-Selection register
bit 7 : Clipping preventio n
bit 6 : Expander
bit 5 : Selector o utp ut
bit 4 : Mute/Standb y (Expander)
bit 3 : Mute/Standby (Codec)
bit 2 : outp ut pin 3
bit 1 : outp ut pin 2
bit 0 : outp ut pin 1
1 = Clipping prevention on
1 = external I2C expander used
0 = normal logic for outputs
1 = Standby
0 = Mute
0 = non Inverted logic for outputp i n 3
0 = non Inverted logic for outputp i n 2
0 = non Inverted logic for outputp i n 1
00 Output pin function 1 Functions are available if declared in ADC
0 = Mute LED according Mute function in ADC
1 = DBB LED according BB function in ADC
01 Output pin function 2 Functions are available if declared in ADC
0 = Mute LED according Mute function in ADC
1 = DBB LED according BB function in ADC
00 Output pin function 3 Functions are available if declared in ADC
0 = Mute LED according Mute function in ADC
1 = DBB LED according BB function in ADC
21 IIS selector
bit 7 : Output I2S
bit 6 : Output I2S 4 or 6 pins
bit 5 : HID
bit 4 :
bit 3 : Input I2S
0 = analog, no I2S and bit 6 not used
1 = HID included
1 = input configuration 1
FRS: UDA 1335 USB_CODEC Version: Pg. 5/7
PLR-10241
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name: Herman
D’HAESELEER 7 193 - 5 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND
Value
Hex Affects Comment
bit 2 :
bit 1 :
bit 0 :
0F X rise Time power Amp Steps of 20 msec : 300 msec
05 Y Time between Mute and Play steps of 1 sec: 5 sec
18 Z Time between Mute an Standby steps of 5 sec: 2 min
00 Selector preferred state 0 = Anal. Input Terminal 1 Mike
09 DBB value (dB) must be pair Will be used in according with Feature Unit
descriptor
20 Volume Default init Attenuation Volume in 1 dB steps
-32 dB
04 Maximum distortion in dB
80BB
00 Sample fre quency :
LSB
Mid
MSB
48 kHz
0030 pointer to the Device Descriptor 0x0012 bytes long
0045 pointer to the Configuration Descriptor 0x035A bytes long
0210 pointer to the length of HID Report
Descriptor 0x0035 bytes long
0003 Number of String pointers N strings as mentioned in the descriptors < 33
025E Pointer to 0 String According the 0 string
0260 Pointer to first String According first string in descriptor
0290 Pointer to Second String According second string in descriptor
12
01
00
01
00
etc.
Device Descriptor
0x12 bLength
0x 01 bDescriptorType
0x 0100 bcdUSB
0x 00 cDeviceClass
etc.
Descriptors are in Little Endian
Table 4-3 Standard Device Descriptor
09
02
etc.
Configuration Descripto r
Including ADC and HID Configuration descriptor according topology 2
HID Descriptors
Table 4 – 57 Standard Interface descriptor +
Table 4 – 59 HID Endpoint Descriptor +
Table 4 – 58 HID Descriptor
3500 Length of HID Report Descriptor
LSB
MSB
0C
05
01
09
etc
HID Report Descriptor
0x 050CUsage page (Consumer Dev)
0x0901 Usage(Consumer Control)
HID Report Descriptor according the new descriptor in this
document (Table 4 – 60)
04
03
09
04
Zero string
0x04 String 0 length
0x03 Descriptor Type
Supported Language
0409 English
String 1 String Manufacturer : Creative Tec hnology Ltd
FRS: UDA 1335 USB_CODEC Version: Pg. 6/7
PLR-10241
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name: Herman
D’HAESELEER 7 193 - 6 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND
Value
Hex Affects Comment
26
03
30
00
68
00
etc.
0x30 String 1 length
0x03 Descriptor Type
48 P
104 h
etc.
36
03
55
00
53
00
etc.
String 2
0x2A String 1 length
0x03 Descriptor Type
85 U
83 S
etc.
String Produc t String :
Creative USB Speaker
Table 4-119 USB_CODEC Configuration map 0
FRS: UDA 1335 USB_CODEC Version: Pg. 7/7
PLR-10241
4AE400 FRS: UDA 1335 USB_CODEC .... ... .....
n.a.
n.a.
n.a.
Name: Herman
D’HAESELEER 7 193 - 7 10 A4
PL Or. date : 29-07-97 Property of PHILIPS GLOEILAMPENFABRIEKEN EINDHOVEN NEDERLAND