
DATA SHEET
UDA1325 Universal Serial Bus (USB) CODEC
Preliminary specification File under Integrated Circuits, IC01


All I2S inputs and I2S outputs support standard I2S-bus format and the LSB justified serial data format with word lengths of 16, 18 and 20 bits.
Via the digital I/O module with its I2S input and output, an external DSP can be used for adding extra sound processing features for the audio playback channel.
The microcontroller is responsible for handling the high-level USB protocols, translating the incoming control requests and managing the user interface via general purpose pins and an I2C-bus.
The ADAC enables the wide and continuous range of playback 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 playback sound processing. The ADAC consists of a FIFO, an unique audio feature processing DSP, the SFG, digital filters, a variable hold register, a Noise Shaper (NS) and a Filter Stream DAC (FSDAC) with line output drivers. The audio information is applied to the ADAC via the USB processor or via the digital I2S input of the digital I/O module.
The UDA1325 is a single chip stereo USB codec incorporating bitstream converters designed for implementation in USB-compliant audio peripherals and multimedia audio applications. It contains a USB interface, an embedded microcontroller, an Analog-to-Digital Interface (ADIF) and an Asynchronous Digital-to-Analog Converter (ADAC).
The USB interface consists of an analog front-end and a USB processor. The analog front-end transforms the differential USB data into a digital data stream. The USB processor buffers the 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 universal serial bus, performs an extensive error detection and separates control information and audio information. The control information is made accessible to the microcontroller. At playback, the audio information becomes available at the digital I2S output of the digital I/O module or is fed directly to the ADAC. At recording, the audio information is delivered by the ADIF or by the digital I2S input of the I2S-bus interface.
The ADIF consists of an Programmable Gain Amplifier (PGA), an Analog-to-Digital Converter (ADC) and a Decimator Filter (DF). An Analog Phase Lock Loop (APLL) or oscillator is used for creating the clock signal of the ADIF. The clock frequency for the ADIF can be controlled via the microcontroller. Several clock frequencies are possible for sampling the analog input signal at different sampling rates.
The wide dynamic range of the bitstream conversion technique used in the UDA1325 for both the playback and recording channel guarantees a high audio sound quality.






VSSA3
VDDA3
P0.4
P0.3
BCK
P0.2
WS
P0.1
DA
P0.0
GP3/WSO
VRP
GP4/BCKO
ALE
P0.5
VRN
SHTCB
EA
P0.6
VINR
D −
n.c.
n.c.
VSSA2
VDDI
VINL
VSSI
UDA1325H
VDDA2
VSSE
VDDE
GP1/DI
VSSA1
P2.0
VDDA1
GP5/WSI
VOUTR
P2.1
RTCB
GP0/BCKI
TC
P2.2
VOUTL
SCL
VSSO
P2.3
SDA
P2.4
P2.5
VSSX
CLK
VDDX
P2.6
P2.7
PSEN
VDDO
MGL349
Fig.2 Pin configuration (QFP64 package).

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 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 USB processor forms the interface between the analog front-end, the ADIF, the ADAC and the microcontroller. The USB processor consists of:
The bit clock recovery circuit recovers the clock from the incoming USB data stream using four times over-sampling principle. It is able to track jitter and frequency drift specified by the USB specification.
Philips Serial Interface Engine (PSIE)
The Philips SIE implements the full USB protocol layer. It translates the electrical USB signals into data bytes and control signals. Depending upon the USB device address and the USB endpoint address, the USB data is directed to the correct endpoint buffer. The data transfer could be of bulk, isochronous, control or interrupt type.
The functions of the PSIE include: synchronization pattern recognition, parallel/serial conversion, bit stuffing/de-stuffing, CRC checking/generation, PID verification/generation, address recognition and handshake evaluation/generation.
The amount of bytes/packet on all endpoints is limited by the PSIE hardware to 8 bytes/packet, except for both isochronous endpoints (336 bytes/packet).
The analog front-end · The USB processor · Bit clock recovery

Memory Management Unit (MMU) and integrated RAM
The Analog-to-Digital Interface (ADIF)
The MMU and integrated RAM handle the temporary data storage of all USB packets that are received or sent over the bus.
The ADIF is used for sampling an analog input signal from a microphone or line input and sending the audio samples to the USB interface. The ADIF consists of a stereo Programmable Gain Amplifier (PGA), a stereo Analog-to-Digital Converter (ADC) and Decimation Filters (DFs). The sample frequency of the ADC is determined by the ADC clock (see Section “The clock source of the analog-to-digital interface”). The user can also select a digital serial input instead of an analog input. In this event the sample frequency is determined by the continuous WS clock with a range between 5 to 55 kHz. Digital serial input is possible with four formats (I2S-bus, 16, 18 or 20 bits LSB-justified).
The MMU and integrated RAM handle the differences between data rate of the USB and the application allowing the microcontroller to read and write USB packets at its own speed.
The audio data is transferred via an isochronous data sink endpoint or source endpoint and is stored directly into the RAM. Consequently, no handshaking mechanism is used.
Audio Sample Redistribution (ASR)
The ASR reads the audio samples from the MMU and integrated RAM 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 16, 18 or 20 bits LSB-justified I2S-bus format. The ASR generates the bit clock output (BCKO) and the Word Select Output signal (WSO) of the I2S output.
Programmable Gain Amplifier circuit (PGA)
This circuit can be used for a microphone or line input. The input audio signals can be amplified by seven different gains (−3 dB, 0 dB, 3 dB, 9 dB, 15 dB, 21 dB and 27 dB).
The gain settings are given in Table 17.
The Analog-to-Digital Converter (ADC)
The stereo ADC of the UDA1325 consists of two 3rd-order Sigma-Delta modulators. They have a modified Ritchie-coder architecture in a differential switched capacitor implementation. The oversampling ratio is 128. Both ADCs can be switched off in power saving mode (left and right separate). The ADC clock is generated by the analog PLL or the ADC oscillator.
The microcontroller receives the control information selected from the USB by the USB processor. It can be used for handling the high-level USB protocols and the user interfaces. The microcontroller does not handle the audio stream.
The major task of the software process that is mapped upon the microcontroller, is to control the different modules of the UDA1325 in such a way that it behaves as a USB device.
The Decimation Filter (DF)
The decimator filter converts the audio data from 128fs down to 1fs with a word width of 8, 16 or 24 bits. This data can be transmitted over the USB as mono or stereo in 1, 2 or 3 bytes/sample. The decimator filters are clocked by the ADC clock.
The embedded 80C51 microcontroller is compatible with the 80C51 family of microcontrollers described in the 80C51 family single-chip 8-bit microcontrollers of “Data Handbook IC20”, which should be read in conjunction with this data sheet.
The internal ROM size is 12 kbyte. The internal RAM size is 256 byte. A Watchdog Timer is not integrated.
The 80C51 microcontroller

The clock source of the analog-to-digital interface
The clock source of the ADIF is the analog PLL or the ADC oscillator. The preferred clock source can be selected. The ADC clock used for the ADC and decimation filters is obtained by dividing the clock signal coming from the analog PLL or from the ADC oscillator by a factor Q.
Using the analog PLL the user can select 3 basic APLL clock frequencies (see Table 1).
By connecting the appropriate crystal the user can choose any clock signal between 8.192 and 14.08 MHz via the ADC oscillator.
Table 1 The analog PLL clock output frequencies
The dividing factor Q can be selected via the microcontroller. With this dividing factor Q the user can select a range of ADC clock signals allowing several different sample frequencies (see Table 2).
Table 2 ADC clock frequencies and sample frequencies based upon using the APLL as a clock source
Table 3 ADC clock frequencies and sample frequencies based upon using the OSCAD as a clock source

