Philips UDA1331H Datasheet

INTEGRATED CIRCUITS
DATA SH EET
UDA1331H
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
Preliminary specification Supersedes data of 1998 Apr 16 File under Integrated Circuits, IC01
1998 Oct 06
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
FEATURES General
Universal Serial Bus (USB) stereo Audio Playback Peripheral (APP) system with adaptive (5 to 55 kHz) 20-bits digital-to-analog conversion and filtering
USB-compliant audio and Human Interface Device (HID)
Supports 12 Mbits/s full-speed serial data transmission
Supports multiple audio data formats (8, 16 and 24 bits)
Supports headphone and line output
Fully automatic ‘Plug-and-Play’ operation
High linearity
Wide dynamic range
Superior signal-to-noise ratio (typical 95 dB)
Low total harmonic distortion (typical 90 dB)
3.3 V power supply
Efficient power management
Low power consumption
On-chip master clock oscillator, only an external crystal
is required
Partly programmable USB descriptors and configuration
2
C-bus.
via I

Sound processing

Separate digital volume control for left and right channel
Soft mute
Digital bass and treble tone control
External Digital Sound Processor (DSP) option possible
via standard I
Selectable clipping prevention
Selectable Dynamic Bass Boost (DBB)
On-chip digital de-emphasis.
2
S-bus or Japanese digital I/O format
UDA1331H

Document references

“USB Specification”
“USB Common Class Specification”
“USB Device Class Definition for Audio Devices”
“Device Class Definition for Human Interface Devices (HID)”
“USB HID Usage Table”

APPLICATIONS

USB monitors
USB speakers
USB headsets
USB telephone/answering machines
USB links in consumer audio devices.

GENERAL DESCRIPTION

The UDA1331H is a stereo CMOS digital-to-analog bitstream converter designed for USB-compliant audio playback devices and multimedia audio applications. The UDA1331H is an adaptive asynchronous sink USB audio device with a continuous sampling frequency (f range from 5 to 55 kHz. It contains a USB interface, an embedded microcontroller and an Asynchronous Digital-to-Analog Converter (ADAC).
The USB interface is the interface between the USB, the ADAC and the microcontroller. The USB interface consists of an analog front-end and a USB processor. The analog front-end transforms the differential USB data to a digital data stream. The USB processor buffers the input and output data from the analog front-end and handles all low-level USB protocols. The USB processor selects the relevant data from the universal serial bus, performs an extensive error detection and separates control information (input and output) and audio information (input only).
.
)
s
1998 Oct 06 2
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio
UDA1331H
Playback Peripheral (APP)
The control information becomes accessible at the microcontroller. The audio information becomes available at the digital I/O output or is fed directly to the ADAC.
The microcontroller handles the high-level USB protocols, translates the incoming control requests and manages the user interface via General Purpose (GP) pins and an I2C-bus. The firmware for the microcontroller must be located in an external (E)PROM.
The ADAC enables the wide and continuous range of input sampling frequencies. By means of a Sample Frequency Generator (SFG), the ADAC is able to reconstruct the average sample frequency from the incoming audio samples. The ADAC also performs the sound processing. The ADAC consists of FIFO registers, a unique audio

QUICK REFERENCE DATA

SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT
Supplies
V
DD
I
DD(tot)
I
DD(ps)
supply voltage note 1 3.0 3.3 3.6 V total supply current 50 mA supply current in power-save
mode
Dynamic performance DAC
THD N+
---------------------- ­S
total harmonic distortion-plus-noise to signal
fs= 44.1 kHz; RL=5k
at input signal of 1 kHz (0 dB) −−90
ratio
at input signal of 1 kHz (60 dB) −−30
S/N
bz
signal-to-noise ratio at bipolar
A-weighted at code 0000H 90 95 dBA
zero
V
o(FS)(rms)
full-scale output voltage
VDD= 3.3 V 0.66 V
(RMS value)
General characteristics
f
i(sample)
T
amb
audio sample input frequency 5 55 kHz operating ambient temperature 0 25 70 °C
feature processing DSP, the SFG, digital up-sampling filters, a variable hold register, a Noise Shaper (NS) and a Filter Stream DAC (FSDAC) with integrated filter and line output drivers. The audio information is applied to the ADAC via the USB processor or via the digital I/O input.
An external DSP can be used for adding extra sound processing features via the digital I/O-bus.
The UDA1331H supports the standard I2S-bus data input format and the LSB-justified serial data input format with word lengths of 16, 18 and 20 bits.
The wide dynamic range of the bitstream conversion technique used in the UDA1331H guarantees a high audio sound quality.
18 mA
(2)
80 dB
0.0032 0.01 %
(2)
20 dB
3.2 10 %
Notes
1. V
is the supply voltage on pins V
DD
DDA
, V
DDE
, V
DDI
and V
. VSS is the ground on pins V
DDX
SSA
, V
SSE
, V
SSI
and V
All VDD and VSS pins must be connected to the same supply or ground respectively.
2. The audio information from the USB interface is fed directly to the ADAC.

