TC9488FG TOSHIBA CMOS Digital Integrated Circuit Silicon Monolithic TC9488FG Digital Echo IC for Karaoke The TC9488FG is digital echo ICs for karaoke. The ICs incorporate microphone amps and volume controllers, enabling a digital echo system to be configured on a single chip. Features • Incorporates a two-channel microphone amp with auto level control (ALC), AD/DA converter, delay memory, and electronic volume controllers. • Incorporates a 32-kHz sampling, 12-bit successive comparison AD/DA converter. • Incorporates a delay memory (16-Kbit DRAM) which enables 128-ms (typ.) delay. • Microphone and echo levels are controlled by built-in volume controllers. They are controlled either by DC voltage or controlled in serial by the MCU. Weight: 1.08 g (typ.) TC9488FG: Supports three-lead interface • The system clock is generated by the CR oscillator circuit. • The echo feedback amount is configured using analog circuits. The feedback level can be freely set. • The IC comes in 30-pin flat package. Pin Connection 1 2004-11-19 TC9488FG Block Diagram System Block Diagram 2 2004-11-19 TC9488FG Pin Description (Note 1) Pin Number Symbol I/O 1 VDD ― 2 CSCC I Capacitor connecting pin for CR oscillator (C = 68 pF) 3 OSCR I Resistor connecting pin for CR oscillator (R = 5.6 kΩ) 5 VOL1 ( CS ) I When VOLST = “H” level, CS signal input pin When VOLST = “L” level, DC control pin for MIC1 volume 6 VOL2 (SCL) I When VOLST = “H” level, clock input pin When VOLST = “L” level, DC control pin for MIC2 volume Open drain output 7 VOL3 (SDA) I When VOLST = “H” level, data input pin When VOLST = “L” level, DC control pin for echo volume Open drain output 9 VRO ― Reference voltage pin 10 VREF ― Reference voltage pin (1/2 VDD) 11 VDA ― Analog supply voltage pin 13 ALC1 I 14 MC1N I MIC1 feedback signal input pin 15 MC1P I MIC1 signal input pin 16 MC2P I MIC2 signal input pin 17 MC2N I MIC2 feedback signal input pin 18 ALC2 I Auto level control pin 2 20 VSA ― Analog ground pin 21 MCO O MIC addition signal output pin Function Remarks Digital supply voltage pin Auto level control pin 1 22 PRIN I Pre-filter input pin 23 ADIN I Pre-filter output signal or DC input pin 25 DAOUT O Post-filter output pin 26 VOLST I Electronic volume control mode select pin When VOLST = “H” level, serial control (I2C bus/three-lead) When VOLST = “L” level, DC level control 28 TEST I Test pin. Fix to “H” level for normal use 29 POOUT O Microphone echo signal output pin 30 VSS ― Digital ground pin Note 1: With the TC9488FG, pins 4, 8, 12, 19, 24, and 27 are not connected (NC pins). NC pins are normally open. 3 2004-11-19 TC9488FG Operation 1. Oscillator circuit The TC9488FG generates an internal system clock using the CR oscillator circuit. Connecting a capacitance (C) of 68 pF and a resistance (R) of 5.6 kΩ sets the oscillator frequency to approx. 4 MHz and the sampling frequency to 32 kHz. Varying the external capacitance enables the oscillator frequency and sampling frequency for the system clock to be adjusted. Varying the system clock enables the delay time to be adjusted. Figure 1 shows the CR oscillator circuit. 1.1 How to determine oscillator frequency (f) f [MHz] = 1532/(C [pF] × R [kΩ]) = 1532/(68 × 5.6) ≈ 4.0 MHz (Note 2) Note 2: The oscillator frequency is a typical value (Ta = 25°C). Set the resistance to between 4.7 kΩ and 6.8 kΩ. 1.2 How to determine sampling frequency (fs) fs [kHz] = f/128 = 4.0/128 ≈ 32 kHz Figure 1 CR Oscillator circuit 2. Microphone amps The IC incorporates microphone amps with auto level control (ALC). The microphone amp gain is typically 36dB. When a signal from 0 to −46dB is input, the ALC circuit can control the output signal level. Changing the external capacitor connected to the ALC circuit to a resistor sets the ALC circuit to off. Figure 2 shows the microphone amp circuit. When C = 4.7 µF, the attack and release times are as follows: Attack time = Approx. 29 ms Release time = Approx. 1.6 s Setting the capacitance (C) to a smaller value enables the attack and release times to be adjusted. When the ALC circuit is not used, change the capacitor (*1) to a resistor (approx. 10 kΩ), and connect to GND line. At power on, while the capacitor is being charged, no sound is output. So, use a capacitance of 4.7 µF or less. Figure 2 Microphone amp with ALC 4 2004-11-19 TC9488FG 3. AD/DA converter and digital delay circuit The AD/DA converter is a 12-bit successive comparison type. The sampling frequency when the system clock operates at 4 MHz is 32 kHz. The analog signal input from the AD converter is converted to 12-bit digital data. The digital delay circuit compresses the 12-bit signal to 4-bit, writes it to delay RAM, then reads it. The 4-bit data read from delay RAM is de-compressed to 12-bit. The 12-bit data are converted to analog signals by the DA converter and output. The area for delay RAM memory is 4096 words × 4 bits. The echo delay time is 4096 words × (1/32 kHz) = 128 ms. Figure 3 is a block diagram of the echo circuit. Figure 3 Block diagram of echo circuit 5 2004-11-19 TC9488FG 4. Electronic volume controllers The IC incorporates microphone input 1 (MIC1) and microphone input 2 (MIC2) volume and echo volume controllers. The built-in volume controller operates in 16 steps. Using an external variable resistor, volume can be controlled by the DC level or from the MCU using serial data. The TC9488FG supports a three-lead interface. 4.1 Serial control timing Figure 4 shows the serial control timing. Figure 4 Serial control timing Table 1 lists bits used to set the volume. Table 1 Volume setting bits MODE DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0 VOL1 setting M3 M2 M1 M0 0 0 0 0 VOL2 setting M3 M2 M1 M0 0 1 0 0 VOL3 setting M3 M2 M1 M0 1 0 0 0 VOL1, 2, 3 setting M3 M2 M1 M0 1 1 0 0 M3, M2, M1, M0: Volume setting data 6 2004-11-19 TC9488FG 4.2 Setting of microphone and echo volumes Table 2 lists the microphone setting values and attenuation; Table 3 lists the echo volume setting values and attenuation. The DC level settings are typical values. Table 2 Microphone volume (VOL1, VOL2) attenuation Serial Data Setting DC Level Setting (V) 5.0 4.4 4.2 3.9 3.7 3.5 3.2 3.0 2.7 2.5 2.3 2.0 1.8 1.5 1.3 1.1 0.0 Attenuation (dB) M3 M2 M1 M0 0 0 0 0 0 0 0 0 1 −2 0 0 1 0 −4 0 0 1 1 −6 0 1 0 0 −8 0 1 0 1 −10 0 1 1 0 −12 0 1 1 1 −14 1 0 0 0 −16 1 0 0 1 −18 1 0 1 0 −20 1 0 1 1 −22 1 1 0 0 −24 1 1 0 1 −26 1 1 1 0 −28 1 1 1 1 −∞ Table 3 Echo volume (VOL3) attenuation Serial Data Setting DC Level Setting (V) 5.0 4.4 4.2 3.9 3.7 3.5 3.2 3.0 2.7 2.5 2.3 2.0 1.8 1.5 1.3 1.1 0.0 Attenuation (dB) M3 M2 M1 M0 0 0 0 0 0 0 0 0 1 −1 0 0 1 0 −2 0 0 1 1 −3 0 1 0 0 −4 0 1 0 1 −5 0 1 1 0 −6 0 1 1 1 −7 1 0 0 0 −8 1 0 0 1 −9 1 0 1 0 −10 1 0 1 1 −11 1 1 0 0 −12 1 1 0 1 −13 1 1 1 0 −14 1 1 1 1 −∞ 7 2004-11-19 TC9488FG Maximum Ratings (Ta = 25°C) Characteristics Supply voltage Input voltage Symbol Rating Unit VDD −0.3 to 6.0 V Vin −0.3 to VDD + 0.3 V Power dissipation PD 200 mW Operating temperature Topr −25 to 85 °C Storage temperature Tstg −55 to 150 °C Electrical Characteristics (unless otherwise specified, Ta = 25°C, VDD = 5.0 V) DC characteristics Symbol Test Circuit Operating supply voltage VDD ― Operating supply current IDD Operating frequency Power-on reset voltage Characteristics Test Condition Min Typ. Max Unit Ta = −25~85°C 4.5 5.0 5.5 V ― Fmck = 4 MHz ― 20 30 mA Fmck ― fs = 32 kHz typ. ― 4.0 ― MHz Vpor ― ― 4.0 4.25 V “H” level VIH ― VDD × 0.8 ― VDD “L” level VIL ― 0 ― VDD × 0.2 “H” level IIH ― ― ― 1.0 “L” level IIL ― −1.0 ― ― Min Typ. Max Unit Input voltage Input current V µA Volume control (when VOLST = “L”) Symbol Test Circuit Hysteresis voltage VH ― ― 0.12 ― V Input step width VST ― ― 0.26 ― V Min level input voltage VImin ― ― 1.1 0.8 V Max level input voltage VImax ― 4.95 4.8 ― V Characteristics Test Condition 8 2004-11-19 TC9488FG AC Characteristics Microphone amps and volumes Symbol Test Circuit MICG ― MCO Output at ALC Operation VM ― Maximum Input at No ALC Operation VL Characteristics Microphone amp gain Test Condition Min Typ. Max Unit Input 1-kHz sine wave, −50dBV, MCO pin measured. 47.5 49.5 51.5 dBV Input 1-kHz sine wave, −25dBV. −0.8 1.7 3.2 dBV ― Input 1-kHz sine wave. ― −47.5 ― dBV ― −4.0 ― dBV Maximum Input 1 at ALC Operation VA1 ― Input 1-kHz sine wave. MCO output clip limit vale at max volume Maximum Input 2 at ALC Operation VA2 ― Input 1-kHz sine wave. MCO output clip limit value at microphone amp output point ― 6.5 ― dBV POOUT output noise 1 NO1 ― VOL1~3: min ― −90 −85 dBV POOUT output noise 2 NO2 ― VOL1: max, VOL2: min, VOL3: min ― −63 −58 dBV POOUT output noise 3 NO3 ― VOL1: min, VOL2: max, VOL3: min ― −64 −59 dBV POOUT output noise 4 NO4 ― VOL1: min, VOL2: min, VOL3: max ― −65 −54 dBV POOUT output noise 5 NO5 ― VOL1: max, VOL2: max, VOL3: min ― −60 −54 dBV POOUT output noise 6 NO6 ― VOL1: max, VOL2: min, VOL3: min ― −62 −54 dBV POOUT output noise 7 NO7 ― VOL1: min, VOL2: max, VOL3: max ― −62 −54 dBV POOUT output noise 8 NO8 ― VOL1~3: max ― −59 −52 dBV ― −2.0 ― dB ― −1.0 ― dB C = 47 µF (Note 3) ― 120 ― C = 0.47 µF (Note 3) ― 10 ― C = 47 µF (Note 3) ― 1.6 ― C = 0.47 µF (Note 3) ― 0.15 ― Min Typ. Max Unit Volume 1, 2 attenuation ATT1 ― Ratio with one level higher (excluding the minimum level) Volume 3 attenuation ATT2 ― Ratio with one level higher (excluding the minimum level) ― 1 kHz Sine wave input, −20dBV → −10dBV Attack time TATK Release time TRLS ― 1 kHz Sine wave input, −10dBV → −20dBV ms s Note 3: External capacitor of ALC pin Microcontroller interface (when VOLST = “H”) Symbol Test Circuit tIFS ― 0.25 ― ― µs Shift clock “L” duration tL ― 0.25 ― ― µs Shift clock “H” duration tH ― 0.25 ― ― µs tDS ― 0.25 ― ― µs Data hold time tDH ― 0.25 ― ― µs Interface hold time tIFH ― 1.0 ― ― µs CS “H” duration tCSH ― 0.25 ― ― µs Characteristics Interface setup time Data setup time Test Condition 9 2004-11-19 TC9488FG AC Characteristics Test Points TC9488FG three-lead interface TC94588FG AC Test Circuit 10 2004-11-19 TC9488FG Package Dimensions Weight: 1.08 g (typ.) 11 2004-11-19 TC9488FG RESTRICTIONS ON PRODUCT USE 030619EBA • The information contained herein is subject to change without notice. • The information contained herein is presented only as a guide for the applications of our products. No responsibility is assumed by TOSHIBA for any infringements of patents or other rights of the third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of TOSHIBA or others. • TOSHIBA is continually working to improve the quality and reliability of its products. Nevertheless, semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and vulnerability to physical stress. It is the responsibility of the buyer, when utilizing TOSHIBA products, to comply with the standards of safety in making a safe design for the entire system, and to avoid situations in which a malfunction or failure of such TOSHIBA products could cause loss of human life, bodily injury or damage to property. In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most recent TOSHIBA products specifications. Also, please keep in mind the precautions and conditions set forth in the “Handling Guide for Semiconductor Devices,” or “TOSHIBA Semiconductor Reliability Handbook” etc.. • The TOSHIBA products listed in this document are intended for usage in general electronics applications (computer, personal equipment, office equipment, measuring equipment, industrial robotics, domestic appliances, etc.). These TOSHIBA products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a malfunction or failure of which may cause loss of human life or bodily injury (“Unintended Usage”). Unintended Usage include atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of safety devices, etc.. Unintended Usage of TOSHIBA products listed in this document shall be made at the customer’s own risk. • The products described in this document are subject to the foreign exchange and foreign trade laws. • TOSHIBA products should not be embedded to the downstream products which are prohibited to be produced and sold, under any law and regulations. 12 2004-11-19