The Asynchronous Digital-to-Analog Converter (ADAC)
Table 4 Frequency domains for audio processing by the DSP
The ADAC receives audio data 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 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:
The upsampling filters and variable hold function
After the audio feature processing DSP two upsampling filters and a variable hold function increase the oversampling rate to 128fs.
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.
The Sample Frequency Generator (SFG)
The Filter Stream DAC (FSDAC)
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 upsampling filters.
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.
The lock time of the digital PLL can be chosen (see Table 8). While the digital PLL is not in lock, the ADAC is muted. As soon as the digital PLL is in lock, the mute is released as described in Section “Soft mute control”.
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 sound processing DSP
A DSP processes the sound features. The control and mapping of the sound features is explained in Section “Controlling the playback features of the ADAC”. Depending on the sampling rate (fs) the DSP knows four frequency domains in which the treble and bass are regulated. The domain is chosen automatically.
The noise shaper

The UDA1325 has following six endpoints:
Table 5 Endpoint description
ENDPOINT
INDEX ENDPOINT TYPE DIRECTION MAX. PACKET
NUMBER
SIZE (BYTES)
0 0 control (default) out 8
1 2 control out 8
2 4 interrupt in 8
3 5 interrupt in 8
4 6 isochronous out out 336
5 7 isochronous in in 336
Controlling the playback features of the ADAC
The exchange of control information between the microcontroller and the ADAC is accomplished through a serial hardware interface comprising the following pins:
L3_CLK: microcontroller interface clock line.
See also the description of Port 3 of the 80C51 microcontroller.
Information transfer through the microcontroller bus is organized in accordance with the so-called ‘L3’ format, in which two different modes of operation can be distinguished; address mode and data transfer mode.
The address mode is required to select a device communicating via the L3-bus and to define the destination registers for the data transfer mode. Data transfer for the UDA1325 can only be in one direction, from microcontroller to ADAC to program its sound processing features and other functional features.
The address mode is used to select a device (in this case the ADAC) for subsequent data transfer and to define the destination registers. The address mode is characterized by L3_MODE being LOW and a burst of 8 pulses on L3_CLK, accompanied by 8 data bits on L3_DATA. Data bits 0 and 1 indicate the type of the subsequent data transfer as shown in Table 6.
1 in 8 · 3 in 8

Table 6 Selection of data transfer type
0 0 audio feature registers (volume left, volume right, bass and treble)
0 1 not used
1 0 control registers
1 1 not used
Data bits 7 to 2 represent a 6-bit device address, with bit 7 being the MSB and bit 2 the LSB. The address of the ADAC is 000101 (bits 7 to 2). In the event that the ADAC receives a different address, it will deselect its microcontroller interface logic.
The selection preformed in the address mode remains active during subsequent data transfers, until the ADAC receives a new address command. The data transfer mode is characterized by L3_MODE being HIGH and a burst of 8 pulses on L3_CLK, accompanied by 8 data bits. All transfers are bitwise, i.e. they are based on groups of 8 bits. Data will be stored in the ADAC after the eight bit of a byte has been received. The principle of a multibyte transfer is illustrated in the figure below.
L3CLOCK
L3DATA
address data byte #1 data byte #2 MGD018
The sound processing and other feature values are stored in independent registers. The first selection of the registers is achieved by the choice of data transfer type. This is performed in the address mode, bits 1 and 0 (see Table 6). The second selection is performed by bit 7 and/or bit 6 of the data byte depending of the selected data transfer type.
Data transfer type ‘audio feature registers’
When the data transfer type ‘audio feature registers’ is selected 4 audio feature registers can be selected depending on bits 7 and 6 of the data byte (see Table 7).
thalt · ndbook, full pagewidth · address

Table 7 ADAC audio feature registers
BIT7 BIT6 BIT5 BIT4 BIT3 BIT2 BIT1 BIT0 REGISTER
0 0 VR5 VR4 VR3 VR2 VR1 VR0 volume right
0 1 VL5 VL4 VL3 VL2 VL1 VL0 volume left
1 0 X BB4 BB3 BB2 BB1 BB0 bass
1 1 X TR4 TR3 TR2 TR1 TR0 treble
The sequence for controlling the ADAC audio feature registers via the L3-bus is given in the figure below.
DEVICE ADDRESS = $5
(L3_MODE = LOW)
L3_DATA
0 1 0 1
REGISTER
RIGHT VOLUME; BASS
(L3_MODE = HIGH)
L3_DATA
X X X X
L3_CLK
MGS270
Data transfer type ‘control registers’
When the data transfer type ‘control registers’ is selected 2 general control registers can be selected depending on bit 7 of the data byte (see Table 7).
The sequence for controlling the ADAC control registers via the L3-bus is given in the figure below.
DEVICE ADDRESS = $5
(L3_MODE = LOW)
L3_DATA
1 1 0 1
ADDRESS DATA OF THE CONTROL REGISTER
(L3_MODE = HIGH)
L3_DATA
X X X X
L3_CLK
MGS269

Table 8 ADAC general control registers
Control register 0 0 reset ADAC 0 = not reset 1 = reset
1 soft mute control 0 = not muted 1 = mutes
2 synchronous/asynchronous 0 = asynchronous 1 = synchronous select 0
3 channel manipulation 0 = L -> L, R -> R 1 = L -> R, R -> L
4 de-emphasis 0 = de-emphasis off 1 = de-emphasis on
6 and 5 audio mode 00 = flat mode 01 = min. mode 10 = min. mode 11 = max. mode
7 selecting bit 0
Control register 1 1 and 0 serial I2S-bus input format 00 = I2S-bus 01 = 16-bit LSB justified 10 = 18-bit LSB justified 11 = 20-bit LSB justified
3 and 2 digital PLL mode 00 = adaptive 01 = fix state 1 10 = fix state 2 11 = fix state 3
4 digital PLL lock mode 0 = adaptive 1 = fixed select 1
6 and 5 digital PLL lock speed 00 = lock after 512 samples 01 = lock after 2048 samples 10 = lock after 4096 samples 11 = lock after 16348 samples
7 selecting bit 1
When the mute (bit 1 of control register 0) is active for the playback 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.
select 00 · select 00 · Soft mute control

The volume of the UDA1325 can be controlled from 0 dB down to −60 dB (in steps of 1 dB). Below −60 dB the audio signal is muted (−∞dB). The setting of 0 dB is always referenced to the maximum available volume setting. Independant volume control of the left and right channel is possible (balance control).
Table 9 Volume settings right playback channel
VR5 VR4 VR3 VR2 VR1 VR0 VOLUME (dB)
0
0 1 0
0 1 0 −1
0 1 1 −2
0 0 0 1 0 0 −3
1 0 0 −59
1 0 1 −60
1 0 −∞
1 −∞
Table 10 Volume settings left playback channel
VL5 VL4 VL3 VL2 VL1 VL0 VOLUME (dB)
0
0 1 0
0 1 0 −1
0 1 1 −2
0 0 0 1 0 0 −3
1 0 0 −59
1 0 1 −60
1 0 −∞
1 −∞
Volume control

For the playback channel, treble can be regulated in three audio modes: minimum, flat and maximum mode. In flat mode the audio is not influenced. In minimum and maximum mode, the treble range is from 0 to 6 dB in steps of 2 dB. The programmable treble filter is implemented digitally and has a fixed corner frequency of 3000 Hz for the minimum mode and 1500 Hz for the maximum mode. Because of the exceptional amount of programmable gain, treble should be used with adequate prior attenuation, using volume control.
Table 11 Treble settings
FLAT SET MIN. SET MAX. SET
0
0 1 0 0 0
0 0 0 1 0
0 0 0 1 1 0 0 0
0 0 1 0 0 0 2 2
0 0 1 0 1 0 2 2
0 0 1 1 0 0 2 2
0 0 1 1 1 0 2 2
0 1 0 4 4
0 1 0 0 1 0 4 4
0 1 0 1 0 0 4 4
0 1 0 1 1 0 4 4
0 1 1 0 0 0 6 6
0 1 1 0 1 0 6 6
0 1 1 1 0 0 6 6
0 1 0 6 6
0 6 6
1 0 6 6
For the playback channel, bass can be regulated in three audio modes: minimum, flat and maximum mode. In flat mode the audio is not influenced. In minimum mode the bass range is from 0 to approximately 14 dB in steps of 1.5 dB. In maximum mode, the bass range is from 0 to approximately 24 dB in steps of 2 dB. The programmable bass filters are implemented digitally and have a fixed corner frequency of 100 Hz for the minimum mode and 75 Hz for the maximum mode. Because of the exceptional amount of programmable gain, bass should be used with adequate prior attenuation, using volume control.
Treble control · TREBLE (dB) · Bass control

