NXP Semiconductors UDA1352TS User manual

DATA SHEET
Preliminary specification
Supersedes data of 2002 May 22 2002 Nov 22
INTEGRATED CIRCUITS
UDA1352TS
48 kHz IEC 60958 audio DAC

2002 Nov 22 2
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
CONTENTS
1 FEATURES
1.1 General
1.2 Control
1.3 IEC 60958 input
1.4 Digital sound processing and DAC
2 APPLICATIONS
3 GENERAL DESCRIPTION
4 ORDERING INFORMATION
5 QUICK REFERENCE DATA
6 BLOCK DIAGRAM
7 PINNING
8 FUNCTIONAL DESCRIPTION
8.1 Clock regeneration and lock detection
8.2 Mute
8.3 Auto mute
8.4 Data path
8.5 Control
9 L3-BUS DESCRIPTION
9.1 General
9.2 Device addressing
9.3 Register addressing
9.4 Data write mode
9.5 Data read mode
9.6 Initialization string
10 I2C-BUS DESCRIPTION
10.1 Characteristics of the I2C-bus
10.2 Bit transfer
10.3 Byte transfer
10.4 Data transfer
10.5 Start and stop conditions
10.6 Acknowledgment
10.7 Device address
10.8 Register address
10.9 Write and read data
10.10 Write cycle
10.11 Read cycle
11 SPDIF SIGNAL FORMAT
11.1 SPDIF channel encoding
11.2 SPDIF hierarchical layers for audio data
11.3 SPDIF hierarchical layers for digital data
11.4 Timing characteristics
12 REGISTER MAPPING
12.1 SPDIF mute setting (write)
12.2 Power-down settings (write)
12.3 Volume control left and right (write)
12.4 Sound feature mode, treble and bass boost
settings (write)
12.5 Mute (write)
12.6 Polarity (write)
12.7 SPDIF input settings (write)
12.8 Interpolator status (read-out)
12.9 SPDIF status (read-out)
12.10 Channel status (read-out)
12.11 FPLL status (read-out)
13 LIMITING VALUES
14 THERMAL CHARACTERISTICS
15 CHARACTERISTICS
16 TIMING CHARACTERISTICS
17 APPLICATION INFORMATION
18 PACKAGE OUTLINE
19 SOLDERING
19.1 Introduction to soldering surface mount
packages
19.2 Reflow soldering
19.3 Wave soldering
19.4 Manual soldering
19.5 Suitability of surface mount IC packages for
wave and reflow soldering methods
20 DATA SHEET STATUS
21 DISCLAIMERS
22 TRADEMARKS

2002 Nov 22 3
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
1 FEATURES
1.1 General
•2.7 to 3.6 V power supply
•Integrated digital filter and Digital-to-Analog
Converter (DAC)
•256fssystem clock output
•20-bit data path in interpolator
•High performance
•No analog post filtering required for DAC
•Supporting sampling frequencies from 28 up to 55 kHz.
1.2 Control
•Controlled either by means of static pins, I2C-bus or
L3-bus microcontroller interface.
1.3 IEC 60958 input
•On-chip amplifier for converting IEC 60958 input to
CMOS levels
•Lock indication signal available on pin LOCK
•Information of the Pulse Code Modulation (PCM) status
bit and the non-PCM data detection is available on
pin PCMDET
•Forleftand right 40 key channel-status bits available via
L3-bus or I2C-bus interface.
1.4 Digital sound processing and DAC
•Automatic de-emphasis when using IEC 60958 input
with 32.0, 44.1 and 48.0 kHz audio sample frequencies
•Soft mute by means of a cosine roll-off circuit selectable
via pin MUTE, L3-bus or I2C-bus interface
•Left and right independent dB linear volume control with
0.25 dB steps from 0 to −50 dB, 1 dB steps to −60,
−66 and −∞ dB
•Bass boost and treble control in L3-bus or I2C-bus mode
•Interpolatingfilter (fsto 64fs) by meansofacascadeofa
recursive filter and a FIR filter
•Fifth-order noise shaper (operating at 64fs) generates
the bitstream for the DAC
•Filter Stream DAC (FSDAC).
2 APPLICATIONS
•Digital audio systems.
3 GENERAL DESCRIPTION
The UDA1352TS is a single-chip IEC 60958 audio
decoder with an integrated stereo DAC employing
bitstream conversion techniques.
A lock indication signal is available on pin LOCK,
indicating that the IEC 60958 decoder is locked.
A separate pin PCMDET is available to indicate whether
or not the PCM data is applied to the input.
By default, the DAC output is muted when the decoder is
out-of-lock. However, this setting can be overruled in the
L3-bus or I2C-bus mode.
The UDA1352TS has IEC 60958 input to the DAC only
and is in SSOP28 package.
Besides the UDA1352TS, the UDA1352HL is also
available. The UDA1352HL is the full featured version in
LQFP48 package.
4 ORDERING INFORMATION
TYPE
NUMBER PACKAGE
NAME DESCRIPTION VERSION
UDA1352TS SSOP28 plastic shrink small outline package; 28 leads; body width 5.3 mm SOT341-1