ORDERING INFORMATION

TYPE
NUMBER
NAME DESCRIPTION VERSION
PACKAGE
UDA1331H QFP64 plastic quad flat package; 64 leads (lead length 1.95 mm); body 14 × 20 × 2.8 mm SOT319-2
1998 Oct 06 3
SSX
.
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)

BLOCK DIAGRAM

handbook, full pagewidth
55
TC
RTCB
SHTCB
GP4/BCKO
GP3/WSO
GP2/DO
GP1/DI
GP0/BCKI
GP5/WSI
61 15
14 13
10 7
64 2
TEST
CONTROL
BLOCK
SAMPLE FREQUENCY GENERATOR
D+
D
20 17
ANALOG FRONT-END
USB-PROCESSOR
DIGITAL I/O
FIFO REGISTERS
f
s
AUDIO FEATURE
PROCESSING DSP
f
s
UP-SAMPLE FILTERS
MICRO-
CONTROLLER
UDA1331H
SCL
3 4
SDA EA
6 8
PSEN ALE
9
11
P2.0 P2.1
12 18
P2.2 P2.3
19 21
P2.4 P2.5
22 23
P2.6 P2.7
24 56
P0.0 P0.1
57 58
P0.2
59
P0.3 P0.4
60 62
P0.5 P0.6
63
5
P0.7
64f
s
V
36
SSX XTAL1 XTAL2
V
DDX
VOUTL
37
TIMING
OSC
38 39
53
VARIABLE HOLD REGISTER
128f
s
3rd-ORDER
NOISE SHAPER
LEFT
DAC
REFERENCE
VOLTAGE
42 V
Fig.1 Block diagram.
1998 Oct 06 4
ref
RIGHT
DAC
UDA1331H
32 30 29 25 51 49 45 44
46
MBK529
V
DDE
V
SSE
V
SSI
V
DDI
V
DDO
V
SSO
V
DDA
V
SSA
VOUTR
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio
UDA1331H
Playback Peripheral (APP)

PINNING