Table 12 Bass boost settings
FLAT SET MIN. SET MAX. SET
0
0 1 0 0 0
0 0 0 1 0
0 0 0 1 1 0 0 0
0 0 1 0 0 0 1.1 1.7
0 0 1 0 1 0 1.1 1.7
0 0 1 1 0 0 2.4 3.6
0 0 1 1 1 0 2.4 3.6
0 1 0 3.7 5.4
0 1 0 0 1 0 3.7 5.4
0 1 0 1 0 0 5.2 7.4
0 1 0 1 1 0 5.2 7.4
0 1 1 0 0 0 6.8 9.4
0 1 1 0 1 0 6.8 9.4
0 1 1 1 0 0 8.4 11.3
0 1 0 8.4 11.3
1 0 10.2 13.3
1 0 0 0 1 0 10.2 13.3
1 0 0 1 0 0 11.9 15.2
1 0 0 1 1 0 11.9 15.2
1 0 1 0 0 0 13.7 17.3
1 0 1 0 1 0 13.7 17.3
1 0 1 1 0 0 13.7 19.2
1 0 1 1 1 0 13.7 19.2
1 1 0 13.7 21.2
1 1 0 0 1 0 13.7 21.2
1 1 0 1 0 0 13.7 23.2
1 1 0 1 1 0 13.7 23.2
0 13.7 23.2
1 0 13.7 23.2
De-emphasis is controlled by bit 4 of control register 0. The de-emphasis filter can be switched on or off. The digital de-emphasis filter is dimensioned to produce the de-emphasis frequency characteristics for the sample rate 44.1 kHz. De-emphasis is synchronized to the sample clock, so that operation always takes place on complete samples.
BASS (dB) · De-emphasis

Filter characteristics playback channel
The overall filter characteristic of the UDA1325 in flat mode is given in Fig.4 (de-emphasis off). The overall filter characteristic of the UDA1325 includes the filter characteristics of the DSP in flat mode plus the filter characteristic of the FSDAC (fs = 44.1 kHz)
f (kHz) 10 20 30 40 50 60 70 80 90 100 0 −160
Fig.4 Overall filter characteristics of the UDA1325.

DSP extension port for enhanced playback audio processing
An external DSP can be used for adding extra sound processing features via the I2S inputs and outputs of the digital I/O module. The UDA1325 supports the standard I2S-bus 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 option the UDA1325 device acts as a master, controlling the BCKO and WSO signals. Using the 6-pin digital I/O option GP2, GP3 and GP4 are output pins (master) and GP0, GP1 and GP5 are input pins (slave).
The period of the WSO signal is determined by the number of samples in the 1 ms frame of the USB. This implies that the WSO signal does not have a constant time period, but is jittery.
The characteristic timing of the I2S-bus signals is illustrated in Figs 5 and 6.
WS
RIGHT
BCK
DATA
LSB MSB
MGK003
Fig.5 Timing of digital I/O input signals.

white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
2 15 16 1
2 15 16 17 18 1
2 15 16 17 18 19 20 1
RIGHT
RIGHT
RIGHT
MSB B2 MSB LSB LSB MSB B2
>=8 >=8
LSB-JUSTIFIED FORMAT 18 BITS
LSB-JUSTIFIED FORMAT 20 BITS
INPUT FORMAT I 2 S-BUS
Fig.6 Input formats.
2 15 16 17 18 1
2 15 16 17 18 19 20 1
B15
WS LEFT RIGHT
3 2 1 3 2 1
LEFT
LEFT
LEFT
BCK
DATA
WS
BCK
DATA
WS
BCK
DATA
WS
BCK
DATA
book, full pagewidth · 15 16 1

Table 13 Port 1 of the 80C51 microcontroller
BIT FUNCTION LOW HIGH COMMENT
1.0 ADAC_error no error error
1.1 GP1 general purpose pins
1.3 GP3
1.4 GP4
1.5 GP5
1.6 SCL I2C-bus
Table 14 Port 3 of the 80C51 microcontroller
BIT FUNCTION LOW HIGH COMMENT
3.0 ASR_error no error error
3.1 PSIE_MMU_SUSPEND no suspend suspend suspend input from USB interface during normal operation or input from restart circuit
3.2 GP0 (INT0_N) general purpose pin
3.3 PSIE_MMU_INT (INT1_N) interrupt input from USB interface during normal operation or input from restart circuit
3.5 L3_MODE
3.6 L3_CLK
3.7 L3_DATA
Port 1 · Port 3

ADDRESS REGISTER RESET VALUE
Table 15 Register location and recommended values
0800h PGA gain 09
0801h ADIF control 5C
I2C registers (SIO1 registers)
1000h clock shop settings 00
1001h reset control and APLL settings 00
1002h IO selection register 01
1003h power control 00
2000h ASR settings 8B
4000h data register PSIE
4001h command register PSIE
The UDA1325 supports up to five (of maximal 7) interrupt sources. Each interrupt source corresponds to an interrupt vector in the CPU program memory address space:
Table 16 Special function register location
Source 6: vector 0033h I2C interrupt.
Each interrupt source can be individually enabled or disabled by setting or clearing a bit in IE. This register also contains a global interrupt enable bit (EA) which can be cleared to disable all interrupts at once.
Timer 0 and Timer 1 registers
7 6 5 4 3 2 1 0
0
EX0 (vector 0003h)) ET0 (vector 000Bh)) EX1 (vector 0013h) ET1 (vector 001Bh) ES0 (n.a.) ET2 (n.a.) ES1 (vector 0033h) EA

Table 17 PGA gain registers
0800h PGA gain register reserved 7 X
PGA input selection 6 0 (do not change it)
PGA gain right channel 5, 4 and 3 000 = −3 dB 001 = 0 dB 010 = 3 dB 011 = 9 dB 100 = 15 dB 101 = 21 dB 110 = 27 dB 111 = 27 dB
PGA gain left channel 2, 1 and 0 000 = −3 dB 001 = 0 dB 010 = 3 dB 011 = 9 dB 100 = 15 dB 101 = 21 dB 110 = 27 dB 111 = 27 dB
Table 18 ADIF control registers
0801h ADIF control register reserved 7 X
number of bits per audio sample to be transmitted to the host
6 and 5 00 = reserved
01 = 8 bits audio samples
10 = 16 bits audio samples
11 = 24 bits audio samples
mono/stereo selection 4 0 = mono
selection audio input recording channel
3 0 = digital serial audio input
1 = analog input
selection high-pass filter of ADIF (DC-filter)
2 0 = high-pass filter off
1 = high-pass filter on
I2S-bus input serial input format recording channel
1 and 0 00 = I2S-bus
01 = 16-bit LSB justified
10 = 18-bit LSB justified
11 = 20-bit LSB justified
Internal registers · 1 = stereo