2002 Nov 22 4
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
5 QUICK REFERENCE DATA
VDDD =V
DDA = 3.0 V; IEC 60958 input with fs=48.0kHz;T
amb =25°C; RL=5kΩ; all voltages measured with respect
to ground; unless otherwise specified.
Note
1. The output voltage of the DAC is proportional to the DAC power supply voltage.
SYMBOL PARAMETER CONDITIONS MIN. TYP. MAX. UNIT
Supplies
VDDD digital supply voltage 2.7 3.0 3.6 V
VDDA analog supply voltage 2.7 3.0 3.6 V
IDDA(DAC) analog supply current of DAC power-on −3.3 −mA
power-down; clock off −35 −μA
IDDA(PLL) analog supply current of PLL −0.3 −mA
IDDD(C) digital supply current of core −9−mA
IDDD digital supply current −0.3 −mA
P power dissipation DAC in playback mode −38 −mW
DAC in Power-down mode −tbf −mW
General
trst reset active time −250 −μs
Tamb ambient temperature −40 −+85 °C
Digital-to-analog converter
Vo(rms) output voltage (RMS value) fi= 1.0 kHz tone at 0 dBFS; note 1 850 900 950 mV
ΔVounbalance of output voltages fi= 1.0 kHz tone −0.1 0.4 dB
(THD+N)/S total harmonic
distortion-plus-noise to signal
ratio
fi= 1.0 kHz tone
at 0 dBFS −−82 −77 dB
at −40 dBFS; A-weighted −−60 −52 dB
S/N signal-to-noise ratio fi= 1.0 kHz tone; code = 0; A-weighted 95 100 −dB
αcs channel separation fi= 1.0 kHz tone −110 −dB

2002 Nov 22 5
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
6 BLOCK DIAGRAM
handbook, full pagewidth
MGU655
VOUTR
5
17
RESET
CLOCK
AND
TIMING CIRCUIT
PCMDET
1
LOCK
16
n.c.
21, 22, 27
DAC
VOUTL
15
DAC
VDDA(DAC)
14
VSSA(DAC)
20
Vref
19
TEST1
2
TEST2
18
AUDIO FEATURE PROCESSOR
INTERPOLATOR
NOISE SHAPER
IEC 60958
DECODER
SLICER
L3-BUS
OR I2C-BUS
INTERFACE NON-PCM DATA
SYNC
DETECTOR
8
L3DATA
9
L3CLOCK
10
L3MODE
25
DA1
28
DA0
3
VDDD 7
VSSD
6
VDDD(C) 12
VSSD(C)
24
VDDA(PLL) 23
VSSA(PLL)
13
SPDIF
26
4
SELSTATIC
SELIIC
11 MUTE
UDA1352TS
Fig.1 Block diagram.

2002 Nov 22 6
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
7 PINNING
Note
1. See Table 1.
SYMBOL PIN TYPE(1) DESCRIPTION
PCMDET 1 DO PCM detection indicator output
TEST1 2 DO test pin 1; must be left open-circuit in application
VDDD 3 DS digital supply voltage
SELIIC 4 DID I2C-bus or L3-bus mode selection input
RESET 5 DID reset input
VDDD(C) 6 DS digital supply voltage for core
VSSD 7 DGND digital ground
L3DATA 8 IIC L3-bus or I2C-bus interface data input and output
L3CLOCK 9 DIS L3-bus or I2C-bus interface clock input
L3MODE 10 DIS L3 interface mode input
MUTE 11 DID mute control input
VSSD(C) 12 DGND digital ground for core
SPDIF 13 AIO IEC 60958 channel input
VDDA(DAC) 14 AS analog supply voltage for DAC
VOUTL 15 AIO DAC left channel analog output
LOCK 16 DO SPDIF and PLL lock indicator output
VOUTR 17 AIO DAC right channel analog output
TEST2 18 DID test pin 2; must be connected to digital ground (VSSD) in application
Vref 19 AIO DAC reference voltage
VSSA(DAC) 20 AGND analog ground for DAC
n.c. 21 −not connected
n.c. 22 −not connected
VSSA(PLL) 23 AGND analog ground for PLL
VDDA(PLL) 24 AS analog supply voltage for PLL
DA1 25 DISU A1 device address selection input
SELSTATIC 26 DIU static pin control selection input
n.c. 27 −not connected (reserved)
DA0 28 DID A0 device address selection input

