E2U0057-38-21
¡ Semiconductor MSM7617
¡ Semiconductor 2-Channel Echo Canceler
This version: Feb. 1999 MSM7617 Previous version: Aug. 1998
GENERAL DESCRIPTION
The MSM7617 cancels echoes (acoustic or line echoes) generated in voice channels. It is a lowpower CMOS LSI device with two channels. MSM7617 echo canceling is performed by digital signal processing. It negates echoes by estimating the echo channel and then generating a pseudo-echo signal. When used as an acoustic echo canceler, the MSM7617 can cancel acoustic echoes between speaker and microphone that occur during hands-free speaking with car phones, conferencing system phones, etc. When used as a line echo canceler, the MSM7617 can cancel line echoes returned by hybrid impedance mismatches. By setting its mode for use as a single cross-connected channel, the MSM7617 can cancel both acoustic and line echoes. Also, the MSM7617 can improve voice communication by using its howling detection, doubletalk detection, attenuation, and gain control functions to prevent and suppress howling levels, and by using its center clipping function to suppress low level noise. Furthermore, the MSM7617 can disable echo canceling during data communication with its 2100 Hz tone detector and 2100 Hz phase reversal detector. It also provides the ability to attenuate SIN levels, to amplify SOUT levels, and to adjust input/output levels. An economical and highly efficient echo canceler unit can be constructed by using a 2-channel single-chip CODEC like the MSM7533 together with the MSM7617.
1/28
¡ Semiconductor
MSM7617
FEATURES
•Echo canceler has two channels, which can be used for acoustic and line echoes. Set as a single cross-connected channel, it can be used for both acoustic and line echoes. •ITU-T G164/G165 standard tone disabler. •PCM line level adjustment possible with SIN level attenuator (SA pin) and SOUT level amplifier (SG pin). Can also be used for ERL amplification with the SIN level attenuator (SA pin). •RGC pin provides input/output adjustment mode (± 6LR mode) that can prevent malfunction due to excessive inputs without changing the RIN-ROUT input/output levels. •Cancelable echo delay time: •Echo attenuation: •Clock frequency: 55 ms (max.) 30 dB (typ.) 18 to 20 MHz 19.2 MHz if using internal clock signal 4.5 to 5.5 V 64-pin plastic QFP (QFP64-P-1414-0.80-BK) MSM7617-001GS-BK (m-law)
•Power supply voltage: •Package: •Product name:
2/28
¡ Semiconductor
MSM7617
BLOCK DIAGRAM
RIN1
S/P
Non-linear/ Linear
–6LR
ATT
GC
+6LR
Linear/ Non-linear
P/S
ROUT1 DF1
Howling Detector
Double Talk Detector
Power Calculator
Adaptive FIR Filter (AFF) –
2100 Hz Tone, Phase Reverse Detector
CH1
WDT1
SOUT1
P/S
Linear/ Non-linear
SG
Center Clip
+6LR
ATT
+ +
–6LR
SA
Non-linear/ Linear
S/P
SIN1
RIN2
S/P
Non-linear/ Linear
–6LR
ATT
GC
+6LR
Linear/ Non-linear
P/S
ROUT2 DF2
Howling Detector
Double Talk Detector
Power Calculator
Adaptive FIR Filter (AFF) –
2100 Hz Tone, Phase Reverse Detector
CH2
WDT2
SOUT2 SYNCO SCKO VDD (PLL) VSS (PLL)
P/S
Linear/ Non-linear
SG
Center Clip
+6LR
ATT
+ +
–6LR
SA
Non-linear/ Linear
S/P
SIN2 VDD
Clock Generator EC-A Controller PLL EC-B Controller I/O Controller
VSS
PWDWN
NLP1 HCL1 ADP1 RST1 HD1 ATT1 SG10,11 SA10,11 RGC1011
The above diagram shows internal connections for 2-channel parallel mode. The internal connections for 2-channel serial I/O mode and 1-channel cross-connected mode are shown below.
2-channel parallel I/O mode CH1
RIN1 RIN ROUT ROUT1 RIN1 RIN
2-channel serial I/O mode CH1
ROUT ROUT1
ECDM0,1 ECM
NLP2 HCL2 ADP2 RST2 HD2 ATT2 SG20,21 SA20,21 GC20,21
1-channel cross-connected mode CH1
RIN ROUT ROUT1
AFF
SOUT1 SOUT
AFF
SIN SIN1 SOUT1 SOUT
AFF
SIN SIN1 SOUT
+ CH2
+ CH2
+ CH2
SIN
IOM0,1
SIN1 ROUT2 SIN2
RIN2
RIN
ROUT
ROUT2
RIN
ROUT
RIN
AFF
SOUT2 SOUT
AFF
SIN SIN2 SOUT
+
+
SIN
SOUT
SCK SYNC1 SYNC2
ROUT
CLKIN
AFF +
SIN
3/28
¡ Semiconductor
MSM7617
PIN CONFIGURATION (TOP VIEW)
59 ROUT2 62 SOUT2 52 RGC21 51 RGC20 49 WDT2
48 VSS(PLL) 47 VDD(PLL) 46 CLKIN 45 VSS 44 VSS 43 TST 42 PWDWN 41 ECDM1 40 ECDM0 39 SCKO 38 SYNCO 37 VDD 36 VDD 35 VDD 34 VDD 33 VDD
57 SG21
56 SG20
55 SA21
54 SA20
63 ATT2
58 RIN2
61 SIN2
64 HD2
RST2 ADP2 HCL2 SYNC2 VDD NLP2 IOM0 IOM1 SCK
1 2 3 4 5 6 7 8 9
ECM 10 NLP1 11 VSS 12 SYNC1 13 HCL1 14 ADP1 15 RST1 16
HD1 17
ATT1 18
SOUT1 19
SIN1 20
VDD 21
ROUT1 22
RIN1 23
SG11 24
SG10 25
SA11 26
SA10 27
VSS 28
RGC11 29
RGC10 30
DF1 31
50 DF2
53 VDD
60 VSS
64-Pin Plastic QFP
WDT1 32
4/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS
Pin 1 Symbol RST2 Type I "L": Reset "H": Normal operation Input signals are invalid for 100 ms after reset (after RST returns to "H" from "L") for setting initial values. Input the basic clock during reset. Output pins will be placed in the following states during reset. Hi-Z: ROUT2, SOUT2 No effect: SYNCO, SCKO, ROUT1, SOUT1, DF1, WDT1 Previous state: DF2, WDT2 2 ADP2 I AFF coefficient control pin for channel 2. This pin stops coefficient variation of the adaptive FIR filter (AFF), fixing the coefficients. It allows once acquired AFF coefficients to be saved. "H": Fixed coefficient mode "L": Normal mode (variable coefficients) 3 HCL2 I Echo canceler disable pin for channel 2. This pin disables the echo canceler and enables data from SIN to SOUT to be output in "through mode". The input and output levels of SIN and SOUT are changed by the setting of the SG and SA pins; therefore, to output data from SIN to SOUT in "through mode", set the SA and SG pins to "0 dB". It simultaneously clears the adaptive FIR filter coefficients. "H": Disable mode "L": Normal mode (echo canceller enabled) 4 SYNC2 I Sync signal input pin for channel 2 transmit/receive PCM data while in parallel I/O mode. Input the transmit/receive sync signal (8 kHz) of the PCM CODEC connected to channel 2. Input "L" if not in parallel I/O mode. 6 NLP2 I NLP control pin for channel 2. This pin controls center clipping, forcing SOUT2 output to the minimum positive value when it is below –54 dBm0. It is effective for reducing uncanceled echoes and low-level noise. "H": Center clipping on "L": Center clipping off 7 8 IOM0 IOM1 I Sets I/O mode of PCM data. IOM1 0 0 1 1 IOM0 Mode Setting 0 1 0 1 2-channel parallel I/O mode 2-channel serial I/O mode 1-channel cross-connected mode Inhibited Description Reset signal input pin for channel 2.
5/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 9 Symbol SCK Type I transmission. Input the same clock as the transmit/receive clock of the PCM CODEC. Frequencies below 128 kHz cannot be used in serial mode. 10 11 ECM NLP1 I I Not used. Fix input to "H". NLP control pin for channel 1. This pin controls center clipping, forcing SOUT1 output to the minimum positive value when it is below –54 dBm0. It is effective for reducing uncancelled echoes and low-level noise. "H": Center clipping on "L": Center clipping off 13 SYNC1 I Sync signal input pin for channel 1 transmit/receive PCM data while in 2channel parallel I/O mode, 2-channel serial I/O mode, or 1-channel crossconnected mode. Input the transmit/receive sync signal (8 kHz) of the PCM CODEC. 14 HCL1 I Echo canceler disable control pin for channel 1. This pin disables the echo canceler and enables data from SIN to SOUT to be output in "through mode". The input and output levels of SIN and SOUT are changed by the setting of the SG and SA pins; therefore, to output data from SIN to SOUT in "through mode", set the SA and SG pins to "0 dB". It simultaneously clears the adaptive FIR filter coefficients. "H": Disable mode "L": Normal mode (echo canceler enabled) 15 ADP1 I AFF coefficient control pin for channel 1. This pin stops coefficient variation of the adaptive FIR filter (AFF), fixing the coefficients. It allows once acquired AFF coefficients to be saved. "H": Fixed coefficient mode "L": Normal mode (variable coefficients) 16 RST1 I Reset signal input pin for channel 1. "L": Reset "H": Normal operation Input signals are invalid for 100 ms after reset (after RST returns to "H" from "L") for setting initial values. Input the base clock during reset. Output pins will be placed in the following states during reset. Hi-Z: ROUT1, SOUT1 No effect: SYNCO, SCKO, ROUT2, SOUT2, DF2, WDT2 Previous state: DF1, WDT1 Description Common pin for channel 1 and channel 2. Clock input pin for PCM data
6/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 17 Symbol HD1 Type I Description Howling detection control pin for channel 1. This pin controls detection and canceling of howling generated by the acoustics of handsfree telephones. "L": Howling detector on "H": Howling detector off 18 ATT1 I ATT control pin for channel 1. This pin controls the ATT function for preventing howling with the attenuators (ATT) provided on RIN and SOUT. When input is only on RIN, the SOUT attenuator is activated. When there is no input on RIN or there is input on both SIN and RIN, the RIN input attenuator is activated. Either the ATT for the RIN output or the ATT for the SOUT is always activated in all cases, and the attenuation of ATT is 6 dB. "H": Attenuator off "L": Attenuator on Because the attenuator is inserted opposite the speaker, it is effective for further reducing echo. 19 SOUT1 O PCM data output pin. Output signal changes depending on the setting of the IOM pins (refer to the block diagram). Data is always output on the rising edge of SCK. This pin is put in high impedance state while there is no data or during reset. In 2-channel parallel I/O mode, this pin becomes SOUT for channel 1 and outputs the PCM signal synchronous with SYNC1. In 2-channel serial I/O mode, this pin outputs the SOUT signal as a multiplexed PCM signal of SOUT signal for channel 1 and channel 2 synchronous with SYNC1. In 1-channel cross-connected mode, this pin becomes high impedance.
7/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 20 Symbol SIN1 Type I Description PCM data input pin. Pin use changes depending on the setting of the IOM pins (refer to the block diagram). In 2-channel parallel I/O mode, this pin becomes SIN for channel 1 and inputs the PCM signal synchronous with SYNC1. In 2-channel serial I/O mode, this pin sequentially inputs SIN as a multiplexed PCM signal from channel 1 and channel 2 synchronous with SYNC1. In 1-channel crossconnected mode, this pin becomes the cross-connected SIN pin for channel 1, and inputs the PCM signal synchronous with SYNC1. Data is captured on the falling edge of SCK. 22 ROUT1 O PCM data output pin. Output signal changes depending on the setting of the IOM pins (refer to the block diagram). Data is always output on the rising edge of SCK. This pin becomes high impedance while there is no data or during reset. In 2-channel parallel I/O mode, this pin becomes ROUT for channel 1 and outputs the PCM signal synchronous with SYNC1. In 2-channel serial I/O mode, this pin outputs the ROUT signal as a multiplexed PCM signal of ROUT signals for channel 1 and channel 2 synchronous with SYNC1. In 1-channel cross-connected mode, this pin becomes the cross-connected ROUT pin for channel 1, and outputs the PCM signal synchronous with SYNC1. 23 RIN1 I PCM data input pin. Pin use changes depending on the setting of the IOM pins (refer to the block diagram). In 2-channel parallel I/O mode, this pin becomes RIN for channel 1 and inputs the PCM signal synchronous with SYNC1. In 2-channel serial I/O mode, this pin sequentially inputs RIN as a multiplexed PCM signal from channel 1 and channel 2 synchronous with SYNC1. In 1-channel crossconnected mode, this pin is not used, and should be fixed at "L". Data is captured on the falling edge of SCK.
8/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 24 25 Symbol SG11 SG10 Type I Description S output gain control pins for channel 1 (refer to the block diagram). These pins amplify the output level of SOUT. The gain level can be set even during the echo canceler disable mode. SG11 0 0 1 1 26 27 SA11 SA10 I SG10 0 1 0 1 Gain Level 0 dB +6 dB +12 dB Not used
S input attenuator control pins for channel 1 (refer to the block diagram). These pins attenuate the input level of SIN. Use them if ERL is large. The attenuation level can be set even during the echo canceler disable mode. SA11 0 0 1 1 SA10 0 1 0 1 Attenuation Level 0 dB –6 dB –12 dB Not used
29 30
RGC11 RGC10
I
R input level control pins for channel 1 (refer to the block diagram). Excessive input (PCM level is at maximum value) causes a malfanction. Use these pins when there is a possibility of excessive input. RGC11 RGC10 Level Control Mode 0 0 0 1 Off GC: On (control level = –20 dBm0) By the R gain controller, levels from –20 to –11.5 dBm0 will be suppressed to –20 dBm0 and those above –11.5 dBm0 will always be attenuated by 8.5 dB. This is effective to prevent excessive input and howling for hands-free applications. 1 1 0 1 Inhibited ±6LR: On Applies –6 dB to excessive inputs using the level adjuster provided on R and S I/O. Since +6 dB also is applied at the output, the total level will not change, making this effective against line echo.
9/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 31 Symbol DF1 Type O Description Tone disabler flag output pin for channel 1. This pin outputs a disable flag when the ECDM pins are used for tone disabler mode. "H": Echo canceler disabled "L": Echo canceler enabled 32 38 WDT1 SYNCO O O Not used. Leave this pin open. Output pin for internal SYNC signal (8 kHz). This pin is used as the transmit/receive synchronization signal for PCM signals. Connect it to the SYNC pin and PCM CODEC’s synchronization signal pin. Leave this pin open if using an external SYNC. 39 SCKO O Output pin for internal SCK signal (256 kHz). This pin is used for the transfer clock of PCM signals. Connect it to the PCM CODEC’s synchronization signal pin. Leave open if using an external SYNC. 40 41 ECDM0 ECDM1 I Tone disabler control pin common to channel 1 and channel 2. These pins detect answer tones generated by modems (2100 Hz), and then disable the echo canceler. ECDM1 ECDM0 Tone Disabler Mode 0 0 1 1 42 PWDWN I 0 1 0 1 Off 2100 Hz tone detection: On 2100 Hz and phase reversal detection: On Inhibited
Common pin for channel 1 and channel 2. This pin controls the power-down mode to reduce current consumption when the device is not being used. "L": Power down "H": Normal operation During power-down mode all input pins are invalid, and output pins will enter the following states. Hi-Z: SOUT1, SOUT2, ROUT1, ROUT2 "L": SYNCO, SCKO Previous state: DF1, WDT1, DF2, WDT2 Reset the device after power-down mode is released.
10/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 43 46 Symbol TST CLKIN Type O I Not used. Leave this pin open. Basic clock input pin. Input a clock 18 to 20 MHz. Use 19.2 MHz if using internal synchronization signals (SYNCO, SCKO). 47 VDD (PLL) 48 VSS (PLL) 49 50 WDT2 DF2 O O I I Power supply for PLL circuit that uses the basic clock. Insert a 0.1mF capacitor with excellent high frequency characteristics between VDD (PLL) and VSS (PLL). Ground for PLL circuit that uses the basic clock. Insert a 0.1mF capacitor with excellent high frequency characteristics between VDD (PLL) and VSS (PLL). Not used. Leave this pin open. Tone disabler flag output pin for channel 2. This pin outputs a disable flag when the ECDM pins are used for tone disabler. "H": Echo canceler disabled "L": Echo canceler enabled 51 52 RGC20 RGC21 I R input level control pins for channel 2 (refer to the block diagram). Excessive input (PCM level is at maximum value) causes a malfunction. Use these pins when there is a possibility of excessive input. RGC21 RGC20 Level Control Mode 0 0 0 1 Off GC: On (control level = –20 dBm0) By the R gain controller, levels from –20 to –11.5 dBm0 will be suppressed to –20 dBm0 and those above –11.5 dBm0 will always be attenuated by 8.5 dB. This is effective to prevent excessive input and howling for hands-free applications. 1 1 0 1 Inhibited ±6LR: On Apply –6 dB to excessive inputs using the level adjuster provided on R and S I/O. Since +6 dB also is applied at the output, the total level will not change, making this effective against line echo. Description
11/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 54 55 Symbol SA20 SA21 Type I Description S input attenuator control pins for channel 2 (refer to the block diagram). These pins attenuate the input level of SIN. Use them if ERL is large. The attenuation level can be set even during the echo canceler disable mode. SA21 0 0 1 1 56 57 SG20 SG21 I SG20 0 1 0 1 Attenuation Level 0 dB –6 dB –12 dB Not used
S output gain control pins for channel 2 (refer to the block diagram). These pins amplify the output level of SOUT. The gain level can be set even during the echo canceler disable mode. SG21 0 0 1 1 SG20 0 1 0 1 Gain Level 0 dB +6 dB +12 dB Not used
58
RIN2
I
PCM data input pin. Pin use changes depending on the setting of the IOM pins (refer to the block diagram). In 2-channel parallel I/O mode, this pin becomes RIN for channel 2 and inputs the PCM signal synchronous with SYNC2. Data is captured on the falling edge of SCK. In other modes, this pin is not used, and should be fixed at "L".
59
ROUT2
O
PCM data output pin. Output signal changes depending on the setting of the IOM pins (refer to the block diagram). Data is always output on the rising edge of SCK. This pin becomes high impedance while there is no data. In 2-channel parallel I/O mode, this pin becomes ROUT for channel 2 and outputs the PCM signal synchronous with SYNC2. In 2-channel serial I/O mode, this pin is not used and should be left open. In 1-channel crossconnected mode, this pin becomes the cross-connected ROUT pin for channel 2, and outputs the PCM signal synchronous with SYNC1.
12/28
¡ Semiconductor
MSM7617
PIN DESCRIPTIONS (Continued)
Pin 61 Symbol SIN2 Type I Description PCM data input pin. Pin use changes depending on the setting of the IOM pins (refer to the block diagram). Data is captured on the falling edge of SCK. In 2-channel parallel I/O mode, this pin becomes SIN for channel 2 and inputs the PCM signal synchronous with SYNC2. In 2-channel serial I/O mode, this pin is not used and should be fixed at "L". In 1-channel crossconnected mode, this pin becomes the cross-connected SIN pin for channel 2, and inputs the PCM signal synchronous with SYNC1. 62 SOUT2 O PCM data output pin. Output signal changes depending on the setting of the IOM pins (refer to the block diagram). Data is always output on the rising edge of SCK. This pin becomes high impedance while there is no data. In 2-channel parallel I/O mode, this pin becomes SOUT for channel 2 and outputs the PCM signal synchronous with SYNC2. In other modes, this pin is not used and should be left open. 63 ATT2 I ATT control pin for channel 2. This pin controls the ATT function for preventing howling with the attenuators (ATT) provided on RIN and SOUT. When input is only on RIN, the SOUT attenuator is activated. When there is no input on SIN or there is input on both SIN and RIN, the RIN input attenuator is activated. Either the ATT for the RIN output or the ATT for the SOUT is always activated in all cases, and the attenuation of ATT is 6 dB. "H": Attenuator off "L": Attenuator on Because the attenuator is activated opposite the speaker, it is effective for further reducing echo. 64 HD2 I Howling detection control pin for channel 2. This pin controls detection and canceling of howling generated by the acoustics of handsfree telephones. "L": Howling detector on "H": Howling detector off
13/28
¡ Semiconductor
MSM7617
ABSOLUTE MAXIMUM RATINGS
Parameter Power Supply Voltage Input Voltage Power Dissipation Storage Temperature Symbol VDD VIN PD TSTG — Ta = 25°C Condition Rating –0.3 to + 7 –0.3 to VDD + 0.3 1 –55 to +150 Unit V V W °C
RECOMMENDED OPERATING CONDITIONS
(VDD = 4.5 V to 5.5 V) Parameter Power Supply Voltage Power Supply Voltage High Level Input Voltage Low Level Input Voltage Operating Temperature Symbol VDD VSS VIH VIL Ta Condition — — — — — Min. 4.5 — 2.4 0 –40 Typ. 5 0 — — +25 Max. 5.5 — VDD 0.8 +85 Unit V V V V °C
ELECTRICAL CHARACTERISTICS
DC Characteristics
(VDD = 4.5 V to 5.5 V, Ta = –40°C to +85°C) Parameter High Level Output Voltage Low Level Output Voltage High Level Input Current Low Level Input Current High Level Output Leakage Current Low Level Output Leakage Current
Power Supply Current (operation mode) Power Supply Current (power-down mode)
Symbol VOH VOL IIH IIL IOZH IOZL IDDO IDDS CI CLOAD
Condition IOH = 40 µA IOL = 1.6 mA VIH = VDD VIL = VSS VOH = VDD VOL = VSS — PWDWN = "L" — —
Min. 4.2 0 — –10 — –10 — — — —
Typ. — — 0.1 –0.1 0.1 –0.1 80 0.5 — —
Max. VDD 0.4 10 — 10 — 130 2 15 20
Unit V V µA µA µA µA mA mA pF pF
Input Capacitance Output Load Capacitance
14/28
¡ Semiconductor Echo Canceler Characteristics (refer to characteristics diagram)
Parameter Symbol Condition RIN = –10 dBm0 Echo Reduction (Common to Channel 1 and Channel 2) (5 kHz white noise band) LRES E. R. L. = 6 dB TD = 50 ms ATT, GC, NLP: OFF RIN = –10 dBm0 Cancelable Echo Delay Time (Common to Channel 1 and Channel 2) TD (5 kHz white noise band) E. R. L. = 6 dB ATT, GC, NLP: OFF — — — 30 Min. Typ.
MSM7617
Max.
Unit
—
dB
55
ms
Tone Disabler Characteristics
Parameter Detection frequency Tone Detection Detection level Detection time Detection condition Phase Reversal Detection Detection frequency Detection level Phase reversal Release Detection level Release time Min. 2075 –32 380 2075 –32 135 — — Typ. 2100 — — 2100 — 180 — 250 Max. 2125 — — 2125 — 225 –32 — Unit Hz dBm0 ms Hz dBm0 ° dBm0 ms
2100Hz. 180° out-of-phase detected before and after 450±25ms.
15/28
¡ Semiconductor AC Characteristics
MSM7617
(VDD = 4.5 V to 5.5 V, Ta = –40°C to +85°C) Parameter Clock Frequency If Used Without Internal Sync Signal Clock Cycle Time If Used Without Internal Sync Signal Clock Duty Cycle Clock High Level Pulse Width Clock Low Level Pulse Width Clock Rise Time Clock Fall Time Internal Sync Clock Output Time Internal Sync Clock Frequency Internal Sync Clock Cycle Time Internal Sync Clock Duty Cycle Internal Sync Signal Output Time Internal Sync Signal Period Internal Sync Signal Pulse Width Transmit/Receive Sync Clock Frequency In Serial I/O Mode Transmit/Receive Sync Clock Cycle Time In Serial I/O Mode Transmit/Receive Sync Clock Duty Cycle Transmit/Receive Sync Signal Period Sync Timing Sync Signal Width Receive Signal Setup Time Receive Signal Hold Time Receive Signal Input Time In 2-Channel Serial Mode Symbol fC tMCK tDMC tMCH tMCL tr tf tDCM fCO tCO tDCO tDCC tCYO tWSO fSCK tSCK tDSC tCYC tXS tSX tWSY tDS tDH tID tID2 Min. — 18 — 50 40 tMCK ¥ 0.4 tMCK ¥ 0.4 — — — — — — — — — 64 128 0.488 0.488 40 — 45 45 tSCK 45 45 — — Typ. 19.2 — 52.08 — — — — — — — 256 3.9 50 — 125 tCO — — — — 50 125 — — — — — 7tSCK 15tSCK Max. — 20 — 55.56 60 tMCK ¥ 0.6 tMCK ¥ 0.6 5 5 40 — — — 5 — — 2048 2048 15.62 7.81 60 — — — tCYC–tSCK — — — — Unit MHz ns % ns ns ns ns ns kHz µs % ns µs µs kHz µs % µs ns ns µs ns ns µs µs
16/28
¡ Semiconductor AC Characteristics (Continued)
MSM7617
(VDD = 4.5 V to 5.5 V, Ta = –40°C to +85°C) Parameter Serial Output Delay Time Reset Signal Input Width Reset Start Time Reset End Time Process Operation Start Time Power-Down Start Time Power-Down End Time RST Width After Power-Down RST Control Pin Setup Time RST Control Pin Hold Time SCK Control Pin Setup Time SCK Control Pin Hold Time Symbol tSD tXD tWR tDRS tDRE tDIT tDPS tDPE tWPR tDSR tDHR tDCS tDCH Min. — — 1 5 — 100 — — 10 20 20 120 120 Typ. — — — — — — — — — — — — — Max. 90 90 — — 52 — 111 15 — — — — — Unit ns ns µs ns ns µs ns ns ms ns ns ns ns
17/28
¡ Semiconductor
MSM7617
TIMING DIAGRAMS
Clock Timing
fC, tMCK, tDMC CLKIN tDCM SCKO fCO, tCO SCKO tDCC tDCC tCYO SYNCO tWSO tDCO tDCM tMCH tMCL tr tf
18/28
¡ Semiconductor Serial Data Input Timing (Parallel Mode, FTF Mode)
fSCK, tSCK SCK tXS tSX tCYC tDSC
MSM7617
SYNC tWSY tDS SIN RIN tDH MSB 7 LSB 0 MSB 7
6
5
4 tID
3
2
1
Serial Data Input Timing (Serial Mode) Note: Refer to parallel mode for detailed timing
fSCK, tSCK SCK tCYC tWSY SYNC1 tDH tID2
tDS RIN1 SIN1 7 6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
7
CH1 data
CH2 data
19/28
¡ Semiconductor Serial Data Output Timing (Parallel Mode, FTF Mode)
fSCK, tSCK SCK tXS tSX SYNC tXD tSD SOUT ROUT High-Z MSB 7 tWSY tXD tXD 6 5 4 3 2 1 LSB 0 High-Z tCYC tDSC
MSM7617
MSB 7
Serial Data Output Timing (Serial Mode) Note: Refer to parallel mode for detailed timing
fSCK, tSCK SCK tCYC tWSY SYNC1
ROUT1 High-Z 7 SOUT1
Operation Timing After Reset
tWR
RST
Internal operation
6 5 4 3 2 CH1 data
tDRS tDRE Reset
1
0
7
6
5
4
3
2
1
0
High-Z
7
CH2 data
Note: Reset timing can be asynchronous. tDIT
Initial setting
Proccessing starts
20/28
¡ Semiconductor Power-Down Timing
Note: All inputs are invalid during power-down. Always reset the device after power-down.
PWDWN
Internal operation
RST
Capture Timing of Control Pins
Control pin states are captured during reset and during each period’s serial data capture.
tWR
RST
Control Pin
,,
tDPS tDPE Power-down
tDHR tDSR tID tID2 tDCH tDCS tDCS
MSM7617
tWPR
SCK
SYNC
Channel 1 Control Pin Channel 2 Control Pin (when not in serial mode)
tDCH
Channel 2 Control Pin (when in serial mode)
21/28
¡ Semiconductor
MSM7617
HOW TO USE THE MSM7617
The echo canceler cancels the echo on the RIN signal as returned by SIN. Connect the original signal to the R side, and the signal generating the echo to the S side. Connection Methods According to Echoes Example 1. Cancel Acoustic Echo (applies to acoustic echo from line input)
ROUT Acoustic echo AFF CODEC SIN + – + SOUT CODEC RIN Input H
Example 2. Cancel Line Echo (applies to line echo from microphone input)
SOUT + AFF SIN H
Input
CODEC
RIN
ROUT
CODEC Line echo
Example 3. Cancel Both Acoustic Echo And Line Echo
MSM7617 + AFF SIN1 AFF + CH1 CH2 ROUT2 CODEC ROUT1 Acoustic echo CODEC SIN2
Input
H Line echo
Input
22/28
¡ Semiconductor
MSM7617
ECHO CANCELER CHARACTERISTICS DIAGRAM
Characteristics of m-law and A-law are identical. (Characteristic graphs below are reference data.)
ERL vs. Echo Attenuation 40 40 RIN Input Level vs. Echo Attenuation
Note: regarding dBm0: The "dBm0" unit used in the characteristic graphs is a unit that expresses PCM CODEC digital values. Therefore, be aware that the same value 0 [dBm0] might correspond to different analog input levels depending on the PCM CODEC being used. Please check the data sheet of the PCM CODEC being used. Example MSM7533 MSM7543 0 [dBm0] = 0.85 [Vrms] = 2.4 [Vp-p] = 0.8 [dBm] 600 W –10 [dBm0] = 0.27 [Vrms] = 0.76 [Vp-p] = –9.2 [dBm] 600 W 0 [dBm0] = 0.6007 [Vrms] = 1.7 [Vp-p] = –2.2 [dBm] 600 W –10 [dBm0] = 0.19 [Vrms] = 0.54 [Vp-p] = –12.2 [dBm] 600 W 23/28
Echo Attenuation [dB] Echo Attenuation [dB]
Echo Attenuation [dB]
30
30
20
20
10
10
0
0
40
30
20
10
0
–10
E. R. L. [dB] Measuring Conditions: RIN input level = –10 dBm0 white noise Echo delay time = 50 ms ATT, GC, NLP, LR all off
–50 –40 –30 –20 –10 0 RIN Input level [dBm0] Measuring Conditions: RIN input = white noise Echo delay time = 50 ms E.R.L. = 6 [dB] ATT, GC, NLP, LR all off
10
Echo Delay Time vs. Echo Attenuation 40 30 20 10 0 0 10 20 30 40 50 60 Measuring Conditions: RIN input level = –10 dBm0 white noise Echo delay time = 50 ms E.R.L = 6 dB ATT, GC, NLP, LR all off
Echo Delay Time [ms]
¡ Semiconductor
MSM7617
Measurement System Block Diagram
White noise generator L. P. F. 5 kHz MSM7617 RIN ROUT Echo Delay Time Delay
CH1 or CH2 Level Meter SOUT SIN ATT E. R. L. 2ch CODEC MSM7533
24/28
¡ Semiconductor
MSM7617
NOTES ON USE
1. Set echo return loss (E. R. L) to be attenuated. If the echo return loss is set to be amplified, the echo cannot be canceled. (Refer to the "E. R. L vs Echo Attenuation" characteristic graph.) When the echo return loss is amplified, adjust the input level to be attenuated by setting the mode with the SA pin. If the level from the SA pin is too low by setting the mode with the SA pin, then amplify the output level by setting the mode with the SG pin. 2. Set RIN input so that there is not excessive input (above 0 dBm0) from the PCM CODEC. Echo cancellation is not possible with excessive input. (Refer to the "RIN vs Echo Attenuation" characteristic graph.) Recommended input levels are –10 to –20 dBm0. If there is a possibility of excessive input, then set GC mode or 6LR mode with the RGC pins. 3. Applying the tone signals to this echo canceler will decrease echo attenuation. 4. For changes in the echo path (retransmit, circuit switching during transmission, and so on), convergence may be difficult. Perform a reset to make it converge. If the state of the echo path changes after a reset, convergence may again be difficult. In cases such as a change in the echo path, perform a reset each time. 5. If a clock is not input after power is applied, then the internal circuits will not stabilize, possibly damaging the device. When power is applied, set the PWDWN pin to "H" and input the basic clock. If the device is put into PWDWN immediately after power has been applied, be sure to input 10 or more clocks of the basic clock before setting to the power down mode. 6. Always reset after power is applied or power-down is released. For power-on reset operation, an external oscillator may require a certain setting time after powered on. Allow 10 ms for a reset time after the oscillator has settled. 7. When the device is used as an acoustic echo canceler, equipment noise and environment noise from the microphone amp may be amplified, and echo attenuation may be below 30 dB.
25/28
Line side Terminal side
ROUT Bus SIN Bus RIN Bus SOUT Bus ch3 SYNC SCK
23 19 58 62
¡ Semiconductor
4-Channel Serial Interface Line Echo Canceler Example
APPLICATION CIRCUITS
MSM7617
RIN1 SOUT1 RIN2 SOUT2 SYNC1 SCK WDT1 DF1 NLP1 HCL1 ADP1 HD1 ATT1 SG11 SG10 SA11 SA10 RGC11 RGC10 RST1 ECDM1 ECDM0 TST CLKIN PWDWN VDD(PLL) VSS(PLL) VDD VDD VDD VDD VDD VDD ROUT1 SIN1 ROUT2 SIN2 SYNC2 WDT2 DF2 NLP2 HCL2 ADP2 HD2 ATT2 SG21 SG20 SA21 SA20 RGC21 RGC20 RST2 IOM1 IOM0 ECM SYNCO SCKO VSS VSS VSS VSS VSS
22 20 59 61 4 49 50 6 3 2 64 63 57 56 55 54 52 51 1 8 7 10 38 39 12 28 44 45 60 23 19 58 62 13 9 32 31
MSM7617
RIN1 SOUT1 RIN2 SOUT2 SYNC1 SCK WDT1 DF1 NLP1 HCL1 ADP1 HD1 ATT1 SG11 SG10 SA11 SA10 RGC11 RGC10 RST1 ECDM1 ECDM0 TST CLKIN PWDWN VDD(PLL) VSS(PLL) VDD VDD VDD VDD VDD VDD ROUT1 SIN1 ROUT2 SIN2 SYNC2 WDT2 DF2 NLP2 HCL2 ADP2 HD2 ATT2 SG21 SG20 SA21 SA20 RGC21 RGC20 RST2 IOM1 IOM0 ECM SYNCO SCKO VSS VSS VSS VSS VSS
22 20 59 61 4 49 50 6 3 2 64 63 57 56 55 54 52 51 1 8 7 10 38 39 12 28 44 45 60
ch1 SYNC
13 9 32 31
+5 V
11 14 15 17 18
+5 V
+5 V
11 14 15 17 18
+5 V
CH1
24 25 26 27 29 30 16
CH2
CH3
24 25 26 27 29 30 16
CH4
ch1 RST GND
41 40 43
GND
GND
41 40 43 46 42
GND
CLOCK +5 V GND
46 42 47 48 5 21 33 34 35 36
+5 V GND
47 48 5 21 33 34 35 36
GND + +5 V
GND + +5 V
VDD 37 VDD 53
VDD 37 VDD 53
MSM7617
26/28
ch2 RST ch3 RST ch4 RST
¡ Semiconductor Cross-Connection Example
Microphone Input
2ch CODEC MSM7533VGS-K C1 R1 R2 DV R3 21 AIN1 22 GSX1 4 AOUT1 13 12 15 10 16 19 5 6 DOUT1 DIN1 XSYNC RSYNC BCLK A/m PDN CHP 24 AIN2 GSX2 23 AOUT2 2 14 DOUT2 DIN2 11 VDD 8 1 SGC AG DG 18 9 AV C4 C5 (AG) R5 R6 R7 DV C2
MSM7617
Line Input Line Output
Speaker Output
+ C3
DV
DV R4
MSM7617
23 RIN1 19 SOUT1 58 RIN2 62 SOUT2 13 SYNC1 9 SCK 32 WDT1 31 DF1 11 NLP1 14 HCL1 15 ADP1 17 HD1 18 ATT1 DV 24 25 26 27 29 30 RST DG SG11 SG10 SA11 SA10 RGC11 RGC10 ROUT1 22 20 SIN1 59 ROUT2 61 SIN2 4 SYNC2 WDT2 DF2 NLP2 HCL2 ADP2 HD2 49 50 6 3 2 64
DV R8
DV
R1 = 20 kW R2 = 20 kW R3 = 2.2 kW R4 = 10 kW R5 = 20 kW R6 = 20 kW R7 = 2.2 kW R8 = 10 kW
DG
CLK PWDWN DV DG C6
16 RST1 41 ECDM1 40 ECDM0 43 TST 46 CLKIN 42 PWDWN 47 VDD(PLL) 48 VSS(PLL) 5V DD 21 VDD 33 VDD 34 V DD 35 V DD 36 VDD
63 ATT2 SG21 57 56 SG20 SA21 55 SA20 54 52 RGC21 51 RGC20 RST2 1 8 IOM1 IOM0 7 ECM 10 38 SYNC0 39 SCK0 12 VSS 28 VSS V 44
SS
C1 = 1 mF C2 = 1 mF C3 = 0.1 mF C4 = 10 mF C5 = 0.1 mF
+ DG C8 DV
VSS
45 60
C7 VDD 37 VDD 53
C6 = 0.1 mF C7 = 0.1 mF C8 = 10 mF
27/28
¡ Semiconductor
MSM7617
PACKAGE DIMENSIONS
(Unit : mm)
QFP64-P-1414-0.80-BK
Mirror finish
Package material Lead frame material Pin treatment Solder plate thickness Package weight (g)
Epoxy resin 42 alloy Solder plating 5 mm or more 0.87 TYP.
Notes for Mounting the Surface Mount Type Package The SOP, QFP, TSOP, SOJ, QFJ (PLCC), SHP and BGA are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. Therefore, before you perform reflow mounting, contact Oki’s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times).
28/28
E2Y0002-29-11
NOTICE
1. The information contained herein can change without notice owing to product and/or technical improvements. Before using the product, please make sure that the information being referred to is up-to-date. The outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product. When planning to use the product, please ensure that the external conditions are reflected in the actual circuit, assembly, and program designs. When designing your product, please use our product below the specified maximum ratings and within the specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating temperature. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range. Neither indemnity against nor license of a third party’s industrial and intellectual property right, etc. is granted by us in connection with the use of the product and/or the information and drawings contained herein. No responsibility is assumed by us for any infringement of a third party’s right which may result from the use thereof. The products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). These products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. Such applications include, but are not limited to, traffic and automotive equipment, safety devices, aerospace equipment, nuclear power control, medical equipment, and life-support systems. Certain products in this document may need government approval before they can be exported to particular countries. The purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these. No part of the contents cotained herein may be reprinted or reproduced without our prior permission. MS-DOS is a registered trademark of Microsoft Corporation.
2.
3.
4.
5.
6.
7.
8.
9.
Copyright 1999 Oki Electric Industry Co., Ltd.
Printed in Japan