Table 19 Clock shop register
1000h clock shop settings selection ADC clock source 7 0 = ADC clock from APLL
1 = ADC clock from OSCAD
divide factor Q 6 and 5 00 = ADC clock divided-by-1
01 = ADC clock divided-by-2
10 = ADC clock divided-by-4
11 = ADC clock divided-by-8
clock ADAC 4 0 = enable 1 = disable
clock 48 MHz internal 3 0 = enable 1 = disable
clock recovered by PSIE 2 0 = enable 1 = disable
ADC clock 1 0 = enable 1 = disable
OSCAD oscillator 0 0 = power on 1 = power off
Table 20 Reset control and APLL register
1001h reset control and APLL settings
fcode (1 and 0) clock frequency selection APLL
7 and 6 00 = 256 × 44.1 kHz 01 = 256 × 32 kHz 10 = 256 × 48 kHz 11 = 256 × 44.1 kHz
reset ADAC 4 0 = reset off 1 = reset on
reset MMU 3 0 = reset off 1 = reset on
reset digital I/O-interface 2 0 = reset off 1 = reset on
reset ADIF 1 0 = reset off 1 = reset on
reserved 5 X · reserved 0 X

Table 21 I/O selection register
1002h I/O selection register microcontroller control on 48 MHz oscillator 7 0 = UPC control disabled (48 MHz oscillator is enabled)
1 = UPC control enabled
audio format 6 and 5 00 = 4-pins I2S 01 = 6-pins I2S 10 = 3-pins I2S (only input) 11 = 3-pins I2S (only input)
GP4 I/O if BIT0 = 1 4 0 = output 1 = input
GP3 I/O if BIT0 = 1 3 0 = output 1 = input
GP2 I/O if BIT0 = 1 2 0 = output 1 = input
GP1 I/O if BIT0 = 1 1 0 = output 1 = input
GP4 to GP1 function 0 0 = I2S usage 1 = general purpose usage
Table 22 Power control register
1003h power control register analog modules
suspend input selection for P3.1 of the microcontroller
7 0 = suspend from USB interface connected to P3.1 during normal operation 1 = suspend from restart circuit connected to P3.1 (e.g. after power-down)
interrupt input selection for P3.3 (INT1_N) of the microcontroller
6 0 = interrupt from USB interface connected to P3.3 during normal operation 1 = interrupt from restart circuit connected to P3.3 (e.g. after power-down)
power APLL 5 0 = power on 1 = power off
power FSDAC 4 0 = power on 1 = power off
power ADC left 3 0 = power on 1 = power off
power ADC right 2 0 = power on 1 = power off
power PGA left 1 0 = power on 1 = power off
power PGA right 0 0 = power on 1 = power off

Table 23 ASR control register
2000h ASR control register robust word clock 7 0 = off (not recommended) 1 = on (recommended)
serial I2S-bus output format digital I/O interface
6 and 5 00 = I2S-bus
01 = 16-bit LSB justified
10 = 18-bit LSB justified
11 = 20-bit LSB justified
phase inversion (on right mono output)
4 0 = mono phase inversal off
1 = mono phase inversal on
bits per sample modi 3 and 2 00 = reserved
01 = 8-bit audio
10 = 16-bit audio
11 = 24-bit audio
mono or stereo operation 1 0 = mono
ASR register start-up mode 0 0 = stop (e.g. at alternate setting with bandwidth equal to zero) 1 = go
Start-up of the UDA1325
After power-on (of VDDA1), an internal Power-on reset signal becomes HIGH after a certain RC time. This RC time is created by using the internal resistor (2 × 50 kΩ) divider for creating the reference voltage for the FSDAC in combination with the capacitor connected externally to the VREFDA pin. The FSDAC and the internal resistor divider are supplied by VDDA1 and VSSA1. The RC time can be calculated using R = 25000 Ω and C = Cref.
During 20 ms after Power-on reset becomes HIGH the UDA1325 has to initiate the internal registers. During this initialisation, the user should prevent indicating the ‘connected’ status to the USB-host. This can be done by forcing the DP-line LOW (i.e. via one of the GP pins).
The total current drawn from the USB supply (for i.e. bus-powered operation of the UDA1325 application) must be less than 500 µA in suspend mode. In order to reach that low current target, the total power dissipation of the UDA1325 can be reduced by disabling all internal clocks and switching off all internal analog modules.
1 = stereo · Power Management

In normal operation working mode, a suspend can be initiated by the falling edge of the CLK_ON output signal of the USB processor. This falling edge comes about 2 ms after the rising edge of the PSIE_MMU_SUSPEND output signal of the USB processor. At this moment, several actions should be taken by the microcontroller:
On the rising edge of the CLK_ON output signal, the 48 MHz crystal oscillator will be switched on automatically and with that all internal clocks (if they are enabled). At the same time, a counter starts counting for 2048 clock cycles (170 µs). This time is necessary for stabilising the 48 MHz clock of the 48 MHz crystal oscillator.
When the counter reaches its end value (after 2048 cycles), a rising edge will be detected on the P3.3 (INT1_N) of the microcontroller. At this moment, following actions should be taken by the microcontroller:
The UDA1325 is now back in its normal operation mode and can be put back in power reduction mode by the falling edge of the CLK_ON signal of the USB processor.

COMMAND NAME RECIPIENT CODING DATA PHASE
Set address/enable device D0h write 1 byte
Read address/enable device D0h read 1 byte
Set endpoint enable device D8h write 1 byte
Read endpoint enable device D8h read 1 byte
Set mode device F3h write 1 byte
Read interrupt register device F4h read 1 byte
Select endpoint control OUT 00h read 1 byte (optional)
control IN 01h read 1 byte (optional)
other endpoints 00h + endpoint index read 1 byte (optional)
Get endpoint status control OUT 40h read 1 byte
control IN 41h read 1 byte
other endpoints 40h + endpoint index read 1 byte
Set endpoint status control OUT 40h write 1 byte
control IN 41h write 1 byte
other endpoints 40h + endpoint index write 1 byte
Read buffer selected endpoint F0h read n bytes
Write buffer selected endpoint F0h write n bytes
Acknowledge setup selected endpoint F1h none
Clear buffer selected endpoint F2h none
Validate buffer selected endpoint FAh none
Read current frame number F5h read 1 or 2 bytes
Initialization commands · Data flow commands · General commands

BIT DESCRIPTION
This chapter describes the commands that can be used by the microcontroller to control the USB processor. There are three basic types of commands:
Address the value written becomes the device address
Enable a ‘1’ enables this function
Command: D0h.
A command is represented by an 8 bit code. It can be followed by one or more data write cycles or one or more read cycles or a combination. The PSIE_MMU_READY output connected to Port 3.4 of the microcontroller indicates that the previous action (command write, data read or data write) has completed. A new action can only be initiated if PSIE_MMU_READY is TRUE. The data is valid from the moment PSIE_MMU_READY becomes TRUE.
Data: read 1 byte.
The read address/enable command is used to read the USB assigned address and the enable bit of the device. The format of the data phase is the same as for the set address/enable command.
Command: D8h.
The PSIE contains a number of interrupt registers, one for each endpoint. Every time a transition occurs, the interrupt flag for the involved endpoint is set. The PSIE_MMU_INT connected to Port 3.3 is an OR function of all interrupt registers.
Data: write 1 byte.
The set endpoint enable command is used to set the enable bits for the non default endpoints.
7 6 5 4 3 2 1 0
Initialization commands are used during the enumeration process of the USB network. They are used to set the USB assigned address, enable endpoints and select the configuration of the device.
If the enable bit is ‘1’, the non default endpoints are enabled, if ‘0’, the non default endpoints are disabled. The function then only responds to the default control endpoint.
Command: D0h.
After bus reset, the enable bit is set to ‘0’.
Data: write 1 byte.
The set address/enable command is used to set the USB assigned address and enable the function. The device always powers up disabled and should be enabled after a bus reset.
Command: D8h.
Data: read 1 byte.
The read endpoint enable command is used to read the enable bit for the non default endpoints of the function. The format of the data phase is the same as for the set endpoint enable command.
0 1 2 3 4 5 6 7
0 Power On Value
Command: F3h.
Data: write 1 byte.