2002 Nov 22 7
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
Table 1 Pin types
TYPE DESCRIPTION
DS digital supply
DGND digital ground
AS analog supply
AGND analog ground
DI digital input
DIS digital Schmitt-triggered input
DID digital input with internal pull-down resistor
DISD digital Schmitt-triggered input with internal pull-down resistor
DIU digital input with internal pull-up resistor
DISU digital Schmitt-triggered input with internal pull-up resistor
DO digital output
DIO digital input and output
DIOS digital Schmitt-triggered input and output
IIC input and open-drain output for I2C-bus
AIO analog input and output
handbook, halfpage
UDA1352TS
MGU654
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PCMDET
TEST1
VDDD
SELIIC
RESET
VDDD(C)
VSSD
L3DATA
L3CLOCK
L3MODE
MUTE
VSSD(C)
SPDIF
VDDA(DAC)
DA0
n.c.
SELSTATIC
DA1
VDDA(PLL)
VSSA(PLL)
n.c.
n.c.
VSSA(DAC)
Vref
TEST2
VOUTR
LOCK
VOUTL
28
27
26
25
24
23
22
21
20
19
18
17
16
15
Fig.2 Pin configuration.

2002 Nov 22 8
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
8 FUNCTIONAL DESCRIPTION
8.1 Clock regeneration and lock detection
The UDA1352TS contains an on-board PLL for
regenerating a system clock from the IEC 60958 input
bitstream.
Remark: If there is no input signal, the PLL generates a
minimum frequency and the output spectrum shifts
accordingly. Since the analog output does not have an
analog mute, this means noise that is out of band under
normal conditions can move into the audio band.
When the on-board clock locks to the incoming frequency,
the lock indicator bit is set and can be read via the L3-bus
or I2C-bus interface. Internally, the PLL lock indication can
be combined with the PCM status bit of the input data
stream and the status whether any burst preamble is
detected or not. By default, when both the IEC 60958
decoder and the on-board clock have locked to the
incoming signal and the input data stream is PCM data,
pin LOCKwillbeasserted.However,whenthe ICislocked
but the PCM status bit reports non-PCM data, pin LOCK is
returned to LOW level. This combination of the lock status
and the PCM detection can be overruled by the L3-bus or
I2C-bus register setting.
The lock indication output can be used, for example, for
muting purposes. The lock signal can be used to drive an
external analog muting circuit to prevent out of band noise
from becoming audible when the PLL runs at its minimum
frequency (e.g. when there is no SPDIF input signal).
TheUDA1352TShasa dedicated pin PCMDET toindicate
whether valid PCM data stream is detected or (supposed
to be) non-PCM data is detected.
8.2 Mute
The UDA1352TS is equipped with a cosine roll-off mute in
the DSP data path of the DAC part. Muting the DAC (by
pin MUTE or via bit MT in the L3-bus or I2C-bus mode)
will result in a soft mute as shown in Fig.3. The cosine
roll-off soft mute takes 32 ×32 samples = 23 ms at
44.1 kHz sampling frequency.
When operating in the L3-bus or I2C-bus mode, the device
will mute on start-up. In the L3-bus or I2C-bus mode, it is
necessary to explicitly switch off the mute for audio output
by means of bit MT in the device register.
In the L3-bus or I2C-bus mode, pin MUTE will at all time
mute the output signal. This is in contrast to the UDA1350
and the UDA1351 in which pin MUTE in the L3-bus mode
does not have any function.
8.3 Auto mute
By default, the DAC outputs will be muted until the
UDA1352TS is locked, regardless of the level on
pin MUTEorthe stateofbit MT.In thisway,onlyvalid data
will be passed to the outputs. This mute is done in the
SPDIF interface and is a hard mute, not a cosine roll-off
mute.
If needed, this muting can be bypassed by setting
bit MUTEBP = 1 via the L3-bus or I2C-bus interface. As a
result, the UDA1352TS will no longer mute during
out-of-lock situations.
handbook, halfpage
01051525
1
0
0.8
MGU119
20
0.6
0.4
0.2
t (ms)
mute
factor
Fig.3 Mute as a function of raised cosine roll-off.