SYMBOL PIN I/O DESCRIPTION
n.c. 1 not connected GP5/WSI 2 I/O general purpose pin 5 or word select input SCL 3 I/O serial clock input (I SDA 4 I/O serial data input/output (I P0.7 5 I/O Port 0.7 of the microcontroller EA 6 I/O external access (active LOW) GP1/DI 7 I/O general purpose pin 1 or data input PSEN 8 I/O program store enable (active LOW) ALE 9 I/O address latch enable (active HIGH) GP2/DO 10 I/O general purpose pin 2 or data output for extra DSP chip P2.0 11 I/O Port 2.0 of the microcontroller P2.1 12 I/O Port 2.1 of the microcontroller GP3/WSO 13 I/O general purpose pin 3 or master word select output for extra DSP chip GP4/BCKO 14 I/O general purpose pin 4 or master bit clock output for extra DSP chip SHTCB 15 I shift clock TCB input (active HIGH) n.c. 16 not connected D 17 I/O negative data line of the differential data bus conform to the USB-standard P2.2 18 I/O Port 2.2 of the microcontroller P2.3 19 I/O Port 2.3 of the microcontroller D+ 20 I/O positive data line of the differential data bus conform to the USB-standard P2.4 21 I/O Port 2.4 of the microcontroller P2.5 22 I/O Port 2.5 of the microcontroller P2.6 23 I/O Port 2.6 of the microcontroller P2.7 24 I/O Port 2.7 of the microcontroller V
DDI
25 digital supply voltage core n.c. 26 not connected n.c. 27 not connected n.c. 28 not connected V V
SSI SSE
29 digital ground core
30 digital ground I/O pins n.c. 31 not connected V
DDE
32 digital supply voltage I/O pins n.c. 33 not connected n.c. 34 not connected n.c. 35 not connected V
SSX
36 crystal oscillator ground XTAL1 37 I crystal oscillator input 1 XTAL2 38 O crystal oscillator output 2 V
DDX
39 crystal oscillator supply voltage n.c. 40 not connected
2
C-bus)
2
C-bus)
1998 Oct 06 5
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
SYMBOL PIN I/O DESCRIPTION
n.c. 41 not connected V
ref
n.c. 43 not connected V
SSA
V
DDA
VOUTR 46 O right channel output voltage n.c. 47 not connected n.c. 48 not connected V
SSO
n.c. 50 not connected V
DDO
n.c. 52 not connected VOUTL 53 O left channel output voltage n.c. 54 not connected TC 55 I test control input (active HIGH) P0.0 56 I/O Port 0.0 of the microcontroller P0.1 57 I/O Port 0.1 of the microcontroller P0.2 58 I/O Port 0.2 of the microcontroller P0.3 59 I/O Port 0.3 of the microcontroller P0.4 60 I/O Port 0.4 of the microcontroller RTCB 61 I asynchronous reset input for test control box (active HIGH) P0.5 62 I/O Port 0.5 of the microcontroller P0.6 63 I/O Port 0.6 of the microcontroller GP0/BCKI 64 I/O general purpose pin 0 or master bit clock input
42 O reference output voltage
44 analog ground
45 analog supply voltage
49 operational amplifier ground
51 operational amplifier supply voltage
UDA1331H
1998 Oct 06 6
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
handbook, full pagewidth
P0.6
P0.5
63
62
n.c.
GP5/WSI
SCL SDA P0.7
EA
GP1/DI
PSEN
ALE
GP2/DO
P2.0 P2.1
GP3/WSO
GP4/BCKO
SHTCB
n.c.
D P2.2 P2.3
GP0/BCKI
64 1 2 3 4 5 6 7 8 9
10 11 12 13 14 15 16 17 18 19
RTCB 61
P0.4
P0.3
60
59
UDA1331H
P0.2 58
P0.1 57
P0.0 56
TC 55
n.c.
54
n.c.
VOUTL 53
UDA1331H
52
V
51
DDO
n.c.
50
V
49
SSO
n.c.
48
n.c.
47
VOUTR
46
V
45
DDA
V
44
SSA
n.c.
43
V
42
REF
n.c.
41
n.c.
40
V
39
DDX
XTAL2
38
XTAL1
37
V
36
SSX
n.c.
35
n.c.
34
n.c.
33
20
21
22
23
24
25
D+
P2.4
P2.5
P2.6
P2.7
V
DDI
Fig.2 Pin configuration.
1998 Oct 06 7
26
n.c.
27
n.c.
28 n.c.
V
29
SSI
30
SSE
V
31
n.c.
32
DDE
V
MBK528
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
FUNCTIONAL DESCRIPTION All bold-faced parameters given in this data sheet
such as ‘bAlternateSetting’ are part of the USB specification as described in
Definition for Audio Devices”

The Universal Serial Bus (USB)

Data and power are transferred via the USB by a 4-wire cable. The signalling occurs via two wires and point-to-point segments. The signals on each segment are differentially driven into a cable of 90 intrinsic impedance. The differential receiver features input sensitivity of at least 200 mV and sufficient common mode rejection.

The analog front-end

The analog front-end is an on-chip generic USB transceiver. It is designed to allow voltage levels up to V from standard or programmable logic to interface with the physical layer of the USB. It is capable of receiving and transmitting serial data at full speed (12 Mbits/s).

The USB processor

The USB processor forms the interface between the analog front-end, the ADAC and the microcontroller. The USB processor consists of:
The Philips Serial Interface Engine (PSIE)
The Memory Management Unit (MMU)
The Audio Sample Redistribution (ASR) module.
“USB Device Class
.
DD
UDA1331H
The PSIE is the digital front-end of the USB processor. This module recovers the 12 MHz USB clock, detects the USB sync word and handles all low-level USB protocols and error checking.
The MMU is the digital back-end of the USB processor. It handles the temporary data storage of all USB packets that are received or sent over the bus. Three types of packets are defined on the USB. These are:
Token packets
Data packets
Handshake packets.
The token packet contains information about the destination of the data packet. The audio data is transferred via an isochronous data sink endpoint and consequently no handshaking mechanism is used. The MMU also generates a 1 kHz clock that is locked to the USB Start-Of-Frame (SOF) token.
T
HE AUDIO SAMPLE REDISTRIBUTION (ASR) MODULE
The ASR module reads the audio samples from the MMU and distributes these samples equidistant over a 1 ms frame period. The distributed audio samples are translated by the digital I/O module to standard I2S-bus format or Japanese digital I/O format. The ASR module generates the bit clock and the word select signal of the digital I/O. The digital I/O formats the received audio samples to one of the four specified serial digital audio formats (standard I2S-bus, 16, 18 or 20 bits LSB-justified).