An interrupt is also generated after a bus reset. When the interrupt register consists of all zeros, and an interrupt was generated, there was a bus reset. The interrupt is cleared when the interrupt register is read.
7 6 5 4 3 2 1 0
Bus Reset 1 0 0 Reset value
IsoOut IsoIn IntIsoOut IntIsoIn ErrorDebugMode AlwaysPLLClock Reserved Reserved
7 6 5 4 3 2 1 0
0
Control OUT Control IN Endpoint 1 OUT Endpoint 1 IN Endpoint 2 IN Endpoint 3 IN Endpoint 4 OUT Endpoint 5 IN
Reset value: gives the value of the bits after Power-on reset. Bus reset: a ‘F’ indicates that the value of the bit is not changed during a bus reset. a ‘T’ indicates that during a bus reset, the bit is reset to its reset value.
Command: 00h + endpoint index.
Data: optional read 1 byte.
IsoOut ISO out endpoint can be used
The select endpoint command initializes an internal pointer to the start of the selected buffer. Optionally, this command can be followed by a data read. Bit 0 is low if the buffer is empty and high if the buffer is full. There is one command for every endpoint.
IsoIn ISO in endpoint can be used
IntIsoOut allow interrupt from ISO out endpoint
IntIsoIn allow interrupt from ISO in endpoint
7 6 5 4 3 2 1 0
ErrorDebugMode Setting chip in debug mode
AlwaysPLLClock the PLL clock must keep on running
Command: 40h + endpoint index.
Data flow commands are used to manage the data transmission between the USB endpoints and the host. Much of the data flow is initiated via the interrupt to the microcontroller. The microcontroller uses these commands to access the endpoint buffers and determine whether the endpoint buffers have valid data.
Data: read 1 byte.
The get endpoint status command is followed by one data read that returns the status of the last transaction of the selected endpoint. This command also resets the corresponding interrupt flag in the interrupt register, and clears the status, indicating that it was read. There is one command for every endpoint.
Command: F4h.
7 6 5 4 3 2 1 0
Data: read 1 byte.
0
The read interrupt register command returns the value of the interrupt register. Every time a packet is received or transmitted, an interrupt will be generated and a flag specific to the physical endpoint will be set in the interrupt register. Reading the status of the endpoint will clear the flag.
Error Code Setup Packet Data 0/1 Packet Previous Status not Read

Table 26 Error codes
Command: 40h + endpoint index.
CODE RESULT
Data: write 1 byte.
This command is used to stall or unstall an endpoint. Only the least significant bit has a meaning. When the stalled bit is equal to 1, the endpoint is stalled, when equal to 0, the endpoint is unstalled. There is one command for every endpoint.
0001 PID encoding error; bits 7 to 4 in the PID token are not the inversion of bits 3 to 0
0010 PID unknown; PID encoding is valid, but PID does not exist
0011 unexpected packet; packet is not of the type expected (token, data or acknowledge), or SETUP token received on non-control endpoint
A stalled control endpoint is automatically unstalled when it receives a SETUP token, regardless of the contents of the packet. If the endpoint should stay in stalled state, the microcontroller should restall it.
0100 token CRC error
When a stalled endpoint is unstalled, it is also re-initialized. This means that its buffer is flushed and the next DATA PID that will be sent or expected (depending on the direction of the endpoint) is DATA0.
0101 data CRC error
0110 time out error
1001 sent or received NAK
0 1 2 3 4 5 6 7
1010 sent stall, a token was received, but the endpoint was stalled
X Power On Value 0
1011 overflow error, the received data packet was larger then the buffer size of the selected endpoint
1100 sent empty packet (ISO only)
Command: F0h.
1110 error in sync
Data: read n bytes (max. 10).
1111 wrong data PID
The read buffer command is followed by a number of data reads, which returns the contents of the selected endpoint data buffer. After each read, the internal buffer pointer is incremented by 1.
Data receive/transmit a ‘1’ indicates data has been received or transmitted successfully
The buffer pointer is not reset to the buffer start by the read buffer command. This means that reading a buffer can be interrupted by any other command (except for select endpoint).
Error code see Table 26
Setup packet a ‘1’ indicates the last received packet had a SETUP token (this will always read ‘0’ for IN buffers)
Data 0/1 packet a ‘1’ indicates the last received packet had a DATA 1 PID
Previous status not read a ‘1’ indicates a second event occurred before the previous status was read

The data in the buffer are organized as follows:
acknowledged explicitly that it has seen the SETUP packet.
If the microcontroller is reading the data from a SETUP packet, and a new SETUP packet arrives, the device must accept this new SETUP packet. So the data, currently being read by the microcontroller, is overwritten with the new packet. On the arrival of the new packet, the commands validate buffer and clear buffer are disabled. If the microcontroller has finished reading the data from the buffer, it will try to clear the buffer. The device will ignore this command, so the new SETUP packet in the buffer is not cleared. The microcontroller will now detect the interrupt of the new SETUP packet and will start reading the new data in the buffer.
Byte 9: data byte 7.
Bytes 0 and 1 indicate the number of bytes in the buffer. Byte 0 is the Most Significant Byte (MSB). Byte 1 is the Least Significant Byte (LSB). Only bits 1 and 0 of byte 0 are used in the number of bytes indication.
A SETUP token can be followed by an IN token. After the SETUP token, the microcontroller will start filling the IN buffer. A SETUP token will clear the IN buffer. This avoids the following problem: after a SETUP token, the microcontroller fills the IN buffer. If the SETUP token is followed by a SETUP token and shortly followed by an IN token, the device will send the contents of the IN buffer to the host. The IN buffer was filled after the first SETUP token. That is why after a SETUP token the IN buffer is cleared.
Bit 7 of byte 0 indicates if the transaction was successful (bit 7 is ‘1’ if the transaction was successful). Bits 6 to 2 of byte 0 are reserved.
Command: F0h.
If the microcontroller is still filling the buffer when the second SETUP token arrives, the SETUP token will clear the IN buffer. If the microcontroller has filled the IN buffer, it will validate the buffer. So clearing the IN buffer on receiving a SETUP token is not enough.
Data: write n bytes (max. 10).
The write buffer command is followed by a number of data writes, which load the endpoint buffer. After each write, the internal buffer pointer is incremented by 1.
The buffer pointer is not reset to the buffer start by the write buffer command. This means that writing a buffer can be interrupted by any other command (except for select endpoint).
If a SETUP token is received, the device will also disable the validate buffer command for the IN buffer. If the microcontroller needs to fill the buffer after a SETUP token, the command acknowledge setup command must be sent to enable the validate buffer command.
The data must be organized in the same way as described in the read buffer command. Bits 7 to 2 of byte 0 are reserved and must be filled with zeros.
Command: F2h.
Data: none.
Command: F1h.
When a packet is received completely, an internal endpoint buffer full flag is set. All subsequent packets will be refused by returning a NACK to the host. When the microcontroller has read the data, it should free the buffer by the clear buffer command. When the buffer is cleared, new packets will be accepted.
Data: none.
The arrival of a SETUP packet flushes the IN buffer and disables the validate buffer and clear buffer commands for both IN and OUT endpoints.
The microcontroller needs to re-enable these commands by the acknowledge setup command. This ensures that the last SETUP packet stays in the buffer and no packet can be sent back to the host until the microcontroller has

