TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 D D D D D D 2.7-V Operation Two Differential Microphone Inputs, One Differential Earphone Output, and One Single-Ended Earphone Output Programmable Gain Amplifiers for Transmit, Receive, Sidetone, and Volume Control Earphone Mute and Microphone Mute On-chip I2C-Bus, Which Provides a Simple, Standard, Two-Wire Serial Interface With Digital ICs D D D D Programmable for 15-Bit Linear Data or 8-Bit Companded (µ-Law or A-Law) Mode 32-Terminal TQFP Package Designed for Analog and Digital Wireless Handsets and Telecommunications Applications Dual-Tone Multifrequency (DTMF) Pulse Density Modulated (PDM) Buzzer Output description The voice-band audio processor (VBAP) is designed to perform the transmit encoding analog/digital (A/D) conversion and receive decoding digital/analog (D/A) conversion, together with transmit and receive filtering, for voice-band communications systems. The device operates in either the 15-bit linear or 8-bit companded (µ-law or A-Law) mode, which is selectable through the I2C interface. From a 2.048-MHz master clock input, the VBAP generates its own internal clocks. PLLVSS VSS MCLK RESET PWRUPSEL BUZZCON PCMSYN PCMCLK PBS PACKAGE (TOP VIEW) 24 23 22 21 20 19 18 17 PLLVDD EARVSS EAR1ON EARVDD EAR1OP EARVSS EAR2O AVDD 16 25 PCMO PCMI DVSS DVDD 12 SCL 11 SDA 10 NC 9 NC 26 15 14 13 27 28 29 30 31 32 2 3 4 5 6 7 8 MBIAS MIC1P MIC1N MIC2P MIC2N REXT NC AVSS 1 NC – No internal connection This device contains circuits to protect its inputs and outputs against damage due to high static voltages or electrostatic fields. These circuits have been qualified to protect this device against electrostatic discharges (ESD) of up to 2 kV according to MIL-STD-883C, Method 3015; however, it is advised that precautions be taken to avoid application of any voltage higher than maximum-rated voltages to these high-impedance circuits. During storage or handling, the device leads should be shorted together or the device should be placed in conductive foam. In a circuit, unused inputs should always be connected to an appropriated logic voltage level, preferably either VCC or ground. Specific guidelines for handling devices of this type are contained in the publication Guidelines for Handling Electrostatic-Discharge-Sensitive (ESDS) Devices and Assemblies available from Texas Instruments. VBAP is a trademark of Texas Instruments Incorporated. Copyright 2000, Texas Instruments Incorporated PRODUCTION DATA information is current as of publication date. Products conform to specifications per the terms of Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 1 2 POST OFFICE BOX 655303 MIC2N MIC2P MIC1N MIC1P PCMCLK PCMSYN PCMIN MIC Amplifier 1 g= 23.5 dB • DALLAS, TEXAS 75265 I 2C I/F Control Bus MIC Amplifier 2 g = 12 dB or 0 dB Analog Modulator DTMF Sidetone g = –24 db to –12 dB REF Generator TX Filter and PGA g = 10 dB to 0 dB PCM Interface PLL RX Vol Control g = 18 dB to 0 dB RX Filter and PGA g = –6 dB to +6 dB Power and RESET Buzzer Control Digital Modulator and Filter Ear Amp2 Ear Amp1 BUZZCON EAR2O EAR1ON EAR1OP PCMOUT TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 functional block diagram PWRUPSEL V SS AV DD DV DD AV SS DV SS PLLV DD EARV DD PLLV SS RESET EARV SS MCLK REXT MBIAS SDATA SCLK TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 functional description power-on/reset The power for the various digital and analog circuits is separated to improve the noise performance of the device. An external reset must be applied to the active low/RESET terminal to guarantee reset upon power on and to bring the device to an operational state. After the initial power-on sequence the TWL1109 can be functionally powered up and down by writing to the power control register through the I2C interface. The device has a pin selectable power-up in the default mode option. The hardwired pin selectable PWRUPSEL function allows the VBAP to power-up in the default mode and to be used without a microcontroller. reference A precision band gap reference voltage is generated internally and supplies all required voltage references to operate the transmit and receive channels. The reference system also supplies bias voltage for use with an electret microphone at terminal MBIAS. An external precision resistor is required for reference current setting at terminal REXT. control interface The I2C interface is a two-wire bidirectional serial interface. The I2C interface controls the VBAP by writing data to six control registers: 1) power control, 2) mode control, 3) transmit PGA and sidetone control, 4) receive PGA gain and volume control, 5) DTMF routing, and 6) tone selection control. There are two power-up modes which may be selected at the PWRUPSEL terminal: 1) The PWRUPSEL state (Vdd at terminal 20) causes the device to power-up in the default mode when power is applied. Without an I2C interface or controlling device, the programmable functions will be fixed at he default gain levels and functions, such as the sidetone and DTF, will not be accessible. 2) The PWRUPSEL state (ground at terminal 20) causes the device to go to a power down state when power is applied. In this mode an I2C interface is required to power-up the device. phase-locked loop The internal digital filters and modulators require a 10.24-MHz clock that is generated by phase locking to the 2.048-MHz master clock input. PCM interface The PCM interface transmits and receives data at the PCMO and PCMI terminals respectively. The data is transmitted or received at the PCMCLK speed once every PCMSYN cycle. The PCMCLK may be tied directly to the 2.048-MHz master clock (MCLK). The PCMSYN can be driven by an external source or derived from the master clock and used as an interrupt to the host controller. microphone amplifiers The microphone input is a switchable interface for two differential microphone inputs. The first stage is a low noise differential amplifier that provides a gain of 23.5 dB. The second stage amplifier has a selectable gain of 0 dB or 12 dB. analog modulator The transmit channel modulator is a third-order sigma-delta design. transmit filter and PGA The transmit filter is a digital filter designed to meet CCITT G.714 requirements. The device operates in either the 15-bit linear or 8-bit companded µ-law or A-law mode that is selectable through the I2C interface. The transmit PGA defaults to 0 dB. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 3 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 functional description (continued) sidetone A portion of the transmitted audio is attenuated and fed back to the receive channel through the sidetone path. The sidetone path defaults to the mute condition. The default gain of -12 dB is set in the sidetone control register. The sidetone path can be enabled by writing to the power control register. receive volume control The receive volume control block acts as an attenuator with a range of –18 dB to 0 dB in 2 dB steps for control of the receive channel volume. The receive volume control gain defaults to 0 dB. receive filter and PGA The receive filter is a digital filter that meets CCITT G.714 requirements with a high-pass filter that is selectable through the I2C interface. The device operates in either the 15-bit linear or 8-bit µ-law or A-law companded mode, which is selectable through the I2C interface. The gain defaults to –1 dB representing a 3 dBm0 level for a 32 Ω to 110 Ω load impedance and the corresponding digital full scale PCMI code of –4 dB. digital modulator and filter The second-order digital modulator and filter convert the received digital PCM data to the analog output required by the earphone interface. earphone amplifiers The analog signal can be routed to either of two earphone amplifiers, one with differential output (EAR1ON and EAR1OP) and one with single-ended output (EAR2O). Clicks and pops are suppressed for EAR1 differential output only. tone generator The tone generator provides generation of standard DTMF tones which are output to one of the following: 1) The buzzer driver, as a pulse density modulation (PDM) signal. 2) The receive path digital/analog converter (D/A), for outputting through the earphone or as PCMO data. The integer value is loaded into one of two 8-bit registers, the high tone register [04} or the low tone register {05}. The tone output is 2 dB higher when applied to the high tone register {04}. The high DTMF tones must be applied to the high tone register, and the low DTMF tones to the low tone register. 4 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 Terminal Functions TERMINAL NAME NO. I/O DESCRIPTION TQFP AVDD AVSS 32 I Analog positive power supply BUZZCON 8 I Analog negative power supply 19 O Buzzer output, a pulse-density modulated signal to apply to external buzzer driver DVDD DVSS 13 I Digital positive power supply 14 I Digital negative power supply EAR1ON 27 O Earphone 1 amplifier output (–) EAR1OP 29 O Earphone 1 amplifier output (+) EAR2O 31 O Earphone 2 amplifier output EARVDD EARVSS 28 I Analog positive power supply for the earphone amplifiers 30, 26 I Analog negative power supply for the earphone amplifiers MBIAS 1 O Microphone bias supply output, no decoupling capacitors MCLK 22 I Master system clock input (2.048 MHz) (digital) MIC1P 2 I MIC1 input (+) MIC1N 3 I MIC1 input (–) MIC2P 4 I MIC2 input (+) MIC2N 5 I MIC2 input (–) PCMI 15 I Receive PCM input PCMO 16 O Transmit PCM output PCMSYN 18 I PCM frame sync PCMCLK 17 I PCM data clock PLLVSS PLLVDD 24 I PLL negative power supply 25 I PLL digital power supply PWRUPSEL 20 I Selects the power-up default mode REXT 6 I/O RESET 21 I SCL 12 I SDA 11 I/O VSS 23 I Internal reference current setting terminal – use precision 100-kΩ resistor and no filtering capacitors Active low reset I2C-bus serial clock – this input is used to synchronize the data transfer from and to the VBAP I2C-bus serial address/data input/output – this is a bidirectional terminal used to transfer register control addresses and data into and out of the codec. It is an open-drain terminal and therefore requires a pullup resistor to VDD (typical 10 kΩ for 100 kHz). Ground return for bandgap internal reference absolute maximum ratings over operating free-air temperature range (unless otherwise noted)† Supply voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 4 V Output voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 4 V Input voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.5 V to 4 V Continuous total power dissipation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . See Dissipation Rating Table Operating free air temperature range (industrial temperature) . . . . . . . . . . . . . . . . . . . . . . . . . . . – 40°C to 85°C Storage temperature range, testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 65°C to 150°C Lead temperature 1,6 mm from case for 10 seconds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260°C † Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 5 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 DISSIPATION RATING TABLE PACKAGE TA ≤ 25°C POWER RATING PBS 702 mW DERATING FACTOR ABOVE TA = 25°C 7.2 mW/°C TA = 85°C POWER RATING 270 mW recommended operating conditions (see Notes 1 and 2) MIN Supply voltage, AVDD, DVDD, PLLVDD, EARVDD NOM 2.7 High-level input voltage (VIHMIN) MAX UNIT 3.3 V 0.7 x VDD V Low-level input voltage (VILMAX) 0.3 x VDD Load impedance between EAR1OP and EAR1ON-RL Load impedance for EAR2OP-RL Ω 32 Operating free-air temperature, TA V Ω 32 to 110 – 40 _C 85 NOTES: 1. To avoid possible damage and resulting reliability problems to these CMOS devices, the power-on initialization paragraph should be followed, described in the Principles of Operations. 2. Voltages are with respect to AVSS, DVSS, PLLVSS and EARVSS. electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) supply current PARAMETER I ton(i) Supply current from VDD TYP MAX Operating, EAR1 selected, MicBias disabled TEST CONDITIONS MIN 6 8 mA Operating, EAR2 selected, MicBias disabled 5.4 7 mA Power down, Reg 2 bit 7 = 1, MClk not present (see Note 3) 0.5 35 µA Power down, Reg 2 bit 7 = 0, MClk not present (see Note 3) 25 75 µA 5 10 ms power-up time from power down UNIT digital interface PARAMETER TEST CONDITIONS VOH High-level output voltage PCMO (BuzzCon) IOH = – 3.2 mA, VDD = 3 V VOL IIH Low-level output voltage PCMO IOL = 3.2 mA, VI = VDD VDD = 3 V IIL Low-level input current, any digital input CI MIN TYP MAX DVDD = -0.25 UNIT V 0.25 V 10 µA 10 µA Input capacitance 10 pF Co Output capacitance 20 pF RL Load impedance (BuzzCon) 5 kΩ 6 High-level input current, any digital input VI = VSS POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) microphone interface PARAMETER TEST CONDITIONS VIO IIB Input offset voltage at MIC1N, MIC2N Ci Input capacitance at MIC1N, MIC2N Vn Microphone input referred noise, psophometric weighted, (C-message weighted is similar) IOmax V(mbias) See Note 3 Input bias current at MIC1N, MIC2N MIN TYP MAX –5 5 mV –250 250 nA 5 Micamp 1 gain = 23.5 dB Micamp 2 gain = 0 dB Output source current – MBIAS 2.4 MICMUTE pF 3 7.7 µVrms 1.2 mA 2.5 2.55 V 60 100 kΩ 1 Microphone bias supply voltage (see Note 4) –80 Input impedance Fully differential UNIT 35 dB NOTES: 3. Measured while MIC1P and MIC1N are connected together. Less than 5 mV offset results in 0 value code on PCMOUT. 4. Not a JEDEC symbol. speaker interface PARAMETER TEST CONDITIONS Earphone AMP1 output power (See Note 5) VOO IOmax TYP MAX UNIT Fully differential, 110-Ω load, 3-dBm0 output, RGXPA = – 4 dB MIN 23.4 31.2 mW VDD = 2.7 V, fully differential, 32-Ω load, 3-dBm0 output, RGXPA = –4 dB 80.5 107.3 mW Earphone AMP2 output power (See Note 5) VDD = 2.7 V, single ended, 32-Ω load, 3-dBm0 output 10 12.5 mW Output offset voltage at EAR1 Fully differential ±5 ±30 mV 3-dBm0 input, 110-Ω load 14.6 19.4 3-dBm0 input, 32-Ω load 50.2 66.9 3-dBm0 input 17.7 22.1 Maximum output current for EAR1(rms) Maximum output current for EAR2 (rms) EARMUTE –80 mA dB NOTE 5: Maximum power is with a load impedance of –25%. transmit gain and dynamic range, companded mode (µ-law or A-law) or linear mode selected, transmit slope filter bypassed (see Notes 6 and 7) PARAMETER Transmit reference-signal level (0dB) Overload signal level (3 dBm0) Overload-signal Absolute gain error TEST CONDITIONS MAX UNIT Differential 175 Differential, normal mode 248 mVpp mVpp 63 mVpp –1 1 dB Differential, extended mode 0 dBm0 input signal, VDD 10 % MIC1N, MIC1P to PCMO at 3 dBm0 to –30 dBm0 Gain G i error with ith iinputt llevell relative l ti tto gain i att –10 dBm0 MIC1N, MIC1N MIC1P to PCMO MIN TYP –0.5 0.5 MIC1N, MIC1P to PCMO at –31 dBm0 to –45 dBm0 –1 1 MIC1N, MIC1P to PCMO at –46 dBm0 to –55 dBm0 –1.2 1.2 dB NOTES: 6. Unless otherwise noted, the analog input is 0 dB, 1020-Hz sine wave, where 0 dB is defined as the zero-reference point of the channel under test. 7. The reference signal level, which is input to the transmit channel, is defined as a value 3 dB below the full-scale value of 88-mVrms. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 7 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) transmit gain and dynamic range, companded mode (µ-law or A-law) or linear mode selected, transmit slope filter enabled (see Notes 6 and 7) PARAMETER Transmit reference-signal level (0dB) Overload signal level (3 dBm0) Overload-signal Absolute gain error MAX UNIT Differential TEST CONDITIONS 175 Differential, normal mode 248 mVpp mVpp TYP Differential, extended mode 0 dBm0 input signal, VDD 10 % MIC1N, MIC1P to PCMO at 3 dBm0 to –30 dBm0 G i error with ith iinputt llevell relative l ti tto gain i att Gain –10 dBm0 MIC1N MIC1N, MIC1P to PCMO MIN 63 –1 1 –0.5 0.5 MIC1N, MIC1P to PCMO at –31 dBm0 to –45 dBm0 –1 1 MIC1N, MIC1P to PCMO at –46 dBm0 to –55 dBm0 –1.2 1.2 mVpp dB dB NOTES: 6. Unless otherwise noted, the analog input is 0 dB, 1020-Hz sine wave, where 0 dB is defined as the zero-reference point of the channel under test. 7. The reference signal level, which is input to the transmit channel, is defined as a value 3 dB below the full-scale value of 88-mVrms. transmit filter transfer, companded mode (µ-law or A-law) or linear mode selected, transmit slope filter bypassed, external high pass filter bypassed (MCLK = 2.048 MHz) PARAMETER TEST CONDITIONS Gain G i relative l ti tto iinputt signal i l gain i att 1020 H Hz, iinternal t l hi high-pass h filter disabled disabled. Gain relative to input signal g g gain at 1020 Hz,, internal high-pass g filter enabled. 8 POST OFFICE BOX 655303 MIN TYP MAX fMIC1 or fMIC2 <100 Hz fMIC1 or fMIC2 = 200 Hz –0.5 0.5 –0.5 0.5 fMIC1 or fMIC2 = 300 Hz to 3 kHz fMIC1 or fMIC2 = 3.4 kHz –0.5 0.5 –1.5 0 fMIC1 or fMIC2 = 4 kHz fMIC1 or fMIC2 = 4.6 kHz –14 fMIC1 or fMIC2 = 8 k Hz fMIC1 or fMIC2 <100 Hz –47 fMIC1 or fMIC2 = 200 Hz –5 • DALLAS, TEXAS 75265 UNIT dB –35 –15 dB TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) transmit filter transfer, companded mode (µ-law or A-law) or linear mode selected, transmit slope filter selected, transmit high-pass filter disabled (MCLK = 2.048 MHz) (see Note 8) PARAMETER TEST CONDITIONS MIN TYP fMIC1 or f MIC2 =100 Hz fMIC1 or fMIC2 = 200 Hz fMIC1 or fMIC2 = 250 Hz fMIC1 or fMIC2 = 300 Hz UNIT –27 dB –8 dB –4 dB –1.80 dB fMIC1 or fMIC2 = 400 Hz fMIC1 or fMIC2 = 500 Hz –1.50 dB –1.30 dB fMIC1 or fMIC2 = 600 Hz fMIC1 or fMIC2 = 700 Hz –1.1 dB – 0.8 dB – 0.57 dB – 0.25 dB fMIC1 or fMIC2 = 800 Hz fMIC1 or fMIC2 = 900 Hz fMIC1 or fMIC2 = 1000 Hz fMIC1 or fMIC2 = 1500 Hz Gain relative to input signal gain at 1.2 1 2 kHz, kHz with slope filter selected MAX 0 dB 1.8 dB fMIC1 or fMIC2 = 2000 Hz fMIC1 or fMIC2 = 2500 Hz 4.0 dB 6.5 dB fMIC1 or fMIC2 = 3000 Hz fMIC1 or fMIC2 = 3100 Hz 7.6 dB 7.7 dB 8.0 dB fMIC1 or fMIC2 = 3300 Hz fMIC1 or fMIC2 = 3500 Hz 6.48 dB fMIC1 or fMIC2 = 4000 Hz fMIC1 or fMIC2 = 4500 Hz –13 dB –35 dB fMIC1 or fMIC2 = 5000 Hz fMIC1 or fMIC2 = 8000 Hz – 45 dB – 50 dB NOTE 8: The pass-band tolerance is ± 0.25 dB from 300 Hz to 3500 Hz. transmit idle channel noise and distortion, companded mode (µ-law or A-law) selected, slope filter bypassed PARAMETER TEST CONDITIONS Transmit idle channel noise, psophometrically weighted MIN TXPGA gain= 0 dB, micamp 1 gain = 23.5 dB, micamp 2 gain = 0 dB Transmit signal-to-distortion g ratio with 1020-Hz sine-wave input Intermodulation distortion,, 2-tone CCITT method,, composite power level, –13 dBm0 MIC1N, MIC1P to PCMO at 3 dBm0 27 MIC1N, MIC1P to PCMO at 0 dBm0 30 MIC1N, MIC1P to PCMO at –5 dBm0 33 MIC1N, MIC1P to PCMO at –10 dBm0 36 MIC1N, MIC1P to PCMO at –20 dBm0 35 MIC1N, MIC1P to PCMO at – 30 dBm0 26 MIC1N, MIC1P to PCMO at – 40 dBm0 24 MIC1N, MIC1P to PCMO at – 45 dBm0 19 CCITT G.712 (7.1), R2 49 CCITT G.712 (7.2), R2 51 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TYP MAX UNIT –86.6 –78 dBm0p dBm0 dB 9 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) transmit idle channel noise and distortion, companded mode (µ-law or A-law) selected, slope filter enabled PARAMETER TEST CONDITIONS Transmit idle channel noise, psophometrically weighted MIN TXPGA gain= 0 dB, micamp 1 gain = 23.5 dB, micamp 2 gain = 0.0 dB Transmit signal-to-total g distortion ratio with 1020-Hz sine-wave input Intermodulation distortion,, 2-tone CCITT method,, composite power level, –13 dBm0 MIC1N, MIC1P to PCMO at 3 dBm0 27 MIC1N, MIC1P to PCMO at 0 dBm0 30 MIC1N, MIC1P to PCMO at – 5 dBm0 33 MIC1N, MIC1P to PCMO at –10 dBm0 36 MIC1N, MIC1P to PCMO at –20 dBm0 35 MIC1N, MIC1P to PCMO at – 30 dBm0 26 MIC1N, MIC1P to PCMO at – 40 dBm0 24 MIC1N, MIC1P to PCMO at – 45 dBm0 19 CCITT G.712 (7.1), R2 49 CCITT G.712 (7.2), R2 51 TYP MAX UNIT – 86.6 – 78 dBm0p dBm0 dB transmit idle channel noise and distortion, linear mode selected, slope filter bypassed PARAMETER TEST CONDITIONS MIN TXPGA gain = 0 dB, micamp 1 gain = 23.5 dB, micamp 2 gain = 0.0 dB Transmit idle channel noise Transmit signal-to-total g distortion ratio with 1020-Hz sine-wave input TYP MAX UNIT – 86.6 – 78 dBm0p MIC1N, MIC1P to PCMO at 3 dBm0 50 50 MIC1N, MIC1P to PCMO at 0 dBm0 50 65 MIC1N, MIC1P to PCMO at – 5 dBm0 60 68 MIC1N, MIC1P to PCMO at –10 dBm0 64 70 MIC1N, MIC1P to PCMO at –20 dBm0 58 65 MIC1N, MIC1P to PCMO at – 30 dBm0 50 60 MIC1N, MIC1P to PCMO at – 40 dBm0 38 50 MIC1N, MIC1P to PCMO at – 45 dBm0 30 45 dB transmit idle channel noise and distortion, linear mode selected, slope filter enabled PARAMETER TEST CONDITIONS Transmit idle channel noise Transmit signal-to-total g distortion ratio with 1020-Hz sine-wave input 10 MIN TXPGA gain = 0 dB, micamp 1 gain = 23.5 dB, micamp 2 gain = 0.0 dB TYP MAX UNIT – 86.6 – 78 dBm0p MIC1N, MIC1P to PCMO at 3 dBm0 40 50 MIC1N, MIC1P to PCMO at 0 dBm0 50 65 MIC1N, MIC1P to PCMO at – 5 dBm0 50 68 MIC1N, MIC1P to PCMO at –10 dBm0 64 70 MIC1N, MIC1P to PCMO at –20 dBm0 58 65 MIC1N, MIC1P to PCMO at – 30 dBm0 50 60 MIC1N, MIC1P to PCMO at – 40 dBm0 38 50 MIC1N, MIC1P to PCMO at – 45 dBm0 30 45 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 dB TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) receive gain and dynamic range, EAR1 selected, linear or companded (µ-law or A-law) mode selected (see Note 9) PARAMETER Overload signal level (3.0 Overload-signal (3 0 dB) Absolute gain error TEST CONDITIONS TYP 4.54 32 Ω load RXPGA = -4.0 dB 4.54 0 dBm0 input signal, VDD 10 % PCMIN to EAR1ON, EAR1OP at 3 dBm0 to – 40 dBm0 G i error with ith output t t llevell relative l ti tto gain i Gain at –10 dBm0 MIN 110 Ω load RXPGA = -4.0 dB MAX UNIT Vpp –1 1 – 0.5 0.5 PCMIN to EAR1ON, EAR1OP at – 41 dBm0 to – 50 dBm0 –1 1 PCMIN to EAR1ON, EAR1OP at – 51 dBm0 to – 55 dBm0 –1.2 1.2 dB dB NOTE 9: RXPGA = –4 dB for 32 Ω or 110 Ω, RXVOL = 0 dB, 1020 Hz input signal at PCMI, output measured differentially between EAR1ON and EAR1OP receive gain and dynamic range, EAR2 selected, linear or companded (µ-law or A-law) mode selected (see Note 10) PARAMETER TEST CONDITIONS Receive reference-signal level (0 dB) MIN 0 dBm0 PCM input signal Overload-signal level (3 dB) Absolute gain error 0 dBm0 input signal, VDD MAX 1.1 10 % PCMIN to EAR2O at 3 dBm0 to – 40 dBm0 Gain G i error with ith output t t llevell relative l ti tto gain i att –10 dBm0 TYP UNIT Vpp Vpp 1.6 –1 1 –0.5 0.5 PCMIN to EAR2O at – 41 dBm0 to – 50 dBm0 –1 1 PCMIN to EAR2O at – 51 dBm0 to – 55 dBm0 –1.2 1.2 dB dB NOTE 10: RXPGA = –-1 dB, RXVOL = 0 dB receive filter transfer, companded mode (µ-law or A-law) or linear mode selected (MCLK = 2.048 MHz) (see Note 10) PARAMETER TEST CONDITIONS Gain G i relative l ti tto iinputt signal i l gain i att 1020 H Hz, iinternal t l highass filter disabled high-pass Gain relative to input signal g g gain at 1020 Hz,, internal high-pass filter enabled MIN TYP MAX fEAR1 or fEAR2 < 100 Hz fEAR1 or fEAR2 = 200 Hz – 0.5 0.5 – 0.5 0.5 fEAR1 or fEAR2 = 300 Hz to 3 kHz fEAR1 or fEAR2 = 3.4 kHz – 0.5 0.5 –1.5 0 fEAR1 or fEAR2 = 4 kHz fEAR1 or fEAR2 = 4.6 kHz – 14 fEAR1 or fEAR2 = 8 kHz fEAR1 or fEAR2 < 100 Hz – 47 fEAR1 or fEAR2 = 200 Hz –5 UNIT dB – 35 –15 dB NOTE 10. RXPGA = -1 dB, RXVOL = 0 dB POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 11 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) receive idle channel noise and distortion, EAR1 selected, companded mode (µ-law or A-law) selected (see Note 9) PARAMETER TEST CONDITIONS Receive noise, psophometrically weighted PCMIN = 11010101 (Α–law) Receive noise, C-message weighted PCMIN = 11111111 (µ–law) Receive signal-to-distortion ratio with 1020-Hz g sine-wave input MIN PCMIN to EAR1ON, EAR1OP at 3 dBm0 21 PCMIN to EAR1ON, EAR1OP at 0 dBm0 25 PCMIN to EAR1ON, EAR1OP at – 5 dBm0 36 PCMIN to EAR1ON, EAR1OP at –10 dBm0 43 PCMIN to EAR1ON, EAR1OP at – 20 dBm0 40 PCMIN to EAR1ON, EAR1OP at – 30 dBm0 38 PCMIN to EAR1ON, EAR1OP at – 40 dBm0 28 PCMIN to EAR1ON, EAR1OP at – 45 dBm0 23 TYP MAX UNIT – 89 – 86 36 50 dBm0p µVrms dB NOTE 9: RXPGA = -4 dB for 32 Ω or 110 Ω, RXVOL = 0 dB, 1020 Hz input signal at PCMI, output measured differentially between EAR1ON and EAR1OP. receive idle channel noise and distortion, EAR1 selected, linear mode selected (see Note 9) PARAMETER TEST CONDITIONS Receive noise, (20 Hz to 20 kHz brickwall window) Receive signal-to-distortion g ratio with 1020 Hz sine-wave input Intermodulation distortion,, 2-tone CCITT method,, composite power level, –13 dBm0 MIN PCMIN = 0000000000000 TYP MAX UNIT – 86 – 83 dBm0 PCMIN to EAR1ON, EAR1OP at 3 dBm0 50 63 PCMIN to EAR1ON, EAR1OP at 0 dBm0 53 65 PCMIN to EAR1ON, EAR1OP at – 5 dBm0 53 63 PCMIN to EAR1ON, EAR1OP at –10 dBm0 50 60 PCMIN to EAR1ON, EAR1OP at – 20 dBm0 48 58 PCMIN to EAR1ON, EAR1OP at – 30 dBm0 46 56 PCMIN to EAR1ON, EAR1OP at – 40 dBm0 36 52 PCMIN to EAR1ON, EAR1OP at – 45 dBm0 30 50 CCITT G.712 (7.1), R2 50 CCITT G.712 (7.2), R2 54 dB dB NOTE 9: RXPGA = –-4 dB for 32 Ω or 110 Ω, RXVOL = 0 dB, 1020 Hz input signal at PCMI, output measured differentially between EAR1ON and EAR1OP. receive idle channel noise and distortio EAR2 selected, companded mode (µ-law or A-law) selected (see Note 10) PARAMETER TEST CONDITIONS Receive noise, psophometrically weighted PCMIN = 11010101 (Α–law) Receive noise, C-message weighted PCMIN = 11111111 (µ–law) Receive signal signal-to-distortion to distortion ratio with 1020 1020-Hz Hz sine-wave input PCMIN to EAR2O at 3 dBm0 21 PCMIN to EAR2O at 0 dBm0 25 PCMIN to EAR2O at – 5 dBm0 36 PCMIN to EAR2O at –10 dBm0 43 PCMIN to EAR2O at – 20 dBm0 40 PCMIN to EAR2O at – 30 dBm0 38 PCMIN to EAR2O at – 40 dBm0 28 PCMIN to EAR2O at – 45 dBm0 23 NOTE 10. RXPGA = -1 dB, RXVOL = 0 dB 12 MIN POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TYP MAX UNIT – 81 – 78 36 50 dBmop µVrms dB TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 electrical characteristics over recommended ranges of supply voltage and free air temperature (unless otherwise noted) (continued) receive idle channel noise and distortion, EAR2 selected, linear mode selected (see Note 10) PARAMETER TEST CONDITIONS Receive noise, (20 Hz to 20 kHz brickwall window) MIN PCMIN = 0000000000000 Receive signal-to-noise + distortion ratio with 1020-Hz sine-wave input Intermodulation distortion,, 2-tone CCITT method,, composite power level, –13 dBm0 TYP MAX UNIT – 86 – 83 dBm0 PCMIN to EAR2O at 3 dBm0 45 60 PCMIN to EAR2O at 0 dBm0 60 65 PCMIN to EAR2O at – 5 dBm0 58 62 PCMIN to EAR2O at –10 dBm0 55 60 PCMIN to EAR2O at – 20 dBm0 53 60 PCMIN to EAR2O at – 30 dBm0 52 58 PCMIN to EAR2O at – 40 dBm0 50 57 PCMIN to EAR2O at – 45 dBm0 45 52 CCITT G.712 (7.1), R2 50 CCITT G.712 (7.2), R2 54 dB dB NOTE 10: RXPGA = -1 dB, RXVOL = 0 dB power supply rejection and crosstalk attenuation PARAMETER TEST CONDITIONS MIN TYP MAX UNIT Supply voltage rejection, transmit channel MIC1N, MIC1P =0 V, VDD = 3 Vdc + 100 mVpeak to peak, f = 0 to 50 kHz –70 –45 dB Supply voltage rejection, receive channel, EAR1 selected (differential) PCM code = positive zero, VDD = 3 Vdc + 100 mVpeak to peak, f = 0 to 50 kHz – 70 –45 dB Crosstalk attenuation, transmit-to-receive (differential) MIC1N, MIC1P = 0 dB, f = 300 to 3400 Hz measured differentially between EAR1ON and EAR1OP 70 dB Crosstalk attenuation, receive-to-transmit PCMIN = 0 dBm0, f = 300 to 3400 Hz measured at PCMO, EAR1 amplifier 70 dB switching characteristics clock timing requirements PARAMETER tt fmclk MIN NOM Transition time, MCLK 10 MCLK frequency 2.048 MCLK jitter UNIT ns MHz 37% Number of PCMCLK clock cycles per PCMSYN frame tc(PCMCLK) MAX 256 256 PCMCLK clock period 156 488 512 Duty cycle, PCMCLK 45% 50% 68% ns transmit timing requirements (see Figure 5) PARAMETER tsu(PCMSYN) th(PCMSYN) MIN Setup time, PCMSYN high before falling edge of PCMCLK 20 Hold time, PCMSYN high after falling edge of PCMCLK 20 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 MAX UNIT tc(PCMCLK)– 20 tc(PCMCLK)– 20 ns 13 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 switching characteristics (continued) receive timing requirements (see Figure 6) MIN MAX UNIT tsu(PCSYN) th(PCSYN) Setup time, PCMSYN high before falling edge of PCMCLK PARAMETER 20 ns Hold time, PCMSYN high after falling edge of PCMCLK 20 tc(PCMCLK)– 20 tc(PCMCLK)– 20 tsu(PCMI) th(PCMI) Setup time, PCMI high or low before falling edge of PCMCLK 20 ns Hold time, PCMI high or low after falling edge of PCMCLK 20 ns ns propagation delay times, CLmax = 10 pF (see Figure 5) PARAMETER MIN MAX UNIT tpd1 tpd2 From PCMCLK bit 1 high to PCMO bit 1 valid 35 ns From PCMCLK high to PCMO valid, bits 2 to n 35 ns tpd3 From PCMCLK bit n low to PCMO bit n Hi-Z 30 ns I2C bus timing requirements (see Figure 7) PARAMETER MIN MAX UNIT 400 kHz SCL Clock frequency tHIGH tLOW Clock high time 600 Clock low time 1300 tR tF SDA and SCL rise time tHD:STA tSU:STA Hold time (repeated) START condition. After this period the first clock pulse is generated. 600 ns Setup time for repeated START condition 600 ns tHD:DAT tSU:DAT Data input hold time 0 ns 100 ns tSU:STO tBUF STOP condition setup time 600 ns 1300 ns SDA and SCL fall time Data input setup time Bus free time ns ns 300 ns 300 ns DTMF generator characteristics PARAMETER TEST CONDITIONS DTMF high to low tone relative amplitude (pre-emphasis) Tone frequency accuracy Harmonic distortion MIN TYP MAX 1.5 2 2.5 –1.5 Measured from lower tone group to highest parasitic UNIT dB 1.5 % – 20 dB MAX UNIT MICBIAS characteristics PARAMETER TEST CONDITIONS Load impedance (bias mode) 14 MIN TYP 5 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 kΩ TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PARAMETER MEASUREMENT INFORMATION SCL SDA A6 A5 A4 A0 R/W 0 ACK R7 R5 R0 ACK D7 D6 D5 D0 ACK 0 Slave Address Start R6 0 0 Register Address Stop Data NOTE: SLAVE = VBAP Figure 1. I2C-Bus Write to VBAP SCL SDA A6 A5 A0 R/W ACK 0 Start R7 R6 R0 ACK A6 A0 0 R/W ACK 1 Slave Address Register Address Slave Address D7 D6 D0 ACK 0 Slave Drives The Data Repeated Start NOTE: SLAVE = VBAP Stop Master Drives ACK and Stop Figure 2. I2C Read From VBAP: Protocol A SCL SDA A6 A5 A0 R/W ACK 0 Start Slave Address R7 R6 R0 ACK 0 A0 R/W ACK D7 A6 A5 Stop Start Register Address Slave Address NOTE: SLAVE = VBAP D0 ACK Slave Drives The Data Stop Master Drives ACK and Stop Figure 3. I2C Read From VBAP: Protocol B POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 15 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION power-on initialization An external reset with a minimum pulse width of 500 ns must be applied to the active low RESET terminal to guarantee reset upon power on. All registers are set with default values upon external reset initialization. The desired selection for all programmable functions can be initialized prior to a power-up command using the I2C interface. Table 1. power-up and Power Down Procedures (VDD = 2.7 V, Earphone amplifier unloaded) DEVICE STATUS Power up Power down PROCEDURE MAXIMUM POWER CONSUMPTION Set bit 1 = 1 in power control register, EAR1 enabled 16.2 mW Set bit 1 = 0 in power control register, EAR2 enabled 14.6 mW Set bit 7 = 1 in TXPGA control register and bit 0 = 0 1.35 µW Set bit 7 = 0 in TXPGA control register and bit 0 = 0 67.5 µW In addition to resetting the power-down bit in the power control register, loss of MCLK (no transition detected) automatically enters the device into a power-down state with PCMO in the high impedance state. If during a pulse code modulation (PCM) data transmit cycle an asynchronous power-down occurs, the PCM interface remains powered up until the PCM data is completely transferred. An additional power-down mode overrides the MCLK detection function. This allows the device to enter the power-down state without regard to MCLK. Setting bit 7 of the TXPGA sidetone register to logic high enables this function. conversion laws The device can be programmed either for a 15-bit linear or 8-bit (µ-law or A-law) companding mode. The companding operation approximates the CCITT G.711 recommendation. The linear mode operation uses a 15-bit twos-complement format. transmit operation microphone input The microphone input stage is a low noise differential amplifier that provides a preamplifier gain of 23.5 dB. A microphone can be capacitively connected to the MIC1N and MIC1P inputs, while the MIC2N and MIC2P inputs can be used to capacitively connect a second microphone or an auxiliary audio circuit. 16 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION transmit operation (continued) _ MBIAS + Rmic Vref 510 kΩ Ci MIC1N 34 kΩ _ M I C + 34 kΩ Ci MIC1P Rmic 510 kΩ Figure 4. Typical Microphone Interface microphone mute function Transmit channel muting provides 80-dB attenuation of input microphone signal. The MICMUTE function can be selected by setting bit 6 of the power control register through the I2C interface. transmit channel gain control The values in the transmit PGA control registers control control the gain in the transmit path. The total TX channel gain can vary from 35.5 dB to 13.5 dB. The default total TX channel gain is 23.5 dB Table 2. Transmit Gain Control BIT NAME MIC AMP1 MIC AMP2 TX PGA GAIN GAIN MODE TOTAL TX GAIN TP3 TP2 TP1 TP0 GAIN GAIN MIN TYP MAX UNIT 0 0 0 0 23.5 12 0 Extended 35.3 35.5 35.7 dB 0 0 0 1 23.5 12 –2 Extended 33.3 33.5 33.7 dB 0 0 1 0 23.5 12 –4 Extended 31.3 31.5 31.7 dB 0 0 1 1 23.5 12 –6 Extended 29.3 29.5 29.7 dB 0 1 0 0 23.5 12 –8 Extended 27.3 27.5 27.7 dB 0 1 0 1 23.5 12 –10 Extended 25.3 25.5 25.7 dB 1 0 0 0 23.5 0 0 Normal 23.3 23.5 23.7 dB 1 0 0 1 23.5 0 –2 Normal 21.3 21.5 21.7 dB 1 0 1 0 23.5 0 –4 Normal 19.3 19.5 19.7 dB 1 0 1 1 23.5 0 –6 Normal 17.3 17.5 17.7 dB 1 1 0 0 23.5 0 –8 Normal 15.3 17.5 17.7 dB 1 1 0 1 23.5 0 –10 Normal 13.3 13.5 13.7 dB POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 17 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION receive operation receive channel gain control The values in the receive PGA control registers control the gain in the receive path. PGA gain is set from – 6 to 6 dB dB in 1 dB steps through the I2C interface. The default receive channel gain is –1 dB. Table 3. Receive PGA Gain Control BIT NAME RELATIVE GAIN RP3 RP2 RP1 RP0 MIN TYP MAX UNIT 0 0 0 0 5.8 6 6.2 dB 0 0 0 1 4.8 5 5.2 dB 0 0 1 0 3.8 4 4.2 dB 0 0 1 1 2.8 3 3.2 dB 0 1 0 0 1.8 2 2.2 dB 0 1 0 1 0.8 1 1.2 dB 0 1 1 0 – 0.2 0 0.2 dB 0 1 1 1 –1.2 –1 – 0.8 dB 1 0 0 0 – 2.2 –2 –1.8 dB 1 0 0 1 – 3.2 –3 – 2.8 dB 1 0 1 0 – 4.2 –4 – 3.8 dB 1 0 1 1 – 5.2 –5 – 4.8 dB 1 1 0 0 – 6.2 –6 – 5.8 dB sidetone gain control The values in the sidetone PGA control registers control the sidetone gain. Sidetone gain is set from –12 dB to – 24 dB in 2-dB steps through the I2C interface. Sidetone can be muted by setting bit 7 of the power control register. The default sidetone gain is –12 dB. Table 4. Sidetone Gain Control BIT NAME 18 RELATIVE GAIN ST2 ST1 ST0 MIN TYP 0 0 0 –12.2 0 0 1 –14.2 0 1 0 –16.2 0 1 1 1 0 0 1 0 1 1 1 0 POST OFFICE BOX 655303 MAX UNIT –12 –11.8 dB –14 –13.8 dB –16 –15.8 dB –18.2 –18 –17.8 dB – 20.2 – 20 –19.8 dB – 22.2 – 22 – 21.8 dB – 24.2 – 24 – 23.8 dB • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION receive operation (continued) receive volume control The values in the volume control PGA control registers provide volume control into the earphone. Volume control gain is set from 0 dB to –18 dB in 2-dB steps through the I2C interface. The default RX volume control gain is 0 dB. Table 5. rx Volume Control BIT NAME RELATIVE GAIN RV3 RV2 RV1 RV0 MIN TYP MAX 0 0 0 0 – 0.2 0 0.2 UNIT dB 0 0 0 1 – 2.2 –2 –1.8 dB 0 0 1 0 – 4.2 –4 – 3.8 dB 0 0 1 1 – 6.2 –6 – 5.8 dB 0 1 0 0 – 8.2 –8 –7.8 dB 0 1 0 1 –10.2 –10 – 9.8 dB 0 1 1 0 –12.2 –12 –11.8 dB 0 1 1 1 –14.2 –14 –13.8 dB 1 0 0 0 –16.2 –16 –15.8 dB 1 0 0 1 –18.2 –18 –17.8 dB earphone amplifier The analog signal can be routed to either one of two earphone amplifiers: one with a differential output (EAR1ON and EAR1OP) capable of driving a 32 Ω load, or one with a single-ended output (EAR2O) capable of driving a 32 Ω load. earphone mute function Muting can be selected by setting bit 3 of the power control register through the I2C interface. receive PCM data format D D Companded mode: 8 bits are received, the most significant (MSB) first. Linear mode: 15 bits are received, MSB first. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 19 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION receive operation (continued) Table 6. Receive-Data Bit Definitions BIT NO. COMPANDED MODE LINEAR MODE 1 CD7 LD14 2 CD6 LD13 3 CD5 LD12 4 CD4 LD11 5 CD3 LD10 6 CD2 LD9 7 CD1 LD8 8 CD0 LD7 9 – LD6 10 – LD5 11 – LD4 12 – LD3 13 – LD2 14 – LD1 15 – LD0 16 – –– Transmit channel gain control bits always follow the PCM data in time: CD7–CD0 = data word in companded mode LD14–LD0 = data word in linear mode DTMF generator operation and interface The dual-tone multifrequency generator (DTMF) circuit generates the summed DTMF tones for push button dialing and provides the PDM output for the BUZZCON user-alert tone. The integer value is determined by the following formula, round tone [Freq (Hz)/7.8125 (Hz)]. The integer value is loaded into either one of two 8-bit registers, high tone register (04) or low tone register (05). The tone output is 2 dB higher when applied to the high tone register (04). When generating DTMF tones, the high frequency value must be applied to the high tone register (04) and the low DTMF value to the low tone register. Table 7. Typical DTMF and Single Tone Control 20 DT7 DT6 DT5 DT4 DT3 DT2 DT1 DT0 INTEGER VALUE TONE FUNCTION TONE/HZ 0 1 0 1 1 0 0 1 89 DTMF Low 697 0 1 1 0 0 0 1 1 99 DTMF Low 770 0 1 1 0 1 1 0 1 109 DTMF Low 852 0 1 1 1 1 0 0 0 120 DTMF Low 941 1 0 0 1 1 0 1 1 155 DTMF HIgh 1209 1 0 1 0 1 0 1 1 171 DTMF HIgh 1336 1 0 1 1 1 1 0 1 189 DTMF HIgh 1477 1 1 0 1 0 0 0 1 209 DTMF HIgh 1633 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION DTMF generator operation and interface (continued) Tones from the DTMF generator block are present at all outputs and are controlled by enabling or disabling the individual output ports. The values that determine the tone frequency are loaded into the tone registers (high and low) as two separate values. The values loaded into the tone registers initiate an iterative table look-up function, placing a 6-bit or 7-bit in 2s complement value into the the tone registers. There is a 2 dB difference in the resulting output of the two registers, the high tone register having the greater result. buzzer logic section The single-ended output BUZZCON is a PDM signal intended to drive a buzzer through an external driver transistor. The PDM begins as a selected DTMF tones, generated and passed through the receive D/A channel, and fed back to the transmit channel analog modulator, where a PDM signal is generated and routed to the BUZZCON output. support section The clock generator and control circuit use the master clock input (MCLK) to generate internal clocks to drive internal counters, filters, and convertors. Register control data is written into and read back from the VBAP registers via the control interface. I2C–bus protocols The VBAP serial interface is designed to be I2C-bus compatible and operates in the slave mode. This interface consists of the following terminals: SCL: I2C-bus serial clock – This input synchronizes the control data transfer from and to the codec. SDA: I2C-bus serial address/data input/output – This is a bidirectional terminal that transfers register control addresses and data into and out of the codec. It is an open drain terminal and therefore requires a pullup resistor to VCC (typical 10 kΩ for 100 kHz). TWL1109 has a fixed device select address of {E2}HEX for write mode and {E3}HEX for read mode. For normal data transfer, SDA is allowed to change only when SCL is low. Changes when SCL is high are reserved for indicating the start and stop conditions. Data transfer may be initiated only when the bus is not busy. During data transfer, the data line must remain stable whenever the clock line is at high. Changes in the data line while the clock line is at high are interpreted as a start or stop condition. Table 8. I2C-Bus Conditions CONDITION STATUS DESCRIPTION A Bus not busy Both data and clock lines remain at high B Start data transfer A high to low transition of the SDA line while the clock (SCL) is high determines a start condition. All commands must proceed from a start condition. C Stop data transfer A low to high transition of the SDA line while the clock (SCL) is high determines a stop condition. All operations must end with a stop condition. D Data valid The state of the data line represents valid data when, after a start condition, the data line is stable for the duration of the high period of the clock signal. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 21 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION I2C bus protocols The data on the line must be changed during the low period of the clock signal. There is one clock pulse per bit of data. Each data transfer is initiated with a start condition and terminated with a stop condition. The number of data bytes, transferred between the start and stop conditions, is determined by the master device (microprocessor). When addressed, the VBAP generates an acknowledge after the reception of each byte. The master device must generate an extra clock pulse that is associated with this acknowledge bit. The VBAP must pull down the SDA line during the acknowledge clock pulse so that the SDA line is at stable low state during the high period of the acknowledge related clock pulse. Setup and hold times must be taken into account. During read operations, the master device must signal an end of data to the slave by not generating an acknowledge bit on the last byte that was clocked out of the slave. In this case, the slave (VBAP) must leave the data line high to enable the master device to generate the stop condition. clock frequencies and sample rates A fixed PCMSYN rate of 8 kHz determines the sampling rate. register map addressing REG 07 06 05 04 03 02 01 00 PWRUP Power control 00 Sidetone En TXEn RXEn MICSEL BIASEn RXEn EAROUT Sel Mode control 01 Comp Sel TMEn PCMLB Comp En BUZZEn RXFLTR En TXFLTR En TXSLOPE En TXPGA 02 PD0 TP3 TP2 TP1 TP0 ST2 ST1 ST0 RXPGA 03 RP3 RP2 RP1 RP0 RV3 RV2 RV1 RV0 High DTMF 04 HIFREQ Sel7 HIFREQ Sel6 HIFREQ Sel5 HIFREQ Sel4 HIFREQ Sel3 HIFREQ Sel2 HIFREQ Sel1 HIFREQ Sel0 Low DTMF 05 LOFREQ Sel7 LOFREQ Sel6 LOFREQ Sel5 LOFREQ Sel4 LOFREQ Sel3 LOFREQ Sel2 LOFREQ Sel1 LOFREQ Sel0 register power-up defaults REG 07 06 05 04 03 02 01 00 Power control (1)† Power control (2)‡ 00 1 1 1 1 0 1 1 0 00 1 0 0 1 1 0 1 1 Mode control 01 0 0 0 0 0 0 1 0 TXPGA 02 0 1 0 0 0 0 0 0 RXPGA 03 0 1 1 1 0 0 0 0 High DTMF 04 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Low DTMF 05 † 1. Value when PWRUPSEL = 0 ‡ 2. Value when PWRUPSEL = 1 22 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION register map Table 9. Power Control Register: Address {00} HEX BIT NUMBER 5 4 3 2 1 DEFINITIONS 7 6 0 1 1 1 1 0 1 1 0 Default setting PWRUPSEL = 0 1 0 0 1 1 0 1 1 Default setting PWRUPSEL = 1 X X X X X X X 0 Reference system, power-down X X X X X X X 1 Reference system, power-up X X X X X X 1 X EAR AMP1 selected, EAR AMP2 power-down X X X X X X 0 X EAR AMP2 selected, EAR AMP1 power-down X X X X X 0 X X Receive channel enabled X X 0 X X 1 X X Receive channel muted X X 1 X X 1 X 0 Receive channel, power down X X X 1 X X X X MIC1 selected X X X 0 X X X X MIC2 selected X 0 X X X X X X Transmit channel enabled X 1 0 X X X X X Transmit channel muted X 1 1 X X X X X Transmit channel power down 0 X X X X X X X Sidetone enabled 1 X X X X X X X Sidetone muted Table 10. Mode Control Register: Address {01} HEX BIT NUMBER 7 6 5 4 3 2 1 0 DEFINITIONS 0 0 0 0 0 0 1 0 Default setting X X X X X X 0 0 TX channel high-pass filter enabled and slope filter enabled X X X X X X 0 1 TX channel high-pass filter enabled and slope filter disabled X X X X X X 1 0 TX channel high-pass filter disabled and slope filter enabled X X X X X X 1 1 TX channel high-pass filter disabled and slope filter disabled X X X X X 0 X X RX channel high-pass filter disabled (low pass only) X X X X X 1 X X RX channel high-pass filter enabled X X X X 0 X X X BUZZCON disabled X X X X 1 X X X BUZZCON enabled X X X 0 X X X X Linear mode selected 1 X X 1 X X X X A-law companding mode selected 0 X X 1 X X X X µ-law companding mode selected X X 0 X X X X X TX and RX channels normal mode X X 1 X X X X X PCM loopback mode X 0 X X X X X X Tone mode disabled X 1 X X X X X X Tone mode enabled POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 23 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION register map (continued) Transmit PGA and sidetone control register: Address {02}HEX Bit definitions : 7 6 5 4 3 2 1 0 DEFINITION PDO TP3 TP2 TP1 TP0 ST2 ST1 ST0 See Table 2 and Table 4 0 1 0 0 0 0 0 0 Default setting Receive volume control register: Address {03}HEX Bit definitions : 7 6 5 4 3 2 1 0 DEFINITION RP3 RP2 RP1 RP0 RV3 RV2 RV1 RV0 See Table 3 and Table 5 0 1 1 1 0 0 0 0 Default setting High tone selection control register: Address {04}HEX Bit definitions : 7 6 5 4 3 2 1 0 DEFINITION X X X X X X X X DTMF (see Table 7) 0 0 0 0 0 0 0 0 Default setting Low tone selection control register: Address {05}HEX Bit definitions : 24 7 6 5 4 3 2 1 0 DEFINITION X X X X X X X X DTMF (see Table 7) 0 0 0 0 0 0 0 0 Default setting POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 PRINCIPLES OF OPERATION register map (continued) Transmit Time Slot 0 1 2 3 4 N–2 N–1 N N+1 80% PCMCLK 80% 20% 20% ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ ÎÎÎ tsu(PCMSYN) th(PCMSYN) PCMSYN tpd2 See Note A 1 PCMO 2 tpd3 3 4 N–2 N–1 N See Note C tpd1 NOTES: A. B. C. D. See Note B tsu(PCMO) See Note D This window is allowed for PCMSYN high. This window is allowed for PCMSYN low (th(PCMSYN)max determined by data collision considerations). Transitions are measured at 50%. Bit 1 = MSB, Bit N = LSB Figure 5. Transmit Timing Diagram Receive Time Slot 0 1 2 3 4 N –2 N –1 N N +1 80% 80% PCMCLK 20% 20% ÎÎ ÎÎÎ ÎÎÎ ÎÎÎÎ ÎÎ ÎÎÎ ÎÎÎ ÎÎÎÎ tsu(PCMSYN) PCMSYN th(PCMSYN) See Note A PCMI 1 See Note C See Note B See Note D th(PCMI) 2 3 4 N –2 N –1 N tsu(PCMI) NOTES: A. B. C. D. This window is allowed for PCMSYN high. This window is allowed for PCMSYN low. Transitions are measured at 50%. Bit 1 = MSB, Bit N = LSB Figure 6. Receive Timing Diagram SDA tBUF tLOW tr thd(STA) tf SCL STO STA thd(STA) thd(DAT) tHIGH tsu(STA) tsu(DAT) tsu(STO) STA STO Figure 7. I2C-Bus Timing Diagram POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 25 TWL1109 VOICE-BAND AUDIO PROCESSOR (VBAP) SLWS095 – MARCH 2000 MECHANICAL DATA PBS (S-PQFP-G32) PLASTIC QUAD FLATPACK 0,23 0,17 0,50 24 0,08 M 17 25 16 32 9 0,13 NOM 1 8 3,50 TYP Gage Plane 5,05 SQ 4,95 7,10 SQ 6,90 0,25 0,10 MIN 0°– 7° 0,70 0,40 1,05 0,95 Seating Plane 0,08 1,20 MAX 4087735/A 11/95 NOTES: A. All linear dimensions are in millimeters. B. This drawing is subject to change without notice. 26 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer’s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI’s publication of information regarding any third party’s products or services does not constitute TI’s approval, warranty or endorsement thereof. Copyright 2000, Texas Instruments Incorporated