MT9122 Data Sheet
13
Zarlink Semiconductor Inc.
Note that if the device is in back-to-back or extended delay configurations, the second timeslot in any ST-BUS
Mode contains undefined data. This means that the following timeslots contain undefined data: timeslot 1 in ST-
BUS Mode 1; timeslot 3 in ST-BUS Modes 2 & 3 and timeslots 2 and 3 in ST-BUS Mode 4.
SSI Operation
The SSI PCM interface consists of data input pins (Rin, Sin), data output pins (Sout, Rout), a variable rate bit clock
(BCLK), and four enable pins (ENA1,ENB1, ENA2 and ENB2) to provide strobes for data transfers. The active high
enable may be either 8 or 16 BCLK cycles in duration. Automatic detection of the data type (8 bit companded or 16
bit 2’s complement linear) is accomplished internally. The data type cannot change dynamically from one frame to
the next.
In SSI operation, the frame boundary is determined by the rising edge of the ENA1 enable strobe (see Figure 9).
The other enable strobes (ENB1, ENA2 and ENB2) are used for parsing input/output data and they must pulse
within 125 microseconds of the rising edge of ENA1. If they are unused, they must be tied to Vss.
In SSI operation, the enable strobes may be a mixed combination of 8 or 16 BCLK cycles allowing the flexibility to
mix 2’s complement linear data on one port (e.g., Rin/Sout) with companded data on the other port (e.g., Sin/Rout).
PCM Law and Format Control (LAW, FORMAT)
The PCM companding/coding law used by the MT9122 is controlled through the LAW and FORMAT pins. ITU-T
G.711 companding curves for µ-Law and A-Law are selected by the LAW pin. PCM coding ITU-T G.711 and Sign-
Magnitude are selected by the FORMAT pin. See Table 6.
Linear PCM
The 16-bit 2’s complement PCM linear coding permits a dynamic range beyond that which is specified in ITU-T
G.711 for companded PCM. The echo-cancellation algorithm will accept 16 bits 2’s complement linear code which
gives a dynamic range of +15 dBm0. Note however that the tone detectors must be limited to the maximum
dynamic range specified in G.711 (+3.14 or +3.17 dBm0).
Linear PCM data must be formatted as 14-bit, 2’s complement data with three bits of sign extension in the most
significant positions (i.e.: S,S,S,12,11, ...1,0) for a total of 16 bits where “S” is the extended sign bit. When A-Law is
converted to 2’s complement linear format, it must be scaled up by 6 dB (i.e., left shifted one bit) with a zero
inserted into the least significant bit position. See Figure 8.
1 1 Mode 4. 16 bit 2’s complement linear
PCM I/O on timeslots 0 - 3.
11
Enable Strobe Pin Echo Canceller Port
ENA1 A 1
ENB1 B 1
ENA2 A 2
ENB2 B 2
Table 5 - SSI Enable Strobe Pins
PORT1
Rin/Sout
ST-BUS Mode
Selection
PORT2
Sin/Rout
Table 4 - ST-BUS Mode Select
MT9122 Data Sheet
14
Zarlink Semiconductor Inc.
Bit Clock (BCLK/C4i)
The BCLK/C4i
pin is used to clock the PCM data in both SSI (BCLK) and ST-BUS (C4i) operations.
In SSI operation, the bit rate is determined by the BCLK frequency. This input must contain either eight or sixteen
clock cycles within the valid enable strobe window. BCLK may be any rate between 128 KHz to 4.096 MHz and can
be discontinuous outside of the enable strobe windows defined by ENA1, ENB1, ENA2 and ENB2 pins. Incoming
PCM data (Rin, Sin) are sampled on the falling edge of BCLK while outgoing PCM data (Sout, Rout) are clocked
out on the rising edge of BCLK. See Figure 17.
In ST-BUS operation, connect the system C4
(4.096 MHz) clock to the C4i pin.
Master Clock (MCLK)
A nominal 20 MHz master clock (MCLK) is required for execution of the MT9122 algorithms. The MCLK input may
be asynchronous with the 8 KHz frame. If only one channel operation is required, (Echo Canceller A only) the
MCLK can be as low as 9.6 MHz.
Microport
The serial microport provides access to all MT9122 internal read and write registers and it is enabled when
CONFIG1 and CONFIG2 pins are both set to logic 0. This microport is compatible with Intel MCS-51 (mode 0),
Motorola SPI (CPOL=0, CPHA=0), and National Semiconductor Microwire specifications. The microport consists of
a transmit/receive data pin (DATA1), a receive data pin (DATA2), a chip select pin (CS
) and a synchronous data
clock pin (SCLK).
The MT9122 automatically adjusts its internal timing and pin configuration to conform to Intel or Motorola/National
requirements. The microport dynamically senses the state of the SCLK pin each time CS
pin becomes active (i.e.
high to low transition). If SCLK pin is high during CS
activation, then Intel mode 0 timing is assumed. In this case
DATA1 pin is defined as a bi-directional (transmit/receive) serial port and DATA2 is internally disconnected. If SCLK
is low during CS
activation, then Motorola/National timing is assumed and DATA1 is defined as the data transmit pin
while DATA2 becomes the data receive pin. The MT9122 supports Motorola half-duplex processor mode (CPOL=0
and CPHA=0). This means that during a write to the MT9122, by the Motorola processor, output data from the
DATA1 pin must be ignored. This also means that input data on the DATA2 pin is ignored by the MT9122 during a
valid read by the Motorola processor.
All data transfers through the microport are two bytes long. This requires the transmission of a Command/Address
byte followed by the data byte to be written or read from the addressed register. CS
must remain low for the
duration of this two-byte transfer. As shown in Figures 10 and 11, the falling edge of CS
indicates to the MT9122
that a microport transfer is about to begin. The first 8 clock cycles of SCLK after the falling edge of CS
are always
used to receive the Command/Address byte from the microcontroller. The Command/Address byte contains
PCM Code
Sign-Magnitude
FORMAT=0
ITU-T (G.711)
FORMAT=1
µ/A-LAW
LAW = 0 or 1
µ-LAW
LAW = 0
A-LAW
LAW =1
+ Full Scale 1111 1111 1000 0000 1010 1010
+ Zero 1000 0000 1111 1111 1101 0101
- Zero 0000 0000 0111 1111 0101 0101
- Full Scale 0111 1111 0000 0000 0010 1010
Table 6 - Companded PCM
MT9122 Data Sheet
15
Zarlink Semiconductor Inc.
information detailing whether the second byte transfer will be a read or a write operation and at what address. The
next 8 clock cycles are used to transfer the data byte between the MT9122 and the microcontroller. At the end of
the two-byte transfer, CS
is brought high again to terminate the session. The rising edge of CS will tri-state the
DATA1 pin. The DATA1 pin will remain tri-stated as long as CS
is high.
Intel processors utilize Least Significant Bit (LSB) first transmission while Motorola/National processors use Most
Significant Bit (MSB) first transmission. The MT9122 microport automatically accommodates these two schemes
for normal data bytes. However, to ensure timely decoding of the R/W
and address information, the
Command/Address byte is defined differently for Intel and Motorola/National operations. Refer to the relative timing
diagrams of Figures 10 and 11.
Receive data is sampled on the rising edge of SCLK while transmit data is clocked out on the falling edge of SCLK.
Detailed microport timing is shown in Figure 19 and Figure 20.
Function Controllerless
selected when pins CONFIG1 & 2 00
Controller
selected when pins CONFIG1 & 2 = 00
Normal Configuration Set pins CONFIG1 to 1 and CONFIG2 1 to select this
configuration.
Set bits Extended-Delay to 0 and BBM to 0 in Control Reg-
ister 1 to select.
Back-to-Back
Configuration
Set pins CONFIG1 to 1 and CONFIG2 to 0 to select
this configuration.
Set bit BBM to 1 in Control Register 1 to select.
Extended Delay
Configuration
Set pins CONFIG1 to 0 and CONFIG2 to 1 to select
this configuration.
Set bit Extended-Delay to 1 in Control Register 1 to select.
Mute Set pins S2/S1 to 00 and S4/S3 to 00 to select for Echo
Canceller A and Echo Canceller B respectively.
Set bit MuteR to 1 or MuteS to 1 in Control Register 2 to
select.
Bypass Set pins S2/S1 to 01 and S4/S3 to 01 to select for Echo
Canceller A and Echo Canceller B, respectively.
Set bit Bypass to 1 in Control Register 1 to select.
Disable Adaptation Set pins S2/S1 to 10 and S4/S3 to 10 to select for Echo
Canceller A and Echo Canceller B, respectively.
Set bit AdaptDis to 1 in Control Register 1 to select.
Enable Adaptation Set pins S2/S1 to 11 and S4/S3 to 11 to select for Echo
Canceller A and Echo Canceller B, respectively.
Set bits AdaptDis to 0 and Bypass to 0 in Control Register
1 to select.
SSI Tie pin F0i
to VSS to select. Tie pin F0i to VSS to select.
ST-BUS Apply a valid ST-BUS frame pulse to F0i
pin to select. Apply a valid ST-BUS frame pulse to F0i pin to select.
12dB Attenuator Always disabled. Set bit PAD to 1 in Control Register 1 to enable.
Double-Talk
Detector
Continuously enabled which disables filter adaptation
when double-talk is detected.
The detection threshold can be controlled via Double-Talk
Detection Threshold Register 1 and 2.
Disable Tone
Detector
It is continuously enabled and puts TD1
or TD2 or both
into active low when disable tone is detected. The TD1
and TD2
outputs have to be externally manipulated by
the user to bypass the echo canceller.
Set bit TDis to 1 in Control Register 2 to disable tone
detectors.
Disable Tone Set pin REV to 1 to select disable tone with phase
reversal (G.165).
Set bit PHDis to 1 in Control Register 2 to select disable
tone without phase reversal (G164).
Non-Linear
Processor
Set pin NLP to 1 to enable. Set bit NLPDis to 1 to disable.
PCM Law Set pin LAW to 1 or 0 to select A-Law or µ-Law
respectively.
Set pin LAW to 1or 0 to select A-Law or µ-Law
respectively.
PCM Format Set pin FORMAT to 0 or 1 to select Sign-Magnitude or
ITU-T format respectively.
Set pin FORMAT to 0 or 1 to select Sign-Magnitude or
ITU-T format respectively.
Narrow-Band Signal
Detector
Continuously enabled which disables the filter adapta-
tion when narrow band signal is detected.
Set bit NBDis to 1 in Control Register 2 to disable.
Table 7 - MT9122 Function Control Summary

MT9122AP1

Mfr. #:
Manufacturer:
Microchip / Microsemi
Description:
Telecom Interface ICs Pb Free DUAL VOICE ECHO CANCELLER W/TD
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet