SNC521 One Channel Direct Drive Speech Controller 1 INTRODUCTION SNC521 is a one-channel voice synthesizer IC with PWM direct drive circuit. It built-in a 4-bit tiny controller with two 4-bit I/O ports. By programming through the tiny controller in SNC521, 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 10 seconds voice capacity are provided(@6KHZ sample rate) Built in a 4-bit tiny controller Two 4-bit I/O ports are provided 64*4 bits RAM are provided 32K*10 ROM size are provided for voice data and program Maximum 16k program ROM is provided IR carrier signal is provided Built in a high quality speech synthesizer Adaptive playing speed from 2.5k-20kHz is provided One voice channel Built in a PWM Direct Drive circuit and a fixed current D/A output System clock : 2MHz Low Power Reset Ver: 1.3 1 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 3 Block Diagram ROM Program/Speech 32K×10 bits Address Pointers/ STACK SRAM (64 nibbles) Timer ALU Timing Generator OSC Sampling Rate Counter PWM Voice Synthesizer D/A IO port 2 IO port 3 4 PIN ASSIGNMENT Symbol P23 ~ P20 P33 ~ P30 VDD GND RST OSC BUO1/VO BUO2 Ver: 1.3 I/O I/O I/O P P I I O O Function Description 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 Input Positive Output of PWM or DA output Negative Output of PWM 2 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 5 FUNCTION DESCRIPTIONS 5.1. Oscillator SNC521 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 SNC521 contains substantial 32K word (10-bit) internal ROM. Program and voices are shared with this same 32K word ROM. 5.3. RAM SNC521 contains 64 nibbles RAM. The 64 nibbles RAM are divided into four pages (page 0 to page 3, 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 3) 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 SNC521 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 SNC521, any valid data transition (L H or H L) occurring on any IO ports (P2 and P3) will lead SNC521 back to normal operation mode. 5.5. Sampling Rate Counter The unique sampling rate counter is designed in voice channel 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.3 3 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 5.6. I/O Ports P2 and 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 P2 and P3 can reactivate the chip when the chip is in power-down stage. Port Data PAD Port Status Weak To Internal Data Bus Read Control I/O Port Configuration (P20~P23, P30~P33) Note: Weak N-MOS can serve as pull-low resistor. 5.7. DAC & PWM SNC521 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 SNC521. 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. Ver: 1.3 4 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller Input data 0 1 … N … 127 Typical value of output current (mA) 0 3/127 n*(3/127) 3 VCC BUO1/VO 1K DAC output PWM: A PWM (pulse width modulation) circuit is built-in SNC521. 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 SNC521. 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.3 5 August 26, 2003 SNC521 One 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 P2, P3 Drive current of P2, P3 Sink Current of P2, P3 Drive current of Buo1 Sink Current of Buo1 Drive Current of Buo2 Sink Current of Buo2 Oscillation Freq. Ver: 1.3 Sym. Min. Typ. Max. Unit Condition VDD 2.4 3.0 5.5 V ISBY 2.0 uA VDD=3V , no load 5.0 VDD=4.5V, no load IOPR 300 uA VDD=3V , no load 700 VDD=4.5V, no load IIH 3.0 10.0 uA VDD=3V,VIN=3V IOD - 4 - mA VDD=3V,VO=2.4V IOS - 6 - mA VDD=3V,VO=0.4V IOD IOS 100 100 120 120 - mA VDD=3V,Buo1=1.5V mA VDD=3V,Buo1=1.5V IOD IOS FOSC 100 100 - 120 120 2.0 - mA VDD=3V,Buo2=1.5V mA VDD=3V,Buo2=1.5V MHz VDD=3V 6 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 8 ROSC Performance ROSC frequency vs VDD (Typical value, R=120KΩ) ROSC (MHz) 3 2.5 120k 2 1.5 2 3 4.5 5.5 VDD (Voltage) ROSC frequency vs. VDD (For various R) ROSC (MHz) 3 100k 2.5 110k 120k 130k 2 150k 1.5 2 3 4.5 5.5 VDD (Voltage) Ver: 1.3 7 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 9 APPLICATION CIRCUIT D/A Speaker Output 4 Direct Keys VDD V DD 8 050 C1 0.1uF 1K VDD C2 R 0.1uF VDD OS C RS T P 30 P 31 P 32 P 33 VO 1 S NC521 G ND TR 1 TR 2 TR 3 TR 4 VDD P 20 P 21 P 22 P 23 Note: The C1 (0.1uF) between Power and GND should be closed to VDD pin of SNC521 as possible. Ver: 1.3 8 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 10 BONDING PAD (0.00,0.00) 15 RST 14 P33 13 P32 P31 P21 11 P30 P22 3 P23 4 OSC 5 7 BUO1 GND 6 8 9 10 GND 12 2 BUO2 1 VDD P20 SNC521 Note: The substrate MUST be connected to Vss in PCB layout. Ver: 1.3 9 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 11 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.3 10 August 26, 2003 SNC521 One Channel Direct Drive Speech Controller 12 GREEN VOICE Ver: 1.3 11 August 26, 2003