The microcontroller

T
HE PHILIPS SERIAL INTERFACE ENGINE AND MEMORY
MANAGEMENT UNIT (PSIE AND MMU) The PSIE and MMU translate the electrical USB signals
into bytes and signals. Depending upon the USB device address and the USB endpoint address, the USB data is directed to the correct endpoint buffer on the PSIE and MMU interface. The data transfer could be of the bulk, isochronous, control or interrupt type. The USB device address is configured during the enumeration process. The UDA1331H has three endpoints. These are:
Control endpoint 0
Status interrupt endpoint
Isochronous data sink endpoint.
The amount of bytes per packet on the control endpoint is limited by the PSIE and MMU hardware to 8 bytes per packet.
1998 Oct 06 8
The microcontroller receives the control information selected from the USB by the USB processor. It handles the high-level USB protocols and the user interfaces.
The major task of the software process, that is mapped upon the microcontroller, is to control the different modules of the UDA1331H in such a way that it behaves as a USB device. Therefore the microcontroller:
Interprets the USB requests and maps them upon the UDA1331H application
Controls the internal operation of the UDA1331H and the digital I/O pins
Communicates with the external world (EEPROM) using
2
the I
C-bus facility and the general purpose I/O pins.
The firmware must be located in an external (E)PROM. The UDA1331H will be delivered with standard USB compliant firmware.
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)

The Asynchronous Digital-to-Analog Converter (ADAC)

The ADAC receives USB audio information from the USB processor or from the digital I/O-bus. The ADAC is able to reconstruct the sample clock from the rate at which the audio samples arrive and handles the audio sound processing. After processing, the audio signal is up-sampled, noise-shaped and converted to analog output voltages capable of driving a line output. The ADAC consists of:
A Sample Frequency Generator (SFG)
First-In First-Out (FIFO) registers
An audio feature processing DSP
Two digital up-sample filters
A variable hold register
A digital Noise Shaper (NS)
A Filter Stream DAC (FSDAC) with integrated filter and
line output drivers.
THE SAMPLE FREQUENCY GENERATOR (SFG) The SFG controls the timing signals for the asynchronous
digital-to-analog conversion. By means of a digital PLL, the SFG automatically recovers the applied sampling frequency and generates the accurate timing signals for the audio feature processing DSP and the up-sample filters.
IRST-IN FIRST-OUT (FIFO) REGISTERS
F The FIFO registers are used to store the audio samples
temporarily coming from the USB processor or from the digital I/O input. The use of a FIFO register (in conjunction with the SFG) is necessary to remove all jitter present on the incoming audio signal.
T
HE AUDIO FEATURE PROCESSING DSP
A DSP processes the sound features. The control and mapping of the sound features is explained in Section “Controlling the USB Audio Playback Peripheral (APP)”. Depending on the sampling rate (fs) the DSP has four frequency domains in which the treble and bass are regulated (see Table 1). The domain is chosen automatically.
T
HE UP-SAMPLE FILTERS AND VARIABLE HOLD REGISTER
After the audio feature processing DSP two up-sample filters and a variable hold register increase the oversampling rate to 128fs.
UDA1331H
Table 1 Frequency domains for audio processing
DOMAIN SAMPLE FREQUENCY (kHz)
1 5 to 12 212to25 325to40 440to55
HE NOISE SHAPER
T A 3rd-order noise shaper converts the oversampled data
to a noise-shaped bitstream for the FSDAC. The in-band quantization noise is shifted to frequencies well above the audio band.
T
HE FILTER STREAM DAC (FSDAC)
The FSDAC is a semi-digital reconstruction filter that converts the 1-bit data stream of the noise shaper to an analog output voltage. The filter coefficients are implemented as current sources and are summed at virtual ground of the output operational amplifier. In this way very high signal-to-noise performance and low clock jitter sensitivity is achieved. A post filter is not needed because of the inherent filter function of the DAC. On-board amplifiers convert the FSDAC output current to an output voltage signal capable of driving a line output.

USB Audio Playback Peripheral (APP) descriptors

