Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
Preliminary specification
File under Integrated Circuits, IC01
1997 Jun 18
Page 2
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
FEATURES
General
• Complete stereo USB-DAC system with integrated
filtering and line output drivers
• Supports USB-compliant audio multimedia devices over
an industry standard USB-compatible 4-wire cable
• Supports 12 Mbits/s ‘full speed’ serial data transmission
• Fully automatic ‘Plug-and-Play’ operation
• Supports multiple audio data formats
• 3.3 V power supply
• Low power consumption
• Efficient power management mode
• On-chip master clock oscillator, only an external crystal
is required
• High linearity
• Wide dynamic range
• Superior signal-to-noise ratio
• Low total harmonic distortion
• Easy application and inexpensive to implement
• Partly programmable USB descriptors via EEROM
• 28 lead Small Outline package (SO28) or
32 Shrink Dual Inline package (SDIP32).
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 I2S or Japanese digital I/O-format
• Selectable clipping prevention
• Selectable Dynamic Bass Boost (DBB)
• On-chip digital de-emphasis.
Document references
•
“USB Specification”
•
“USB Device Class Definition for Audio Devices”
release 0.9
•
“Device Class Definition for Human Interface Devices
(HID)”
, release 1.0 draft 4
•
“USB HID Usage Table”,
, release 1.0
,
release 0.7f.
UDA1321
GENERAL DESCRIPTION
The UDA1321 is a stereo CMOS digital-to-analog
bitstream converter designed for USB-compliant audio
devices and multimedia audio applications. The UDA1321
is an adaptive asynchronous sink USB audio device with a
continuous sampling frequency range from 5 to 55 kHz. It
contains a USB-interface, an embedded micro controller
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 incoming and
outgoing data from the analog front-end and handles all
low level USB protocols. The USB-processor selects the
relevant data from the bus, performs an extensive error
detection and separates control information (in- and
out-going) and audio information (in-going only). The
control information is made accessible to 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 takes care of
the user interface, through general purpose pins, and an
2
I
C port.
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. Furthermore the ADAC performs the sound
processing. The ADAC consists of a FIFO, an unique
audio feature processing DSP, the SFG, digital upsample
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.
Via the digital I/O-bus an external DSP can be used for
adding extra sound processing features.
The UDA1321 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.
1997 Jun 182
Page 3
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
The wide dynamic range of the bitstream conversion
technique used in the UDA1321 guarantees a high audio
sound quality.
QUICK REFERENCE DATA
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
Power supplies
V
DD
I
DD
I
DD(ps)
supply voltagenote 13.03.33.6V
supply current−50mA
supply current (power-saving mode)−18−mA
Dynamic performance DAC
(THD + N)/Stotal harmonic distortion plus
noise-to-signal ratio
S/Nsignal-to-noise ratio at bipolar zeroA-weighted at
V
FS(o)(rms)
full-scale output voltage (RMS value)VDD= 3.3 V−0.66−V
1. All VDD and VSS pins must be connected to the same supply or ground respectively.
ORDERING INFORMATION
TYPE
NUMBER
NAMEDESCRIPTIONVERSION
PACKAGE
UDA1321TSO28plastic small outline package; 28 leads; body width 7.5 mmSOT136-1
UDA1321SDIP32plastic shrink dual in-line package; 32 leads (400 mil)SOT232-1
1997 Jun 183
Page 4
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
BLOCK DIAGRAM
handbook, full pagewidth
22
TC
23
RTCB
SHTCB
GP4/BCKO
GP3/WSO
GP2/DO
GP1/DI
GP0/BCKI
GP5/WSI
4
3
2
1
28
24
25
TCB
D+
D−
65
ANALOG FRONT END
USB-PROCESSOR
DIGITAL I/O
MICRO-
CONTROLLER
UDA1321
GP6/SCL
26
27
GP7/SDA
V
SSX
XTAL1
XTAL2
V
DDX
VOUTL
FREQUENCY
GENERATOR
11
12
13
14
21
SAMPLE
OSC
TIMING
FIFO
fs_in
AUDIO FEATURE
PROCESSING DSP
fs_in
UPSAMPLE FILTERS
64fs_in
VARIABLE HOLD REGISTER
128fs
3th ORDER
NOISE SHAPER
LEFT
DAC
REFERENCE
VOLTAGE
RIGHT
DAC
UDA1321T
10
20
19
17
16
18
9
8
7
V
DDE
V
SSE
V
SSI
V
DDI
V
DDO
V
SSO
V
DDA
V
SSA
VOUTR
15
V
Fig.1 Block diagram SO28 pinning.
1997 Jun 184
ref
MGG999
Page 5
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
PINNING
SYMBOL
PIN
SDIP32
GP2/DO11I/Ogeneral purpose pin/data output pin for extra DSP chip (digital)
GP3/WSO22I/Ogeneral purpose pin/master word select output pin for extra DSP chip (digital)
GP4/BCKO33I/Ogeneral purpose pin/master bit clock output pin for extra DSP chip (digital)
SHTCB44Ishift clock TCB (active HIGH; digital)
5−n.c.
D−65I/Onegative data line of the differential data bus conforming to the USB-standard
D+76I/Opositive data line of the differential data bus conforming to the USB-standard
V
V
V
V
DDI
SSI
SSE
DDE
87−digital supply digital core
98−digital ground core
109−digital ground I/O pads
1110−digital supply I/O pads
12−n.c.
V
SSX
1311−crystal oscillator ground
XTAL11412Icrystal connection (analog)
XTAL21513Ocrystal connection (analog)
V
DDX
1614−supply crystal oscillator
17−n.c.
V
V
V
ref
SSA
DDA
1815IV
1916−analog ground
2017−analog supply
VOUTR2118Ovoltage output pin right channel (analog)
V
V
28−n.c.
GP5/WSI2925I/Ogeneral purpose pin (digital)
GP6/SCL3026I/Ogeneral purpose pin/clock line I
GP7/SDA3127I/Ogeneral purpose pin/data line I
GP1/DI3228I/Ogeneral purpose pin/data input pin from extra DSP chip (digital)
PIN
SO28
I/ODESCRIPTION
(analog)
(analog)
output pin (analog)
ref
2
C-bus (digital)
2
C-bus (digital)
1997 Jun 185
Page 6
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
handbook, halfpage
GP2/DO
GP3/WSO
GP4/BCKO
SHTCB
D−
D+
V
DDI
V
SSI
V
SSE
V
DDE
V
SSX
XTAL1
XTAL2
V
DDX
1
2
3
4
5
6
7
UDA1321T
8
9
10
11
12
13
MGG998
28
27
26
25
24
23
22
21
20
19
18
17
16
1514
GP1/DI
GP7/SDA
GP6/SCL
GP5/WSI
GP0/BCKI
RTCB
TC
VOUTL
V
DDO
V
SSO
VOUTR
V
DDA
V
SSA
V
ref
handbook, halfpage
GP3/WSOGP7/SDA
GP4/BCKOGP6/SCL
UDA1321
GP2/DOGP1/DI
SHTCBGP5/WSI
1
2
3
4
n.c.
5
D−GP0/BCKI
6
D+RTCB
7
V
8
DDI
V
SSI
V
SSE
V
DDE
n.c.
V
SSX
XTAL1
XTAL2
V
DDX
9
10
11
12
13
14
15
16
UDA1321
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
MBK135
n.c.
TC
VOUTL
V
DDO
V
SSO
VOUTR
V
DDA
V
SSA
V
ref
n.c.
Fig.2 Pin configuration SO28.
1997 Jun 186
Fig.3 Pin configuration SDIP32.
Page 7
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
FUNCTIONAL DESCRIPTION
The Universal Serial Bus (USB)
Data and power is transferred via the USB over a 4-wire
cable.
The signalling occurs over 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 VDD 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 analog front-end can be switched in power saving
mode.
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.
The Philips Serial Interface Engine and Memory
Management Unit (PSIE_MMU)
The PSIE_MMU translates the electrical USB signals into
bytes and signals. Depending upon the device USB
address and the USB endpoint address, the USB data is
directed to the correct endpoint buffer on the PSIE_MMU
interface. The data transfer could be of bulk, isochronous,
control or interrupt type. The device USB address is
configured during the enumeration process. The UDA1321
has three endpoints. These are:
• Control Endpoint 0
• Status Interrupt Endpoint
• Isochronous Data Sink Endpoint
UDA1321
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. On the USB, three
types of packets are defined. 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 as
a consequence no handshaking mechanism is used. The
MMU also generates a 1 kHz clock that is locked to the
USB Start-Of-Frame (SOF) token.
The Audio Sample Redistributor (ASR)
The ASR 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 I
The ASR 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 (I2S, 16, 18 or 20 bits LSB-justified).
The microcontroller
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 UDA1321 in such a way that it behaves as a USB
device.
Therefore the microcontroller:
• interprets the USB requests and maps them upon the
UDA1321 application
• controls the internal operation of the UDA1321, the
digital I/O-pins and the GP I/O-pins
• communicates with the external world (EEROM) using
2
I
C-bus facility and the GP I/O-pins.
2
S or Japanese digital I/O-format.
The amount of bytes/packet on the control endpoint is
limited by the PSIE_MMU hardware to 8 bytes/packet.
The PSIE is the digital front-end of the USB-processor.
This module recovers the 12 MHz USB-clock, detects the
1997 Jun 187
Page 8
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
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 takes care of the audio
sound processing. After the processing, the audio signal is
upsampled, noise-shaped and converted to analog output
voltages capable of driving a line output. The ADAC
consists of:
• A Sample Frequency Generator (SFG)
• FIFO registers
• An audio feature processing DSP
• Two digital upsample filters and a variable hold register
• A digital Noise Shaper (NS)
• A Filter Stream DAC (FSDAC) with integrated filter and
line output drivers.
UDA1321
Table 1 Frequency domains for audio processing
DOMAINSAMPLE FREQUENCY
15..12 kHz
212..25 kHz
325..40 kHz
440.. 55 kHz
The upsample filters and variable hold function
After the audio feature processing DSP two upsample
filters and a variable hold function increase the
oversampling rate to 128f
The noise shaper
A third 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.
.
s
The Sample Frequency Generator (SFG)
The SFG controls the timing signals for the asynchronous
D/A 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 upsample filters.
First In First Out (FIFO) registers
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 (in conjunction with the
SFG) is necessary to remove all jitter present on the
incoming audio signal.
The 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-DAC”.
Depending on the sampling rate f
frequency domains in which the treble and bass are
regulated. The domain is chosen automatically.
the DSP knows four
s
The 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 postfilter 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-DAC descriptors
In a typical USB environment the PC has to know which
kind of devices are connected to its USB-bus. 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.
The USB descriptors and their most important fields, in
relationship to the characteristics of the UDA1321 are
shortly explained below.
1997 Jun 188
Page 9
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
GENERAL DESCRIPTORS
The UDA1321 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.
The programmable part can be retrieved from one out of
four internal configuration maps or from an I2C EEROM. At
start-up time one out of four internal 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 EEROM.
The descriptors of the descriptor map as mentioned above
are described in Tables 2 and 3. The programmable
descriptors are marked with a star. The given values are
examples used in Philips applications.
Table 2 Standard Device Descriptor and Configurations.
A
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 UDA1321
supports 7 different audio modes:
• 8-bit 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; see Table 4.
Within the audio interface, an isochronous sink endpoint is
defined.
Table 4 Standard Audio Control Interface Descriptor.
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
The seven alternate settings are described in more detail
by the Specific Audio Device Class Descriptors. For
example, support of different sound features, such as
Volume, Treble, Bass, Mute etc.
The UDA1321 supports the Input Terminal, Output
Terminal and the Feature Unit Descriptors.
The Input and Output Terminals are not controllable via
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 and Bass Boost control.
The maximum number of audio data samples within an
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 9.
VALUE
HEX
VALUE
HEX
1997 Jun 1810
Page 11
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
Although in this specific UDA1321 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. These characteristics
are defined in Table 13.
Table 13 Class Specific Audio Streaming Interface
Format Type I Descriptor Continuous Sampling
Frequency for alternate setting 1 to 6.
DESCRIPTOR
bLength0E
bDescriptortype24
bDescriptorSubtype02
bFormatType01
bNrChannelsdepends on audio mode
bSubframeSizedepends on audio mode
bBitResolutiondepends on audio mode
bSamFreqType00
tLowerSamFreq7E 13 00
tUpperSamFreqE2 D6 00
Notice the tLowerSamFreq and tUpperSamFreq fields
are defined in little Endian order (LSB first).
The Audio Class Specific Descriptors can be requested
with the ‘Get Descriptor: Configuration request’, which
returns all the descriptors, except the Device Descriptor.
VALUE
HEX
VALUE
HEX
1997 Jun 1811
Page 12
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
Table 14 bNrChannels, bSubframeSize and
bBitResolution Descriptor fields for audio
mode 8 bit-PCM mono.
DESCRIPTOR
bNrChannels01
bSubframeSize01
bBitResolution08
Table 15 bNrChannels, bSubframeSize and
bBitResolution Descriptor fields for audio
mode 8 bit-PCM stereo.
DESCRIPTOR
bNrChannels02
bSubframeSize01
bBitResolution08
Table 16 bNrChannels, bSubframeSize and
bBitResolution Descriptor fields for audio
mode 16 bit-PCM mono.
DESCRIPTOR
bNrChannels01
bSubframeSize02
bBitResolution10
Table 17 bNrChannels, bSubframeSize and
bBitResolution Descriptor fields for audio
mode 16 bit-PCM stereo.
DESCRIPTOR
bNrChannels02
bSubframeSize02
bBitResolution10
VALUE
HEX
VALUE
HEX
VALUE
HEX
VALUE
HEX
UDA1321
Table 19 bNrChannels, bSubframeSize and
bBitResolution Descriptor fields for audio
mode 24 bit-PCM stereo.
DESCRIPTOR
bNrChannels02
bSubframeSize03
bBitResolution14
Table 20 Standard Isochronous Audio Data Endpoint
Descriptor included for alternate setting 1 to 6.
DESCRIPTOR
bLength09
bDescriptortype05
bEndpointAddress04
bmAttributes09
wMaxPacketSizedepends on audio mode;
see Table 9
bInterval01
bRefresh00
bSynchAddress00
Table 21 Class Specific Isochronous Audio Data
Endpoint Descriptor included for alternate
setting 1 to 6.
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
HUMAN INTERFACE DEVICE SPECIFIC DESCRIPTORS
The inputs defined on the UDA1321 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 in- and outputs of the UDA1321.
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 UDA1321 is using USB endpoint 0
(control pipe) to respond to the HID specific ‘Get/Set
Report request’ to receive/transmit data from/to the
UDA1321. The UDA1321 is using USB endpoint 3 as
interrupt pipe for polling asynchronous data.
The UDA1321 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 one millisecond.
The host requests the configuration Descriptor which
includes the Standard Interface Descriptor, the HID
Endpoint Descriptor and the HID Descriptor. Then the HID
Device driver of the host 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 one-byte prefix that contains the item
tag, type and size. In the UDA1321 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 UDA1321 are input and output
reports. Input reports are sent via the interrupt pipe
(UDA1321 USB address 3). Input and output reports can
be requested by the host via the control endpoint (USB
address 0).
In Tables 22 to24 some of the Standard Interface
Descriptor fields and HID Descriptors are defined.
The UDA1321 supports a maximum of three pushbuttons,
which are representing a certain feature of the UDA1321.
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 UDA1321 only supports a maximum of two outputs for
e.g. user LEDs.
For more information about the input and output functions
of the UDA1321 see the application documentation of the
device.
V ALUE
HEX
V ALUE
HEX
1997 Jun 1813
Page 14
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
Controlling the USB-DAC
The sound features as defined in the
Definition for Audio Devices”
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 I/O-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 UDA1321 specific features is described below.
are mapped on the UDA1321
“USB Device Class
UDA1321
Volume control
Volume control is possible via the host or via predefined
GP I/O-pins. The setting of 0 dB is always referenced to
the maximum available volume setting. Table 25 gives the
mapping of wVolume value (as defined in the
Device Class Definition for Audio Devices”
actual Volume setting of the USB-DAC. In case of using
the UDA1321, the range is 0 dB downto -60 dB in steps of
1 dB and -∞ dB. Undependable control of ‘left’/’right’
Volume is possible. Notice wVolume
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.
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
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. This amounts to a mute
transition of 23 ms at fs= 44.1 kHz. When the mute is
released, the samples are 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.
. The mute
“USB
UDA1321
A mute can be given via the host or by pressing a
predefined GP pin.
Treble control
The Treble control is available for the master channel of
the UDA1321. Treble can be regulated in three modes:
minimum, flat and maximum mode. The preferred mode is
selected at start-up of the device (configuration map). The
corner frequency is 3000 Hz for the minimum mode and
1500 Hz for the maximum mode. The treble range is from
0 dB up to 6 dB in steps of 2 dB. Notice that the negative
treble values as defined in the
Definition for Audio Devices”
UDA1321; the 0 dB value is returned as 0 dB. Table 26
gives the mapping of the bTreble value upon the actual
Treble setting of the USB-DAC.
The Bass control is available for the master channel of the
UDA1321. Bass can be regulated in three modes:
minimum, flat and maximum mode. The preferred mode is
selected at start-up of the device (configuration map). The
Bass range is from 0 dB up to 18 dB (minimum mode) or
24 dB (maximum mode) in steps of 2 dB. Notice that the
Table 27 Bass control characteristics.
TREBLE
USB SIDE
...dB
...dB
negative Bass values as defined in the
Definition for Audio Devices”
UDA1321; the 0 dB value is returned as 0 dB. The corner
frequency is 500 Hz for the minimum mode and 300 Hz for
the maximum mode. Table 27 gives the mapping of the
bBass value upon the actual Bass setting of the
USB-DAC.
TREBLE
USB-DAC
“USB Device Class
are not supported by the
UNIT
bBASS
B7B6B5B4B3B2B1B0minimumflatmaximum
000000000.00000dB
000000010.25dB
000000100.50dB
000000110.75dB
000001001.00dB
000001011.25202dB
000001101.50dB
000001111.75dB
000010002.00dB
000010012.25dB
000010102.50dB
000010112.75dB
000011003.00dB
000011013.25404dB
000101015.25606dB
000111017.25808dB
001001019.2510010dB
BASS
USB SIDE
...dB
...dB
...dB
...dB
BASS
USB-DAC
UNIT
1997 Jun 1816
Page 17
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
bBASS
B7B6B5B4B3B2B1B0minimumflatmaximum
0010110111.2512012dB
0011010113.2514014dB
0011110115.2516016dB
0100010117.2518018dB
0100110119.2518020dB
0011101121.2518022dB
0101010123.2518024dB
0110010125.2518024dB
0110110127.2518024dB
0111010129.2518024dB
0111110131.2518024dB
0111111131.7518024dB
BASS
USB SIDE
...dB
...dB
...dB
...dB
...dB
...dB
...dB
...dB
...dB
...dB
...dB
BASS
USB-DAC
UNIT
Dynamic Bass Boost control
Bass Boost is one of the sound features as defined in the
Boost control request data bBassBoost controls the position of the Bass Boost switch. The position can be either on or
off. When bBassBoost is true the Bass Boost is activated. When bBassBoost is false the Bass Boost is off.
When clipping prevention is active, the Bass is reduced to avoid clipping with high volume settings. Bass Boost is
selectable via the configuration map.
Clipping prevention
If the maximum of the Bass plus Volume gives clipping, the Bass is reduced. Clipping prevention is selectable via the
configuration map.
1997 Jun 1817
“USB Device Class Definition for Audio Devices”
. The Bass
Page 18
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
De-emphasis
De-emphasis is one of the properties which is not
supported by the USB. De-emphasis for 44.1 kHz can be
predefined in the configuration map selected at start-up of
the UDA1321.
Start-up and configuration of the UDA1321
START-UP OF THE UDA1321
After power-on, an internal power-on reset signal becomes
HIGH after a certain RC-time (R = 5000 Ω, C = C
During 10 ms after power-on reset the UDA1321 has to
initiate the internal settings. 120 ms after the power-on
reset the UDA1321 becomes master of the I2C-bus. The
UDA1321 tries to read the eventually connected EEROM
and if an EEROM is detected, the internal descriptors are
3V33V3
T3
1k5
USB-B connector
5
1
2
3
4
6
10nF
Vbus
22pF22pF4.7uF
).
ref
3V3
22k
22k
22
22
UDA1321
overwritten and the selected port configuration is applied.
If no EEROM is detected, the UDA1321 tries to read the
logical levels of GP3 and GP0.Via these two GP-pins a
choice can be made out of four internal configuration
maps.
CONFIGURATION SELECTION OF THE UDA1321 VIA A DIODE
MATRIX
The UDA1321 uses a configuration map to hold a number
of specific configurable data on Hardware-, Product-,
Component- and USB configuration level. At startup
without EEROM, the UDA1321 will scan the logical levels
of GP3 and GP0. With these two GP-pins it is possible to
select one out of the four possible (vendor specific)
configuration maps which are hold in the internal ROM
space of the UDA1321 This selection can be done via a
diode matrix (see Fig.4).
3V3
22k
KEY 1
T1
SW1
22k
KEY 2
T2
GP0
GP3
Vbus
1
SW2
1
D2
2
22k
22k
D1
2
22k
GP5
D-
D+
Fig.4 Diode matrix selection.
After choosing an internal configuration map the user
cannot change the choosen settings for the GP-pins,
internal configuration, descriptors etc. The internal
congiguration map can be overwritten by connecting an
I2C EEROM at start-up.
For more information about the internal (vendor specific)
configuration maps see the application documentation.
ONFIGURATION OPTIONS OF THE UDA1321 VIA AN I
C
2
C
EEROM
If an EEROM is detected (reading byte 0 as AA and byte 1
as 55) the UDA1321 will use the configuration map in the
1997 Jun 1818
EEROM instead of one out of four internal configuration
maps. The layout of the configuration map is fixed, the
values (except bytes 0 and 1) are user definable see
Table 28. If the user wants to change e.g. the
manufacturer name this can be done via the EEROM
code.
The communication between the UDA1321 and the
2
external I
protocol given in the Philips specification
how to use it (including specifications)”
C device is based on the standard I2C-bus
“The I2C-bus and
, which can be
ordered using the code 9398 393 40011. The I2C bus has
two lines; a clock line SCL and a serial data line SDA (see
Fig.5).
Page 19
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
Table 28 Control options for the UDA1321 via EEROM Configuration map.
BYTE
HEX
0recognition pattern
1recognition pattern
2ASR control registerASR register start-up mode00 = stop
FGP4 usage Tag if HID selected
10Rise Time power Amplifier,
AFFECTSCOMMENTSBITVALUE
01 = 8-bit LSB
10 = 16-bit LSB
11 = 20-bit LSB
digital PLL mode2 and 300 = adaptive
01 = fixed state 1
10 = fixed state 2
11 = fixed state 3
digital PLL lock mode40 = adaptive
1 = fixed
digital PLL lock speed5 and 600 = lock after 512 samples
01 = lock after 2048 samples
10 = lock after 4096 samples
11 = lock after 16348 samples
Selection ADAC mode register71 (HEX)
GP11
GP22
GP33
GP44
4/6 pins IIS5Only if IIS is used;
IIS60 = no IIS used
Clipping70 = no clipping
if HID selected
if HID selected
if HID selected
if HID selected
if HID selected
steps of 20 msec
1 = Function 2
0 = 4 pins IIS
1 = 6 pins IIS
1 = IIS used
1 = clipping function active
UDA1321
1997 Jun 1820
Page 21
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
BYTE
HEX
11Time between Mute and Play,
12Time between Mute and
13DBB value
14Absolute default volume value
15idVendor High Byte
16idVendor Low Byte
17idProduct High Byte
18idProduct Low Byte
19bmAttributes
1AMaxPower
1Bpointer language string20
1Cpointer manufacturer string30
1Dpointer product string40
1Epointer serial Number50
1F
20->Language string
30->Manufacturer string
40->Product string
50->Serial Number
AFFECTSCOMMENTSBITVALUE
steps of 1 sec
Standby, steps of 5 sec
0= no DBB active
steps of 1dB with max. 255 dB
steps of 2 mA with max. 500 mA
1..FF = DBB active
UDA1321
1997 Jun 1821
Page 22
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
SP
t
HD;STA
t
P
SU;STO
t
Sr
UDA1321
MBC611
f
t
r
t
LOW
t
BUF
t
SU;STA
t
SU;DAT
t
HIGH
t
HD;DAT
t
HD;STA
t
S
C-bus.
2
Fig.5 Definition of timing of the I
SDA
SCL
1997 Jun 1822
P
Page 23
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
The general purpose I/O-pins (GP0 to GP7)
The UDA1321 has 8 General Purpose (GP) I/O-pins.
Six of these can be used either for digital I/O functionality or for general purposes; these are pins GP0, GP1, GP2, GP3,
GP4 and GP5. Two of the 8 GP I/O-pins can be used for I2C-bus communication with an external IC; these are pins GP6
and GP7.
There are basically three port configurations:
• No digital I/O communication
• 4-pin digital I/O communication
• 6-pin digital I/O communication.
These port configurations can be chosen via the configuration map at start-up of the UDA1321.
The user can make a choice between two functions for ports GP0 to GP4 (see I/O selection register; Table 28), except
if digital I/O communication is selected (see Tables 29, 30 and 31).
2. connect/disconnect: holds the USB ‘disconnected’ as long as the initialization is not finished.
3. Alarm mute: input to switch the sound off; specially used if the USB-host program does not respond to the control.
This button acts directly on the sound and passes the mute to the USB-host.
4. Standby: switched on if the mute is active for 2 minutes programmable time.
5. Mute: is switched on if the isochronous data flow is interrupted.
The overall filter characteristic of the UDA1321 in flat mode is given in the figure below. The overall filter characteristic
of the UDA1321 includes the filter characteristics of the DSP in flat mode plus the filter characteristic of the FSDAC.
Volume (dB)
Fig.6 Overall filter characteristics of the UDA1321.
f (Hz)
1997 Jun 1825
Page 26
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
DSP extension port
Via the digital I/O-bus an external DSP can be used for adding extra sound processing features. The UDA1321 supports
the standard I2S data protocol and the LSB justified serial data input format with word lengths of 16, 18 and 20 bits. Using
the 4-pin digital I/O-bus the UDA1321 device acts as a master, controlling the BCK and WS signals. The period of the
WS signal is determined by the number of samples in the 1 ms frame of the USB. This implies that the WS signal has
not a constant period time, but is jittery. Using the 6-pin digital I/O-pins GP2, GP3 and GP4 are output pins (master) and
GP0, GP1 and GP5 are input pins (slave).
For characteristic timing of the I2S-bus input interface see Figs 7 and 8.
handbook, full pagewidth
WS
t
r
t
BCK(H)
RIGHT
t
f
t
BCK(L)
t
h;WS
t
s;WS
LEFT
BCK
DATA
T
cy
LSBMSB
t
s;DAT
t
h;DAT
MGK003
Fig.7 Timing and digital I/O-input signals.
1997 Jun 1826
Page 27
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
215161
MSBLSBB2B15
RIGHT
RIGHT
UDA1321
2151617181
LSB
21516171819201
B17
RIGHT
MSB B2B3B4
LSB
B19
MSB B2B3B4B5B6
MGK002
ok, full pagewidth
RIGHT
LEFT
S-BUS
2
2
INPUT FORMAT I
321321
15161
>=8>=8
LEFT
MSB B2MSBLSBLSB MSBB2
B15
LSB-JUSTIFIED FORMAT 16 BITS
MSBLSBB2
2151617181
LEFT
LSB
B17
LSB-JUSTIFIED FORMAT 18 BITS
MSB B2B3B4
21516171819201
LEFT
LSB
B19
LSB-JUSTIFIED FORMAT 20 BITS
MSB B2B3B4B5B6
Fig.8 Input formats.
WS
BCK
DATA
WS
BCK
DATA
1997 Jun 1827
WS
BCK
DATA
WS
BCK
DATA
Page 28
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 134).
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
All digital I/Os
V
I/O
I
O
DC input/output voltage range for I/Os−0.5−V
input/output current−−4mA
digital supply voltage (I/O)3.03.33.6V
digital supply voltage core3.03.33.6V
analog supply voltage3.03.33.6V
operational amplifier supply voltage3.03.33.6V
crystal oscillator supply voltage3.03.33.6V
digital supply current periphery−3−mA
digital supply current core−36−mA
analog supply current−4.2−mA
operational amplifier supply current−4.0−mA
crystal oscillator supply current−2.1−mA
total power dissipation−165-mW
total power dissipation in power saving mode−60-mW
static DC input voltage−0.5−V
static DC output voltage0.0−V
DDE
DDE
LOW level input voltage−−0.3V
HIGH level input voltage0.7V
DDI
−V
DDI
DDI
+ 0.5V
V
V
V
input capacitance−−tbfpF
reference voltage-0.5V
common mode output voltage-0.5V
-V
DDA
-V
DDA
output resistance at pins VOUTL and VOUTR−0.140.16Ω
output load resistance2.0−− kΩ
output load capacitance−−50pF
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
mm
OUTLINE
VERSION
SOT232-1
max.
4.70.513.8
12
min.
max.
IEC JEDEC EIAJ
1.3
0.8
b
1
0.53
0.40
REFERENCES
cEeM
0.32
0.23
(1)(1)
D
29.4
28.5
9.1
8.7
E
16
(1)
Z
L
3.2
2.8
EUROPEAN
PROJECTION
M
10.7
10.2
E
12.2
10.5
e
1
w
H
0.181.77810.16
ISSUE DATE
92-11-17
95-02-04
max.
1.6
1997 Jun 1834
Page 35
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
SOLDERING
Introduction
There is no soldering method that is ideal for all IC
packages. Wave soldering is often preferred when
through-hole and surface mounted components are mixed
on one printed-circuit board. However, wave soldering is
not always suitable for surface mounted ICs, or for
printed-circuits with high population densities. In these
situations reflow soldering is often used.
This text gives a very brief insight to a complex technology.
A more in-depth account of soldering ICs can be found in
“IC Package Databook”
our
SDIP
SOLDERING BY DIPPING OR BY WA VE
The maximum permissible temperature of the solder is
260 °C; solder at this temperature must not be in contact
with the joint for more than 5 seconds. The total contact
time of successive solder waves must not exceed
5 seconds.
The device may be mounted up to the seating plane, but
the temperature of the plastic body must not exceed the
specified maximum storage temperature (T
printed-circuit board has been pre-heated, forced cooling
may be necessary immediately after soldering to keep the
temperature within the permissible limit.
R
EPAIRING SOLDERED JOINTS
Apply a low voltage soldering iron (less than 24 V) to the
lead(s) of the package, below the seating plane or not
more than 2 mm above it. If the temperature of the
soldering iron bit is less than 300 °C it may remain in
contact for up to 10 seconds. If the bit temperature is
between 300 and 400 °C, contact may be up to 5 seconds.
SO
REFLOW SOLDERING
Reflow soldering techniques are suitable for all SO
packages.
(order code 9398 652 90011).
). If the
stg max
UDA1321
Several techniques exist for reflowing; for example,
thermal conduction by heated belt. Dwell times vary
between 50 and 300 seconds depending on heating
method. Typical reflow temperatures range from
215 to 250 °C.
Preheating is necessary to dry the paste and evaporate
the binding agent. Preheating duration: 45 minutes at
45 °C.
AVE SOLDERING
W
Wave soldering techniques can be used for all SO
packages if the following conditions are observed:
• A double-wave (a turbulent wave with high upward
pressure followed by a smooth laminar wave) soldering
technique should be used.
• The longitudinal axis of the package footprint must be
parallel to the solder flow.
• The package footprint must incorporate solder thieves at
the downstream end.
During placement and before soldering, the package must
be fixed with a droplet of adhesive. The adhesive can be
applied by screen printing, pin transfer or syringe
dispensing. The package can be soldered after the
adhesive is cured.
Maximum permissible solder temperature is 260 °C, and
maximum duration of package immersion in solder is
10 seconds, if cooled to less than 150 °C within
6 seconds. Typical dwell time is 4 seconds at 250 °C.
A mildly-activated flux will eliminate the need for removal
of corrosive residues in most applications.
EPAIRING SOLDERED JOINTS
R
Fix the component by first soldering two diagonally-
opposite end leads. Use only a low voltage soldering iron
(less than 24 V) applied to the flat part of the lead. Contact
time must be limited to 10 seconds at up to 300 °C. When
using a dedicated tool, all other leads can be soldered in
one operation within 2 to 5 seconds between
270 and 320 °C.
Reflow soldering requires solder paste (a suspension of
fine solder particles, flux and binding agent) to be applied
to the printed-circuit board by screen printing, stencilling or
pressure-syringe dispensing before package placement.
1997 Jun 1835
Page 36
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
UDA1321
Digital-to-Analog Converter (DAC)
DEFINITIONS
Data sheet status
Objective specificationThis data sheet contains target or goal specifications for product development.
Preliminary specificationThis data sheet contains preliminary data; supplementary data may be published later.
Product specificationThis data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or
more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation
of the device at these or at any other conditions above those given in the Characteristics sections of the specification
is not implied. Exposure to limiting values for extended periods may affect device reliability.
Application information
Where application information is given, it is advisory and does not form part of the specification.
LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these
products can reasonably be expected to result in personal injury. Philips customers using or selling these products for
use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such
improper use or sale.
PURCHASE OF PHILIPS I
Purchase of Philips I
components in the I2C system provided the system conforms to the I2C specification defined by
Philips. This specification can be ordered using the code 9398 393 40011.
2
C COMPONENTS
2
C components conveys a license under the Philips’ I2C patent to use the
1997 Jun 1836
Page 37
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
UDA1321
NOTES
1997 Jun 1837
Page 38
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
UDA1321
NOTES
1997 Jun 1838
Page 39
Philips SemiconductorsPreliminary specification
Universal Serial Bus (USB)
Digital-to-Analog Converter (DAC)
UDA1321
NOTES
1997 Jun 1839
Page 40
Philips Semiconductors – a worldwide company
Argentina: see South America
Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409,
Tel. +1 800 234 7381
Uruguay: see South America
Vietnam: see Singapore
Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Tel. +381 11 625 344, Fax.+381 11 635 777
For all other countries apply to: Philips Semiconductors, Marketing & Sales Communications,
Building BE-p, P.O. Box 218, 5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
Internet: http://www.semiconductors.philips.com
Printed in The Netherlands547027/00/01/pp40 Date of release: 1997 Jun 18Document order number: 9397 750 01441
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.