2002 Nov 22 9
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
8.4 Data path
The UDA1352TS data path consists of the IEC 60958
decoder, the audio feature processor, the digital
interpolator and noise shaper and the DACs.
8.4.1 IEC 60958 INPUT
The IEC 60958 decoder features an on-chip amplifier with
hysteresis, which amplifies the SPDIF input signal to
CMOS level (see Fig.4).
All 24 bits of data for left and right are extracted from the
inputbitstreamas wellas40 channelstatusbitsfor leftand
right. These bits can be read via the L3-bus or I2C-bus
interface.
The UDA1352TS supports the following sample
frequencies and data bit rates:
•fs= 32.0 kHz, resulting in a data rate of 2.048 Mbits/s
•fs= 44.1 kHz, resulting in a data rate of 2.8224 Mbits/s
•fs= 48.0 kHz, resulting in a data rate of 3.072 Mbits/s.
The UDA1352TS supports timing levels I, II and III, as
specified by the IEC 60958 standard. This means that the
accuracy of the above mentioned sampling frequencies
depends on the timing level I, II or III as mentioned in
Section 11.4.1.
8.4.2 AUDIO FEATURE PROCESSOR
The audio feature processor automatically provides
de-emphasis for the IEC 60958 data stream in the static
pin control mode and default mute at start-up in the L3-bus
or I2C-bus mode.
When used in the L3-bus or I2C-bus mode, it provides the
following additional features:
•Left and right independent volume control
•Bass boost control
•Treble control
•Mode selection of the sound processing bass boost and
treble filters: flat, minimum and maximum
•Soft mute control with raised cosine roll-off.
8.4.3 INTERPOLATOR
The UDA1352TS includes an on-board interpolating filter
which converts the incoming data stream from 1fsto 64fs
by cascading a recursive filter and a FIR filter.
Table 2 Interpolator characteristics
8.4.4 NOISE SHAPER
The fifth-order noise shaper operates at 64fs. It shifts
in-band quantization noise to frequencies well above the
audio band. This noise shaping technique enables high
signal-to-noise ratios to be achieved. The noise shaper
outputis convertedtoananalogsignalusingafilterstream
DAC.
handbook, halfpage
MGU656
13SPDIF
75 Ω180 pF
10 nF
UDA1352TS
Fig.4 IEC 60958 input circuit and typical
application.
PARAMETER CONDITIONS VALUE (dB)
Pass-band ripple 0 to 0.45fs±0.03
Stop band >0.55fs−50
Dynamic range 0 to 0.45fs114
DC gain −−5.67

