(*) Functionality guaranteed in the range – 40°C to +85°C;
Timing and Electrical Specifications are guaranteed in the range
–30°C to +85°C.
GENERALDESCRIPTION
ST5090is a highperformancelow power combined
PCM CODEC/FILTERdevicetailored to implement
the audio front-end functions required by the next
generation low voltage/low power consumption
digitalterminals.
ST5090 offers a number of programmable functionsaccessedthrougha serial controlchannelthat
easilyinterfacesto any classical microcontroller.
ThePCM interfacesupportsboth non-delayed(normal and reverse) and delayed frame synchronizationmodes.
ST5090can be configurated either as a 14-bit linearor as an 8-bitcompandedPCMcoder.
Additionally tothe CODEC/FILTER function,
ST5090 includes a Tone/Ring/DTMF generator, a
sidetonegeneration,and abuzzerdriveroutput.
ST5090fulfills and exceedsD3/D4and CCITTrecommendations and ETSI requirements for digital
handsetterminals.
Main applicationsinclude digital mobile phones,as
cellular and cordless phones, or any batterypoweredequipmentthat requires audio codecsoperatingatlow singlesupplyvoltages
SO28
10x10x1.4
10x10x1.4
Tube
Tape&Reel
Tray 8x20
Tape&Reel
February 1996
This is advanced informationon a new product now in development or undergoing evaluation. Details are subject to change without notice.
1/29
Page 2
ST5090
PIN CONNECTIONS(Top view)
N.C.
N.C.
VCCP
VCCA
44 43 42 41394038 37 36 35 34
N.C.
N.C.
MIC3+
MIC3-
GNDA
N.C.
MIC1+
N.C.
V
CCA
V
CCP
N.C.
V
Fr-
V
Fr+
V
Lr-
V
Lr+
GNDPMCLK
D
2
3
4
5
6
SO28
7
8
9
10
R
CCLK
CS-
CICO
12
13
28
27
26
25
24
23
22
21
20
19
18
17
16
1514BZV
D94TL094
BLOCKDIAGRAM
MIC3+1
MIC3GNDA
MIC1+
MIC1MIC2+
MIC2LO
FS
GND11
D
x
CC
N.C.
VFr-
VFr+
N.C.
VLr-
VLr+
N.C.
GNDP
N.C.
DR
N.C.
1
2
3
4
5
6
7
8
9
10
12 13 14 15 16
N.C.
N.C.
CCLK
TQFP44
171118 19 20 21 22
CI
CS-
BZ
VCC
CO
DX
GND
N.C.
33
32
31
30
29
28
27
26
25
24
23
MIC1-
N.C.
MIC2+
MIC2-
N.C.
N.C.
N.C.
LO
MCLK
FS
N.C.
D94TL095
2/29
MIC3-
MIC2-
MIC1-
MIC2+
MIC1+
MIC3+
VFr-
VFr+
VLr-
VLr+
EARA OUTPUT
-1
12dB
1
OE
-1
12dB
1
EXTA OUTPUT
MIC
PREAMP
20dB
+ MUTE
VS & TE
0 -> -30dB,
2dB STEP
RTE
SE
SI
D93 TL074
MIC
AMP
0 -> 22.5
1.5dB STEP
TONE
0 -> -27dB
3dB STEP
SIDETONE
-12.5 -> -27.5dB
1dB STEP
AMP
PREFILTER &
DE
(A)
(B)
AMP
BANDPASS
FILTER
BANDPASS
FILTER
TONE, RING
& DTMF
GENER.
& FILTER
GNDPGNDAGND VCCAVCC VCCP
PCM ADC
PCM DAC
CONTROL INTERFACE
CLOCK GENERATOR
BE
EN
TRANSMIT
REGISTER
RECEIVE
REGISTER
EN
µ-WIRE
& SYNCHRONIZER
INTERFACE LATCH
BUZZER
DRIVER
LEVEL
(PWM)
DX
DR
CO
CI
CSCCLK
MCLK
FS
LO
BZ
ADJUST
Page 3
PIN FUNCTIONS (SO28)
PinNameDescription
1N.C.Not Connected.
2V
3V
4N.C.Not Connected.
5,6V
7,8V
Fr+,VFr–
Lr+,VLr–
9GNDP Power ground. V
10D
11CCLKControl Clock input: This clock shifts serial control information into CI and out from CO when the
12CS-Chip Select input: When thispin is low, control information is writteninto and out from theST5090
13CIControl data Input: Serial Control information isshifted into the ST5090 on this pin when CS- is low
14BZPulse width modulated buzzer driver output.
15V
16COControl data Output: Serialcontrol/status information is shifted out from the ST5090 on thispin
17D
18GNDGround: All digitalsignals are referenced to this pin.
19FSFrame Sync input: This signal is a 8kHz clock which defines the start of the transmit and receive
21LOA logic1 written into DO (CR1) appears atLO pin as a logic 0
22MIC2-Second negative high impedance input to transmit pre-amplifier formicrophoneconnection.
23MIC2+SecondPositive high impedance input to transmitpre-amplifier for microphone connection.
24MIC1-Negative highimpedance inputtotransmitpre-amplifier formicrophone connection.
25MIC1+Positivehighimpedance input to transmit pre-amplifier for microphone connection.
26GNDA Analog Ground: All analog signals are referenced to this pin. GND and GNDA must be connected
27MIC3-Thirdnegative high impedance output to transmitpreamplifier formicrophone connection.
28MIC3+Third positive high impedance output to transmit preamplifier for microphone connection.
Positive power supply inputfor the analogsection.
CCA
+5V ±10% or 3.3V ±10% selec table. V
Positive power supply inputfor the powersection. 5V ±10% or 3.3V ±10% selectable V
- Sidetone signal.
Receive analog extra amplifier complementary outputs. The signal at these outputs can bethe
sum of:
- Receive Speech signal from D
,
R
- Internal Tone generator,
- Sidetone signal.
and VLrdriver are referenced to this pin. GNDP and GND must be connected
Fr
together close to the device.
Receivedata input: Data isshifted in during the assigned Received timeslots Indelayedand non-
R
delayed normal frame synchr.modes voice databyte is shiftedin at the MCLK frequencyon the
fallingedges of MCLK, whilein non-delayed reverseframesynchr.mode voicedata byte isshiftedin
at the MCLK frequency onthe rising edges ofMCLK.
CS- input is low, depending on the currentinstruction. CCLK may beasynchronous with the other
system clocks.
via CI andCO pins.
on the rising edges of CCLK.
Positive power supply inputfor the digitalsection. +5V ±10% or 3.3V ±10% selectable.
CC
when CS- islow on the fallingedges of CCLK.
Transmit Data ouput: Data is shifted out onthis pinduring the assigned transmit timeslots.
X
Elsewhere D
synchr. modes, voicedata byte is shiftedout from TRISTATE output D
output is in the high impedance state.In delayed and non-delayed normal frame
X
at the MCLK on the rising
X
edge of MCLK, while in non-delayed reverse frame synchr mode voice data byte isshifted outon
the falling edge of MCLK.
frames. Any ofthree formats may be used forthis signal: non delayed normal mode, delayed
mode, and nondelayed reverse mode.
A logic 0 written into DO (CR1) appears at LO pinas a logic 1.
together close to the device.
CCP
ST5090
and
3/29
Page 4
ST5090
PIN FUNCTIONS (TQFP44)
PinNameDescription
1N.C.Not Connected.
2,3V
Fr+,VFr–
4N.C.Not Connected.
5,6V
Lr+,VLr–
7N.C.Not Connected.
8GNDP Power ground. V
9N.C.Not Connected.
10D
11,12,13N.C.Not Connected.
14CCLKControl Clock input: This clock shifts serial control information into CI and out from CO when the
15CS-Chip Select input: When thispin is low, control information is writteninto and out from theST5090
16CIControl data Input: Serial Control information isshifted into the ST5090 on this pin when CS- is low
17BZPulse width modulated buzzer driver output.
18V
19COControl data Output: Serialcontrol/status information is shifted out from the ST5090 on thispin
20D
21GNDGround: All digitalsignals are referenced to this pin.
22,23N.C.Not Connected.
24FSFrame Sync input: This signal is a 8kHz clock which defines the start ofthe transmitand receive
25MCLKMaster ClockInput:Thissignalisusedbythe switchedcapacitor filtersand the encoder/decoder
26LOA logic1 written into DO (CR1) appears at LO pin as a logic 0
27,28,29N.C.Not Connected.
30MIC2-Second negative high impedance input to transmit pre-amplifierfor microphone connection.
31MIC2+SecondPositive high impedance input to transmitpre-amplifier for microphone connection.
32N.C.Not Connected.
33MIC1-Negative highimpedance inputtotransmitpre-amplifier formicrophone connection.
34MIC1+Positivehighimpedance input to transmit pre-amplifier formicrophone connection.
35N.C.Not Connected.
36GNDA Analog Ground: Allanalog signals are referenced to this pin. GND and GNDA must be connected
37MIC3-Thirdnegative high impedance output to transmitpreamplifier for microphone connection.
38MIC3+Third positive high impedance output to transmit preamplifier for microphone connection.
Receiveanalog extra amplifiercomplementary outputs. The signal at theseoutputs can bethe sumof:
- Receive Speech signal from DR,
- Internal Tone generator,
- Sidetone signal.
and VLrdriver are referenced to this pin. GNDP and GND must be connected
Fr
together close to the device.
Receive data input: Datais shifted in during the assigned Received time slots In delayed and non-
R
delayed normal frame synchr.modes voice data byte is shifted in at the MCLK frequency on the
falling edges of MCLK, while in non-delayed reverse framesinchr. mode voice data byte is shifted
in at the MCLK frequency on the risingedges ofMCLK.
CS- input is low, depending on the currentinstruction. CCLK may beasynchronous with the other
system clocks.
via CI andCO pins.
on the rising edges of CCLK.
Positive power supply inputfor the digitalsection. +5V ±10% or 3.3V ±10% selectable.
CC
when CS- islow on the fallingedges of CCLK.
TransmitDataouput: Data is shiftedoutonthispinduring theassignedtransmittime slots.Elsewhere
X
D
outputis inthe highimpendance state.In delayed and non-delayed normalframesynchr. modes,
X
voicedatabyteisshiftedout from TRISTATEoutputD
atthe MCLK on the rising edgeof MCLK,while
X
innon-delayed reverseframesynchr mode voicedatabyte is shiftedout on the falling edgeof MCLK.
frames. Either of three formats may be used for this signal: non delayed normal mode, delayed
mode, and nondelayed reverse mode.
sequencinglogic.Valuesmustbe512 kHz, 1.536MHz, 2.048MHzor2.56MHzselectedbymeans of
ControlRegister CRO. MCLKisusedalsoto shift-inand out data.
A logic 0 written into DO (CR1) appears at LO pinas a logic 1.
together close to the device.
Positive power supply inputfor the analogsection.
CCA
+5V ±10% or 3.3V ±10% selec table. V
Positive power supply inputfor the powersection. 5V ±10% or 3.3V ±10% selectable V
CCP
V
must be connected together.
CC
CC
and V
must be direct ly c on nect ed toget h er .
CCA
CCP
and
4/29
Page 5
ST5090
FUNCTIONAL DESCRIPTION
IDEVICE OPERATION
I.1 Poweron initialization:
When power is first applied, power on reset circuitry initializes ST5090 and puts it into the power
down state. GainControl Registersfor the various
programmable gain amplifiers and programmable
switches are initialized as indicated in the Control
Registerdescription section. AllCODEC functions
are disabled.
The desired selection for all programmable functions may be intialized prior to a power up commandusing theMICROWIREcontrol channel.
I.2 Powerup/down control:
Following power-on initialization, power up and
power down controlmay be accomplishedby writing any of thecontrol instructions listed in Table 1
into ST5090 with ”P” bit set to0 for power up or1
for power down.
Normally, it is recommendedthat all programmable functions be initially programmed while the
device is powered down. Power state control can
then be included with the last programming instructionor in a separatesingle byte instruction.
Any of the programmable registers may also be
modified while ST5090 is powered up or down by
setting ”P” bit as indicated. When power up or
down control is entered as a single byte instruction, bit 1 must be set toa 0.
When a power up command is given, all de-activated circuits are activated, but output D
will re-
X
main in the highimpedance state until the second
Fs pulse afterpower up.
I.3 Powerdown state:
Following a period of activity, power down state
may be reentered by writing a power down instruction.
Control Registersremain in their current stateand
can be changed by MICROWIRE control interface.
In addition to the power down instruction, detection of loss MCLK (no transition detected) automatically enters the device in ”reset” power down
statewith D
outputin the high impedance state.
X
I.4 Transmit section:
Transmit analog interface is designed in two
stages to enable gains up to 42.5 dB to be realized. Stage 1 is a low noise differential amplifier
providing 20 dB gain. A microphone may be capacitevely connected to MIC1+, MIC1- inputs,
while the MIC2+ MIC2– and MIC3+ MIC3- inputs
may be used to capacitivelyconnect a second microphone or a third microphone respectively or an
auxiliary audio circuit. MIC1 or MIC2 or MC3 or
transmit mute is selected with bits 6 and 7 of registerCR4.
In the mute case, the analog transmit signal is
grounded and the sidetone path is also disabled.
Following the first stage is a programmable gain
amplifier which provides from 0 to 22.5 dB of additional gain in 1.5dB step. The total transmit gain
should be adjusted so that, at reference point A,
see Block Diagram description, the internal 0
dBm0 voltage is 0.49 Vrms (overload level is 0.7
Vrms). Second stage amplifier gain can be programmed with bits 4 to 7 ofCR5.
An activeRC prefilterthen precedesthe 8th order
band pass switchedcapacitor filter. A/D converter
can be either a 14-bitlinear (bit CM = 0 in register
CR0) or can have a compressing characteristics
(bit CM = 1 in register CR0) accordingto CCITTA
or MU255 coding laws. A precision on chip voltage reference ensures accurate and highly stable
transmissionlevels.
Any offset voltagearising in the gain-setamplifier,
the filtersor the comparatoris cancelledby an internal autozero circuit.
Each encode cycle begins immediatly at the beginning of theselected Transmit time slot. The total signal delay referencedto the start of the time
slot isapproximatively 195 µs (due tothe transmit
filter) plus 125 µs (due to encoding delay), which
totals 320 µs. Voice data is shifted out on D
X
during the selected time slot on the transmit rising
edges of MCLK in delayed or non-delayed normal
mode or on the falling edges of MCLK in non-delayed reverse mode.
I.5Receive section:
Voice Data is shifted into the decoder’s Receive
voice data Register via the D
lected time slot on the falling edges of MCLK in
delayed or non-delayed normal mode or on the
rising edges of MCLK in non-delayed reverse
mode.
The decoder consists of either a 14-bit linear or
an expanding DAC with A or MU255 law decoding characteristic. Following the Decoder is a
3400 Hz 8th order band-pass switched capacitor
filter with integral Sin X/X correction for the8 kHz
sampleand hold.
0 dBmO voltage at this (B) reference point (see
Block Diagram description) is 0.49 Vrms. A transcient suppressing circuitry ensure interference
noise suppression at power up.
The analog speech signal output can be routed
eitherto earpiece(V
tra analog output (V
FR+,VFR-
Lr+,VLr-
bits OE and SE (1 and 0 of CR4).
Total signal delay is approximatively 190µs (filter
plus decoding delay) plus 62.5 µs (1/2 frame)
which gives approximatively252µs.
Differential outputs V
FR+,VFR-
rectly drive an earpiece. Preceding the outputs is
a programmableattenuationamplifier,which must
pin during the se-
R
outputs)or to an ex-
outputs) by setting
are intended to di-
5/29
Page 6
ST5090
be set by writing to bits 4 to 7 in register CR6. Attenuations in the range 0 to -30 dB relative to the
maximum level in 2 dB step can be programmed.
The input of this programmable amplifier is the
sum of several signals which can be selected by
writing to register CR4.:
- Receive speech signal which has been decoded and filtered,
- Internally generated tone signal, (Tone amplitude isprogrammedwith bits 4 to 7 of register
CR7),
- Sidetone signal, the amplitude of which is programmed with bits 0 to3 ofregister CR5
V
FR+
and V
outputsare capableof driving output
FR-
power level up to 66mW into differentially connectedload impedanceof 30Ω. Piezoceramic receivers up to50nF can also be driven.
Differential outputs V
Lr+,VLr-
are intended to directlydrive an extraoutput. Precedingthe outputs
is a programmable attenuation amplifier, which
must be set by writing to bits 0 to 3 in register
CR6. Attenuations in the range 0 to -30 dB relative to the maximum level in 2.0 dB step can be
programmed. The input of this programmable amplifier can be the sumof signals which can be selected by writing to register CR4:
- Receive speech signal which has been decoded and filtered,
- Internally generated tone signal, (Tone amplitude isprogrammedwith bits 4 to 7 of register
CR7),
- Sidetone signal, the amplitude of which is programmed with bits 0 to3 ofregister CR5.
and V
V
Lr+
outputs are capable of driving output
Lr-
power level up to 66mW into differentially connectedload impedance of 30 Ω. Piezoceramic re-
ceivers up to50nF can also be driven.
Non delayed data mode is similar to long frame
timing on ST5080A: first time slot begins nominally coincident with the rising edge of F
. Alter-
S
native is touse delayed data mode, which is similar to short frame sync timing on ST5080A, in
which F
input must be high at least a half cycle
S
of MCLK earlier the frame beginning. In the case
of companded code only (bit CM = 1 in register
CRO) a time slot assignment circuit on chip may
be used with all timing modes, allowing connection to one of the two B1 and B2 voice data channels.
Two data formats are available:in Format 1, time
slot B1 corresponds to the 8 MCLK cycles following immediately the rising edge of FS, while time
slot B2 corresponds to the 8 MCLK cycles following immediatelytime slot B1.
In Format 2, time slot B1 is identical to Format 1.
Time slot B2 appears two bit slots after time slot
B1. This two bits space is left available for insertion of the D channel data.
Data format is selected by bit FF (2) in register
CR0. Time slot B1 or B2 is selected by bit TS (1)
in Control RegisterCR1.
Bit EN (2) in control register CR1 enables or disables the voice data transfer on D
and DRas
X
appropriate. During the assigned time slot, D
output shifts data out from the voicedata register
on the rising edges of MCLK in the case of delayed and non-delayed normal modes or on the
falling edges of MCLK in the case of non-delayed
reverse mode. Serial voice data is shifted into D
input during the same time slot on the falling
edges of MCLK in the case of delayed and nondelayed normal modes or on the rising edges of
MCLK in the caseof non-delayedreverse mode.
D
is in the high impedance Tristate condition
X
when in the non selected time slots.
X
R
BUZZEROUTPUT:
Single ended output BZ is intended to drive a
buzzer, via an external BJT, with a squarewave
pulse width modulated (PWM) signal the frequency ofwhich is stored into registerCR8.
For some applications it is also possible to amplitude modulate this PWM signal with a squarewave signal having a frequency stored in register
CR9.
Maximumload for BZ is 5kΩand 50pF.
I.6 DigitalInterface (Fig. 1)
F
Frame Sync input determines the beginning of
S
frame. It may have any durationfrom a single cycle of MCLK to a squarewave. Three different relationships may be established between the
Frame Sync input and the first time slot of frame
by setting bits DM1 and DM0 in register CR1.
6/29
I.7Control Interface:
Control information or data is written into or readback from ST5090 via the serial control port consisting of control clock CCLK, serial data input CI
and output CO, and Chip Select input, CS-. All
controlinstructions require 2 bytesas listed in Table 1, with the exception of a single byte powerup/down command.
To shiftcontrol data into ST5090, CCLK must be
pulsed high 8 times while CS- is low. Data on CI
input is shifted into the serial input register on the
rising edge of each CCLK pulse. After all data is
shifted in, the content of the input shift register is
decoded, and may indicate that a 2nd byte of
control data will follow. This second byte may
either be defined by a second byte-wide CSpulse or may follow the first contiguously, i.e. it is
not mandatory for CS- to return high in between
the first and second control bytes. At the end of
the 2nd control byte, data is loaded into the ap-
Page 7
Figure1: Digital InterfaceFormat (*)
FORMAT 1
(delayed timing)F5
ST5090
F6
MCLK
DR
DX
F9
MCLK
DR
DX
FORMAT 2
(non delayed timing)
XB2B1XX
B2B1
(delayed timing)F8
(non delayed timing)
XB2B1XX
B2B1
D93TL075
(*) SignificantOnly ForCompanded Code.
propriate programmable register. CS- must return
high at the end of the 2nd byte.
To read-back status information from ST5090,the
first byte of the appropriate instruction is strobed
in during the first CS- pulse, as defined in Table
1. CS- must be set low for a further 8 CCLK cycles, during which data is shifted out of the CO
pin on the fallingedges of CCLK.
When CS- is high, CO pin is in the high impedance Tri-state, enabling CO pins of several devices to be multiplexedtogether.
Thus, to summarise, 2 byte READ and WRITE instructions may use either two 8-bit wide CSpulsesor a single16 bit wide CS- pulse.
I.8 Control channel access toPCM interface:
It is possible to access the B channel previously
selected in Register CR1 in the case of companded code only.
A byte written into Control Register CR3 will be
automatically transmitted from D
output in the
X
following frame in placeof the transmitPCMdata.
A byte written into Control Register CR2 will be
automatically sent through the receivepath to the
Receive amplifiers.
In orderto implementa continuous data flow from
the Control MICROWIRE interface to a B channel, it is necessary to send the control byte on
each PCM frame.
A current byte received on D
input can be read
R
in the register CR2. In order to implement a continuous data flow from a B channel to MICROWIRE interface,it is necessary to read register CR2 at each PCM frame.
7/29
Page 8
ST5090
IIPROGRAMMABLE FUNCTIONS
For both formats of Digital Interface, programmable functions are configured by writing to a number of registersusing a 2-byte write cycle.
verification. Byte one is always register address,
while byte two isData.
Table 1 lists the register set and their respective
adresses.
Most of theseregisters can also be read-back for
Table 1: ProgrammableRegister Intructions
FunctionAddress byte
76543210
Single byte Power up/downPXXXXX0X none
Write CR0P000001XseeCR0TABLE 2
Read-back CR0P000011X see CR0
Write CR1P000101XseeCR1TABLE 3
Read-back CR1P000111X see CR1
Write Data to receive pathP001001XseeCR2TABLE 4
Read datafrom D
Write Data to D
Write CR4P010001XseeCR4TABLE 6
Read-back CR4P010011X see CR4
Write CR5P010101XseeCR5TABLE 7
Read-back CR5P010111X see CR5
Write CR6P011001XseeCR6TABLE 8
Read-back CR6P011011X see CR6
Write CR7P011101XseeCR7TABLE 9
Read-back CR7P011111X see CR7
Write CR8P100001XseeCR8TABLE 10
Read-back CR8P100011X see CR8
Write CR9P100101XseeCR9TABLE 11
Read-back CR9P100111X see CR9
Write CR10P101001XseeCR10 TABLE 12
Read-back CR10P101011X see CR10
Write CR11P101101XseeCR11 TABLE 13
Read-back CR11P101111X see CR11
Write Test Register CR14P111001Xreserved
R
X
P001011XseeCR2
P001101XseeCR3TABLE 5
Data byte
NOTE 1:bit 7 ofthe addressbyte and data byteis always the firstbit clocked into orout from:CI and CO pins when MICROWIREserial
NOTE 2:”P” bit isPower up/downControl bit. P = 1 MeansPower Down.
NOTE 3:Bit 2 is write/read selectbit.
NOTE 4:RegistersCR12, CR13, and CR15 are not accessible.
8/29
port isenabled.
X =reserved: write0
Bit 1 indicates, if set,the presence of a second byte.
Page 9
Table 2: ControlRegister CR0Functions
ST5090
76543210
F1F0CMMAIAFFB7DL
0
0
1
0
0
1
1
1
0
1
0
0
1
0
0
1
1
1
0
1
0
1
*:state at power on initialization
(1):significantin companded mode only
*:state at power on initialization
X:reserved: write 0
10/29
Page 11
Table 7: ControlRegister CR5Functions
ST5090
76543210
Transmit amplifierSidetone amplifier
0
0
0
-
1
1
*:state atpower on initialization
1
0
-
1
1
0
0
0
0
-
1
0
0
-
1
1
0
0
0
Table 8: ControlRegister CR6Functions
76543210
Earpiece ampifier
[EARA]
0
0
0
0
-
1
*:state atpower on initialization
0
0
-
1
1
Extra amplifier [EXTA]
0
1
-
1
0
0
0
0
-
1
1
0
0
-
1
0 dBgain
1.5dB gain
in 1.5 dB step
22.5 dB gain
-12.5 dB gain
0
-13.5 dB gain
1
in 1 dB step
-
-27.5 dB gain
1
0 dBgain
-2dB gain
in 2 dB step
-30 dB gain
0 dBgain
0
-2dB gain
1
in 2 dB step
-
-30 dB gain
1
Function
*
*
Function
*
*
Table 9: ControlRegister CR7Functions
76543210Function
Tone gainF1F2SNDEAttenuationf1 V
0
0
0
0
0
0
0
1
0
1
0
1
0
1
0
X
1
X
1
1
0
0
1
1
1
0
0
1
0
0
1
1
1
0
X
1
X
0
0
1
0
0
1
1
1
0
0
0
0
1
*:state at power on initialization
(2):value provided if f1 or f2 is selected alone.
Xreserved: write 0
if f1 and f2 are selected in the summed mode, f1=0.89V
01Normal operation
....0dB *
-3 dB
-6 dB
-9dB
-12 dB
-15 dB
-18 dB
-21 dB
-24 dB
-27 dB
f1 and f2 muted
f2 selected
f1 selected
f1 and f2 in summed mode
Squarewave signal selected
Sinewave signal selected
Tone / Ring Generator connected to
Transmit path
while f2=0.7 Vpp.
pp
pp
...1.6(2)
0.066
f2 V
pp
1.26(2)
0.053
*
*
*
11/29
Page 12
ST5090
Table 10: Control Register CR8 Functions
76543210
f17f16f15f14f13f12f11f10
msblsb Binary equivalent of the decimal number used to calculate f1
Function
Table 11: Control Register CR9 Functions
76543210
f27f26f25f24f23f22f21f20
msblsb Binary equivalent of the decimal number used to calculate f2
Function
Table 12: Control Register CR10 Functions
76543210
DFT HFT
XXXXXX
0
0
1
1
(*) Defaultvalues inserted into the Register at PowerOn.
(*)Standard FrequencyTone Range
0
Halved Frequency Tone Range
1
DoubledFrequency Tone Range
0
Forbidden
1
Function
X reserved, write 0.
Table 13: Control Register CR11 Functions
76543210
BEBIBZ5 BZ4 BZ3 BZ2 BZ1 BZ0
0
1
0
1
msblsb Binary equivalent of the decimal number used to calculate the
* state at power on initialization
12/29
Function
Buzzer output disabled (set to 0)*
Buzzer output enabled
Duty Cycle isintended as the relative width of logic 1 *
Duty cycle isintended as the relative widthof logic 0
duty cycle.
Page 13
ST5090
CONTROLREGISTERCR0
First byte of a READ or a WRITE instruction to
Control Register CR0 is as shown in TABLE 1.
Secondbyte isas shown in TABLE2.
Master Clock FrequencySelection
A master clock must be provided to ST5090 for
operationof filter and coding/decoding functions.
MCLK frequency can be either 512 kHz, 1.536
MHz,2.048 MHz or 2.56 MHz.
Bit F1 (7) and F0 (6) must be set during initialization to selectthe correct internal divider.
Defaultvalue is512 kHz.
Any clock different from the default one must be
selectedprior a Power-Up instruction.
Coding LawSelection
Bits MA (4) and IA (3) permitselection of Mu-255
law or A law coding with or without even bit inversion if companded code (bit CM = 1) is selected.
Bits MA(4) and IA(3) permit selection of 2-complement, 1-complement or sign and magnitude if
linear code (bit CM= 0) is selected.
CodingSelection
Bit CM (5) permitsselectioneither of linear coding
(14-bit) or companded coding (8-bit). Default
value is linearcoding.
DigitalInterface format (1)
Bit FF(2) = 0 selects digital interface in Format 1
where B1 and B2 channel are consecutive. FF=1
selects Format 2 where B1 and B2 channel are
separated by two bits. (See digital interface format section.)
56+8 selection (1)
Bit ’B7’ (1) selects capability for ST5090 to take
into account only the seven most significant bits
of the PCMdata byte selected.
When ’B7’ is set, the LSBbit on D
LSB bit on D
ishigh impedance.This functional-
X
is ignoredand
R
lows connection of an external ”in band” data
generator directly connected on the Digital Interface.
Digital loopback
Digital loopback mode is entered by setting DL
bit(0) equal 1.
In Digital Loopback mode, data written into Receive PCM Data Register from the selected received time-slot is read-back from that Register in
the selected transmittime-slot on D
.
X
No PCM decoding or encoding takes place in this
mode. Transmit and Receive amplifier stages are
muted.
CONTROLREGISTER CR1
First byte of a READ or a WRITE instruction to
Control Register CR1 is as shown in TABLE 1.
Second byte is as shownin TABLE 3.
Digital InterfaceTiming
Bit DM1(7) = 0 selects digital interface in delayed
timing mode, while DM1= 1 and DM0 = 0 selects
non-delayed normal data timing mode, and DM1
= 1 and DM0 = 1 selects non-delayed reverse
data timing mode.
Default is delayed datatiming.
Latch output control
Bit DO controls directly logical status of latch output LO: ie, a ”ZERO” written in bit DO puts the
output LO at logical 1, while a ”ONE” writtenin bit
DO sets the outputLO to zero.
Microwire access to B channel on receive
path (1)
Bit MR (4) selects access from MICROWIRE
Register CR2 to Receive path. When bit MR is
set high, data written to register CR2 is decoded
each frame, sent to the receive path and data inputat D
is ignored.
R
In the other direction, current PCM data input received at D
can be read from registerCR2 each
R
frame.
Microwire access to B channel on transmit
path (1)
Bit MX (3) selectsaccess from MICROWIREwrite
only Register CR3 to D
set high, data written to CR3is output at D
output. When bit MX is
X
X
every
frame and the output of PCM encoder isignored.
(1) Significant in companded mode only
Mu 255 law
msblsbmsblsbmsblsb
Vin = + fullscale100000001010101011111111
Vin = 0 V
Vin = - full scale000000000010101001111111
MSB is always the first PCM bit shiftedin or outof: ST5090.
10111111111111111011001100110011100000000000000
True A law even bit
inversion
A law without even bit
inversion
0
13/29
Page 14
ST5090
Transmit/Receiveenabling/disabling
Bit ’EN’ (2) enables or disables voice data transfer on D
and DRpins. When disabled, PCM data
X
from DR is not decoded and PCM time-slots are
high impedanceon D
. Defaultvalue is disabled.
X
B-channelselection (1)
Bit TS(1) permits selection between B1 or B2
channels.Default value is B1 channel.
SupplyVoltage selection
Bit SV(0) permits selectionof the power supply of
the ST5090.Default value is 3.3V.
CONTROLREGISTERCR2 (1)
Data sent to receive path or data received from
D
input. Refer to bit MR(4) in ”Control Register
R
CR1” paragraph.
CONTROLREGISTERCR3 (1)
data transmitted.Refer to bit MX(3)in ”Control
D
X
RegisterCR1” paragraph.
CONTROLREGISTERCR4
First byte of a READ or a WRITE instruction to
Control Register CR4 is as shown in TABLE 1.
Secondbyte isas shown in TABLE6.
Transmit Input Selection
MIC1 or MIC2 or MIC3 or transmit mute can be
selectedwith bits 6 and7 (V
and TE).
S
Transmit gain can be adjusted within a 22.5 dB
range in 1.5 dBstep with Register CR5.
SidetoneSelection
Bit ”SI” (5) enables or disables Sidetone circuitry.
When enabled, sidetone gain can be adjusted
with Register (CR5). When Transmit path is disabled, sidetonecircuit is also disabled.
PCM receive dataselection
Bits ”SE” (0) provide select capability to connect
received speech signal either to an extra amplifier
input or to earpieceamplifier input.
CONTROLREGISTER CR5
First byte of a READ or a WRITE instuction to
Control Register CR5 is as shown in TABLE 1.
Second byte is as shownin TABLE 7.
Transmit gainselection
Transmit amplifier can be programmedfor a gain
from 0dB to 22.5dBin 1.5dBstep with bits 4 to 7.
0 dBmO level at the output of the transmit amplifier (A reference point) is 0.492 Vrms (overload
voltage is 0.707 Vrms).
Sidetoneattenuation selection
Transmit signal picked up after the switched capacitor low pass filter may be fed back into both
Receive amplifiers.
Attenuation o f the signal at the output o f the
sidetone attenuator can be programmed from
–12.5dB to -27.5dBrelative to reference point
A in 1 dB step with bits 0 to 3.
CONTROLREGISTER CR6
First byte of a READ or a WRITE instruction to
Control Register CR6 is as shown in TABLE 1.
Second byte is as shownin TABLE 8.
Earpiece amplifiergain selection:
Earpiece Receive gain can be programmed in 2
dB step from 0 dB to -30 dB relative to the maximum with bits 4 to7.
0 dBmO voltage at the output of the amplifier on
pins V
Fr+
andV
is then 1.965 Vrms when 0dB
Fr-
gain is selected down to 61.85 Vrms when -30dB
gain is selected.
OutputDriver Selection
Bits OE1(4) and OE2(3) provide the selection
among the earpiece output or the extra amplifier
output or both outputs muted.
OE1= 1 andOE2 = 1 is notallowed.
Ring/Tonesignal selection
Bit RTE (2) provide select capability to connect
on-chip Ring/Tone generator either to an extra
amplifierinput orto earpiece amplifier input.
(1) Significant in companded mode only
14/29
Extra amplifiergain selection:
Extra Receive amplifier gain can be programmed
in 2 dB step from 0 dB to -30 dB relative to the
maximum with bits0 to3.
0 dBmO voltage on the output of the amplifier on
pins V
Lr+
and V
1.965 Vrms when 0 dB gain is
Lr-
selecteddown to 61.85 mVrms when -30 dB gain
is selected.
CONTROLREGISTER CR7:
First byte of a READ or a WRITE instruction to
Control Register CR7 is as shown in TABLE 1.
Secondbyte is as shown in TABLE9.
Page 15
ST5090
Tone/Ringamplifier gain selection
Output level of Ring/Tone generator, before attenuation by programmable attenuator is 1.6Vpkpk when f1 generator is selected alone or
summed with the f2 generator and 1.26 Vpk-pk
when f2 generatoris selected alone.
Selected output level can be attenuated down to
-27 dB by programmable attenutator by setting
bits 4 to 7.
Frequencymode selection
Bits ’F1’ (3) and ’F2’ (2) permit selection of f1
and/or f2 frequency generator according to TABLE 9.
When f1 (or f2) is selected, output of the
Ring/Toneis a squarewave(or a sinewave) signal
at the frequency selected in the CR8 (or CR9)
Register.
When f1 and f2 are selected in summed mode,
output of the Ring/Tone generator is a signal
where f1 and f2 frequencyare summed.
In order to meet DTMF specifications, f2 output
level is attenuatedby 2dB relative to the f1output
level.
Frequencytemporization must be controlled by the
microcontroller.
Waveformselection
Bit ’SN’ (1) selects waveform of the output of the
Ring/Tone generator. Sinewave or squarewave
signal can be selected.
DTMF selection
Bit DE (0) permitsconnection of Ring/Tone/DTMF
generator on the Transmit Data path instead of
the Transmit Amplifier output. Earpiece or extra
receive output feed-back may be provided by
sidetone circuitry by setting bit SI or directly by
setting bit RTE in Register CR4. Loudspeaker
feed-back may be provided directly by setting bit
RTL in RegisterCR4.
CONTROLREGISTERS CR8 AND CR9
First byte of a READ or a WRITE instruction to
Control Register CR8 or CR9 is as shown in TABLE 1. Second byte is respectively as shown in
TABLE10 and11.
If ”standard frequency tone range” is selected,
Tone or Ring signal frequency value is defined by
the formula:
f1 = CR8 /0.128 Hz
and
f2 = CR9 /0.128 Hz
where CR8 and CR9 are decimal equivalents of
the binary values of the CR8 and CR9 registers
respectively.Thus, any frequencybetween 7.8 Hz
and 1992 Hz may be selectedin 7.8 Hzstep.
If ”halved frequency tone range”is selected, Tone
or Ring signal frequency value is defined by the
formula:
f1 = CR8 / 0.256 Hz
and
f2 = CR9 / 0.256 Hz
This any frequency between 3.9Hz and 996Hz
may be selectedin 3.9Hz step.
If ”doubled frequency tone range”is selected,
Tone or Ring signal frequency value is defined by
the formula:
f1 = CR8 / 0.064 Hz
and
f2 = CR9 / 0.064 Hz
Thus any frequency between15.6Hz and 3984Hz
may be selectedin 15.6Hz step.
TABLE 12 gives examples for the main frequenciesusual forTone or Ring generation.
CONTROLREGISTERCR10
Bit DFT(1) and HFT(0) permits the selection
among ”standard frequencytone range” (i.e. from
7.8Hz to 1992Hz in 7.8Hz step), ”halved frequency tone range” (i.e. from 3.9Hz to 996Hz in
3.9Hz step), and ”doubled frequency tone range”
(i.e. from 15.6Hz to 3984Hz in 15.6Hz step) according to the values described in CONTROL
REGISTERCR8 and CR9.
CONTROLREGISTER CR11
Bit BE(7) permits connection of a f1 squarewave
PWM Ring signal, amplitude modulated or not by
a f2 squarewave signal, to buzzer driver output
BZ. Bits BZ5 to BZ0 define the duty cycle of the
PWM squarewave, according to the following formula:
Duty Cycle= CR11(5 ÷ 0)x 0.78125%
where CR11(5 ÷ 0) is the decimal equivalent of
the binary value BZ5÷ BZ0.
When BE = 1, if bits F1 = 1 and F2 = 0 in register CR7, a f1 PWM ring signal is present at the
buzzer output, while if bits F1 = 1 and F2 = 1 in
register CR7 the f1 PWM ring signal is also amplitude modulated by a f2 squarewave frequency. Bit BI (6) allows to chose the logic level
at which the duty cycle is referred: BI = 0 means
that duty cycle is intended as the relative width
of the logic1, while BI = 1 means that duty cycle
is intended as the relative width of the logic 0.
When BE = 0 (or during power down) BZ = 0 if
BI = 0 or BZ = 1 if BI = 1.
15/29
Page 16
ST5090
Table 12: Examples of UsualFrequency Selection (Standardfrequency tone range)
Descriptionf1 value (decimal)Theoretic value (Hz)Typical value (Hz)Error %
Tone 250 Hz
Tone 330 Hz
Tone 425 Hz
Tone 440 Hz
Tone 800 Hz
Tone 1330 Hz
TIMING DIAGRAM
NonDelayed Data Timing Mode(Normal) (*)
ST5090
DelayedData Timing Mode (*)
16
16
17
16
16
17
(*) Inthe caseof companded code the timing is applied to 8 bitsinstead of 16 bits (see ST5080A data sheet)
16
16
17/29
Page 18
ST5090
TIMINGDIAGRAM (continued)
NonDelayed Reverse Data TimingMode (*)
MCLK
FS
DX
DR
tHMFR
12345671617
tHMFRtSFMR
tDFD
tDMDR
1234567 16
tSDM tHMDR
1234567 16
tRMtFMtWMM
(*) Inthe caseof companded code the timing is applied to 8 bitsinstead of 16 bits.
tWML
tDMZR
D93TL076A
Serial Control Timing (MICROWIRE MODE)
18/29
Page 19
ST5090
ABSOLUTEMAXIMUM RATINGS
ParameterValueUnit
to GND7V
V
CC
Voltage at MIC (V
Current at V
Fr
Current at any digital output+ 50mA
Voltage at anydigital input (V
Storage temperature range- 65 to + 150°C
Lead Temperature (wave soldering,10s)+ 260°C
TIMINGSPECIFICATIONS(unlessotherwisespecifi ed,VCC=3.3V+ 10%or5V± 10%,TA=–30°Cto85°C;
typical characteristicsare specified V
all signals are referencedto GND, see Note5 fortiming definitions)
NOTICE:All timing specificationscan be changed.
MASTERCLOCK TIMING
SymbolParameterTest ConditionMin.Typ.Max.Unit
f
MCLK
t
WMH
t
WML
t
RM
t
FM
≤ 5.5V)VCC+1 to GND -1V
CC
and V
Lr
≤ 5.5V); limitedat + 50mAVCC+ 1 to GND - 1V
CC
= 3.3V,TA=25°C;
CC
Frequency of MCLKSelection of frequency is
programmable (see table 2)
+ 100mA
512
1.536
2.048
2.560
Period of MCLK highMeasured from VIHto V
Period of MCLK lowMeasured from VILto V
Rise Time ofMCLKMeasured from VILto V
Fall Time of MCLKMeasured from VIHto V
IH
IL
IH
IL
80ns
80ns
kHz
MHz
MHz
MHz
30ns
30ns
PCM INTERFACETIMING
SymbolParameterTest ConditionMin.Typ.Max.Unit
t
HMF
t
SFM
t
DMD
t
DMZ
t
DFD
t
SDM
t
HMD
t
HMFR
t
SFMR
t
DMDR
t
DMZR
t
HMDR
Hold Time MCLK low to FS low0ns
Setup Time, FS high to MCLK
30ns
low
Delay Time, MCLK highto data
Load = 100 pf100ns
valid
Delay Time, MCLK low to DX
10100ns
disabled
Delay Time, FS highto data valid Load = 100 pf ;
100ns
Applies only ifFS riseslater
than MCLK rising edge in Non
Delayed Mode only
Setup Time, DRvalid toMCLK
20ns
receive edge
Hold Time, MCLK low to D
R
10ns
invalid
Hold Time MCLK Highto FS low30ns
SetupTime,FS hightoMCLKHigh30ns
DelayTime,MCLKlowto datavalid Load = 100pF100ns
Delay Time, MCLK High toDX
10100ns
disabled
Hold Time, MCLK High to D
R
20ns
invalid
19/29
Page 20
ST5090
SERIALCONTROL PORT TIMING
SymbolParameterTest ConditionMin.Typ.Max.Unit
f
CCLK
t
WCH
t
WCL
t
RC
t
FC
t
HCS
t
SSC
t
SDC
t
HCD
t
DCD
t
DSD
t
DDZ
t
HSC
t
SCS
Note 5:A signal is valid if it is above VIHor below VILand invalid if it is between VILand VIH.
Frequency of CCLK2.048MHz
Period of CCLK highMeasured from VIHto V
Period of CCLK lowMeasured from VILto V
Rise Time ofCCLKMeasured from VILto V
Fall Time of CCLKMeasured from VIHto V
IH
IL
IH
IL
160ns
160ns
50ns
50ns
HoldTime,CCLKhigh toCS– low10ns
SetupTime,CS–lowtoCCLKhigh50ns
SetupTime, CI validto CCLK high50ns
HoldTime,CCLKhigh toCIinvalid50ns
Delay Time, CCLK low toCO
For the purpoes ofthis specification the following conditions apply:
a) All input signal aredefined as: V
b) Delay times are measured from the inputs signal valid tothe output signal valid.
c) Setuptimes are measuredfrom the data input valid tothe clock input invalid.
d) Hold times are measured fromthe clock signal valid to thedata input invalid.
PowerdownCurrent at 3.3V± 10% CCLK,CI = 0.1V;CS= VCC-0.1V0.55µA
Power down Current at 5V± 10% CCLK,CI= 0.1V;CS = VCC-0.1V110µA
Power Up Current at 3.3V ±10%V
Lr+,VLr-
and V
Fr+,VFr-
not
710mA
loaded
I
CC1
Power Up Current at 5V ±10%V
Lr+,VLr-
and V
Fr+,VFr-
not
812mA
loaded
TRANSMISSION CHARACTERISTICS (unless otherwise spec ified, V
= –30° Cto85°C; t ypical charact eristic s ar e s pecified at VCC=3.3V,TA=25°C, M IC1/2/3 =
T
A
0
dBm0, DR= –6dBm0 PCM code, f = 1015.625 Hz; all signal are referenced to GND)
Signal to Total Distortion (VFr)
( up to 20dB attenuation)
Sinusoidal Test Method
(measured using linear 300 to
3400 weighting)
Level = -6 dBm0
Typical values are measured with
20dB attenuation.
Level = -10 dBm0
Level = -20 dBm0
Level = -30 dBm0
Level = -40 dBm0
Level = -45 dBm0
Level = -55 dBm0
S
S
DFr
TDRL
(*)
Single Frequency Distortion
receive (V
)
Fr
Signal to Total Distortion (VLr)
(up to 20dB attenuation)
-6 dBm0 input signal-80-50dB
Sinusoidal Test Method
(measured using linear 300 to
3400 weighting)
Level = -6 dBm0
Typical values are measured with
20dB attenuation
Level = -10 dBm0
Level = -20 dBm0
Level = -30 dBm0
Level = -40 dBm0
Level = -45 dBm0
Level = -55 dBm0
S
DLr
Single Frequency Distortion
receive (V
)
Lr
-6 dBm0 input signal-80-50dB
IMDIntermodulationLoop-around measurement
Voltage at MIC = -10 dBm0
to -27 dBm0, 2 Frequencies in
the range 300 -3400 Hz
(*) The limitcurve shall bedetermined by straight lines joining successive coordinates given in the table.
(#) Lower limitsused during the automatic testing toavoid unrealistic yield loss due to ±2dB imprecision of time-limitednoise measurements.
CROSSTALK
SymbolParameterTest ConditionMin.Typ.Max.Unit
C
Tx-r
Transmit to ReceiveTransmit Level = 0 dBm0,
f = 300 - 3400 Hz
DR = Quiet PCM Code
C
Tr-x
Receive to TransmitReceive Level= -6 dBm0,
f = 300 - 3400 Hz
MIC = 0V
-100-65dB
-80-65dB
25/29
Page 26
ST5090
APPLICATIONS
ApplicationNote for MicrophoneConnections
ST5090
ApplicationNote for VFrandVLrConnections
DYNAMIC
RECEIVERS
(32Ω)
VFr+
VFr-
CERAMIC
R
ST5090
VLr+
R
RECEIVERS
(50nF)
VFr+
VFr-
ST5090
VLr+
ST5090
DYNAMIC/CERAMIC
(REVERSIBLE)
VFr+
VFr-
ST5090
R
VLr+
ST5090
RECEIVERS
VLr-
R must be greater than 30Ω
For highercapacitive transducers, lower R values can be used.
VLr-
POWERSUPPLIES
While pins of ST5090 device are well protected
against electrical misuse, it is recommended that
the standard CMOS practise of applying GNDbefore any other connections are made should always be followed. In applications where the
printed circuit card may be plugged into a hot
socket with power and clocks already present, an
extralong ground pinon the connectorshould be
26/29
VLr-
D93TL078A
used.
To minimize noise sources, all ground connec-
tions to each device should meet at a common
point as close as possible to the GND pin in order
to prevent the interaction of ground return currents flowing through a common bus impedance.
A power supply decoupling capacitor of 0.1 µF
should be connected from this common point to
V
Information furnished is believed to be accurate and reliable. However, SGS-THOMSON Microelectronics assumes no responsibility for the
consequences of use of such information nor for any infringementof patents or other rights of third parties which may result from itsuse. No
license is granted by implication or otherwise under any patent or patent rights of SGS-THOMSON Microelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied.
SGS-THOMSON Microelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of SGS-THOMSONMicroelectronics.
1996 SGS-THOMSON Microelectronics All Rights Reserved
Australia - Brazil - Canada - France - Germany - Hong Kong -Italy - Japan- Korea - Malaysia - Malta - Morocco - TheNetherlands