SNC572 Two Channel Direct Drive Speech Controller 1 INTRODUCTION SNC572 is a two-channel voice synthesizer IC with PWM direct drive circuit. It built-in a 4-bit tiny controller with one 4-bit input port and two 4-bit I/O ports. By programming through the tiny controller in SNC572, user’s varied applications including voice section combination, key trigger arrangement, output control, and other logic functions can be easily implemented. 2 FEATURES Single power supply 2.4V – 5.5V 42 seconds voice capacity are provided(@6KHZ sample rate) Built in a 4-bit tiny controller One 4-bit input port and two 4-bit I/O ports are provided 128*4 bits RAM are provided 132K*10 ROM size are provided for voice data and program Maximum 16k program ROM is provided Readable ROM code data IR carrier signal is provided Built in a high quality speech synthesizer Adaptive playing speed from 2.5k-20kHz is provided Two independent voice channels (Channel 1 + Channel 2→Buo1,Buo2) Built in a PWM Direct Drive circuit and a fixed current D/A output System clock : 2MHz Low Power Reset Ver: 1.4 1 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller 3 Block Diagram ROM Program/Speech 132K×10 bits Address Pointers/ STACK SRAM (128 nibbles) Timer ALU IO1 Timing Generator OSC Sampling Rate Counter × 2 PWM Voice Synthesizer D/A IO2 IO3 4 PIN ASSIGNMENT Symbol P13 ~ P10 P23 ~ P20 P33 ~ P30 VDD GND RST OSC BUO1/VO BUO2 Ver: 1.4 I/O I I/O I/O P P I O O O Function Description Bit3 ~ Bit0 of Input port 1 Bit3 ~ Bit0 of I/O port 2 Bit3 ~ Bit0 of I/O port 3 Positive power supply Negative power supply Reset pin (active high) Oscillator / Crystal Out Positive Output of PWM or DA output Negative Output of PWM 2 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller 5 FUNCTION DESCRIPTIONS 5.1. Oscillator SNC572 accept RC type oscillator for system clock. The typical circuit diagram for oscillator is listed as follow. VCC r OSC RC Oscillator 5.2. ROM SNC572 contains substantial 132K words (10-bit) internal ROM. Program, voices and other data are shared with this same 132K words ROM. 5.3. RAM SNC572 contains 128 nibbles RAM. The 128 nibbles RAM are divided into eight pages (page 0 to page 7, 16 nibble RAM on each page). In our programming structure, users can easily define and locate RAM page in the program. For instance, users can use the instructions, PAGEn (n=0 to 7) to switch and indicate the RAM page. Besides, users can use direct mode, M0 ~ M15 in the data transfer type instructions, to access all 16 nibbles of each page. 5.4. Power Down Mode “End” instruction will power down SNC572 and enable IC to consume fewer current for power saving. (<3uA @VDD=3V and <5uA @VDD=5V) Please be aware that when the power down mode is activated in SNC572, any valid data transition (L H or H L) occurring on any input port (P1) or IO ports (P2 and P3) will lead SNC572 back to normal operation mode. 5.5. Sampling Rate Counters 2 independent sampling rate counters are dedicated to 2 individual voice channels to be able to play diverse voices at different sample playing rates. The playing rate can be adaptively set up among from the wide ranges of 2.5KHz to 20KHz. This feature makes voice close to its original source and yield the better voice quality. Ver: 1.4 3 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller 5.6. I/O Ports P1 is a 4-bit input port and P2/P3 are two 4-bit I/O ports. Any bit of P2 and P3 can be programmed as either input or output port individually. Any valid data transition (H L or L H) of P1, P2 and P3 can reactivate the chip when the chip is in power-down mode. PAD To Internal Data Bus Read Control Weak Input Port Configuration (P10~P13) Port Data PAD Port Status Weak To Internal Data Bus Read Control I/O Port Configuration (P20~P23, P30~P33) Note: weak N-MOS’s can serve as pull-low resistors. Ver: 1.4 4 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller 5.7. IR Function P33 can be modulated with 38.5KHz square wave before sent out to P33 pin. The IR signal can be achieved by this modulated signal. 38.5KHZ PAD "1" Mode P33 5.8. DAC & PWM SNC572 is an advanced chip to be designed having two optimal methods to play out the voices. One is DAC and the other is PWM. Upon user’s applications, user can select either DAC or PWM in his design. Please be aware that only one method can be activated at a time. DAC: A 7-bit current type digital-to-analog converter is built-in SNC572. The relationship between input digital data and output analog current signal is listed in the following table. Also, the recommended application circuit is illustrated as follows. Input data 0 1 … N … 127 Ver: 1.4 Typical value of output current (mA) 0 3/127 n*(3/127) 3 5 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller VCC BUO1/VO 1K DAC output PWM: A PWM (pulse width modulation) circuit is built-in SNC572. PWM can convert input digital data into pulse trains with suitable different pulse width. The maximum resolution of PWM is 7 bits. Two huge output stage circuits are designed in SNC572. With this advanced circuit, the chip is capable of driving speaker directly without external transistors. The recommended application circuit is illustrated as follows. BUO1/VO BUO2 PWM Output Ver: 1.4 6 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller 6 ABSOLUTE MAXIMUM RATING Items Supply Voltage Input Voltage Operating Temperature Storage Temperature Symbol VDD-V VIN TOP TSTG Min -0.3 VSS-0.3 0 -55.0 Max 6.0 VDD+0.3 55.0 125.0 Unit. V V o C o C 7 ELECTRICAL CHARACTERISTICS Item Operating Voltage Standby current Operating Current Input current of P1, P2, P3 Drive current of P2, P3 Sink Current of P2, P3 Drive current of P2, P3 Sink Current of P2, P3 Drive current of Buo1 Sink Current of Buo1 Sym. Min. Typ. Max. Unit Condition VDD 2.4 3.0 5.5 V ISBY 3.0 uA VDD=3V, no load IOPR 300 uA VDD=3V, no load IIH 3.0 10.0 uA VDD=3V,VIN=3V Drive Current of Buo2 Sink Current of Buo2 Oscillation Freq. IR Carrier Frequency Ver: 1.4 IOD - 4 - mA VDD=3V,VO=2.4V IOS - 6 - mA VDD=3V,VO=0.4V IOD - 5 - mA VDD=4.5V,VO=3.9V IOS - 9 - mA VDD=4.5V,VO=0.4V IOD IOS 100 100 120 120 - mA VDD=3V,Buo1=1.5V mA VDD=3V,Buo1=1.5V IOD IOS FOSC Fir 100 100 - 120 120 2.0 38.5 - mA mA MHz KHz 7 VDD=3V,Buo2=1.5V VDD=3V,Buo2=1.5V VDD=3V Fosc=2MHz June 8, 2005 Two Channel Direct Drive Speech Controller SNC572 8 APPLICATION CIRCUIT VDD R VDD OSC RST P30 P31 P32 P33 VO1 SNC572 P10 P11 P12 P13 P20 P21 P22 P23 TR4 TR3 TR2 TR1 TR8 TR7 TR6 TR5 TR12 TR11 TR10 TR9 TR16 TR15 TR14 TR13 June 8, 2005 8 Ver: 1.4 VDD 8050 1K GND D/A Speaker Output 16 Scan Keys SNC572 Two Channel Direct Drive Speech Controller 9 BONDING PAD 6 7 8 BUO1 9 10 11 12 RST P33 P32 P31 P30 P23 P22 P21 GN D O SC BUO2 1 2 3 4 5 VDD P 10 P 11 P 12 P13 P20 GND 19 18 17 16 15 14 13 Note: The substrate MUST be connected to Vss in PCB layout. Ver: 1.4 9 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller DISCLAIMER The information appearing in SONiX web pages (“this publication”) is believed to be accurate. However, this publication could contain technical inaccuracies or typographical errors. The reader should not assume that this publication is error-free or that it will be suitable for any particular purpose. SONiX makes no warranty, express, statutory implied or by description in this publication or other documents which are referenced by or linked to this publication. In no event shall SONiX be liable for any special, incidental, indirect or consequential damages of any kind, or any damages whatsoever, including, without limitation, those resulting from loss of use, data or profits, whether or not advised of the possibility of damage, and on any theory of liability, arising out of or in connection with the use or performance of this publication or other documents which are referenced by or linked to this publication. This publication was developed for products offered in Taiwan. SONiX may not offer the products discussed in this document in other countries. Information is subject to change without notice. Please contact SONiX or its local representative for information on offerings available. Integrated circuits sold by SONiX are covered by the warranty and patent indemnification provisions stipulated in the terms of sale only. The application circuits illustrated in this document are for reference purposes only. SONIX DISCLAIMS ALL WARRANTIES, INCLUDING THE WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. SONIX reserves the right to halt production or alter the specifications and prices, and discontinue marketing the Products listed at any time without notice. Accordingly, the reader is cautioned to verify that the data sheets and other information in this publication are current before placing orders. Products described herein are intended for use in normal commercial applications. Applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by SONIX for such application. Ver: 1.4 10 June 8, 2005 SNC572 Two Channel Direct Drive Speech Controller GREEN VOICE Ver: 1.4 11 June 8, 2005