Command: FAh.
The CPU can read from and write to this 8-bit SFR. Two bits are effected by the SIO1 hardware: the SI bit is set when a serial interrupt is requested, and the STO bit is cleared when a STOP condition is present on the I2C-bus. The STO bit is also cleared when ENS1 = ‘0’. Reset initializes S1CON to 00h.
Data: none.
When the microcontroller has written data into an IN buffer, it should set the buffer full flag by the validate buffer command. This indicates that the data in the buffer are valid and can be sent to the host when the next IN token is received.
7 6 5 4 3 2 1 0
0
R EAD CURRENT FRAME NUMBER
Command: F5h.
Data: read 1 or 2 bytes.
This command is followed by one or two data reads and returns the frame number of the last successfully received SOF. The frame number is eleven bits wide. The frame number is returned least significant byte first. In case the user is only interested in the lower 8 bits of the frame number only the first byte needs to be read.
CR2, 1 AND 0 - THE CLOCK RATE BITS
These three bits determine the serial clock frequency when SIO1 is in a master mode.
The various serial rates are shown in Table 28.
Table 28 Serial clock rates (SCL line)
The I2C module implements a master/slave I2C-bus interface with integrated shift register, shift timing generation and slave address recognition. It is compliant to the I2C-bus specification IC20/Jan92. I2C standard mode (100 kHz SCL) and fast mode (400 kHz) are supported. Low speed mode and extended 10 bit addressing are unsupported.
0 0 0 1200
0 0 1 600
0 1 0 400
0 1 1 300
1 0 0 150
Characteristics of the I2C-bus
1 0 1 100
The I2C-bus is for 2-way, 2-line communication between different ICs or modules. The two lines are a serial data line (SDA) and a Serial Clock Line (SCL). Both lines must be connected to VDDE via a pull-up resistor.
1 1 0 75
1 1 1 3.9 ... 501
The timing definition of the I2C-bus is given in Fig.7.
When the CR bits are ‘111’, the maximum bit rate for the data transfer will be derived from the Timer 1 overflow rate divided by 2 (i.e. every time the Timer 1 overflows, the SCL signal will toggle).
For a detailed description of the I2C-bus protocol refer to Philips Integrated Circuits Data Handbook IC20, 8XC552.
The programmer’s view of the I2C library function is -with one exception- identical to that of the 8XC552 microcontroller. Only the bit rate frequency selection in S1CON and the handling of the Timer 1 overflow information deviates to accommodate 400 kHz operation.

white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
MBC611 P S Sr P
t SP t HD;STA
t SU;STA t SU;DAT
Fig.7 Definition of timing of the I2C-bus.
SCL

LIMITING VALUES In accordance with the Absolute Maximum Rating System (IEC 134).
VI/O DC input/output voltage range −0.5 − VDDE V
IO output current VDDE = 5.0 V − − 4 mA
Tj junction temperature 0 − 125 °C
Tstg storage temperature −55 − +150 °C
Tamb operating ambient temperature 0 25 70 °C
Ves electrostatic handling note 1 −3000 − +3000 V
SYMBOL PARAMETER CONDITIONS VALUE UNIT
Rth(j-a) thermal resistance from junction to ambient
UDA1325PS in free air 48 K/W
UDA1325H in free air 48 K/W
SYMBOL PARAMETER MIN. TYP. MAX. UNIT
VDDE supply voltage periphery (I/O) 4.75 5.0 5.25 V
VDD supply voltage (core) 3.0 3.3 3.6 V
VI DC input voltage range
for D+ and D− 0.0 − VDD V
for VINL and VINR − 0.5VDD − V
for digital I/Os 0.0 − VDDE V
All digital I/Os · Temperature values · Electrostatic handling

DC CHARACTERISTICS VDDE = 5.0 V; VDD = 3.3 V; Tamb = 25 °C; fosc = 48 MHz; fs = 44.1 kHz; unless otherwise specified.
VDDE digital supply voltage periphery 4.75 5.0 5.25 V
VDDI digital supply voltage core 3.0 3.3 3.6 V
VDDA1 analog supply voltage 1 3.0 3.3 3.6 V
VDDA2 analog supply voltage 2 3.0 3.3 3.6 V
VDDA3 analog supply voltage 3 3.0 3.3 3.6 V
VDDO operational amplifier supply voltage 3.0 3.3 3.6 V
VDDX crystal oscillator supply voltage 3.0 3.3 3.6 V
IDDE digital supply current periphery note 1 − 3.7 − mA
IDDI digital supply current core − 39.0 − mA
IDDA1 analog supply current 1 − 3.6 − mA
IDDA2 analog supply current 2 − 8.0 − mA
IDDA3 analog supply current 3 − 0.9 9.0(2) mA
IDDO operational amplifier supply current − 3.0 − mA
IDDX crystal oscillator supply current − 1.2 13.0(3) mA
Ptot total power dissipation − 200 − mW
Pps total power dissipation in power saving mode
Inputs/outputs D+ and D−
VI static DC input voltage −0.5 − VDDI V
VO(H) static DC output voltage HIGH RL = 15 kΩ connected to GND
VO(L) static DC output voltage LOW RL = 1.5 kΩ connected to VDD
ILO high impedance data line output leakage current
− − 10 µA
VI(diff) differential input sensitivity 0.2 − − V
VCM(diff) differential common mode range 0.8 − 2.5 V
VSE(R)(th) single-ended receiver threshold voltage
CIN transceiver input capacitance pin to GND − − 20 pF
VIL LOW-level input voltage − − 0.3VDDE V
VIH HIGH-level input voltage 0.7VDDE − VDDE V
ILI input leakage current − − 1 µA
CI input capacitance − − 5 pF
Supplies · Digital input pins

Vref(AD) reference voltage PGA and ADC − 0.5VDDA2 − V
Vref(ADC)(pos) positive reference voltage of the ADC
Vref(ADC)(neg) negative reference voltage of the ADC
VI(PGA) DC input voltage VINL and VINR of the PGA
RI(PGA) DC input resistance at VINL and VINR of the PGA
− 12.5 − kΩ
Vref(DA) reference voltage DAC − 0.5VDDA1 − V
VO(CM) common mode output voltage − 0.5VDDA1 − V
RO(VOUT) output resistance at VOUTL and VOUTR
RO(L) output load resistance 2.0 − − kΩ
CO(L) output load capacitance − − 50 pF
PGA and ADC · Filter stream DAC

AC CHARACTERISTICS VDDE = 5.0 V; VDDI = 3.3 V; Tamb = 25 °C; fosc = 48 MHz; fs = 44.1 kHz; unless otherwise specified.
Driver characteristics D+ and D− (full-speed mode)
fo(s) audio sample output frequency 5 − 55 kHz
tr rise time CL = 50 pF 4 − 20 ns
tf fall time CL = 50 pF 4 − 20 ns
trf(m) rise/fall time matching (tr/tf) 90 − 110 %
Vcr output signal crossover voltage 1.3 − 2.0 V
Ro(drive) driver output resistance steady-state drive 28 − 43 Ω
Data source timings D+ and D− (full-speed mode)
fi(s) audio sample input frequency 5 − 55 kHz
ffs(D) full speed data rate 11.97 12.00 12.03 Mbits/s
tfr(D) frame interval 0.9995 1.0000 1.0005 ms
tJ1(diff) source differential jitter to next transition
−3.5 0.0 +3.5 ns
tJ2(diff) source differential jitter for paired transitions
−4.0 0.0 +4.0 ns
tW(EOP) source end of packet width 160 − 175 ns
tEOP(diff) differential to end of packet transition skew
−2.0 − +5.0 ns
tJR1 receiver data jitter tolerance to next transition
−18.5 0.0 +18.5 ns
tJR2 receiver data jitter tolerance for paired transitions
−9.0 0.0 +9.0 ns
tEOPR1 end of packet width at receiver must reject as end of packet
40 − − ns
tEOPR2 end of packet width at receiver must accept as end of packet
82 − − ns
Serial input/output data timing
fs system clock frequency − 12 − MHz
fi(WS) word selection input frequency 5 − 55 kHz
tr rise time − − 20 ns
tf fall time − − 20 ns
tBCK(H) bit clock HIGH time 55 − − ns
tBCK(L) bit clock LOW time 55 − − ns
ts;DAT data set-up time 10 − − ns
th;DAT data hold time 20 − − ns
ts;WS word selection set-up time 20 − − ns
th;WS word selection hold time 10 − − ns