2002 Nov 22 10
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
8.4.5 FILTER STREAM DAC
The Filter Stream DAC (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
andaresummedatvirtualgroundofthe outputoperational
amplifier. In this way, very high signal-to-noise
performance and low clock jitter sensitivity is achieved.
A post filter is not needed due to 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 output voltage of the FSDAC is scaled proportionally
with the power supply voltage.
8.5 Control
The UDA1352TS can be controlled by means of static pins
(when pin SELSTATIC = HIGH), via the I2C-bus (when
pin SELSTATIC = LOWandpin SELIIC = HIGH)orviathe
L3-bus (when pins SELSTATIC and SELIIC are LOW).
For optimum use of the features of the UDA1352TS, the
L3-bus or I2C-bus mode is recommended since only basic
functions are available in the static pin control mode.
It should be noted that the static pin control mode and the
L3-bus or I2C-bus mode are mutually exclusive.
8.5.1 STATIC PIN CONTROL MODE
The default values for all non-pin controlled settings are
identical to the default values at start-up in the L3-bus or
I2C-bus mode (see Table 3).
Table 3 Pin description of static pin control mode
PIN NAME VALUE FUNCTION
Mode selection pin
26 SELSTATIC 1 select static pin control mode; must be connected to VDDD
Input pins
5 RESET 0 normal operation
1reset
9 L3CLOCK 0 must be connected to VSSD
10 L3MODE 0 must be connected to VSSD
8 L3DATA 0 must be connected to VSSD
11 MUTE 0 no mute
1 mute active
Status pins
1 PCMDET 0 non-PCM data or burst preamble detected
1 PCM data detected
16 LOCK 0 clock regeneration and IEC 60958 decoder out-of-lock or non-PCM data detected
1 clock regeneration and IEC 60958 decoder locked and PCM data detected
Test pins
2 TEST1 −must be left open-circuit
18 TEST2 0 must be connected to VSSD

2002 Nov 22 11
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
8.5.2 L3-BUS OR I2C-BUS MODE
The L3-bus or I2C-bus mode allows maximum flexibility in controlling the UDA1352TS (see Table 4).
Itshouldbenotedthat in the L3-bus orI2C-bus mode, several base-line functionsare still controlled by pins on the device
and that, on start-up in the L3-bus or I2C-bus mode, the output is explicitly muted by bit MT via the L3-bus or I2C-bus
interface.
Table 4 Pin description in the L3-bus or I2C-bus mode
PIN NAME VALUE FUNCTION
Mode selection pins
26 SELSTATIC 0 select L3-bus mode or I2C-bus mode; must be connected to VSSD
4 SELIIC 0 select L3-bus mode; must be connected to VSSD
1selectI
2C-bus mode; must be connected to VDDD
Input pins
5 RESET 0 normal operation
1 reset
8L3DATA −must be connected to the L3-bus
−must be connected to the SDA line of the I2C-bus
9 L3CLOCK −must be connected to the L3-bus
−must be connected to the SCL line of the I2C-bus
10 L3MODE −must be connected to the L3-bus
11 MUTE 0 no mute
1 mute active
Status pins
1 PCMDET 0 non-PCM data or burst preamble detected
1 PCM data detected
16 LOCK 0 clock regeneration and IEC 60958 decoder out-of-lock or non-PCM data detected
1 clock regeneration and IEC 60958 decoder locked and PCM data detected
Test pins
2 TEST1 −must be left open-circuit
18 TEST2 0 must be connected to VSSD

2002 Nov 22 12
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
9 L3-BUS DESCRIPTION
9.1 General
The UDA1352TS has an L3-bus microcontroller interface
and all the digital sound processing features and various
system settings can be controlled by a microcontroller.
The controllable settings are:
•Restoring L3-bus default values
•Power-on
•Selection of filter mode and settings of treble and bass
boost
•Volume settings left and right
•Selection of soft mute via cosine roll-off and bypass of
auto mute.
The readable settings are:
•Mute status of interpolator
•PLL locked
•SPDIF input signal locked
•Audio sample frequency
•Valid PCM data detected
•Pre-emphasis of the IEC 60958 input signal
•Accuracy of the clock.
The exchange of data and control information between the
microcontroller and the UDA1352TS is LSB first and is
accomplished through the serial hardware L3-bus
interface comprising the following pins:
•L3DATA: data line
•L3MODE: mode line
•L3CLOCK: clock line.
The L3-bus format has two modes of operation:
•Address mode
•Data transfer mode.
The address mode is used to select a device for a
subsequent data transfer. The address mode is
characterized by L3MODE being LOW and a burst of
8 pulsesonL3CLOCK,accompaniedby 8 bits (see Fig.5).
The data transfer mode is characterized by L3MODE
being HIGH and is used to transfer one or more bytes
representing a register address, instruction or data.
Basically, two types of data transfers can be defined:
•Write action: data transfer to the device
•Read action: data transfer from the device.
Remark: when the device is powered-up, at least one
L3CLOCK pulse must be given to the L3-bus interface to
wake-up theinterface before starting sending tothedevice
(see Fig.5). This is only needed once after the device is
powered-up.
9.2 Device addressing
The device address consists of 1 byte with:
•Data Operating Mode (DOM) bits 0 and 1 representing
the type of data transfer (see Table 5)
•Address bits 2 to 7 representing a 6-bit device address.
The bits 2 and 3 of the address can be selected via the
external pins DA0 and DA1, which allows up to
4 UDA1352TS devices to be independentlycontrolledin
a single application.
The primary address of the UDA1352TS is ‘001000’ (LSB
to MSB) and the default address is ‘011000’.
Table 5 Selection of data transfer
9.3 Register addressing
After sending the device address (including DOM bits),
indicating whether the information is to be read or written,
one data byte is sent using bit 0 to indicate whether the
information will be read or written and bits 1 to 7 for the
destination register address.
Basically, there are three methods for register addressing:
1. Addressing for write data: bit 0 is logic 0 indicating a
write action to the destination register, followed by bits
1 to 7 indicating the register address (see Fig.5)
2. Addressing for prepare read: bit 0 is logic 1, indicating
that data will be read from the register (see Fig.6)
3. Addressing for data read action. Here, the device
returns a register address prior to sending data from
thatregister.Whenbit 0islogic 0,theregisteraddress
is valid; when bit 0 is logic 1, the register address is
invalid.
DOM TRANSFER
BIT 0 BIT 1
0 0 not used
1 0 not used
0 1 write data or prepare read
11readdata

2002 Nov 22 13
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
MGS75
3
L
3CLOCK
L3MODE
L3DATA 0
write
L3 wake-up pulse after power-up
device address
DOM bits
register address data byte 1 data byte 2
10
Fig.5 Data write mode (for L3-bus version 2).
MBL56
5
L
3CLOCK
L
3MODE
L
3DATA 0
read valid/invalid
device address
prepare read sent by the device
DOM bits
register address device address requesting
register address data byte 1 data byte 2
111
0/1
1
Fig.6 Data read mode.

2002 Nov 22 14
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
9.4 Data write mode
The data write mode is explained in the signal diagram of
Fig.5. For writing data to a device, 4 bytes must be sent
(see Table 6):
1. One byte starting with ‘01’ for signalling the write
action to the device, followed by the device address
(‘011000’ for the UDA1352TS default)
2. One byte starting with a ‘0’ for signalling the write
action, followed by 7 bits indicating the destination
register address in binary format with A6 being the
MSB and A0 being the LSB
3. One data byte (from the two data bytes) with D15
being the MSB
4. One data byte (from the two data bytes) with D0 being
the LSB.
Itshouldbe notedthateachtime anewdestinationregister
address needs to be written, the device address must be
sent again.
9.5 Data read mode
To read data from the device, a prepare read must first be
done and then data read. The data read mode is explained
in the signal diagram of Fig.6.
For reading data from a device, the following 6 bytes are
involved (see Table 7):
1. One byte with the device address, including ‘01’ for
signalling the write action to the device
2. One byte is sent with the register address from which
data needs to be read; thisbyte startswith a ‘1’, which
indicates that there will be a read action from the
register, followed by seven bits for the source register
address in binary format, with A6 being the MSB
and A0 being the LSB
3. One byte with the device address preceded by ‘11’ is
sent to the device; the ‘11’ indicates that the device
must write data to the microcontroller
4. One byte, sent by the device to the bus, with the
(requested) register address and a flag bit indicating
whether the requested register was valid (bit is logic 0)
or invalid (bit is logic 1)
5. One byte (from the two bytes), sent by the device to
the bus, with the data information in binary format,
with D15 being the MSB
6. One byte (from the two bytes), sent by the device to
the bus, with the data information in binary format,
with D0 being the LSB.
Table 6 L3-bus write data
Table 7 L3-bus read data
BYTE L3-BUS
MODE ACTION FIRST IN TIME LAST IN TIME
BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7
1address deviceaddress 01DA0DA11000
2 data transfer register address 0 A6 A5 A4 A3 A2 A1 A0
3 data transfer data byte 1 D15 D14 D13 D12 D11 D10 D9 D8
4 data transfer data byte 2 D7 D6 D5 D4 D3 D2 D1 D0
BYTE L3-BUS
MODE ACTION FIRST IN TIME LAST IN TIME
BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7
1address deviceaddress 01DA0DA11000
2 data transfer register address 1 A6 A5 A4 A3 A2 A1 A0
3address deviceaddress 11DA0DA11000
4datatransferregisteraddress 0or1A6A5A4A3A2A1A0
5 data transfer data byte 1 D15 D14 D13 D12 D11 D10 D9 D8
6 data transfer data byte 2 D7 D6 D5 D4 D3 D2 D1 D0

2002 Nov 22 15
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
9.6 Initialization string
For proper and reliable operation, the UDA1352TS must be initialized in the L3-bus mode. This is required to have the
PLL start-up after powering up of the device under all conditions. The initialization string is given in Table 8.
Table 8 L3-bus initialization string and set defaults after power-up
BYTE L3-BUS
MODE ACTION FIRST IN TIME LAST IN TIME
BIT0 BIT1 BIT2 BIT3 BIT4 BIT5 BIT6 BIT7
1 address init string device address 0 1 DA0 DA1 1 0 0 0
2datatransfer registeraddress01000000
3datatransfer databyte1 00000000
4datatransfer databyte2 00000001
5 address set
defaults device address 0 1 DA0 DA1 1 0 0 0
6datatransfer registeraddress01111111
7datatransfer databyte1 00000000
8datatransfer databyte2 00000000
10 I2C-BUS DESCRIPTION
10.1 Characteristics of the I2C-bus
The bus is for 2-way, 2-line communication between
different ICs or modules. The two lines are a serial data
line (SDA)andaserialclockline (SCL).Bothlines mustbe
connected to the VDD via a pull-up resistor when
connected to the output stages of a microcontroller. For a
400 kHz IC the recommendation for this type of bus from
NXP Semiconductors must be followed (e.g. up to loads of
200 pF on the bus a pull-up resistor can be used, between
200 to 400 pF a current source or switched resistor must
be used). Data transfer can only be initiated when the bus
is not busy.
10.2 Bit transfer
One data bit is transferred during each clock pulse (see
Fig.7).ThedataontheSDA linemustremainstableduring
the HIGH period of the clock pulse as changes in the data
line at this time will be interpreted as control signals. The
maximum clock frequency is 400 kHz.
To be able to run on this high frequency all the inputs and
outputs connected to this bus must be designed for this
high-speed I2C-bus according to specification “The
I2C-bus and how to use it”, (order code 9398 393 40011).
handbook, full pagewidth
MBC621
data line
stable;
data valid
change
of data
allowed
SDA
SCL
Fig.7 Bit transfer on the I2C-bus.

2002 Nov 22 16
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
10.3 Byte transfer
Each byte (8 bits) is transferred with the MSB first
(see Table 9).
Table 9 Byte transfer
10.4 Data transfer
A device generating a message is a transmitter, a device
receiving a message is the receiver. The device that
controls the message is the master and the devices which
are controlled by the master are the slaves.
10.5 Start and stop conditions
Both data and clock line will remain HIGH when the bus is
not busy. A HIGH-to-LOW transition of the data line, while
the clock is HIGH, is defined as a start condition (S);
see Fig.8. A LOW-to-HIGH transition of the data line while
the clock is HIGH is defined as a stop condition (P).
MSB BIT NUMBER LSB
76543210
handbook, full pagewidth
MBC622
SDA
SCL P
STOP condition
SDA
SCL
S
START condition
Fig.8 START and STOP conditions on the I2C-bus.
10.6 Acknowledgment
The number of data bits transferred between the start and
stop conditions from the transmitter to receiver is not
limited. Each byte of eight bits is followed by one
acknowledge bit (see Fig.9). At the acknowledge bit the
data line is released by the master and the master
generates an extra acknowledge related clock pulse.
A slave receiver which is addressed must generate an
acknowledge after the reception of each byte. Also a
master must generate an acknowledge after the reception
of each byte that has been clocked out of the slave
transmitter.
The device that acknowledges has to pull-down the SDA
line during the acknowledge clock pulse, so that the SDA
line is stable LOW during the HIGH period of the
acknowledge related clock pulse. Set-up and hold times
must be taken into account. A master receiver must signal
an end of data to the transmitter by not generating an
acknowledgeon the last byte that has been clocked out of
the slave. In this event, the transmitter must leave the data
line HIGH to enable the master to generate a stop
condition.

2002 Nov 22 17
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
handbook, full pagewidth
MBC602
S
START
condition
9821
clock pulse for
acknowledgement
not acknowledge
acknowledge
DATA OUTPUT
BY TRANSMITTER
DATA OUTPUT
BY RECEIVER
SCL FROM
MASTER
Fig.9 Acknowledge on the I2C-bus.
10.7 Device address
Before any data is transmitted on the I2C-bus, the device
whichshouldrespondisaddressedfirst.Theaddressingis
always done with byte 1 transmitted after the start
procedure.
The device address can be one out of four, being set by
pin DA0 and pin DA1.
The UDA1352TS acts as a slave receiver or a slave
transmitter. Therefore, the clock signal SCL is only an
input signal. The data signal SDA is a bidirectional line.
The UDA1352TS device address is shown in Table 10.
Table 10 I2C-bus device address
10.8 Register address
The register addresses in the I2C-bus mode are the same
as in the L3-bus mode.
10.9 Write and read data
The I2C-bus configuration for a write and read cycle are
shown respectively in Tables 11 and 12. The write cycle is
used to write groups of two bytes to the internal registers
for the digital sound feature control and system setting.
It is also possible to read these locations for the device
status information.
DEVICE ADDRESS R/W
A6 A5 A4 A3 A2 A1 A0 −
10011DA1DA00/1

2002 Nov 22 18
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
10.10 Write cycle
The I2C-bus configuration for awrite cycle is shown in Table 11. The write cycle is used to write the data to the internal registers. The device and register
addresses are one byte each, the setting data is always a pair of two bytes.
The format of the write cycle is as follows:
1. The microcontroller starts with a start condition (S).
2. The first byte (8 bits) contains the device address ‘1001 110’ and a logic 0 (write) for the R/W bit.
3. This is followed by an acknowledge (A) from the UDA1352TS.
4. After this the microcontroller writes the 8-bit register address (ADDR) where the writing of the register content of the UDA1352TS must start.
5. The UDA1352TS acknowledges this register address (A).
6. The microcontroller sends 2 bytes data with the Most Significant (MS) byte first and then the Least Significant (LS) byte. After each byte an
acknowledge is followed from the UDA1352TS.
7. If repeated groups of 2 bytes are transmitted, then the register address is auto incremented. After each byte an acknowledge is followed from the
UDA1352TS.
8. Finally, the UDA1352TS frees the I2C-bus and the microcontroller can generate a stop condition (P).
Table 11 Master transmitter writes to the UDA1352TS registers in the I2C-bus mode.
Note
1. Auto increment of register address.
DEVICE
ADDRESS R/W REGISTER
ADDRESS DATA 1 DATA 2(1) DATA n(1)
S 1001110 0 A ADDR A MS1 A LS1 A MS2 A LS2 A MSn A LSn A P
acknowledge from UDA1352TS

2002 Nov 22 19
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
10.11 Read cycle
The read cycle is used to read the data values from the internal registers. The I2C-bus configuration for a read cycle is shown in Table 12.
The format of the read cycle is as follows:
1. The microcontroller starts with a start condition (S).
2. The first byte (8 bits) contains the device address ‘1001 110’ and a logic 0 (write) for the R/W bit.
3. This is followed by an acknowledge (A) from the UDA1352TS.
4. After this the microcontroller writes the register address (ADDR) where the reading of the register content of the UDA1352TS must start.
5. The UDA1352TS acknowledges this register address.
6. Then the microcontroller generates a repeated start (Sr).
7. Then the microcontroller generates the device address ‘1001 110’ again, but this time followed by a logic 1 (read) of the R/W bit. An acknowledge
is followed from the UDA1352TS.
8. The UDA1352TS sends 2 bytes data with the Most Significant (MS) byte first and then the Least Significant (LS) byte. After each byte an
acknowledge is followed from the microcontroller.
9. If repeated groups of 2 bytes are transmitted, then the register address is auto incremented. After each byte an acknowledge is followed from the
microcontroller.
10. The microcontroller stops this cycle by generating a negative acknowledge (NA).
11. Finally, the UDA1352TS frees the I2C-bus and the microcontroller can generate a stop condition (P).
Table 12 Master transmitter reads from the UDA1352TS registers in the I2C-bus mode.
Note
1. Auto increment of register address.
DEVICE
ADDRESS R/W REGISTER
ADDRESS DEVICE
ADDRESS R/W DATA 1 DATA 2(1) DATA n(1)
S 1001110 0 A ADDR A Sr 1001110 1 A MS1 A LS1 A MS2 A LS2 A MSn A LSn NA P
acknowledge from UDA1352TS acknowledge from master

2002 Nov 22 20
NXP Semiconductors Preliminary specification
48 kHz IEC 60958 audio DAC UDA1352TS
11 SPDIF SIGNAL FORMAT
11.1 SPDIF channel encoding
The digital signal is coded using Bi-phase Mark Code
(BMC), which is a kind of phase-modulation. In this
scheme, a logic 1 in the data corresponds to two
zero-crossings in the coded signal, and a logic 0 to one
zero-crossing. An example of the encoding is given in
Fig.10.
11.2 SPDIF hierarchical layers for audio data
From an abstract point of view an SPDIF signal can be
represented as in Fig.11. A 2-channel PCM signal can be
transmitted as various sequential blocks. Each block in
turn consists of 192 frames. Each frame contains two
sub-frames, one for each channel.
Each sub-frame is preceded by a preamble. There are
three types of preambles being B, M and W. Preambles
can be spotted easily in an SPDIF stream because these
sequences can never occur in the channel parts of a valid
SPDIF stream. Table 13 indicates the values of the
preambles.
A sub-frame in turn contains a single audio sample which
may be up to 24 bits wide, a validity bit which indicates
whether the sample is valid, a single bit of user data, and
asinglebitofchannelstatus.Finally,thereisaparitybitfor
this particular sub-frame (see Fig.12).
The data bits from 4 to 31 in each sub-frame will be
modulated using a BMC scheme. The sync preamble
actually contains a violation of the BMC scheme and
consequently can be detected easily.
Table 13 Preambles
11.3 SPDIF hierarchical layers for digital data
The difference with the audio format is that the data
contained in the SPDIF signal is not audio but is digital
data.
When transmitting digital data via SPDIF using the
IEC 60958 protocol, the allocation of the bits inside the
data word is done as shown in Table 14.
Table 14 Bit allocation for digital data
As shown in Table 14 and Fig.13, the non-PCM encoded
data bitstreams are transferred within the basic 16 bits
data area of the IEC 60958 sub-frames [time-slots
12 (LSB) to 27 (MSB)].
handbook, halfpage
data
clock
BMC
MGU606
Fig.10 Bi-phase mark encoding.
PRECEDING
STATE CHANNEL CODING
01
B 11101000 00010111
M 1110 0010 0001 1101
W 1110 0100 00011011
FIELD IEC 60958 TIME
SLOT BITS DESCRIPTION
0 to 3 preamble according to IEC 60958
4 to 7 auxiliary bits not used; all logic 0
8 to 11 unused data bits not used; all logic 0
12 16 bits data sections of the digital
bitstream
13 user data according to IEC 60958
14 to 27 16 bits data sections of the digital
bitstream
28 validity bit according to IEC 60958
29 user data according to IEC 60958
30 channel status bit according to IEC 60958
31 parity bit according to IEC 60958
Table of contents
Other NXP Semiconductors Media Converter manuals