• Support switch paths for DAM (Digital Answering
Machine) applications
• Easy interface to general purpose DSPs
• Easy read/write of control register by microprocessors
• Programmable power-down
• Support power-low/battery-low detection
• 28-pin DIP/SOP package
PIN CONFIGURATION
28PIN SOP/DIP
PRODUCT OVERVIEW
The MX93000 Special Codec integrates key functions
of the analog-front-end of Digital Answering Machine
(DAM) into a single integrated circuit. The MX93000 is
intended to provide a complete, low cost, and single
chip solution for telephone applications requiring a
single +5V power supply.
The MX93000 Special Codec is especially powerful
when applied to some DAM models which are intended
to meet different countries' specifications in the same
system hardware. User can achieve this goal by
simply setting control firmware. This benifit will help
DAM system makers to save developing time and R/D
resources.
The A/D D/A converters are implemented with 2ndorder sigma-Delta modulators. The on-chip digital
filters, which are carried out with 16-bit and 2's
complement format, are used to get the required
frequency response of a PCM Codec. The Codec can
support 8-bit u/A law and linear format. For the latter,
it is 16-bit format with 14-bit resolution .
SDATA
SDEN\
DX
DR
FS
MCLK
VDD
GND
PRST
BAT\
VBAT
PDN\
VPOW
LIN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
MX93000
19
18
17
16
15
SPK
VR
VREF
FILT
ALCC
ALCRC
PGAC
AUX
MIC
AG
AGND
AVDD
LOUT2
LOUT1
Before the A/D digitizing the voice-band analog signal
into digital format, the analog signal can be processed
by a built-in Automatic Level Control (ALC) and programmable Gain Amplifier (PGA). The ALC circuit
controls the input level of A/D converter to about 1.5
Volt, so as to get a better signal to noise ratio during a
low-level input. The PGA circuit is used to control the
gain of different sources : microphone, aux or line
input.
After the digital data is converted into analog signal by
the D/A converter, a fully differential line driver is
supported to drive the telephone line directly without
the need of external amplifier. On the other hand, the
analog signal can be monitored by passing the analog
signal to the on-chip volume control circuit, which can
drive an external driver like LM386.
In addition, the MX93000 supports switches and
control registers so that users can program the Special
Codec to be under line operations and all other specific
operations of DAM. To enhance an easy read/write of
control registers by microprocessors, the control data
is clocked by the 8 kHz sampling clock and synchronized by SDEN\, where SDEN\ is coming from the
output port of microprocessor by detecting one of the
rising edge of 8 kHz clock.
P/N: PM0306
1
REV. 3.0, JUL 15, 1996
MX93000
SPECIAL CODEC BLOCK
DIAGRAM
MX93000
2
MX93000
MX93000
FUNCTIONAL DESCRIPTION
PCM CODEC :
This block includes A/D & D/A converters and all of the digital filters.
A/D & D/A converters:
which are implemented with 2nd-order sigma-delta modulation. Output formats are A-Law/u-Law/16-bit linear,
where u/A laws are of CCITT specifications and the 16-bit linear data can get 14-bit resolution and higher linearity
than that of u/A law.
Digital filters :
For the purpose of A/D out-of-band noise filtering and D/A image attenuation, digital filters are implemented on
the same chip.
The digital input applied to D/A converter can not be a dc signal other than idle (bits all zero), as limit cycles in
the digital modulator at a level of -70 dBm will present at the analog output.
POWER MANAGEMENT :
The MX93000 supports the automatic power-down control and power supply detection. This function will work well
even under 3V power supply.
Regarding the power_down procedure please refer to register 4 description for details.
POWER_LOW/BATTERY_LOW detectors : active low
2 comparators and references are used to check whether POWER_LOW/BATTERY_LOW or not. The
relationship between POWER_ON_RESET and POWER_LOW/BATTERY_LOW is as the following table:
Not only support the programmable gain from 0 to 22.5 dB with 16 steps and 1.5 dB/step, but also fully differentially
drive -5 dBm power over 300 ohms. If switches SWE , SWJ , and SWK are opened, then the line driver will be
muted to -70dB automatically. In addition, when SWJ or SWK are turned on, there are loss at the line driver output
due to single-ended to fully-differential transform.
LINE_IN BUFFER :
Buffer stage with selection of echo cancellation path or not. For the echo cancellation path, 3-6 dB cancellation
can get it.
PROGRAMABLE GAIN CONTROL (PGA) :
It supports 0 to 22.5 dB gain with 16 steps and 1.5dB/step. The gain value is controlled separately by 3 registers,
where different input signal paths will have a different gain value, and when the input path is changed, the
respective register value will keep no change.
3
MX93000
MX93000
AUTOMATIC LEVEL CONTROL (ALC) :
The ALC can support 36 dB gain with the attack time and release time controlled by C6 and R3 * C6, respectively.
SPK ATTENUATOR :
Speaker output signal can be attenuated either by internal register or external resister. For the former, the
attenuation is from 0 to -45 dB with 16 steps and -3.0dB/step. For the later, 10K ohms variable resistor is
suggested. If switches SWF and SWH are open, then attenuator will be muted to -70dB automatically.
SERIAL_CONTROL_INTERFACE :
To read/write the internal registers.
SDEN\ (serial data enable) is used to start receiving control signal.
8kHz frame sync.is used to transmit/receive the serial data (SDATA).
CODEC_SERIAL_PORT :
4-pin signal will complete the data trasmitting/receiving.
MCLK is not only the data rate but also the chip master clock. Currently, it is fixed at 1.536 MHz and the frame
synchronization clock, Fs, is 8 kHz. For simplicity, the A/D and D/A are synchronous so that MCLK and Fs are
enough.
Data transfer of DX/DR are MSB first in both 8-bit and 16-bit formats.
VOLTAGE REFERENCE :
Two 2.25V voltage references are on-chip generated . VREF is for external and AG is for internal uses. Both two
pins need the decoupling capacitors AGND at all times. VREF can be used to bias the microphone, the level shift
circuits, or others.
SWITCHES :
There are 2 registers which are used to control all of the switches so that user can direct many different signal
paths, of which 3 of them are :
a) Path of normal operation
MIC input --> SWA --> PGA/ALC --> SWC --> SWD --> PCM Codec Ain
LOUT1/LOUT2 <-- LINE DRIVER <-- SWE <-- PCM Codec Aout
b) Path of room monitor
MIC input --> SWA --> PGA/ALC --> SWC --> SWJ --> Line Driver
LINE IN --> Line Buffer --> SWI --> PCM Codec Ain
c) Path of line play
LINE IN --> SWA --> PGA/ALC --> SWC --> SWD --> PCM Codec Ain
LOUT1/LOUT2 <-- Line Driver <-- SWE <-- PCM Codec Aout
SPK <-- Attenuator <-- SWF <-- PCM Codec Aout
Comparator Transfer point1.101.251.40V
Hysteresis*0.15V
6
MX93000
MX93000
A/D PATH CHARACTERISTICS (Note 1)
PARAMETERMINTYPMAXUNITS
Dynamic Range (-40 dB FS)72dB
THD+N (-6 dB FS)-50dB
THD+N (u Law)-36dB
Interchannel Isolation*
Line/AUX/MIC70dB
Gain Variation (Note 3)5%
Frequency Response
50-60-25dB
300-3k-1.0+1.0dB
3.2k-3.4k-0.9+0.25dB
4K-15dB
> 4.6 K-32dB
D/A PATH CHARACTERISTICS (Note 2)
PARAMETERMINTYPMAXUNITS
Dynamic Range (-40 dB FS)72dB
THD+N (-6 dB FS)-50dB
Gain Variation (Note 3)5%
Total Out-of-Band Energy
.6 Fs to 20 KHz-50dB
Frequency Response
< 300-0.25+0.25dB
300-3k-0.25+0.25dB
3.2k-3.4k-0.9+0.25dB
4K-15dB
> 4.6k-32dB
7
MX93000
MX93000
NOISE
PARAMETERMINTYPMAXUNITS
Idle-channel Noise (Note 4)
-- A/D Path-70dB
-- D/A Path-70dB
VDD Power Supply Rejection (Note 5)
-- A/D Channel40dB
-- D/A Channel40dB
AVDD Power Supply Rejection (Note 5)
-- A/D Channel-50dB
-- D/A Channel-50dB
Crosstalk*
-- A/D to D/A (Note 6)-65dB
-- D/A to A/D (Note 7)-65dB
DIGITAL STATIC SPECIFICATIONS
PARAMETERMINTYPMAXUNITS
High Level Input Voltage (VIH)2.0VDDVolt
Low Level Input Voltage (VIL)00.8Volt
High Level Output Voltage (VOH)2.4VDDVolt
Low Level Output Voltage (VOL)0.4Volt
Output Capacitance*15pF
Input Capacitance*15pF
POWER SUPPLY
PARAMETERMINTYPMAXUNITS
Power Supply - Digital & Analog4.55.5Volt
Power Supply Current -- Operating
-- Analog (Note 8)24mA
-- Digital6mA
Power Supply Current -- Power Down0.6mA
8
MX93000
MX93000
Absolute Maximum Ratings
PARAMETERSymbolMINMAXUNITS
Supply VoltageVDD-GND-0.36.0Volt
Voltage on any I/O pinGND-0.3VDD+0.3Volt
Current on any I/O pin+-8mA
Operating Ambient Temperature070°C
Storage Temperature-65150°C
NOTE:
* These items are guaranteed by characterization, not production testing.
1.VDD=AVDD=5.0V, Temp=25°C, Sampling Rate=8KHz, Linear Mode,
fin=1 KHz, Measurement Bandwidth=300--3.4K Hz
A/D Path=MIC --> PGA (0dB) --> A/D, No ALC.
4. Input is grounded. Measurement Bandwidth=300 -- 3.4K Hz.
5. A/D & D/A input grounded,
Frequency=1KHz, 100m Vp signal on power supply.
6. 0 dB at A/D input, D/A input grounded, then D/A output measured.
7. 0 dB at D/A input, A/D input grounded, then A/D output measured.
8. Power supply current does not include output loading.
9
MX93000
MX93000
SPECIAL CODEC TIMING DESCRIPTION :
TIMING DESCRIPTIONMINMAXUNIT
Tfsfrom Vmckh1 to Vfsh10ns
TfshHolding time for Frame Sync.MCLKns
from Vfsh1 to Vfsh2
Tdxssetting time for Codec Transmit Data110ns
from Vmckh1(n) to DX(n) data ready
Tdrh1Holding time for Codec Receive Data0ns
from DR(n) data ready to Vmckh2(n)
Tdrh2Holding time for Codec Receive Data150ns
from Vmckl(n) to DR(n) ending
Tupen1from Vfsh1 to Venl40FSns
Tupen2from Vfsh1 to Venh40FSns
Tups1Setting time for uP/DSP Transmit SDATA40FSns
from Vupenl to uP/DSP SDATA (n) ready
(where Tupen1 + Tups1 must be less than FS)
Tups2Setting time for uP/DSP Transmit SDATA40FSns
from Vfsh1(n+1) to uP/DSP SDATA (n+1) ready
TuphHolding time for uP/DSP Transmit SDATA40Tups2ns
from Vfsh1(n+1) to uP/DSP SDATA(n) ending
Tcdrdfrom Vfsh(n+1) to Codec read SDATA(n)20ns
Tupo2ifrom Vupenl to uP/DSP changing its SDATA interface into40FSns
input port
Tcdi2ofrom Vfsh1 to Codec changing its SDATA20ns
interface into output port
Tcds1Setting time for Codec Transmit SDATA20ns
from Vcdi2o to Codec SDATA(n) ready
Tcds2Setting time for Codec Transmit SDATA20ns
from Vfsh1(n+2) to Codec SDATA(n+1) ready
TcdhHolding time for Codec Transmit SDATAFSns
from SDATA(n) ready to Vfsh1(n+2)
Tcdo2ifrom Venh to Codec changing its SDATA20ns
interface into input port
Tuprdfrom Vfsh1(n+1) to uP/DSP reading SDATA(n)40FSns
Tupi2ofrom Vfsh1 to uP/DSP changing its SDATA40FSns
interface into output port
10
MX93000
SPECIAL CODEC TIMING DIAGRAM :
PCM CODEC MASTER CLOCK , FRAME SYNC. & DATA TIMING
MX93000
MCLK
FS
u-LAW,A-LOW
DR/X
LINEAR
DR/X
MCLK
FS
DX
MSB
MSB
Vmckh1
2
1
12
12
Tfs
Vfsh1
3
4
5
345
345
Vmckh2
Vmckl
Tfsh
68
7
6
78
6
78
Vmckh1
9
LSB
9101112
(n)
10111213
1
Vfsh2
Tdxs
14
141513
15
16
16
LSB
(n+1)
2
Tdxs
(n)
1
2
(n+1)
DR
11
Tdrh1
1
(n)
Tdrh2
2
(n+1)
MX93000
PCM CODEC CONTROL REGISTER R/W TIMING
CODEC READ SDATA
MX93000
n
FSR/X
SDEN\
uP/DSP SDATA
INTERFACE
CODEC SDATA
INTERFACE
1
Venl
READ SDATA
CODEC WRITE SDATA
n+1
23
Tupen1
Tups1
A2A1
nn+1
Tcdrd
CODEC
n+2
Tuph
A0
11
5
4
D7
678
Tuph
Tups2
D6D5D4D3
10
9
D2D0
D1
121314
Tupen2
Venh
FSR/X
SDEN\
CODEC SDATA
INTERFACE
uP/DSP SDATA
INTERFACE
Vfsh1
n
1
Tupen1
Tupo2i
n+2
n+1
23
Vcdi2o
Tcdi2o
Tcds1
A2A1
n
n+1
Tuprd
uP/DSP
READ SDATA
5
4
A0
678
Tcds2
Tcdh
D6D5D4D3
D7
9
10
11
12
D2D0
D1
1314
Tupen2
Tcdo2i
Tupi2o
12
MX93000
MX93000
REGISTERS DEFINITION :
REGISTER 0:
ADDRESS BITA2A1A0
DATA000
DATA BITD7D6D5D4D3D2D1D0
POWER-ON00000000
DESCRIPTIONSWA-CTLSWB-CTL SWC-CTL SWD-CTL SWE-CTL SWF-CTL SWG-CTL
(SWA-CTL)D(7,6) = (1,1) : path of SWA is "c==>A"
PGA setting following LINE-IN GAIN SETTING
= (1,0) : path of SWA is "b==>A"
PGA setting following AUX-IN GAIN SETTING (see Note 1.)
= (0,1) : path of SWA is "a==>A"
PGA setting following MIC-IN GAIN SETTING
= (0,0) : path of SWA is "d==>A" (grounding to AG)
(SWB-CTL)D(5)= (1): path of SWB is "CLOSE"
= (0): path of SWB is "OPEN"
(SWC-CTL)D(4)= (1): path of SWC is "b==>A"
= (0): path of SWC is "a==>A"
(SWD-CTL)D(3)= (1): path of SWD is "CLOSE"
= (0): path of SWD is "OPEN"
(SWE-CTL)D(2)= (1): path of SWE is "CLOSE"
= (0): path of SWE is "OPEN"
(SWF-CTL)D(1)= (1): path of SWF is "CLOSE"
= (0): path of SWF is "OPEN"
(SWG-CTL)D(0)= (1): path of SWG (ATTENUATOR) is "A==>b"
ATTENUATOR setting following ALARM-OUT SETTING
= (0): path of SWG (ATTENUATOR) is "A==>a"
ATTENUATOR adjusted by external VR1
13
MX93000
MX93000
REGISTER 1 :
ADDRESS BITA2A1A0
DATA001
DATA BITD7D6D5D4D3D2D1D0
POWER-ON00000000
DESCRIPTIONLINE-IN GAIN SETTINGLINE-OUT GAIN SETTING
DATA BITD7D6D5D4D3D2D1D0
POWER_ON00000000
DESCRIPTION PDN ECHOMASTER CLOCKCODEC FORMAT
(PDN)D(6)=1 : POWER DOWN MODE.
a.When D(6) is set to 1, the MX93000 will enter power down mode after 5 MCLKS.
The 5_MCLK period is for the initialization of digital circuits in the MX93000.
b.When the MX93000 enters power down mode, it will clear all registers after 20us.
c.When system power recovers and MCLK is enabled, the MX93000 will wake up
after 30ms and then user can restore all registers.
DATA BITD7D6D5D4D3D2D1D0
POWER-ON00000000
DESCRIPTION ALC
(ALC) D(1) = 1 : ALC loop gain attenuate 6dB
D(1) = 0 : ALC loop gain attenuate 0dB
@@ reserve for internal use
REGISTER 6 :
ADDRESS BITA2A1A0
DATA110
DATA BITD7D6D5D4D3D2D1D0
POWER-ON00000000
DESCRIPTION
@@ reserve for future use
REGISTER 7 :
ADDRESS BITA2A1A0
DATA111
DATA BITD7D6D5D4D3D2D1D0
POWER-ON00000000
DESCRIPTIONREAD REGISTER ADDRESS
(READ) D(3) = 1 : read data from register 0-6
= 0 : write data to register 0-7
(REGISTER ADDRESS) D(2-0) :
1.When READ = 1, READ will be cleared automatically.
2.When READ = 1, next uP/DSP SDEN\ signal active low, CODEC will change CODEC SDATA interface into
output and following the last time REGISTER ADDRESS to output the content of register.
Note 1. :When using SWK or SWH, the path between AUX and SWA will disconnect. Oppositely, if using the path
between AUX and SWA, then SWK and SWH will be invalid.
17
MX93000
MX93000
THE FOLLOWING LIST IS BASIC COMPONENT REQUIRED :
REFERANCEPARTDESCRIPTION
R1620 ýmatching resistor; to reflect 600ý at the transformer primary
R22 Kýcurrent-limit resistor; to limit MIC bias current ; please follow MIC specification
R375 Kýtime constant ; ALC release time constant = R3 * C6
R4,R5to scale down SYSTEM power supply (VPOW) and compare with 1.25V to
do power-down check
R6,R7to scale down BATTERY (VBAT) and compare with 1.25V to do power-down
check
R810Kýthe time constant for power-on-reset circuits ; where RC=R8 * C11
R910 Kýcurrent-limit resistor for Q1
R10330 Kýdischarge path for ALC circuit when Q1 turns off
R11200 Kýto attenuate line-in signal
C1,C40.1 uFDC blocking capacitor
C2,C310 uFto decouple analog virtual ground ; where AG = VREF = 2.25v
C510 uFDC blocking capacitor
C647 uFtime constant ; ALC Attack time contant > 2ký ± 10% * C6
C71uFDC offset cancellation decouple capacitor
C81000 pFanti-aliasing capacitor
C90.1 uFdecoupling capacitor for power supply of Codec digital circuit
C100.1 uFdecoupling capacitor for power supply of Codec analog circuit
C1110 uFthe time constant for power-on-reset circuits ; where RC = R8 * C11
VR110Kýto attenuate the input signal from SWH or SWF ; if using digital volume control,
thenconnecting pin-27 VR to VREF
Q12N3904ALC feedback component ; all NPN (ß > 100) transistor can play this role
D11N4148to protect reset circuits from spike
18
MX93000
MX93000
PIN DESCRIPTIONS :
SYMBOLPIN TYPEPIN NUMBERDESCRIPTION
SDATAI/O(D)1Bidirectional serial port ; It's an interface for microprocessor
serial data transfer
SDEN\I (D)2Serial data enable ; active low ; for starting to receive/transmit
serial data (A2-D0)
DXO (D)3Transmit data pin (Codec serial data)
DRI (D)4Receive data pin (Codec serial data)
FSI (D)5Codec frame sync ; 8KHz frame synchronization clock for the
When this pin is continuously high or low and set register4/bit-
6
"PDN=1", then the MX93000 will enter power-down mode
VDD(D)7Digital power ; 5V power supply for all internal digital logic
GND(D)8Digital ground ; ground reference (0V) for all internal digital
logic
PRSTO (D)9Power on reset (active high) ; Determined by PDN\ and BATT\
input signal
BAT\O (A)10Battery detector output (active low); referenced to 1.25V
VBATI (A)11Battery detector input ; the voltage is divided from battery
power for reference to 1.25V
PDN\O (A)12Power down detector output (active low) ; referenced to 1.25V
VPOWI (A)13Power down detector input ; System DC power is divided and
then connected so as to compare with reference voltage
(1.25v)
LINI (A)14Telephone signal line input , can be switched to PGA.
LOUT1O (A)15Telephone line output (postive) with PGA ; where PGA gain is
from 0 to 22.5dB
LOUT2O (A)16Telephone line output (negative) with PGA ; where PGA gain
is from 0 to 22.5dB
Note : "D" means digital
"A" means analog
19
MX93000
MX93000
SYMBOLPIN TYPEPIN NUMBERDESCRIPTION
AVDD(A)17Analog power supply ; 5V power for all internal analog circuitry
AGND(A)18Analog ground ; ground reference(0V) for all internal analog
circuitry
AGO (A)19Internal analog ground ; nominal 2.25V and must not be used
to sink or source current
MICI (A)20Microphone signal input, can be switched to PGA, where PGA
gain is from 0 to 22.5dB
AUXI/O (A)211.Auxiliary signal input, can be switched to PGA, where PGA
gain is from 0 to 22.5dB
2.As an output port for Aout or an input port for attenuator or
line driver
PGACO (A)22Programmable Gain Amplifier output port
ALCRCO (A)23Auto level control time constant ; where RC=2K±10%*C6
ALCCO (A)24Offset cancellation capacitor (positive) ; normally add a 1 uF
capacitor
FILTI/O (A)251.Anti-aliasing filter; normally add a 1000pF capacitor
2.As an input port for Codec or an output port for SWD or SWI
VREFO (A)26Voltage reference ; normal 2.25V and can sink 500uA
VR0 (A)27Speaker volume control ; use a variable resistor 10ký
SPKO (A)28Speaker output ; it can be attenuated by VR or control register
from 0 to -45dB
20
MX93000
MX93000
APPENDIX :
MX93000 Buglist
1.A/D Full Swing :
Full Swing of A/D is 3.4 Volt in stead of the original target 3.0 Volt.
2.Maximum External Attenuation of SPK through VR pin is only 27 dB.
3.Line Drive Gain:
Line driver will behave as a gain loss rather than a gain loss rather than a gain stage whenever line driver inputs
are come from SWK and/or SWJ.
Line Driver gain if input from
SWESWK/SWJ
0.0 dB-9.0 dB
1.5 dB-8.7 dB
3.0 dB-7.6 dB
4.5 dB-6.8 dB
6.0 dB-6.0 dB
7.5 dB-5.3 dB
9.0 dB-4.6 dB
10.5 dB-4.0 dB
12.0 dB-3.5 dB
13.5 dB-3.0 dB
15.0 dB-2.6 dB
16.5 dB-2.2 dB
18.0 dB-1.9 dB
19.5 dB-1.6 dB
21.0 dB-1.4 dB
22.5 dB-1.2 dB
4.The larger of VREF's bypass capacitor, the better of D/A idle channel noise.
100 uF rather than 10uF can get a good performance.