SDA and SCL lines for 100 kHz I2C devices
fSCL SCL clock frequency 0 − 100 kHz
tBUF bus free time between a STOP and START condition
4.7 − − µs
tHD;STA hold time (repeated) START condition
4.0 − − µs
tLOW LOW period of the SCL clock 4.7 − − µs
tHIGH HIGH period of the SCL clock 4.0 − − µs
tSU;STA set-up time for a repeated START condition
4.7 − − µs
tSU;STO set-up time for STOP condition 4.0 − − µs
tHD;DAT data hold time 5.0 − − µs
tSU;DAT data set-up time 250 − − ns
tr rise time of both SDA and SCL signals
− − 1000 ns
tf fall time of both SDA and SCL signals
− − 300 ns
CL(bus) capacitive load for each bus line − − 400 pF
Oscillator 1 (system clock)
fosc oscillator frequency − 48 − MHz
δ duty factor − 50 − %
gm transconductance 12.8 22.1 30.2 mS
Ro output resistance 0.6 1.1 2.3 kΩ
Ci(XTAL1a) parasitic input capacitance XTAL1a 4.5 4.8 5.2 pF
Ci(XTAL2a) parasitic input capacitance XTAL2a 4.1 4.6 5.0 pF
Istart start-up current 3.7 7.6 13.0 mA
Oscillator 2 (for ADC clock)
fosc oscillator frequency 8.192 − 14.08 MHz
δ duty cycle − 50 − %
gm transconductance 8.1 13.6 18.1 mA/V
Ro output resistance 1.3 2.0 4.0 kΩ
Ci(XTAL1b) parasitic input capacitance XTAL1b 5.0 5.4 5.7 pF
Ci(XTAL2b) parasitic input capacitance XTAL2b 4.1 4.6 5.0 pF
Istart start-up current 2.4 5.0 8.4 mA

Analog PLL (for ADC clock)
fclk(PLL) PLL clock frequency 8.1920 11.2896 12.2880 MHz
δ duty factor − 50 − %
tstrt(PO) start-up time after power-on − − 10 ms
tsu(PO) power-on set-up-time note 1 25Cref(2) − − ms
Vi(FS)(rms) full-scale input voltage (RMS value) PGA gain = −3 dB − 1414(3) − mV
PGA gain = 0 dB − 1000 − mV
PGA gain = 3 dB − 708 − mV
PGA gain = 9 dB − 355 − mV
PGA gain = 15 dB − 178 − mV
PGA gain = 21 dB − 89 − mV
PGA gain = 27 dB − 44 − mV
Ci(PGA) input capacitance of the PGA − − 20 pF
(THD + N)/S total harmonic distortion plus noise-to-signal ratio
fs = 44.1 kHz at input signal of 1 kHz; PGA gain = 0 dB; note 4
Vi (0 dB) 1.0 V (RMS) − −85 −80 dB
− 0.0056 0.01 %
Vi (−60 dB) − −30 −20 dB
− 3.2 10.0 %
S/N signal to noise ratio Vi = 0.0 V 90 95 − dBA
αct crosstalk between channels PGA gain = 0 dB − 100 − dB
fs sample frequency (128fs) 0.640 − 7.04 MHz
OL digital output level PGA gain = 0 dB, Vi = 1 V (RMS)
− −2.0 − dBFS
Power-on reset · PGA and ADC

RES resolution 16 − − bits
Vo(FS)(rms) full-scale output voltage (RMS value)
VDD = 3.3 V − 0.66 − V
SVRR supply voltage ripple rejection at VDDA and VDDO
fripple = 1 kHz Vripple(p-p) = 0.1 V
− 60 − dB
∆Vo channel unbalance maximum volume − 0.03 − dB
αct crosstalk between channels RL = 5 kΩ − 95 − dB
(THD + N)/S total harmonic distortion plus noise-to-signal ratio
fs = 44.1 kHz; RL = 5 kΩ; note 5
at input signal of 1 kHz (0 dB) − −90 −80 dB
− 0.0032 0.01 %
at input signal of 1 kHz (−60 dB) − −30 −20 dB
− 3.2 10 %
S/N signal-to-noise ratio at bipolar zero A-weighting at code 0000H
90 95 − dB
Filter stream DAC





white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in

15 GP5/WSI
14 GP1/DI
3 BCK
2 WS
1 DA
8 D −
9 D +
36 VINR
34 VINL C22
47 µF (16 V)
47 µF (16 V)
18 pF (50 V)
22 Ω
R16
22 Ω
1.5 kΩ
22 pF (63 V)
1.5 µH
18 pF (50 V)
+ VC
10 nF (63 V)
12 pF (63 V)
12 pF (63 V)
22 pF (63 V)
WSI
DI
BCK
WS
DA
ADC XTAL
10 nF (50 V)
8 2 7 3 6 4 5
10 nF (50 V)


UNIT b1 c E e MH L
1.3 0.8 0.53 0.40 0.32 0.23 38.9 38.4 14.0 13.7 3.2 2.9 0.18 1.778 15.24 15.80 15.24 17.15 15.90 1.73 5.08 0.51 4.0

QFP64: plastic quad flat package; 64 leads (lead length 1.95 mm); body 14 x 20 x 2.8 mm SOT319-2

UNIT A1 A2 A3 bp c E(1) e HE L Lp Z y w v θ
mm 0.25 0.05 2.90 2.65 0.25 0.50 0.35 0.25 0.14 14.1 13.9 1 18.2 17.6 1.2 0.8 7 0

Typical reflow peak temperatures range from 215 to 250 °C. The top-surface temperature of the packages should preferable be kept below 230 °C.
This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our “Data Handbook IC26; Integrated Circuit Packages” (document order number 9398 652 90011).
Conventional single wave soldering is not recommended for surface mount devices (SMDs) or printed-circuit boards with a high component density, as solder bridging and non-wetting can present major problems.
There is no soldering method that is ideal for all IC packages. Wave soldering is often preferred when through-hole and surface mount components are mixed on one printed-circuit board. However, wave soldering is not always suitable for surface mount ICs, or for printed-circuit boards with high population densities. In these situations reflow soldering is often used.
To overcome these problems the double-wave soldering method was specifically developed.
If wave soldering is used the following conditions must be observed for optimal results:
The maximum permissible temperature of the solder is 260 °C; solder at this temperature must not be in contact with the joints for more than 5 seconds. The total contact time of successive solder waves must not exceed 5 seconds.
– larger than or equal to 1.27 mm, the footprint
longitudinal axis is preferred to be parallel to the transport direction of the printed-circuit board;
– smaller than 1.27 mm, the footprint longitudinal axis
must be parallel to the transport direction of the printed-circuit board.
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 (Tstg(max)). If the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit.
The footprint must incorporate solder thieves at the downstream end.
Apply the soldering iron (24 V or less) to the lead(s) of the package, either 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.
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.
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.
M ANUAL SOLDERING
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.
Fix the component by first soldering two diagonally-opposite end leads. Use a low voltage (24 V or less) soldering iron applied to the flat part of the lead. Contact time must be limited to 10 seconds at up to 300 °C.
Several methods exist for reflowing; for example, infrared/convection heating in a conveyor type oven. Throughput times (preheating, soldering and cooling) vary between 100 and 200 seconds depending on heating method.
When using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 °C.
Introduction · Through-hole mount packages · Surface mount packages

