• Line output independent of headphone output volume
• Power on/off click prevention circuitry
• High linearity, dynamic range, low distortion.
General
• Integrated digital filter plus DAC plus headphone driver
• No analog post filter required
• Easy application
• Functions controllable by static pins or by
microcontroller interface
• 5 V power supply
• Low power consumption
• Small package size (SO28 and SSOP28).
⁄2(left plus right).
GENERAL DESCRIPTION
The TDA1388 CMOS digital-to-analog bitstream converter
incorporates an up-sampling digital filter and noise shaper,
unique signal processing features and integrated line and
headphone drivers. The digital processing features are of
high sound quality due to the wide dynamic range of the
bitstream conversion technique.
The TDA1388 supports the I
word lengths of up to 20 bits and the LSB justified serial
data input format with word lengths of 16, 18 and 20 bits.
Two cascaded half-band filters and a sample-and-hold
function increase the oversampling rate from 1f
A 2nd-order noise shaper converts this oversampled data
to a bitstream for the 5-bit continuous calibration
Digital-to-Analog Converters (DACs).
On board amplifiers convert the output current to a voltage
signal capable of driving a line output. The signal is also
used to feed the integrated headphone amplifiers.
The volume of the headphone is controlled by an external
potentiometer.
The TDA1388 has special sound processing features for
use in CD-ROM audio applications, which can be
controlled by static pins or microcontroller interface.
These functions are de-emphasis, volume, bass boost,
treble, soft mute and the channel manipulation functions
needed for ATAPI-compliant functionality in CD-ROM
audio processing.
TDA1388
2
S-bus data input mode with
to 64fs.
s
1996 Jul 172
Philips SemiconductorsObjective specification
Bitstream continuous calibration filter-DAC
TDA1388
for CD-ROM audio applications
ORDERING INFORMATION
= 256f
= 384f
PACKAGE
s
s
−−85−80dB
−0.0060.013%
−−35−30dBA
−1.83.2%
−−65−dB
−0.056−%
−−70−dB
−0.032−%
−−35−30dBA
−1.83.2%9095−dBA
−64f
−48f
s
s
−bits
−bits
TYPE
NUMBER
NAMEDESCRIPTIONVERSION
TDA1388TSO28plastic small outline package; 28 leads; body width 7.5 mm.SOT136-1
TDA1388MSSOP28plastic shrink small outline package; 28 leads; body width 5.3 mm.SOT341-1
QUICK REFERENCE DATA
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
Supply
V
DD
I
DD
V
FS(rms)
supply voltagenote 14.55.05.5V
supply currentnote 2−22−mA
full-scale output voltage
VDD= 5 V0.91.01.1V
(RMS value)
(THD+N)/Stotal harmonic distortion plus
noise as a function of signal for
the line output
total harmonic distortion plus
noise as a function of signal for
the headphone output
0 dB signal;
=5kΩ
R
L
−60 dB signal;
=5kΩ
R
L
0 dB signal;
=16Ω
R
L
0 dB signal;
=32Ω
R
L
−60 dB signal;
=16Ω or RL=32Ω
R
L
S/Nsignal-to-noise ratioA-weighted;
at code 00000H
BRinput bit rate at data inputf
f
sys
T
amb
system clock frequency8.192−18.432MHz
operating ambient temperature−20−+70°C
sys
f
sys
Notes
1. All V
and VSS pins must be connected to the same supply or ground respectively.
DD
2. Measured at input code 00000H and VDD=5V.
1996 Jul 173
Philips SemiconductorsObjective specification
Bitstream continuous calibration filter-DAC
for CD-ROM audio applications
BLOCK DIAGRAM
DATA
IF2
IF1
11
8
7
SERIAL DATA INPUT
SYSCLK
SYSSEL
TC
V
DDD
V
SSD
FILTCL
14
15
20
12
13
5
TIMING
TDA1388
R
CONV1
16 (4-BIT)
CALIBRATED
CURRENT
SOURCES
CHANNEL INTERCHANGE
DE-EMPHASIS
VOLUME CONTROL
BASS BOOST AND TREBLE
SOFT MUTE
FILTER STAGE 1 + 2
SAMPLE-AND-HOLD
16 × OVERSAMPLING
2nd-ORDER
NOISE
SHAPER
DATA
ENCODER
2nd-ORDER
NOISE
SHAPER
DATA
ENCODER
BCK
9
4f
s
64f
s
CALIBRATED
16 (4-BIT)
CURRENT
SOURCES
ACPWS
1910
FEATURE
CONTROL
UNIT
R
CONV2
TDA1388
18
APPL2
17
APPL1
16
APPL0
22
V
DDA
23
V
SSA
24
FILTCR
−
V
OL
V
ref
HPINL
4
V
DDA
6
3
30 kΩ
+
+
−
30 kΩ
LEFT OUTPUT
SWITCHES
16 (4-BIT)
CALIBRATED
CURRENT
SINKS
2
HPOUTL
REFERENCE
SOURCE
REFERENCE
SOURCE
Fig.1 Block diagram.
1996 Jul 174
RIGHT OUTPUT
SWITCHES
16 (4-BIT)
CALIBRATED
CURRENT
SINKS
30 kΩ
27
HPOUTR
−
+
+
−
30 kΩ
25
28
21
26
MGD015
V
OR
V
DDO
1
V
SSO1
V
SSO2
HPINR
Philips SemiconductorsObjective specification
Bitstream continuous calibration filter-DAC
for CD-ROM audio applications
PINNING
SYMBOLPINDESCRIPTION
V
SSO1
HPOUTL2left headphone output voltage
HPINL3left headphone input voltage
V
OL
FILTCL5capacitor for left channel 1st-order
V
ref
IF17input format selection 1
IF28input format selection 2
BCK9bit clock input
WS10word selection input
DATA11data input
V
DDD
V
SSD
SYSCLK14system clock 256f
SYSSEL15system clock selection
APPL016application mode 0 input
APPL117application mode 1 input
APPL218application mode 2 input
ACP19application control input
TC20test control
V
SSO2
V
DDA
V
SSA
FIL TCR24capacitor for right channel 1st-order
V
OR
HPINR26right headphone input voltage
HPOUTR27right headphone output voltage
V
DDO
1operational amplifier ground 1
4left channel audio voltage output
filter function, should be connected
between this pin and V
(pin 4)
OL
6internal reference voltage
12digital supply voltage
13digital ground
or 384f
s
s
21operational amplifier ground 2
22analog supply voltage
23analog ground
filter function, should be connected
between this pin and V
(pin 25)
OR
25right channel audio voltage output
28operational amplifier supply voltage
handbook, halfpage
V
HPOUTL
FILTCL
SSO1
HPINL
V
OL
V
ref
IF1
1
2
3
4
5
6
7
TDA1388
IF2
8
BCK
9
WS
10
DATA
11
V
12
DDD
V
13
SSD
SYSCLK
14
Fig.2 Pin configuration.
MGD014
TDA1388
V
28
DDO
27
HPOUTR
26
HPINR
25
V
OR
24
FILTCR
23
V
SSA
22
V
DDA
21
V
SSO2
TC
20
ACP
19
APPL2
18
APPL1
17
APPL0
16
SYSSEL
15
1996 Jul 175
Philips SemiconductorsObjective specification
Bitstream continuous calibration filter-DAC
for CD-ROM audio applications
FUNCTIONAL DESCRIPTION
The TDA1388 CMOS DAC incorporates an up-sampling
digital filter, a sample-and-hold register, a noise shaper,
continuously calibrated current sources, line amplifiers
and headphone amplifiers. The 1fs input data is increased
to an oversampled rate of 64fs. This high-rate
oversampling, together with the 5-bit DAC, enables the
filtering required for waveform smoothing and out-of-band
noise reduction to be achieved by simple 1st-order analog
post-filtering.
System clock
The TDA1388 accommodates slave mode only, this
means that in all applications the system devices must
provide the system clock. The system frequency is
selectable. The options are 256f
clock must be locked in frequency to the I2S-bus input
signals.
Table 1 System clock selection
SYSSELDESCRIPTION
0256f
1384f
Multiple format input interface
The TDA1388 supports the following data input formats;
2
S-bus with data word length of up to 20 bits.
• I
• LSB justified serial format with data word length of
The input formats are illustrated in Fig.3. Left and right
data-channel words are time multiplexed.
Input mode
The TDA1388 has two input modes, a static-pin mode and
a microcontroller mode. In the static-pin mode, the digital
sound processing features such as mute left, mute right
and de-emphasis are controlled by external pins.
The other digital sound processing features have a default
value. In the microcontroller mode, all the digital sound
processing features can be controlled by the
microcontroller. The controllable features are:
• De-emphasis
• Volume left channel
• Volume right channel
• Flat/min/max switch
• Bass boost
• Treble
• Channel manipulation modes.
The selection of one of the two modes is controlled by the
ACP pin. When this pin is at logic 0 then the static pin
mode will be selected. When the pin is at logic 1 then the
microcontroller mode will be selected.
S-bus
Table 3 Selectable values of the digital sound processing features
FEATURESSTATIC-PIN MODEMICROCONTROLLER MODE
De-emphasis0 Hz or 44.1 kHz0 Hz or 44.1 kHz
Volume left channel0 dB (fixed)0 dB to −∞ dB
Volume right channel0 dB (fixed)0 dB to −∞ dB
Flat/min/max switchflat (fixed)flat/min/max
Bass boostflat set (fixed)flat, min or max set
Trebleflat set (fixed)flat, min or max set
Mute left channelexternal pinselectable (see Table 4)
Mute right channelexternal pinselectable (see Table 4)
Channel manipulation modesL_CHANNEL = L (fixed)selectable (see Table 10)
R_CHANNEL = R (fixed)
1996 Jul 176
Philips SemiconductorsObjective specification
Bitstream continuous calibration filter-DAC
for CD-ROM audio applications
STATIC-PIN MODE
In the static-pin mode most of the features have a default
value (see Table 3). The features that are controlled by the
external pins are, mute left channel, mute right channel
and de-emphasis.
Table 4 External pin feature control in the static-pin
mode
PINFEATURE
APPL0mute left channel
APPL1mute right channel
APPL2de-emphasis
ICROCONTROLLER MODE
M
The exchange of data and control information between the
microcontroller and the TDA1388 is accomplished through
a serial hardware interface comprising the following pins:
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
(see Figs 4 and 5).
TDA1388
Table 5 Selection of data transfer
BIT 1BIT 0TRANSFER
00data (volume left, volume right, bass
boost and treble)
01not used
10status (de-emphasis, mode and
channel-manipulation)
11not 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
TDA1388 is 000101 (bit 7 to bit 2). In the event that the
TDA1388 receives a different address, it will deselect its
microcontroller interface logic.
Data transfer mode
The selection preformed in the address mode remains
active during subsequent data transfers, until the
TDA1388 receives a new address command.
The fundamental timing of data transfers is essentially the
same as in the address mode, shown in Fig.4.
The maximum input clock and data rate is 64fs. All
transfers are bitwise, i.e. they are based on groups of
8 bits. Data will be stored in the TDA1388 after the eighth
bit of a byte has been received. A multibyte transfer is
illustrated in Fig.6.
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 TDA1388 can only be in one direction,
input to the TDA1388 to program its sound processing and
other functional features.
Address mode
The address mode is used to select a device for
subsequent data transfer and to define the destination
registers. The address mode is characterized by APPL1
being LOW and a burst of 8 pulses on APPL2,
accompanied by 8 data bits. The fundamental timing is
shown in Fig.4. Data bits 0 to 1 indicate the type of the
subsequent data transfer as shown in Table 5.
Table 6 Data transfer of type ‘status’
BIT 7BIT6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0REGISTER SELECTED
Programming the sound processing and other features
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 type that is transferred.
This is performed in the address mode, BIT 1 and BIT 0
(see Table 5). The second selection is performed by the
2 MSBs of the data byte (BIT 7 and BIT 6). The other bits
in the data byte (BIT 5 to BIT 0) is the value that is placed
in the selected registers.
When the data transfer of type ‘data’ is selected, the
features VOLUME_R, VOLUME_L, BASS BOOST and
TREBLE can be controlled. When the data transfer of type
‘status’ is selected, the features MODE, DE-EMPHASIS,
CHANNEL_MANIP_R and CHANNEL_MANIP_L can be
controlled.
NIP_R (1 : 0), CHANNEL_MANIP_L (1 : 0)
Philips SemiconductorsObjective specification
Bitstream continuous calibration filter-DAC
for CD-ROM audio applications
Table 7 Data transfer of type ‘data’
BIT 7BIT 6BIT 5BIT 4BIT 3BIT 2BIT 1BIT 0REGISTER SELECTED