In a typical USB environment the USB host has to know which kind of devices are connected. For this purpose each device contains a number of USB descriptors. These descriptors describe, from different points of view (USB configuration, USB interface and USB endpoint), the capabilities of a device. Each of them can be requested by the host. The collection of descriptors is denoted as a descriptor map. This descriptor map will be reported to the USB host during enumeration and on request.
The full descriptor map is implemented in the firmware exploiting the full functionality of the UDA1331H. The USB descriptors and their most important fields, in relationship to the characteristics of the UDA1331H are briefly explained below.
G
ENERAL DESCRIPTORS
The UDA1331H supports one configuration containing a control interface, an audio interface and a HID interface. The descriptor map that describes this configuration is partly fixed and partly programmable.
1998 Oct 06 9
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
handbook, full pagewidth
INPUT TERMINAL
IT
Fig.3 Audio function topology.
The programmable part can be retrieved from one of four configuration maps located in the (E)PROM or from an I2C-bus EEPROM. At start-up one of four configuration maps can be selected depending on the logical combination of GP3 and GP0. It is possible to overwrite this configuration map with a configuration map loaded from an I2C-bus EEPROM.
A
UDIO DEVICE CLASS SPECIFIC DESCRIPTORS
The audio device class is partly specified with standard descriptors and partly with specific audio device class descriptors. The standard descriptors specify the number and the type of the interface or endpoint. The UDA1331H supports 7 different audio modes:
8-bit Pulse Code Modulation (PCM) mono or stereo audio data
16-bit PCM mono or stereo audio data
24-bit PCM mono or stereo audio data
Zero bandwidth mode.
Each mode is defined as an alternate setting of the audio interface, selectable with the standard audio streaming interface descriptor bAlternateSetting field.
The seven alternate settings are described in more detail by the specific audio device class descriptors.
The UDA1331H supports the Input Terminal (IT), Output Terminal (OT) and the Feature Unit (FU) descriptors.
The input and output terminals are not controllable via the USB. The feature unit provides the basic manipulation of the incoming logical channels.
The supported sound features are:
Volume control
Mute control
Treble control
Bass control
Bass boost control.
FEATURE UNIT
FU
UDA1331H
OUTPUT TERMINAL
OT
MBK530
Table 2 Audio bandwidth at each audio mode
AUDIO MODE wMaxPacketSize
8-bit PCM; mono 56 ( 8-bit PCM; stereo 112 ( 16-bit PCM; mono 112 ( 16-bit PCM; stereo 224 ( 24-bit PCM; mono 168 ( 24-bit PCM; stereo 336 (
The maximum number of audio data samples within a USB packet arriving on the isochronous sink endpoint is restricted by the buffer capacity of this isochronous endpoint. The maximum buffer capacity is 336 bytes/ms.
For each alternate setting with audio, a maximum bandwidth is claimed as indicated in the standard isochronous audio data endpoint descriptor wMaxPacketSize field. To allow a small overshoot in the number of audio samples per packet, the top sample frequency of 55 kHz is taken in the calculation of the bandwidth for each alternate setting. For each alternate setting, with its own isochronous audio data endpoint descriptor, wMaxPacketSize field is then defined as described in Table 2.
Although in a specific UDA1331H application no endpoint control properties can be used upon the isochronous adaptive sink endpoint, the descriptors are still necessary to inform the host about the definition of this endpoint: isochronous, adaptive, sink, continuous sampling frequency (at input side of this endpoint) with lower bound of 5 kHz and upper bound of 55 kHz.
The audio class specific descriptors can be requested with the ‘Get descriptor: configuration request’, which returns all the descriptors, except the device descriptor.
8
⁄8× 1 × 56)
8
⁄8× 2 × 56)
16
⁄8× 1 × 56)
16
⁄8× 2 × 56)
24
⁄8× 1 × 56)
24
⁄8× 2 × 56)
1998 Oct 06 10
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio Playback Peripheral (APP)
HUMAN INTERFACE DEVICE SPECIFIC DESCRIPTORS The inputs defined on the UDA1331H are transmitted via
the USB to the host according to the HID class. The host responds with the appropriate settings via the audio device class for the audio related parts or via the HID class for the HID related inputs and outputs of the UDA1331H.
A HID descriptor is necessary to inform the host about the conception of the user interface. The host communicates via the HID device driver using either the control pipe or the interrupt pipe. The UDA1331H uses USB endpoint 0 (control pipe) to respond to the HID specific ‘Get/set report request’ to receive or transmit data from or to the UDA1331H. The UDA1331H uses the status interrupt endpoint as interrupt pipe for polling asynchronous data.
The UDA1331H is a high-speed device. The maximum transaction size is 64 bytes per USB frame and the polling rate is defined at a maximum of every 1 ms.
The host requests the configuration descriptor which includes the standard interface descriptor, the HID endpoint descriptor and the HID descriptor. The HID device driver of the host then requests the report descriptor.
Report descriptors are composed of pieces of information about the device. Each piece of information is called an item. All items have a 1-byte prefix that contains the item tag, type and size. In the UDA1331H only the short item basic type is used.
The hosts HID device driver will parse the report descriptor and the defined items. By examining all of these items, the HID class driver is able to determine the size and composition of data reports from the device.
The main items of the UDA1331H are input and output reports. Input reports are sent via the interrupt pipe (UDA1331H USB address 3). Input and output reports can be requested by the host via the control endpoint (USB address 0).
The UDA1331H supports a maximum of three pushbuttons, which represents a certain feature of the UDA1331H. If pressed by the user the pushbutton will go to its ‘ON’ state, if not pressed the pushbutton will go back to its ‘OFF’ state. The UDA1331H supports a maximum of two outputs for e.g. user LEDs.
UDA1331H