Suitability of IC packages for wave, reflow and dipping soldering methods
MOUNTING PACKAGE
WAVE REFLOW (1) DIPPING
Through-hole mount DBS, DIP, HDIP, SDIP, SIL suitable(2) − suitable
Surface mount BGA, SQFP not suitable suitable −
HLQFP, HSQFP, HSOP, HTSSOP, SMS not suitable(3) suitable −
PLCC(4), SO, SOJ suitable suitable −
LQFP, QFP, TQFP not recommended(4)(5) suitable −
SSOP, TSSOP, VSO not recommended(6) suitable −

Objective specification This data sheet contains target or goal specifications for product development.
Preliminary specification This data sheet contains preliminary data; supplementary data may be published later.
Product specification This data sheet contains final product specifications.
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.
Where application information is given, it is advisory and does not form part of the specification.
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 I2C components conveys a license under the Philips’ I2C patent to use the 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.
Data sheet status · Limiting values · Application information

Argentina: see South America Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113, Tel. +61 2 9805 4455, Fax. +61 2 9805 4466 Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213, Tel. +43 1 60 101 1248, Fax. +43 1 60 101 1210 Belarus: Hotel Minsk Business Center, Bld. 3, r. 1211, Volodarski Str. 6, 220050 MINSK, Tel. +375 172 20 0733, Fax. +375 172 20 0773 Belgium: see The Netherlands Brazil: see South America Bulgaria: Philips Bulgaria Ltd., Energoproject, 15th floor, 51 James Bourchier Blvd., 1407 SOFIA, Tel. +359 2 68 9211, Fax. +359 2 68 9102 Canada: PHILIPS SEMICONDUCTORS/COMPONENTS, Tel. +1 800 234 7381, Fax. +1 800 943 0087 China/Hong Kong: 501 Hong Kong Industrial Technology Centre, 72 Tat Chee Avenue, Kowloon Tong, HONG KONG, Tel. +852 2319 7888, Fax. +852 2319 7700 Colombia: see South America Czech Republic: see Austria Denmark: Sydhavnsgade 23, 1780 COPENHAGEN V, Tel. +45 33 29 3333, Fax. +45 33 29 3905 Finland: Sinikalliontie 3, FIN-02630 ESPOO, Tel. +358 9 615 800, Fax. +358 9 6158 0920 France: 51 Rue Carnot, BP317, 92156 SURESNES Cedex, Tel. +33 1 4099 6161, Fax. +33 1 4099 6427 Germany: Hammerbrookstraße 69, D-20097 HAMBURG, Tel. +49 40 2353 60, Fax. +49 40 2353 6300 Hungary: see Austria India: Philips INDIA Ltd, Band Box Building, 2nd floor, 254-D, Dr. Annie Besant Road, Worli, MUMBAI 400 025, Tel. +91 22 493 8541, Fax. +91 22 493 0966 Indonesia: PT Philips Development Corporation, Semiconductors Division, Gedung Philips, Jl. Buncit Raya Kav.99-100, JAKARTA 12510, Tel. +62 21 794 0040 ext. 2501, Fax. +62 21 794 0080 Ireland: Newstead, Clonskeagh, DUBLIN 14, Tel. +353 1 7640 000, Fax. +353 1 7640 200 Israel: RAPAC Electronics, 7 Kehilat Saloniki St, PO Box 18053, TEL AVIV 61180, Tel. +972 3 645 0444, Fax. +972 3 649 1007 Italy: PHILIPS SEMICONDUCTORS, Piazza IV Novembre 3, 20124 MILANO, Tel. +39 02 67 52 2531, Fax. +39 02 67 52 2557 Japan: Philips Bldg 13-37, Kohnan 2-chome, Minato-ku, TOKYO 108-8507, Tel. +81 3 3740 5130, Fax. +81 3 3740 5077 Korea: Philips House, 260-199 Itaewon-dong, Yongsan-ku, SEOUL, Tel. +82 2 709 1412, Fax. +82 2 709 1415 Malaysia: No. 76 Jalan Universiti, 46200 PETALING JAYA, SELANGOR, Tel. +60 3 750 5214, Fax. +60 3 757 4880 Mexico: 5900 Gateway East, Suite 200, EL PASO, TEXAS 79905, Tel. +9-5 800 234 7381, Fax +9-5 800 943 0087 Middle East: see Italy
Netherlands: Postbus 90050, 5600 PB EINDHOVEN, Bldg. VB, Tel. +31 40 27 82785, Fax. +31 40 27 88399 New Zealand: 2 Wagener Place, C.P.O. Box 1041, AUCKLAND, Tel. +64 9 849 4160, Fax. +64 9 849 7811 Norway: Box 1, Manglerud 0612, OSLO, Tel. +47 22 74 8000, Fax. +47 22 74 8341 Pakistan: see Singapore Philippines: Philips Semiconductors Philippines Inc., 106 Valero St. Salcedo Village, P.O. Box 2108 MCC, MAKATI, Metro MANILA, Tel. +63 2 816 6380, Fax. +63 2 817 3474 Poland: Ul. Lukiska 10, PL 04-123 WARSZAWA, Tel. +48 22 612 2831, Fax. +48 22 612 2327 Portugal: see Spain Romania: see Italy Russia: Philips Russia, Ul. Usatcheva 35A, 119048 MOSCOW, Tel. +7 095 755 6918, Fax. +7 095 755 6919 Singapore: Lorong 1, Toa Payoh, SINGAPORE 319762, Tel. +65 350 2538, Fax. +65 251 6500 Slovakia: see Austria Slovenia: see Italy South Africa: S.A. PHILIPS Pty Ltd., 195-215 Main Road Martindale, 2092 JOHANNESBURG, P.O. Box 58088 Newville 2114, Tel. +27 11 471 5401, Fax. +27 11 471 5398 South America: Al. Vicente Pinzon, 173, 6th floor, 04547-130 SÃO PAULO, SP, Brazil, Tel. +55 11 821 2333, Fax. +55 11 821 2382 Spain: Balmes 22, 08007 BARCELONA, Tel. +34 93 301 6312, Fax. +34 93 301 4107 Sweden: Kottbygatan 7, Akalla, S-16485 STOCKHOLM, Tel. +46 8 5985 2000, Fax. +46 8 5985 2745 Switzerland: Allmendstrasse 140, CH-8027 ZÜRICH, Tel. +41 1 488 2741 Fax. +41 1 488 3263 Taiwan: Philips Semiconductors, 6F, No. 96, Chien Kuo N. Rd., Sec. 1, TAIPEI, Taiwan Tel. +886 2 2134 2886, Fax. +886 2 2134 2874 Thailand: PHILIPS ELECTRONICS (THAILAND) Ltd., 209/2 Sanpavuth-Bangna Road Prakanong, BANGKOK 10260, Tel. +66 2 745 4090, Fax. +66 2 398 0793 Turkey: Yukari Dudullu, Org. San. Blg., 2.Cad. Nr. 28 81260 Umraniye, ISTANBUL, Tel. +90 216 522 1500, Fax. +90 216 522 1813 Ukraine: PHILIPS UKRAINE, 4 Patrice Lumumba str., Building B, Floor 7, 252042 KIEV, Tel. +380 44 264 2776, Fax. +380 44 268 0461 United Kingdom: Philips Semiconductors Ltd., 276 Bath Road, Hayes, MIDDLESEX UB3 5BX, Tel. +44 181 730 5000, Fax. +44 181 754 8421 United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409, Tel. +1 800 234 7381, Fax. +1 800 943 0087 Uruguay: see South America Vietnam: see Singapore Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD, Tel. +381 11 62 5344, Fax.+381 11 63 5777
For all other countries apply to: Philips Semiconductors, International Marketing & Sales Communications, Building BE-p, P.O. Box 218, 5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
© Philips Electronics N.V. SCA
All rights are reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. 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.
Printed in The Netherlands 545002/750/01/pp52 Date of release: 1999 May 10 Document order number: 9397 750 02805
1999 64
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.