ML7204-001 OKI | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 42
Technical content
Issue Date: Aug. 12, 2004 ML7204-001 VoIP CODEC GENERAL DESCRIPTION The ML7204-001 is a speech CODE C for VoIP. As a speech CODEC, this LSI allows selection of G.729.A/G711 and supports the PLC (Packet Loss Concealment) function. With an echo canceler that handles 32 ms-delay and FSK detection/generation, DTMF detection/generation, and tone detection/generation functions, the ML7204-001 is the most suitable LSI for adding the VoIP function to TAs and routers.
FEATURES
- Power supply voltage Digital power supply voltage (DVDD0, 1, 2): 3.0 to 3.6 V Analog power supply voltage (AVDD): 3.0 to 3.6 V
- Speech CODEC: G.729.A (8 kbps)/G.711 (64 kbps) µ-law and A-law (supports individual setting for transmission and reception) Supports ITU-T G.711 Appendix 1 compliant PLC (Packet Loss Concealment) function Supports the 2-channel processing function (for 3-way communication)
- Built-in FIFO buffer (640 bytes) for transmission/reception data transfer Allows selection of Fr ame/DMA (slave) interface
- Echo canceler for handling 32 ms delay
- DTMF detection
- DTMF generation (the tone generation function enables generation of DTMF signals)
- Tone detection: 2 types (1650 Hz and 2100 Hz: Detection frequency can be changed)
- Tone generation: 2 types
- FSK detection
- FSK generation
- Built-in 16-bit timer: 1 channel
- Dial pulse detection function (secondary function of general-purpose I/O ports)
- Dial pulse transmission function (secondary function of general-purpose I/O ports)
- General-purpose I/O ports 64-pin package: Equipped with 7 ports (with some of them having secondary function allocation) 100-pin package: Equipped with 21 ports (with some of them having secondary function allocation)
- Two types of built-in linear PCM CODEC (CODEC_A and CODEC_B)
- Analog interface CODEC_A side: Incorporates one type each of input amplifier and output amplifier (10 kΩ driving) CODEC_B side: Incorporates one type each of input amplifier and output amplifier (10 kΩ driving)
- PCM interface coding format: Allows selection of 16-bit linear/G.711 (64 kbps) µ-law or A-law
- PCM serial transmission rate: 64 kHz to 2.048 MHz (fixed to 2.048 MHz for output)
- PCM time slot assignment function (allows up to 2 slots for input and 1 slot for output individually) When set to µ-law/A-law: Supports up to 32 slots (BCLK: 2.048 MHz) When set to 16-bit linear: Supports up to 16 slots (BCLK: 2.048 MHz)
OKI Semiconductor ML7204-001
- Master clock frequency:
12.288 MHz (crystal; external input)
- Supports hardware and software power down
- Package: 64-pin plastic QFP (QFP64-P-1414-0.80-BK) (ML7204-001GA) 100-pin plastic TQFP (TQFP100-P-1414-0.50-BK) (ML7204V-001TB)
OKI Semiconductor ML7204-001 BLOCK DIAGRAM TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAIN VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC(8kHz) OSC 12.288MHz PLL XI XO CKGN MCK TXDETB Echo Canceller AF LPAD GPAD ATTs ATTr Center Clip Sin Rout Sout Rin CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 Various generator paths DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_S TXGEN SC_TXEN PCM I/F TS CONT P/S S/P PCM Codec Encoder G.711 Decoder G.711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1 TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN _PCM0 PCM_RXEN1 RXGAIN_PCM1 RXGAIN_PCM0 PCM RXEN0 RX_SIG RXDET RXGAIN_SC SC_RXEN MGEN_E XFLAG TX Buffer0 Bus Control Unit TX Buffer1 INTB/ GPIOA[6] 16b Frame/DMA Controller Control Register INT RX Buffer0 RX Buffer1 RXGAIN _CH1 Speech Codec G.729.A G.711 Encoder T S W CH2 G.711 TSWG.729.A Decoder RXGAIN _CH2 RX1TX2 _GAIN RX2TX1 _GAIN RXGENB RXGENA Various detector paths TONE_GEN1 (TONE C/ D) FSK_GEN TONE_GEN0 (TONE A/ B) TGEN1_EXFL TGEN0_EXFL FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN RXGEN LPEN1 MGEN_FRFLA GPIOC [7:0] GPIO [5:0] GPIO [3:0] 4 A0-A7 D0-D15 CSB RDB WRB FR0B FR1B SYNC CLKSEL BCLK PCMO PCMI ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] DPGEN DPDET GPIO0 GPIO2 DP DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0 DET TONE1_DET DP DET DTMF CODE[3:0] FDET_RQ FGEN FLAG TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN _CH1 TXGAIN _CH2 Note: The I/O pins represented by “ ” can be used for 100-pin packages only. DC EN DC_EN CH2 CH1 CH1
OKI Semiconductor ML7204-001 PIN CONFIGURATION (TOP VIEW) AVREF VFRO0 VFRO1 AVDD D15 D14 D13 D12 D11 D10
33 DGND0
GPIOA[0]/DPI GPIOA[1] GPIOA[2]/DPO GPIOA[3] PDNB INTB/GPIOA[6] ACK0B/GPIOA[4] ACK1B/GPIOA[5] CLKSEL AIN1N GSX1 AIN0P AIN0N GSX0 AGND 64-Pin Plastic QFP
OKI Semiconductor ML7204-001 AVREF VFRO0 VFRO1 AVDD D15 D14 D13 D12 D11 D10 DGND1 VBG VREGOUT DGND2 DVDD2 GPIOA[0]/DPI GPIOA[1] GPIOA[2]/DPO GPIOA[3] PDNB CLKSEL AIN1N GSX1 AIN0P AIN0N GSX0 AGND RDB WRB CSB DGND0 25 51 100 26NC NC XI XO NC NC NC NC NC NC NC NC NC NC NC NC NC NC GPIOB[0] GPIOB[1] GPIOB[2] GPIOB[3] GPIOB[4] GPIOB[5] NC TST1 TST0 PCMO PCMI BCLK SYNC FR0B FR1B DVDD0 INTB/GPIOA[6] ACK0B/GPIOA[4] ACK1B/GPIOA[5] GPIOC[0] GPIOC[1] GPIOC[2] GPIOC[3] GPIOC[4] GPIOC[5] GPIOC[6] GPIOC[7] : Provided for 100-pin packages only CLKOUT NC NC DVDD1 NC 100-Pin Plastic TQFP
OKI Semiconductor ML7204-001 PIN DESCRIPTIONS Pin TQFP100 QFP64 Symbol I/O When PDNB = “0”
Description
1 — CLKOUT O “L” 12.288 MHz clock output 2 1 TST1 I “0” Test control input 1: Normally, input “0”. 3 2 TST0 I “0” Test control input 0: Normally, input “0”. 4 — GPIOC[0] I/O I General-purpose I/O port C [0] 5 — GPIOC[1] I/O I General-purpose I/O port C [1] 6 3 PCMO O “Hi-z” PCM data out put [Open drain output pin] 7 4 PCMI I I PCM data input I CLKSEL = ”0” PCM shift clock input 8 5 BCLK I/O “L” CLKSEL = ”1” PCM shift clock output I CLKSEL = ”0” PCM synchronous signal 8 kHz input 9 6 SYNC I/O “L” CLKSEL = ”1” PCM synchronous signal 8 kHz output 10 — GPIOC[2] I/O I General-purpose I/O port C[2] 11 — GPIOC[3] I/O I General-purpose I/O port C[3] 12 7 DVDD0 — — Digital power supply 13 — GPIOC[4] I/O I General-purpose I/O port C[4] 14 — GPIOC[5] I/O I General-purpose I/O port C[5] 15 8 ACK0B/GPIOA[ 4] I/O I Transmit buffer DMA access acknowledge signal input (primary function) General-purpose I/O port A[4] (secondary function) [5 V tolerant pin] 16 9 ACK1B/GPIOA[ 5] I/O I Receive buffer DMA access acknowledge signal input (primary function) General-purpose I/O port A [5] (secondary function) [5 V tolerant pin] 17 — GPIOC[6] I/O I General-purpose I/O port C [6] 18 — GPIOC[7] I/O I General-purpose I/O port C [7] 19 10 FR0B (DMARQ0B) O ”H” FR0B:(FD_SEL = ”0”) Transmit buffer frame signal output DMARQ0B: (FD_SEL = ”1”) Transmit buffer DMA access request signal 20 11 FR1B (DMARQ1B) O “H” FR1B: (FD_SEL = ”0”) Receive buffer frame signal output DMARQ1B: (FD_SEL = ”1”) Receive buffer DMA access request signal output 21 12 INTB/GPIOA[6] I/O “H” Interrupt request output (primary function) General-purpose I/O port A [6] (secondary function) [5 V tolerant pin] 22 13 CSB I I Chip select control input 23 14 RDB I I Read control input 24 15 WRB I I Write control input 25 16 DGND0 — — Digital ground (0.0 V)
OKI Semiconductor ML7204-001 Pin TQFP100 QFP64 Symbol I/O When PDNB = “0” 26 — NC — — (Unused) 27 17 D0 I/O I Data input-output 28 18 D1 I/O I Data input-output 29 — NC — — (Unused) 30 19 D2 I/O I Data input-output 31 20 D3 I/O I Data input-output 32 — NC — — (Unused) 33 21 D4 I/O I Data input-output 34 22 D5 I/O I Data input-output 35 — NC — — (Unused) 36 23 D6 I/O I Data input-output 37 24 D7 I/O I Data input-output 38 — NC — — (Unused) 39 25 D8 I/O I Data input-output. Fix the input to “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 40 26 D9 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 41 — NC — — (Unused) 42 27 D10 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 43 28 D11 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 44 — NC — — (Unused) 45 29 D12 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 46 30 D13 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 47 — NC — — (Unused) 48 31 D14 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 49 32 D15 I/O I Data input-output. Fix the input “L” or “H” when using the pin in 8-bit bus access (BW_SEL = ”1”). 50 — NC — — (Unused) 51 — NC — — (Unused) 52 33 DVDD1 — — Digital power supply 53 34 A0 I I Address input 54 35 A1 I I Address input 55 36 A2 I I Address input 56 37 A3 I I Address input 57 38 A4 I I Address input 58 39 A5 I I Address input 59 40 A6 I I Address input 60 41 A7 I I Address input
OKI Semiconductor ML7204-001 Pin TQFP100 QFP64 Symbol I/O When PDNB = “0” 61 42 PDNB I “0” Power-down input “0”: Power-down reset ”1”: Normal operation 62 — GPIOB[0] I/O I General-purpose I/O port B[0] 63 — GPIOB[1] I/O I General-purpose I/O port B[1] 64 43 CLKSEL I I SYNC/BCLK input-output control input “0”: SYNC/BCLK are configured to be input “1”: SYNC/BCLK are configured to be output 65 — GPIOB[2] I/O I General-purpose I/O port B[2] 66 — GPIOB[3] I/O I General-purpose I/O port B[3] 67 44 DGND1 — — Digital ground (0.0 V) 68 — GPIOB[4] I/O I General-purpose I/O port B[4] 69 — GPIOB[5] I/O I General-purpose I/O port B[5] 70 45 GPIOA[0]/DPI I/O I General-purpose I/O port A[0] [5 V tolerant pin] Secondary function: Input pin for dial pulse detection 71 46 GPIOA[1] I/O I General-purpose I/O port A[1] [5 V tolerant pin] 72 — NC — — (Unused) 73 — NC — — (Unused) 74 47 GPIOA[2]/DP O I/O I General-purpose I/O port A[2] [5 V tolerant pin] Secondary function: Output pin for dial pulse transmission 75 48 GPIOA[3] I/O I General-purpose I/O port A[3] [5 V tolerant pin] 76 49 AVDD — — Analog power supply 77 — NC — — (Unused) 78 50 AIN0P I I AMP0 non-inverting input 79 51 AIN0N I I AMP0 inverted input 80 52 GSX0 O “Hi-z” AMP0 output (10 k Ω driving) 81 — NC — — (Unused) 82 53 GSX1 O “Hi-z” AMP1 output (10 k Ω driving) 83 54 AIN1N I I AMP1 inverted input 84 — NC — — (Unused) 85 55 AVREF O “L” Analog signal ground (1.4 V) 86 56 VFRO0 O “Hi-z” AMP2 output (10 k Ω driving) 87 57 VFRO1 O “Hi-z” AMP3 output (10 k Ω driving) 88 58 AGND — — Analog ground (0.0 V) 89 — NC — — (Unused) 90 — NC — — (Unused) 91 59 DGND2 — — Digital ground (0.0 V) 92 60 XI I I 12.288 MHz crystal interface, 12.288 MHz clock input 93 — NC — — (Unused) 94 61 XO O “H” 12.288 MHz crystal interface
OKI Semiconductor ML7204-001 Pin TQFP100 QFP64 Symbol I/O When PDNB = “0” 95 62 DVDD2 — — Digital power supply 96 — NC — — (Unused) 97 — NC — — (Unused) 98 63 VREGOUT — — Internal regulator voltage output pin (approx. 2.5 V) 99 64 VBG — — Internal regulator reference voltage output pin 100 — NC — — (Unused)
OKI Semiconductor ML7204-001 ABSOLUTE MAXIMUM RATINGS Parameter Symbol Condition Rating Unit Analog power supply voltage AVDD — –0.3 to +4.6 V Digital power supply voltage DVDD — –0.3 to +4.6 V Analog input voltage VAIN A nalog pin –0.3 to AVDD+0.3 V VDIN1 Normal digital pin –0.3 to DVDD+0.3 V Output current IO — –20 to +20 mA Power dissipation PD Ta = 60 °C, per package 350 mW Storage temperature Tstg — –65 to +150 °C RECOMMENDED OPERATING CONDITIONS (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Analog power supply voltage AVDD — 3.0 3.3 3.6 V Digital power supply voltage DVDD — 3.0 3.3 3.6 V Operating temperature range Ta — –20 — 60 °C VIH1 Normal digital pin 0.75 × DVDD — DVDD+ 0.3 V Digital high-level input voltage VIH2 5 V tolerant pin 0.75 × DVDD — 5.5 V Digital low-level input voltage VIL Digital pin –0.3 — 0.19 × DVDD V Digital input rise time tIR Digital pin — 2 20 ns Digital input fall time tIF Digital pin — 2 20 ns Digital output load capacitance CDL Digital pin — — 50 pF Digital output load resistance RDL Pull-up resistance, PCMO 500 — — Ω AVREF bypass capacitor Cvref Betw een AVREF-AGND 2.2+0.1 — 4.7+0.1 µF VREGOUT bypass capacitor Cvout Between VREGOUT-DGND — 10+0.1 — µF VBG bypass capacitor CVBG Between VBG-DGND — 150 — pF Master clock frequency Fmck MCK –0.01% 12.288 +0.01% MHz PCM shift clock frequency Fbclk BCLK (at input) 64 — 2048 kHz PCM synchronous signal frequency Fsync SYNC (at input) — 8.0 — kHz Clock duty ratio DRCLK MCK, BCLK (at input) 40 50 60 % tBS BCLK to SYNC (at input) 100 — — ns PCM synchronous timing tSB SYNC to BCLK (at input) 100 — — ns PCM synchronous signal width tWS SYNC (at input) 1BCLK — 100 µs (Note) On power-on/shut-down sequence For the analog power supply voltage (AVDD) and the digital power supply voltage (DVDD) to be supplied to this LSI, it is recommended that power be applied to them simultaneously. However, if simultaneous power-up is difficult due to the power supply circuit configuration, power them up in the order of DVDD → AVDD. The power supplies should be shut down in the reverse order of power-on sequence.
OKI Semiconductor ML7204-001
ELECTRICAL CHARACTERISTICS
(AVDD = 3.0 to 3.6V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit ISS Standby state (PDNB = ”0”, DVDD = AVDD=3.3 V, Ta = 25°C) — 200 500 µA IDD1 Operating status 1 Speech CODEC activated/PCM I/F not used XI, XO: 12.288 MHz crystal connected — 45 55 mA Power supply current IDD2 Operating status 2 Speech CODEC activated/PCM I/F used SC_EN = ”1”,PCMI1_EN = ”1”, PCMO1_EN = ”1”, XI, XO: 12.288 MHz crystal connected — 50 65 mA IIH Vin = DVDD — 0.01 10 µADigital input pin Input leakage current IIL Vin = DGND –10 –0.01 — µA IOZH Vou = DVDD — 0.01 10 µADigital I/O pin Output leakage current IOZL Vout = DGND –10 — — µA High-level output voltage VOH Digital input pins, I/O pin IOH = 4.0 mA IOH = 0.5 mA (XO pin) IOH = 1 2.0 mA (CLKOUT pin) 0.78 × DVDD — — V VOL1 Digital output pins, I/O pin IOL = –4.0 mA IOL = –0.5 mA (XO pin) IO = –12.0 mA (CLKOUT pin) — — 0.4 V Low-level output voltage VOL2 Open drain output pins IOL = –12.0 mA — — 0.4 V CIN1 Input pins — 6 — pFInput capacitance (*1) CIN2 I/O pins — 10 — pF *1 Design guaranteed value
OKI Semiconductor ML7204-001 Analog Interface (AVDD = 3.0 to 3.6 V, DVDD0, 1 ,2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Conditio n Min. Typ. Max. Unit Input resistance (*1) RIN AI N0N, AIN0P, AIN1N 10 — — M Ω Output load resistance RL GSX0 , GSX1, VFRO0, VFRO1 10 — — k Ω Output load capacitance CL Analog output pins — — 50 pF Offset voltage VOF VFRO 0, VFRO1 –40 — 40 mV Output voltage level (*2) VO GSX0, GSX1, VFRO0, VFRO1 RL = 10kΩ, AMP input 1.3 Vpp 1.158 1.3 1.458 Vpp *1 Design guaranteed value *2 –7.7 dBm (600 Ω) = 0 dBm0, +3.17 dBm0 = 1.3 Vpp
OKI Semiconductor ML7204-001 AC Characteristics in Speech CODEC = G.711 (µ-law) Mode (AVDD = 3.0 to 3.6V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Condition Parameter Symbol Frequency (Hz) Level (dBm0) Min. Typ. Max. Unit LT1 0 to 60 25 — — dB LT2 300 to 3000 –0.15 — 0.20 dB LT3 1020 Reference — LT4 3300 –0.15 — 0.80 dB LT5 3400 0 — 0.80 dB Transmit frequency characteristics LT6 3968.75 13 — — dB LR2 0 to 3000 –0.15 — 0.20 dB LR3 1020 Reference — LR4 3300 –0.15 — 0.80 dB LR5 3400 0 — 0.80 dB Receive frequency characteristics LR6 3968.75 13 — — dB SDT1 3 35 — — dBp SDT2 0 35 — — dBp SDT3 –30 35 — — dBp SDT4 –40 28 — — dBp Transmit signal-to-noise ratio (*1) SDT5 1020 –45 23 — — dBp SDR1 3 35 — — dBp SDR2 0 35 — — dBp SDR3 –30 35 — — dBp SDR4 –40 28 — — dBp Receive signal-to-noise ratio (*1) SDR5 1020 –45 23 — — dBp GTT1 3 –0.2 — 0.2 dB GTT2 –10 Reference — GTT3 –40 –0.2 — 0.2 dB GTT4 –50 –0.6 — 0.6 dB Transmit inter-level loss errors GTT5 1020 –55 –1.2 — 1.2 dB GTR1 3 –0.2 — 0.2 dB GTR2 –10 Reference — GTR3 –40 –0.2 — 0.2 dB GTR4 –50 –0.6 — 0.6 dB Receive inter-level loss errors GTR5 1020 –55 –1.2 — 1.2 dB NIDLT — Analog input = AVREF — — –70 dBm0pIdle channel noise (*1) NIDLR — PCMI = ”1” — — –70 dBm0p Transmit absolute level (*2) AVT 1020 0 0.285 0.320 0.359 Vrms Receive absolute level (*2) AVR 1020 0 0.285 0.320 0.359 Vrms *1 P-message weighted filter used *2 0.320 Vrms = 0 dBm0 = –7.7 dBm (600 Ω)
OKI Semiconductor ML7204-001 AC Characteristics (Gain Setting) in Speech CODEC = G.711 (µ-law) mode (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Transmit/receive gain setting accuracy GAC For all gain set values –1.0 — 1.0 dB AC Characteristics (Tone Output) in Speech CODEC = G.711 (µ-law) Mode (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Frequency deviation fDFT For all frequency set values –1.5 — 1.5 % Output level oLEV For all gain set values –2.0 — 2.0 dB AC characteristics (DTMF Detector and Other Detectors) in Speech CODEC = G.711 (µ-law) Mode (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Detection level accuracy dLAC For all detection level set values –2.5 — 2.5 dB AC characteristics (Echo Canceler) (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Echo attenuation eRES — — 35 — dB Erasable echo delay time tECT — — — 32 ms Measuring method Sin Sout Delay White noise generator Rout Rin ATT E.R.L (echo return loss) Echo delay time Echo Canceler LPF 5kHz Level Meter
OKI Semiconductor ML7204-001 Timings of PDNB, XO, and AVREF (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Power-down signal pulse width tPDNB PDNB pin 250 — — µs AVDD supply delay time tAVDDON — 0 — — ns Oscillation activation time txtal — — — 20 ms AVREF = 1.4 (90%) C5 = 4.7 µF, C6 = 0.1 µF (See Figure 9) — — 600 ms AVREF rise time tAVREF AVREF = 1.4 (90%) C5 = 2.2 µF, C6 = 0.1 µF (See Figure 9) — — 300 ms Figure 1 Timings of PDNB, XO, and AVREF (Note) The capacitance of the AVREF capacitor (C5) affects th e AVREF rise time and analog characteristics. If weight is given to the analog characteristics, specify 4.7 µF, and if it is given to the AVREF rise time, specify 2.2 µF. The electrical characteristics for the analog char acteristics that are described above are guaranteed in both capacitances. PDNB 0 V DVDD tPDNB DVDD AVDD 0 V DVDD AVDD VREGOUT 0 V Approx. 2.5V tAVDDON AVREF Approx. 1.4 V XO 0 V AVDD txtal 0 V tAVREF 90% DVDDAVDD 90%
OKI Semiconductor ML7204-001 Control Register Interface (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta= –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit Address setup time (at Read) tRAS 10 — — ns Address hold time (at Read)) tRAH 0 — — ns Address setup time (at Write) tWAS 10 — — ns Address hold time (at Write) tWAH 10 — — ns Write data setup time tWDS 20 — — ns Write data hold time tWDH 10 — — ns CSB setup time (at Read) tRCS 10 — — ns CSB hold time (at Read) tRCH 0 — — ns CSB setup time (at Write) tWCS 10 — — ns CSB hold time (at Write) tWCH 10 — — ns WRB pulse width tWW 10 — — ns Read data output delay time tRDD — — 20 ns Read data output hold time tRDH 3 — — ns RDB pulse width tRW 25 — — ns CSB disable time tCD CL = 50 pF 10 — — ns Figure 6 Control Register Interface A7-A0 Input D7-D0 Input- output CSB Input WRB Input RDB Input Write timing Read timing tWAS tWAH tWDS tWDH tWCH tRDD tRCS tRDH tWW tRW Input Output tWCS tRCH tRAS tRAH tCD
OKI Semiconductor ML7204-001 Transmit/Receive Buffer Interface (Frame Mode) (AVDD = 3.0 to 3.6 V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit FR1B setup time tF1S 3 — — ns FR1B output delay time tF1D — — 20 ns Address setup time (at Read) tRAS 10 — — ns Address hold time (at Read)) tRAH 0 — — ns Address setup time (at Write) tWAS 10 — — ns Address hold time (at Write) tWAH 10 — — ns Write data setup time tWDS 20 — — ns Write data hold time tWDH 10 — — ns CSB setup time (at Read) tRCS 10 — — ns CSB hold time (at Read) tRCH 0 — — ns CSB setup time (at Write) tWCS 10 — — ns CSB hold time (at Write) tWCH 10 — — ns WRB pulse width tWW 10 — — ns FR0B setup time tF0S 3 — — ns FR0B output delay time tF0D — — 20 ns Read data output delay time tRDD — — 30 ns Read data output hold time tRDH 3 — — ns RDB pulse width tRW 35 — — ns CSB disable time tCD CL = 50 pF 10 — — ns Figure 7 Transmit/Receive Buffer Interface (Frame Mode) A7-A0 Input D15-D0 Input- output CSB Input WRB Input RDB Input Write timing Read timing tWAS tWAH tWDS tWDH tWCH tRDD tRCS tRDH tWW tRW Input Output tWCS tRCH tRAS tRAH FR1B Output FR0B Output tF1S tF1D tF0S tF0D tCD
OKI Semiconductor ML7204-001 Transmit/Receive Buffer Interface (DMA Mode) (AVDD = 3.0 to 3.6V, DVDD0, 1, 2 = 3.0 to 3.6 V, AGND = DGND0, 1, 2 = 0.0 V, Ta = –20 to 60°C unless otherwise specified) Parameter Symbol Condition Min. Typ. Max. Unit DMARQ1B setup time tDR1S 3 — — ns tDR1RD — — 30 ns DMARQ1B output delay time tDR1FD — — 30 ns Address setup time (at Read) tRAS 10 — — ns Address hold time (at Read)) tRAH 0 — — ns Address setup time (at Write) tWAS 10 — — ns Address hold time (at Write) tWAH 10 — — ns Write data setup time tWDS 20 — — ns Write data hold time tWDH 10 — — ns ACK0B setup time tAK0S 10 — — ns ACK0B hold time tAK0H 0 — — ns ACK1B setup time tAK1S 10 — — ns ACK1B hold time tAK1H 10 — — ns WRB pulse width tWW 10 — — ns DMARQ0B setup time tDR0S 3 — — ns tDR0RD — — 30 ns DMARQ0B output delay time tDR0FD — — 30 ns Read data output delay time tRDD — — 30 ns Read data output hold time tRDH 3 — — ns RDB pulse width tRW 35 — — ns ACKB disable time tAD CL = 50 pF 10 — — ns Figure 8 Transmit/Receive Buffer Interface (DMA Mode) A7-A0 Input D15-D0 Input- output ACK0B Input WRB Input RDB Input Write timing Read timing tWAS tWAH tWDS tWDH tRDD tAK0S tRDH tWW tRW Input Output tAK0H tRAS tRAH DMARQ1B Output DMARQ0B Output tDR1S tDR1RD tDR0S tDR0RD ACK1B Input tAK1HtAK1S tAD tDR1FD tDR0FD
OKI Semiconductor ML7204-001 AVREF This is an output pin of an analog signal ground potential. With the output potential of about 1.4 V, insert bypass capacitors of 2.2 to 4.7 µF (aluminum electrolysis type) and 0.1 µF (ceramic type) in parallel. AVREF outputs 0.0 V at power down. AVREF starts being powered up after power-down reset, the system restarts from ( PDNB = “1” and SPDN = “0”). XI and XO These are the master clock input pin (XI) and the crystal connection pins for the master clock (XI and XO). Oscillation stops at power down by PDNB or softwa re power down by SPDN. Oscillation starts after power-down is reset and the clock is supplied to the LSI internal section after oscillation stabilization delay time has elapsed (about 21.3 ms). Figure 10 shows a master clock input example. Figure 10 Example of an Osc illation Circuit and Clock Input CLKOUT This is a 12.288 MHz master clock output pin. (Provided for 100-pin packages only) Since output is disabled in the initial state, set the 12.288 MHz clock output enable control register (CLKOUT_EN) to “1” when clock output is required. PDNB This is a power-down control input pin. A power-down state can be set by setting this pin to “0”. This pin also functions as an LSI reset pin. To prevent an LSI operation error, use PDNB for the initial power-down reset after power is applied. To put the LSI in to a power-down state, fix PDNB to “0” for 250 µs or more. LSI power-down reset can be performed by setting the software power down reset control register SPDN to “0” Power-down is released, the initial mode display regist er (READY) is set to “1” after 200 ms, and various function setting modes (initial modes) are entered. See Figure 1 for the timings of PDNB, AVREF, XO, and the initial mode. (Note) Turn on the power in a power-down state by PDNB. When using the LSI by inputting a master clock to the XI pin, first maintain the power-down state (PDNB = 0) until power is applied to the digital power supply (DVD0, 1, and 2) and the analog power supply (AVDD) (90% or more) and the master clock is input to the XI pin, then release the power-down state (PDNB = 0 → 1) . In this case also, fix PDNB to “0” for 250 µs or more. XI XO R Crystal C1 C2
12.288 MHz
Crystal (12.288 MHz) Kyocera Kinseki Corp. HC-49/U-S [CL=12pF] C2 R 8 pF 1 MΩ PDNB CR0-B7 (SPDN) XI XO Open PDNB CR0-B7 (SPDN) 8 pF To the internal section CLKOUT To the internal section CLKOUT Provisional
OKI Semiconductor ML7204-001 DVDD0, DVDD1, DVDD2, and AVDD These are power supply pins. DVDD0, DVDD1, and DVDD2 are connected to the po wer supply of a digital circuit and AVDD is connected to a power supply of an analog circuit. Connect these pins near the LSI and insert bypass capacitors of 10 µF (electrolysis type) and 0.1 µF (ceramic type) between DGND and AGND in parallel. DGND0, DGND1, DGND2, and AGND These are ground pins. DGND0, DGND1, and DGND2 are c onnected to grounds of digital circuits and AGND is connected to a ground of an analog circuit. Connect these pins near the LSI. VREGOUT This is an output pin of an internal regulator voltage (about 2.5 V). Connect a capacitor of about 0.1 µF (ceramic type) in parallel to about 10 µF (ceramic or tantalum type) between this pin and a ground pin. VBG This is a reference output pin for an internal regulator. Connect a laminated ceramic capacitor of about 150 pF between this pin and a ground pin. TST0 and TST1 These are input pins for testing. At normal use, input “0”.
OKI Semiconductor ML7204-001 INTB/GPIOA[6] Primary function: INTB This in an interrupt request output pin. When the interrupt cause is changed, this pin outputs a “L” level for about 1.0 µs. When the interrupt factor is not changed, “H” is output. The interrupt factor can be checked by reading CR16-CR22. Table 1 lists the interrupt causes. The interrupt causes can be masked individually in the internal memory (interrupt cause mask control). Table 1 Interrupt Causes CR BIT Register name Rising edge Falling edge Remarks B2 FSK receive overrun error notification register (FDET_OER) { × B1 FSK receive framing error notification register (FDET_FER) { × CR16 B0 FSK receive data read request notification register (FDET_RQ) { × CR17 B0 FSK output data setting completion flag (FGEN_FLAG) × { CR18 B0 Timer overflow display register (TMOVF) { × B7 DSP status register (DSP_ERR) { × B4 TONE1 detector detection status register (TONE1_DET) { { B3 TONE0 detector detection status register (TONE0_DET) { { B2 TGEN1 execution flag display register (TGEN1_EXFLAG) { { CR19 B1 TGEN0 execution flag display register (TGEN0_EXFLAG) { { B6 Dial pulse detector detection status register (DP_DET) { { B4 DTMF detector detection status register (DTMF_DET) { { CR20 B3-B0 DTMF code display register (DTMF_CODE[3:0]) { { B3 CH2 transmit error status register (TXERR_CH2) { { B2 CH1 transmit error status register (TXERR_CH1) { { B1 CH2 transmit request notification register (FR0_CH2) { × CR21 B0 CH1 transmit request notification register (FR0_CH1) { × B3 CH2 receive error status register (RXERR_CH2) { { B2 CH1 receive error status register (RXERR_CH1) { { B1 Receive invalid write error notification register (RXBW_ERR) { { CR22 B0 Receive request notification register (FR1) { × {: With INTB interrupt generation function ×: Without INTB interrupt generation function Secondary function: GPIOA[6] When the primary function/secondary function selection register (GPFA[6]) of GPIOA[6] is set to “1”, this pin functions as a general-purpose I/O port GPIOA[6].
OKI Semiconductor ML7204-001 A0-A7 These are address input pins for accessing a frame/DMA/control register. Each address is as follows. Transmit buffer (TX Buffer) A7-A0 = 80h Receive buffer (RX Buffer) A7-A0 = 81h Control register (CR) See Tables 5 to 8 for the addresses. D0-D15 These are data I/O pins for accessing a frame/DMA/control regi ster. Since these pins are I/O pins, connect pull-up resistors. When an 8-bit bus access is selected in the MCU in terface data width se lection register (BW_SEL), pins D0-D7 are enabled. When using the pi ns with 8-bit bus access (BW_SEL = “1”), fix the input of high-order D8-D15 to either “0” or “1” since they are constantly in an input state. CSB This is a chip select input pin for accessing a frame/control register. RDB This is a read enable input pin for accessing a frame/DMA/control register. WRB This is a write enable input pin for accessing a frame/DMA/control register.
OKI Semiconductor ML7204-001 FR0B (DMARQ0B)
- FR0B (FRAME/DMA selection register FD_SEL = “0” in frame mode) This is a transmit frame output pin that outputs data wh en the transmit buffer for frame access becomes full. When the transmit buffer becomes full, the pin outputs “L” and retains “L” until the specified number of words are read from the MCU.
- DMARQ0B (FRAME/DMA selection register FD_SEL = “1” in DMA mode) This is a DMA request output pin that outputs data when the transmit buffer for DMA access becomes full. When the transmit buffer becomes full, the pin outputs “L” and the value is reset to “H” automatically when an acknowledgment signal (ACK0B = “0”) and the fall of a read enable signal (RDB = “1” → “0”) are received from the MCU side. This operation is repeated until th e specified number of words are read from the MCU. FR1B (DMARQ1B)
- FR1B (FRAME/DMA selection register FD_SEL = “0” in frame mode) This receive frame output pin outputs data when the receive buffer for frame access becomes empty. When the receive buffer becomes empty, the pin outputs “L” and retains “L” until the specified number of words are written from the MCU.
- DMARQ1B (FRAME/DMA selection register FD_SEL = “1” in DMA mode) This a DMA request output pin that outputs data wh en the receive buffer for DMA access becomes empty. When the receive buffer becomes empty, the pin outputs “L” and the value is reset to “H” automatically when an acknowledgment signal (ACK1B = “0”) and the fall of a write enable signal (WRB = “1” → “0”) are received from the MCU side. This opeation is repeat ed until the specified numbe r of words are written from the MCU side. ACK0B/GPIOA[4] Primary function: ACK0B This is a DMA acknowledgment input pin for DMARQ0B for transmit buffer DMA access; it is enabled in DMA mode (FD_SEL = “1”). When using the pin in frame mode (FD_SEL = “0”), fix this pin to “1”. Secondary function: GPIOA[4] When the primary function/secondary function registration register (GPFA[4]) of GPIOA[4] is set to “1”, the pin functions as a general-purpose I/O port GPIOA[4]. ACK1B/GPIOA[5] Primary function: ACK0B This is a DMA acknowledgment input pin for DMARQ1B for receive buffer DMA access; it is enabled in DMA mode (FD_SEL = “1”). When using this pin in frame mode (FD_SEL = “0”), fix this pin to “1”. Secondary function: GPIOA[5] When the primary function/secondary function registration register (GPFA[5]) of GPIOA[5] is set to “1”, the pin functions as a general-purpose I/O port GPIOA[5]. GPIOA[0], GPIOA[1], GPIOA[2], and GPIOA[3] These are general-purpose I/O ports A[3:0]. However, the following secondary functions are assigned to GPIOA[0] and GPIOA[2]. Secondary function of GPIOA[0]: Input pin (DPI) of a dial pulse detecter (DPDET) Secondary function of GPIOA[2]: Output pin (DPO) of a dial pulse transmitter (DPGEN)
OKI Semiconductor ML7204-001 GPIOB[5:0] This is a general-purpose I/O port B[5:0]. (Provided for 100-pin packages only.) GPIOC[7:0] This is a general-purpose I/O port C[7:0]. (Provided for 100-pin packages only.) CLKSEL This is an input-output control input pin of SYNC and BCLK. The pin controls input when it is set to “0” and output when it is set to “1”. SYNC This is a 8 kHz synchronous signal I/O pin of PCM signals. When CLKSEL is “0”, constantly input an 8 kHz clock synchronized with BCLK. When CLKSEL is “1”, this pin outputs an 8 kHz clock synchronized with BCLK. When the SYNC frame control register (SYNC_SE L) is “0”, long frame synchronization is specified and when the register is “1”, short frame synchronization is specified. BCLK This is a shift clock I/O pin of a PCM signal. When CLKSEL is “0”, clock input synchronized with S YNC is necessary. When G.711 is selected, input a clock of 64 kHz to 2.048 MHz and when 16-bit linear is selected, input a clock of 128 kHz to 2.048 MHz. When CLKSEL is “1”, this pin outputs a clock of 2.048 MHz synchronized with SYNC. (Remarks) Table 2 shows the input-output control of SYNC and BCLK and the frequencies. Table 2 SYNC and BCLK Input-Output Control CLKSEL SYNC BCLK Remarks “0” Input (8 kHz) Input (64 kHz to 2048 kHz) Always input a clock after start of power supply. When G.711 is selected, input a clock of 64 kHz to 2.048 MHz. When 16-bit linear is selected, input a clock of 128 kHz to 2.048 MHz. “1” Output (8 kHz) Output (2.048 MHz) At power down, “L” is output. PCMO This is a PCM signal output pin. A PCM signal is output synchronized with the rise of BCLK or SYNC. For the output from PCMO, data is output to only the a pplicable time slot section according to the selected coding format and the setting of the time slot position and other sections are set to a high-impedance state. If a PCM interface is not used, PCMO is set to a high impedance state. (Note) Be sure to connect a pull-up resistor externally to the PCMO pin, because the pin is an open drain output pin. Do not use a pull-up voltage greater than the digital power supply voltage (DVDD). PCMI This is a PCM signal input pin. The signal is shifted at falling of BCLK and is input from MSB. If a PCM interface is not used, fix the input to “0” or “1”.
OKI Semiconductor ML7204-001 FUNCTIONAL DESCRIPTION Transmit and receive buffers CONFIGURATION EXAMPLES Configuration Example 1 (Basic Call, CODEC_A) This example shows the configuration for making calls with an analog telephone set (A-TEL) on the NW side by connecting the analog telephone interface on the Linear PCM CODEC_A side. TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGENA TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO0 GPIO2 DP_DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET_RQ FGEN_FLAG _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W CH2 G .711 T S W G .729.A Decoder CH1 RXGAIN _CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G .711 Decoder G .711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1 TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1 RXGAIN PCM0 PCM_RXEN0 RX_SIG RXDET RXGAIN_SC SC_RXEN DC_EN DC_EN RX1T _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE C/ D) FSK_GEN TONE_GEN0 (TONE A/ B) TGEN1_EXFLAG TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN _CH1 _CH2 Unused RXGAIN EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL VoIP-NW ML7204 (Configuration example 1)
OKI Semiconductor ML7204-001 Configuration Example 2 (Basic Call, CODEC_B) This example shows the configuration for making calls with an analog telephone set (A-TEL) on the NW side by connecting the analog telephone interface on the Linear PCM CODEC_B side. TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGEN TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO0 GPIO2 DP_DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET_RQ FGEN_FLAG RXGAIN _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W G .711 T S W G .729.A Decoder CH1 RXGAIN _CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G .711 Decoder G .711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1TXGAIN PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1RXGAIN_PCM0 PCM_RXEN0 RX_SIG RXDET RXGAIN_S SC_RXEN DC_EN DC_EN RX1TX2 _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE) FSK_GEN TONE_GEN0 (TONE) TGEN1_EXFL TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN TXGAIN _CH2 Unused CH2 EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL VoIP-NW ML7204 (Configuration example 2)
OKI Semiconductor ML7204-001 Configuration Example 3 (Calling Using Extension with PCM) TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGENA TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO0 GPIO2 DP DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET_RQ FGEN_FLAG _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W G .711 T S W G .729.A Decoder CH1 RXGAIN _CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G .711 Decoder G .711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1 TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1RXGAIN_PCM0 PCM_RXEN0 RX_SIG RXD300ET RXGAIN_S SC_RXEN DC_EN DC_EN RX1TX2 _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE C/ D) FSK_GEN TONE_GEN0 (TONE A/ B) TGEN1_EXFLAG TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN _CH1 TXGAIN _CH2 Unused RXGAIN CH2
OKI Semiconductor ML7204-001 This example shows the configuration for making calls using extension between two analog telephone sets (A-TEL1 and A-TEL2) on the equipment that has two or more analog telephone interface ports. EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL1 EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL2 ML7204 (Configuration example 3) ML7204 (Configuration example 3)
OKI Semiconductor ML7204-001 Configuration Example 4 (Three-Way Calling: Terminal Side [Two Parties] – NW Side [One Party]) TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGENA TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO0 GPIO2 DP_DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET_RQ FGEN_FLAG RXGAIN _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W CH2 G .711 T S W G .729.A Decoder RXGAIN _CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G .711 Decoder G. 7 11 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1 RXGAIN_PCM0 PCM_RXEN0 RX_SIG RXDET RXGAIN_SC SC_RXEN DC_EN DC_EN RX1TX2 _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE C/D) FSK_GEN TONE_GEN0 (TONE A/B) TGEN1_EXFLAG TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN CH1 TXGAIN _CH2 Unused CH1
OKI Semiconductor ML7204-001 This example shows the configuration for making three-way calling between the terminal side (two parties) and the VoIP NW side (one party). EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL2 ML7204 (Configuration example 3) EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL1 ML7204 (Configuration example 4) VoIP-NW
OKI Semiconductor ML7204-001 Configuration Example 5 (Three-Way Calling: Terminal Side [One Party] – NW Side [Two Parties]) This example shows the configuration for making three- way calling between the terminal side (one party) and VoIP NW side (two parties). TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGENA TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO GPIO DP D TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET_RQ FGEN_FLAG RXGAIN _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W G .711 T S W G .729.A Decoder CH1 RXGAIN _CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G .711 Decoder G .711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1 TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1RXGAIN_PCM0 PCM_RXEN0 RX_SIG RXDET RXGAIN_SC SC_RXEN DC_EN DC_EN RX1TX2 _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE C/D) FSK_GEN TONE_GEN0 (TONE A/B) TGEN1_EXFLAG TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOV TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN TXGAIN _CH2 Unused CH2 EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL ML7204 (Configuration example 5) VoIP-NW1 VoIP-NW2
OKI Semiconductor ML7204-001 Configuration Example 6 (Three-Way Calling: Terminal Side [Three Parties]) This example shows the configuration for making thr ee-way calling between analog telephones (A-TEL1, A-TEL2, and A-TEL3) on the equipment with multiple analog telephone interface ports. TXGAINA RXGAINB VFRO0 10kΩ AMP AIN0N GSX0 10kΩ AIN0P AMP Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX]1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGENA TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF_DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO0 GPIO2 DP_DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET_RQ FGEN_FLAG RXGAIN _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W CH2 G .711 T S W G .729.A Decoder CH1 RXGAIN _CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G .711 Decoder G .711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1 TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1 RXGAIN_PCM0 PCM_RXEN0 RX_SIG RXDET RXGAIN_SC SC_RXEN DC_EN DC_EN RX1TX2 _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE C/ D) FSK_GEN TONE_GEN0 (TONE A/ B) TGEN1_EXFLAG TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN _CH1 TXGAIN _CH2 Unused EC RX_SIG Linear PCM Codec Linear PCM Codec Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG A-TEL2 A-TEL1 A-TEL3 EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG EC RX_SIG Linear PCM Codec Linear PCM Codec Speech Codec PCM I/FPCM Codec MCU I/F RX_SIG ML7204 (configuration example 6) ML7204 (configuration example 6) ML7204 (configuration example 6) (CODEC_A) (CODEC_B) (CODEC_A) (CODEC_B) (CODEC_A)
OKI Semiconductor ML7204-001 Configuration Example 7 (CODEC-A-CODEC-B Loop Back Mode) This example shows the configura tion where CODEC_A and CODEC_B are connected in loopback mode according to the internal path settings. TXGAINA RXGAINB VFRO0 10kΩ AMP2 AIN0N GSX0 10kΩ AIN0P AMP0 Linear PCM Codec (CODEC_A) D/A0 LPF A/D0 BPF STGAINA RXGAINA VFRO1 10kΩ AMP3 AIN1N GSX1 10kΩ AMP1 Linear PCM Codec (CODEC_B) D/A1 LPF A/D1 BPF STGAINB TXGAINB RXGENA TXDETA POWER DVDD2 DGND2 AGND DVDD1 DGND1 DVDD0 DGND0 AVDD VREGOUT VGB VREF AVREF SYNC (8 kHz) OSC CODECB_TXEN CODECB_RXEN CODECA_RXEN CODECA_TXEN LPEN0 LPEN1 Detector path setting DTMF_REC DTMF_CODE[3:0] DTMF DET FSK_DET FDET_D[7:0] FDET_RQ FDET_FER/FDET_OER TXDETA TXDETB TONE_DET0 TONE0_DET TONE_DET1 TONE1_DET RXDET TXGAIN_SC TXGEN SC_TXEN TX Buffer0 RX Buffer0 Bus Control Unit TX Buffer1 RX Buffer1 A0-A7 D0-D15 16b CSB RDB WRB FR0B FR1B Frame/DMA Controller Control Register INT SYNC CLKSEL BCLK PCMO PCMI DPGEN DPDET GPIO0 GPIO2 DP_DET TIMER FDET_FER/FDET_OER DTMF_DET TONE0_DET TONE1_DET DP_DET DTMF_CODE[3:0] FDET RQ FGEN_FLAG RXGAIN _CH1 Speech Codec G .729.A G .711 Encoder CH1 CH2 T S W CH2 G .711 T S W G .729.A Decode CH1 RXGAIN CH2 PCM I/F TS CONT P/S S/P PCM Codec Encoder G. 7 11 Decoder G .711 RXGAIN_ITS2 RXGAIN_ITS1 PCM_TXEN1 TXGAIN_PCM1 RX_SIG PCM_TXEN0 TXGAIN_PCM0 PCM_RXEN1 RXGAIN_PCM1 RXGAIN_PCM0 PCM_RXEN0 RX_SIG RXDET RXGAIN SC SC_RXEN DC_EN DC_EN RX1TX2 _GAIN RX2TX1 _GAIN RXGEN Generator path TONE_GEN1 (TONE C/ D) FSK_GEN TONE_GEN0 (TONE A/ B) TGEN1_EXFLAG TGEN0_EXFLAG FGEN_FLAG RXGEN TXGEN RXGENA RXGENB RXGENA_EN RXGENB_EN GPIOC [7:0] GPIOB [5:0] GPIOA [3:0] 4 6 8 INTB/ GPIOA[6] ACK0B/ GPIOA[4] ACK1B/ GPIOA[5] TIMOVF TIMOVF TST1 TST0 PDNB CLKOUT TXGAIN _CH1 TXGAIN _CH2 Unused A EC RX_SIG Linear PCM Codec (CODEC_B) Linear PCM Codec (CODEC_A) Speech Codec PCM I/F PCM Codec MCU I/F RX_SIG ML7204 (Configuration example 7) B
OKI Semiconductor ML7204-001 APPLICATION CIRCUITS AVREF VFRO0 VFRO1 XI XO AIN1N GSX1 AIN0P AIN0N GSX0 BCLK SYNC RDB WRB CSB FR0B FR1B INTB ACK0B ACK1B GPIOA[0] GPIOA[1] GPIOA[2] GPIOA[3] PDNB CLKSEL D15 D14 D13 D12 D11 D10 +3.3 V +3.3 V +3.3 V Power-down control MCU I/F General-purpose I/O pins
- Frame mode
- SYNC and BCLK: Configured to be output (CLKSEL = "1") 1.4 V
49 AVDD
3 PCMO4 PCMI
+3.3 V ML7204-001GA 500Ω 150pF 10uF0.1uF 10uF 0.1uF 0.1uF2.2uF 8pF 8pF 1MΩ
OKI Semiconductor ML7204-001 AVREF VFRO0 VFRO1 24RDB WRB CSB FR0B FR1B INTB ACK0B ACK1B GPIOA[0] GPIOA[1] GPIOA[2] GPIOA[3] D15 D14 D13 D12 D11 D10 +3.3 V MCU I/F General-purpose I/O pins A Analog output VBG VREGOUT CLKSEL
62 GPIOB[0]
GPIOB[1] GPIOB[2] GPIOB[3]
68 GPIOB[4]
GPIOB[5]
4 GPIOC[0]
GPIOC[1] GPIOC[2] GPIOC[3]
83 AIN1N
1.4 V
13 GPIOC[4]
GPIOC[5] GPIOC[6] GPIOC[7] General-purpose I/O pins B General-purpose I/O pins C 61PDNB Power-down control CLKOUT 1 12.288 MHz clock output Conditions
- Frame mode
- SYNC and BCLK: Configured to be output (CLKSEL = "1") 3TST1 TST0 94 XI XO
+3.3 V
76 AVDD
9 BCLK
+3.3 V PCM I/F
6 PCMO 7 PCMI
+3.3 V ML7204-001TB 150 pF 10 µF0.1 µF 10uF 0.1uF 8 pF 8 pF 1 MΩ 500Ω 0.1 µF2.2 µF
OKI Semiconductor ML7204-001 PACKAGE DIMENSIONS Notes for Mounting the Surface Mount Type Package The surface mount type packages are ve ry 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). (Unit: mm)
OKI Semiconductor ML7204-001 TQFP100-P-1414-0.50-K Mirror finish Package material Epoxy resin Lead frame material 42 alloy Pin treatment Solder plating (≥5µm) Package weight (g) 0.55 TYP.5 Rev. No./Last Revised 4/Oct. 28, 1996 Notes for Mounting the Surface Mount Type Package The surface mount type packages are ve ry 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). (Unit: mm)
OKI Semiconductor ML7204-001
REVISION HISTORY
Document No. Date Previous Edition Current Edition FEDL7204-001DIGEST-01 Aug. 12, 2004 – – Final edition 1
OKI Semiconductor ML7204-001 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. 2. 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. 3. 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. 4. Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accide nt, 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. 5. Neither indemnity against nor license of a third part y’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. 6. The products listed in this docu ment are intended for use in genera l electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). These products are not, unless specifically authorized by Oki, authorized for use in any system or application that requires special or enha nced 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. 7. 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. 8. No part of the contents contained herein may be reprinted or reproduced without our prior permission. Copyright 2004 Oki Electric Industry Co., Ltd.