Controlling the USB Audio Playback Peripheral (APP)

This section describes the functionality of the feature unit of the UDA1331H. The mapping of this functionality onto USB descriptors is as implemented in the firmware.
The sound features as defined in the
Definition for Audio Devices”
UDA1331H specific feature registers by the microcontroller. These specific sound features are:
Volume control (separate for left and right stereo channels, no master channel)
Mute control (only master channel)
Treble control (only master channel)
Bass control (only master channel)
Dynamic bass boost control (only master channel).
These specific features can be activated via the host (audio device class requests) or via the GP pins (HID plus audio device class requests). Via the I2C-bus the user is able to download the necessary configuration data for different applications (definition of the function of the GP pins, with or without digital I/O functionality, etc.). The mapping and control of the standard USB audio features and UDA1331H specific features is described below.
V
OLUME CONTROL
Volume control is possible via the host or via predefined GP pins. The setting of 0 dB is always referenced to the maximum available volume setting. Table 3 gives the mapping of wVolume value (as defined in the
are mapped on the
Device Class Definition for Audio Devices”
actual volume setting of the USB APP. When using the UDA1331H, the range is 0 down to 60 dB (in steps of 1 dB) and −∞ dB. Independant control of ‘left’/’right’ volume is possible. It should be noted that wVolume bits B7 to B0 are not used. Values above 0 dB are returned as 0 dB. The volume value at start-up of the device is defined in the selected configuration map.
Balance control is possible via the separate volume control option of both channels. Therefore the characteristics of the balance control are equal to the volume control characteristics.
“USB Device Class
“USB
) upon the
For more information about the input and output functions of the UDA1331H see the application documentation of the device.
1998 Oct 06 11
Philips Semiconductors Preliminary specification
Universal Serial Bus (USB) Audio
UDA1331H
Playback Peripheral (APP)
Table 3 Volume control characteristics
wVOLUME
B15 B14 B13 B12 B11 B10 B9 B8
00000000 0 0 11111111 1 1 11111110 2 2 11111101 3 3 11111100 4 4 11111011 5 5 11111010 6 6 11111001 7 7 11111000 8 8 11110111 9 9 11110110 10 10
... ... ... ... ... ... ... ... ... ...
11000101 59 59 11000100 60 60 11000011 61 −∞ 11000010 62 −∞
... ... ... ... ... ... ... ... ... ...
10000000 −∞ −∞
VOLUME USB SIDE
(dB)
VOLUME USB APP
(dB)
MUTE CONTROL Mute is one of the sound features as defined in the
Device Class Definition for Audio Devices”
control request data bMute controls the position of the mute switch. The position can be either on or off. When bMute is true the feature unit is muted. When bMute is false the feature unit is not muted.
When the mute is active for the master channel, the value of the sample is decreased smoothly to zero following a raised cosine curve. There are 32 coefficients used to step down the value of the data, each one being used 32 times before stepping to the next.
. The mute
“USB
This amounts to a mute transition of 23 ms at
= 44.1 kHz. When the mute is released, the samples are
f
s
returned to the full level again following a raised cosine curve with the same coefficients being used in reversed order. The mute, on the master channel is synchronized to the sample clock, so that operation always takes place on complete samples.
A mute can be given via the host or by pressing a predefined GP pin.
1998 Oct 06 12
Loading...
+ 28 hidden pages