SC-691 Speech And Music Processor Data sheet Features Advanced, Catalog Speech Processor for HighQuality Sound, Capable of Unlimited Speech Duration Using External Memory Operates up to 12.32 MIPS. Supports High-Quality Algorithms Such as MX (1.0 Kbps – 3.5 Kbps at 8 kHz), CX (3.0 Kbps – 11.2 kHz at 8 kHz Sampling Rate), ADPCM, Single Channel FM with CX or MX. Speed and Pitch Shifting in MX for Various Voice Effects. Six Level Digital Gain Control. 4 User Configurable I/O’s. Very Low-Power Operation, Ideal for Hand-Held Devices. Low-Voltage Operation, Sustainable by Three (3) Batteries. Three Reduced Power Standby Modes, Less Than 10 µA in Deep-Sleep Mode. Resistor-Trimmed Oscillator or 32.768 kHz Crystal Reference Oscillator. Direct Speaker Drive, 32 Ω (PDM). Interrupt Driven, 4 or 8-Bit Parallel Data Transfer Protocol. Available in Die Form or 64-Pin LQFP Package Description The SC-691 is a standard slave synthesizer from Sensory, Inc. that accepts compressed speech data from other microprocessors or microcontrollers and converts it to speech. This allows the SC-691 to be used with a master microprocessor/microcontroller in various speech-related products such as security systems, learning aids, games, and toys. High quality, low bit-rate coders, easy interface with the master microcontroller, digital gain control, low power sleep mode, and low voltage operation makes this device ideal for products requiring long duration speech, less development cycle times, and peripheral device control through the slave device. SC-691 Block Diagram 16-Bit Microprocessor 640-words RAM SLAVE LOGIC 10-Bit DAC TIMER 1 TIMER 2 PLLM COMPARATOR This device supports several speech synthesis algorithms that permit tradeoffs to meet the price performance requirements of various markets. The SC-691 implements a unique feature of playing a single channel FM music along with CX or MX speech data concurrently. This feature allows the user to speak a certain phrase in MX or CX with single channel music in the background. The SC-691 is optimized to support a 4-bit wide data transfer protocol. The device has two status bits and three control bits that control the communication protocol between the master and the slave. The SC-691 also has 1 bit (command/data) which differentiates between a command and speech data feeding into the slave. In 4-bit mode, various commands are sent to the slave during speech to perform various tasks. The SC-691 also supports the 8-bit wide data transfer but the support for commands is disabled during speaking-a-phrase. When speaking-a-phrase in 8-bit mode is complete, the SC-691 switches back to the 4-bit mode to receive the next command. Switching between 4 bit mode and 8 bit mode is permitted between speech data files. © 2003 Sensory Inc. P/N 80-0211-C 1 Data sheet SC-691 Functional Block Diagram 2 P/N 80-0211-C © 2003 Sensory Inc. Data Sheet SC-691 VSS NC NC NC NC NC NC NC NC NC NC NC NC NC NC VSS 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 3 DACP VDD STROBE_ OUTRDY_ 4 5 45 DACM INRDY_ TEST 6 7 44 43 VDD PD4 42 PD5 SCANOUT 8 41 PD6 SYNC 9 40 39 PD7 DATA0 38 37 DATA1 DATA2 SC-691 (64-lead LQFP) 28 29 30 31 32 VDD DATA7 DATA5 DATA6 NC NC 34 33 NC 15 16 27 OSCOUT VSS 26 DATA3 DATA4 NC 36 35 NC 14 24 25 OSCIN 23 12 13 NC NC RESET_ PLL NC 10 11 22 SCANCLK SCANIN NC 17 R/W_ 20 21 16 VSS 47 46 NC NC (top view of the die) 48 2 18 19 SC-691 1 VDD 17 34 1 VDD NC NC 35 NC 36 64 Pin/Pad Assignments NAME DATA0–DATA3 DATA4 or DATA/COMMAND DATA5–DATA7 PIN NO. PAD NO. I/O DESCRIPTION 39 → 36 25 → 22 I/O Data bits 0 through 3 (in 4-bit or 8-bit mode) Data bit 4 (in 8-bit mode) 35 21 I/O NOTE: Pin 8 is DATA4 in 8-bit mode, or DATA/COMMAND in 4-bit mode. 34 → 32 20 → 18 I/O Data bits 5 through 7 (8-bit mode only) An output signal from the slave to the microcontroller. A low signal indicates that INRDY_ 6 6 O the SC-691 is ready to accept data or command. A high signal indicates that the SC-691 is busy and the microcontroller must not write any data or command to it An output signal from the slave to the microcontroller. A low signal indicates that OUTRDY_ 5 5 O the SC-691 is ready to send data or command to the microcontroller. PD4–PD7 43 → 40 29 → 26 I/O General-purpose I/O bus An input signal to the slave from the microcontroller. Read/write select signal which R/W_ 3 3 I is set high for read operations or set low for write operations by the microcontroller. An input signal to the slave from the microcontroller. STROBE_ sequences read or STROBE_ 4 4 I write operations in conjunction with the R/W_ signal. This signal is pulsed high-lowhigh for read or write operations sequencing. Reference Oscillator Signals OSCOUT 15 15 O Output of resistor/crystal oscillator OSCIN 14 14 I Input to resistor/crystal oscillator PLL 13 13 O Output of phase-lock-loop filter Scan Port Control Signals SCANIN† 11 11 I Scan port data input SCANOUT 8 8 O Scan port data output SCANCLK 10 10 I Scan port clock SYNC† 9 9 I Scan port synchronization TEST† 7 7 I Test modes Digital-to-Analog Sound Output DACP 47 33 O Digital-to-analog plus output (+) DACM 45 31 O Digital-to-analog minus output(–) Initialization RESET_ 12 12 I Device initialization Power Signals 1, 2, 31, 1, 2, 17, VDD - Processor power, 5 V nominal supply voltage 44, 46‡ 30, 32‡ ‡ 16, 48, 16, 34 , VSS - Ground pin 49‡, 64 35, 36 † All pins must be N.C. ‡ Marked pins are VDD and VSS connections which service the DAC circuitry. These pins tend to sustain a higher current draw. A dedicated decoupling capacitor across these pins is therefore required. © 2003 Sensory Inc. P/N 80-0211-C 3 Data sheet SC-691 Number of data lines Number of control lines Number of status lines Number of general-purpose I/O lines Support for commands (while speaking) SC-691 (4-bit mode) 4 3 (STROBE_, R/W_, data/command) 2 (INRDY_, OUTRDY_) 4 Yes SC-691 (8-bit mode) 8 2 (STROBE_, R/W_) 2 (INRDY_, OUTRDY_) 4 No Figure 1: Interfacing Diagram 4-Bit Mode Note: STROBE_ R/W_ RESET_ DATA0– PD4–PD7 DACP DACM DATA/COMMAND Active low STROBE_ signal from microcontroller Read/write signal from microcontroller Active low RESET_ signal from microcontroller DATA3 Data bits 0 through 3 General-purpose I/O bus Output to speaker/amplifier Output to speaker/amplifier This bit determines if the data sent by the microcontroller is data or command. Figure 2: Interfacing Diagram 8-Bit Mode Note: STROBE_ R/W_ RESET_ INRDY_ OUTRDY_ 4 Active low STROBE_ signal from microcontroller Read/write signal from microcontroller Active low RESET_ signal from microcontroller. Active low indicates that the SC-691 is ready to accept data. Active low indicates that the SC-691 is ready to send data. P/N 80-0211-C © 2003 Sensory Inc. Data Sheet DATA0–DATA7 PD4–PD7 DACP DACM © 2003 Sensory Inc. SC-691 Data bits 0 through 7 General-purpose I/O bus Output to speaker/amplifier Output to speaker/amplifier P/N 80-0211-C 5 Data sheet SC-691 Read Operation By The Master The process for the read operation by the master is the same in either 4-bit or 8-bit mode. The read operation by the master happens when the slave wants to send something to the master. The read process is initiated by the slave by pulling OUTRDY_ low when it is ready. The following events take place during the read operation: The SC-691 puts the data to be sent to the master on the internal bus. The SC-691 sets OUTRDY_ low to indicate that it is ready to send data to the microcontroller. The microcontroller sets R/W_ high to indicate a read operation. The microcontroller sets STROBE_ low. The data is available on the external data-bus at this point. The microcontroller reads the data from the bus. The microcontroller sets STROBE_ high. The SC-691 also pulls OUTRDY_ high at the rising edge of STROBE_. The data is taken from the external data-bus after STROBE_ goes high. The microcontroller should latch or read in the data while STROBE is low. When the microcontroller sets STROBE_ high, the SC-691 sets OUTRDY_ high to indicate that the data has been successfully transferred. A) Sequence of events for a single read operation: OUTRDY R/W STROBE DATA COMMAND/DATA B) Read-Two speech data transfer sequences: OUTRDY R/W STROBE DATA COMMAND/DATA Figure 3: Data Transfer – Read Write Operation By The Master The process for the write operation by the master is the same in either 4-bit or 8-bit mode. The write operation by the master happens when the slave is ready to request data or command from the master. The write process is initiated by the slave by pulling INRDY_ low when the slave is ready to receive data. The following events take place during the write operation: The SC-691 sets INRDY_ low to indicate that it is ready to receive data from the microcontroller. The microcontroller sets R/W _low to indicate a write operation. The microcontroller puts the data in the external data-bus. The microcontroller sets STROBE_ low after the data is valid. The microcontroller sets STROBE_ high after a minimum of 300 ns. The SC-691 also pulls INRDY_ high at the rising edge of STROBE_. The data is latched in the SC-691 at the rising edge of STROBE_. 6 P/N 80-0211-C © 2003 Sensory Inc. Data Sheet SC-691 When the microcontroller sets STROBE_ high, the SC-691 sets INRDY__ high to indicate that the SC-691 is not ready to receive any more data. A) Sequence of events for a single write operation: R/W STROBE INRDY DATA COMMAND/DATA B) Read-Two speech data transfer sequences: R/W STROBE INRDY DATA COMMAND/DATA Figure 4: Data Transfer - Write © 2003 Sensory Inc. P/N 80-0211-C 7 Data sheet SC-691 Absolute Maximum Ratings Absolute maximum ratings over operating free-air temperature range (unless otherwise noted)† Supply voltage, VDD (see Note 1) Supply current, IDD (see Note 2) Input voltage range, VI (see Note 1) Output voltage range, VO (see Note 1) Storage temperature range, TA -0.3 to 7 V 35 mA -0.3 to VDD + 0.3 V -0.3 to VDD + 0.3 V -30°C to 125°C WARNING: Stressing the SC-691 beyond the “Absolute Maximum Ratings” may cause permanent damage. These are stress ratings only. Operation beyond the “Operating Conditions” is not recommended and extended exposure beyond the “Operating Conditions” may affect device reliability. NOTES: 1. Unless otherwise noted, all voltages are measured with respect to VSS. 2. The total supply current includes the current out of all the I/O pins as well as the operating current of the device. Recommended Operating Conditions Supply voltage (with respect to VSS), VDD CPU clock rate (as programmed), f(CPU) Load resistance between DACP and DACM, R(DAC) Operating free-air temperature, TA Device functionality MIN 3 64 32 0 MAX 5.2 12,320 MIN 100 2 2 MAX 70 UNIT V kHz Ω °C Timing Requirements t(RESET) t1(WIDTH) t2(WIDTH) Reset_ low pulse width, while VDD is within specified limits Pulse width required prior to a negative transition at pin (PD3 or PD5 interrupt) Pulse width required prior to a positive transition at pin (PD2 or PD4 interrupt) UNIT ns 1/FCPU 1/FCPU t(RESET) t(RESET) Figure 5: Initialization Timing Diagram t1(WIDTH (PD3, PD5, or F port)) t2(WIDTH (PD2, or PD4)) t1(WIDTH) t2(WIDTH) Figure 6: SC-691 External Interrupt Pin Pulse Width Requirements t1WIDTH and t2WIDTH 8 P/N 80-0211-C © 2003 Sensory Inc. Data Sheet SC-691 DC Electrical Characteristics, TA = 0 to 70°C TEST CONDITIONS MIN TYP§ MAX UNIT Positive going threshold 2.4 VDD = 3 V V Negative going threshold 1.8 Hysteresis 0.6 Threshold changes Positive going threshold 3.3 VDD = 5.2 V V Negative going threshold 2.9 Hysteresis 0.4 VDD = 3 V 2 3 High-level input voltage V VDD = 4.5 V 3 4.5 VDD = 5.2 V 3.5 5.2 VDD = 3 V 0 1 V Low-level input voltage VDD = 4.5 V 0 1.5 0 1.7 VDD = 5.2 V High-level output current per pin of I/O port VOH = 4 V –2 mA Low-level output current per pin of I/O port VOL = 0.5 V 5 mA VDD = 4.5 V High-level output DAC current VOH = 4 V –10 mA Low-level output DAC current 20 mA VOL = 0.5 V Input leakage current Excludes OSCIN 1 µA Standby current RESET is low 0.05 10 µA Operating current VDD = 4.5 V, FCLOCK = 12.32 MHz 15 mA VDD = 4.5 V, DAC off, ARM set, OSC disabled 0.05 10 Supply current µA VDD = 4.5 V, DAC off, ARM set, OSC enabled 40 60 VDD = 4.5 V, DAC off, ARM clear, OSC enabled 60 100 Input offset voltage VDD = 4.5 V, Vref = 1 to 4.25 V 25 50 mV F port pullup resistance VDD = 5 V 70 150 KΩ RRTO = 470 KΩ, VDD = 4.5 V, TA = 25°C, ±1% ±3% Trim deviation fRTO = 8.192 MHz (PLL setting = 7 Ch)‡ RRTO = 470 KΩ, VDD = 3.5 to 5.2 V, TA = 25°C, ±1.5% Voltage deviation fRTO = 8.192 MHz (PLL setting = 7 Ch)‡ RRTO = 470 KΩ, VDD = 4.5 V, TA = 0 to 70°C, Temperature deviation ±0.03 %/°C fRTO = 8.192 MHz (PLL setting = 7 Ch)‡ VDD = 4.5 V, TA = 25°C, R(OSC) = 470 KΩ at ±1%, ±1% Resistance deviation fRTO = 8.192 MHz (PLL setting = 7 Ch)‡ PARAMETER RESET_ VIH VIL IOH¶ IOL¶ IOH (DAC) IOL (DAC) Ilkg I(STANDBY) IDD† I(SLEEP-deep) I(SLEEP-mid) I(SLEEP-light) VIO R(PULLUP) ∆f(RTO-trim) ∆f(RTO-volt) ∆f(RTO-temp) ∆f(RTO-res) † Operating current assumes all inputs are tied to either VSS or VDD with no input currents due to programmed pullup resistors. The DAC output and other outputs are open circuited. ‡ The best trim value is selected at nominal temperature and voltage but the deviation due to the trim error is ignored. § Typical voltage and current measurement taken at 25°C ¶ This parameter cannot exceed 15 mA total per internal VDD pin. Port C and port D share 1 internal VDD. Ports A and G0 are used internally. External Component Absolute Values PARAMETER R(RTO) RTO external resistance C(PLL) PLL external capacitance © 2003 Sensory Inc. TEST CONDITIONS TA = 25°C, 1% tolerance TA = 25°C, 10% tolerance P/N 80-0211-C MIN MAX 470 3300 UNIT KΩ pF 9 Data sheet SC-691 Mechanical Data LQFP 64 PLASTICQUAD FLATPACK (10x10x1.4 mm) Symbol A A1 A2 b b1 c c1 D D1 E E1 L L1 R1 R2 S › ›1 ›2 ›3 10 Dimension in mm Min Nom Max 1.60 0.05 0.15 1.35 1.40 1.45 0.17 0.22 0.27 0.17 0.20 0.23 0.09 0.20 0.09 0.16 12.00 BSC 10.00 BSC 12.00 BSC 10.00 BSC 0.50 BSC 0.45 0.60 0.75 1.00 REF 0.08 0.08 0.20 0.20 0º 3.5º 7º 0º 12º TYP 12º TYP Dimension in inch Min Nom Max 0.063 0.002 0.006 0.053 0.055 0.057 0.007 0.009 0.011 0.007 0.008 0.009 0.004 0.008 0.004 0.006 0.472 BSC 0.394 BSC 0.472 BSC 0.394 BSC 0.20 BSC 0.018 0.024 0.030 0.039 BSC 0.003 0.003 0.008 0.008 0º 3.5º 7º 0º 12º TYP 12º TYP Notes: A. B. C. P/N 80-0211-C All linear dimensions are in millimeters. This drawing is subject to change without notice. Falls within JEDEC MS-022 © 2003 Sensory Inc. Data Sheet SC-691 Die Bond-out Coordinates Die Size = 147.64 x 111.02 Mil Pad Size = 210 x 210 Mil Units = Metric Pad 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 64 X-Axis Min 149.00 149.00 127.40 127.40 127.40 127.40 127.30 127.40 127.30 127.30 127.30 127.45 127.30 127.30 127.30 148.00 3385.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3472.20 3450.60 3517.01 3517.01 3517.01 3516.80 3149.35 97.30 Y-Axis Min 2122.80 1961.45 1805.45 1651.45 1497.45 1343.45 1191.05 1077.95 925.45 814.15 702.85 555.50 435.50 324.20 212.90 108.10 61.50 172.75 326.75 480.75 634.75 788.75 942.75 1096.75 1250.75 1404.75 1558.75 1712.75 1866.75 2026.15 2165.85 2319.91 2473.95 2583.45 2581.75 2533.65 X-Axis Max 235.00 235.00 213.40 213.40 213.40 213.40 213.30 213.40 213.30 213.30 213.30 213.45 213.30 213.30 213.30 234.00 3471.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3558.20 3536.60 3603.01 3603.01 3603.01 3602.80 3235.35 183.30 Y- Axis Max 2208.80 2047.45 1891.45 1737.45 1583.45 1429.45 1277.05 1163.95 1011.45 900.15 788.85 641.50 521.50 410.20 298.90 194.10 147.50 258.75 412.75 566.75 720.75 874.75 1028.75 1182.75 1336.75 1490.75 1644.75 1798.75 1952.75 2112.15 2251.85 2405.91 2559.95 2669.45 2667.75 2619.65 Ordering Information Part SC-691 DIE SC-691 LQFP Ordering P/N SC691 SC691-L1 © 2003 Sensory Inc. Shipping P/N Description 65-0140-A Tested, Singulated SC-691 die in waffle pack. 65-0139-A SC-691 64 pin 10x10x1.4mm LQFP P/N 80-0211-C 11 The Interactive Speech™ Product Line The Interactive Speech line of ICs and software was developed to “bring life to products” through advanced speech recognition and audio technology. The Interactive Speech Product Line was designed for consumer telephony products and cost-sensitive consumer electronic applications such as home electronics, personal security, and personal communication. The product line includes award-winning RSC series general-purpose microcontrollers and tools, SC series of speech microcontrollers, plus a line of easy-to-implement chips that can be pin-configured or controlled by an external host microcontroller. Sensory’s software technologies run on a variety of microcontrollers and DSPs. RSC Microcontrollers and Tools The RSC product line contains low-cost 8-bit speech-optimized microcontrollers designed for use in consumer electronics. All members of the RSC family are fully integrated and include A/D, pre-amplifier, D/A, ROM, and RAM circuitry. The RSC family can perform a full range of speech/audio functions including speech recognition, speaker verification, speech and music synthesis, and voice record/playback. The family is supported by a complete suite of evaluation tools and development kits. SC Microcontrollers and Tools The SC-6x product line feature the highest quality speech synthesis ICs at the lowest data rate in the industry. The line includes a 12.32 MIPS processor for high-quality low data-rate speech compression and MIDI music synthesis, with plenty of power left over for other processor and control functions. Members of the SC-6x line can store as much as 37 minutes of speech on chip and include as much as 64 I/O pins for external interfacing. Integrating this broad range of features onto a single chip enables developers to create products with high quality, long duration speech at very competitive price points. Application Specific Standard Products (ASSPs) Voice Direct™ II provides inexpensive speaker-dependent speech recognition and speech synthesis. This easy-to-use, pinconfigurable chip requires no custom programming and can recognize up to 15 words in 4 pin-programmable modes. Ideal for speakerdependent command and control of household consumer products, Voice Direct™ II is part of a complete product line that includes the IC, module, and Voice Direct™ II Speech Recognition Kit. Voice Extreme™ simplifies the creation of fully custom speech-enabled products by offering developers the capability of programming the chip in a high-level C-like language. Program code, speech data, and even record and playback information can be stored on a single off-chip Flash memory. Based on Sensory's RSC-364 speech processor, Voice Extreme includes a highly efficient on-chip code interpreter, and is supported by a comprehensive suite of low-cost development tools. Software and Technology Voice Activation™ micro footprint software provides advanced speech technology on a variety of microcontroller and DSP platforms. A flexible design with a broad range of technologies allows manufacturers to easily integrate speech functionality into consumer electronic products. Fluent Speech™ small footprint software recognizes up to 50,000 words; offers Animated Speech with the ability to automate enunciation and articulation; performs text-to-speech synthesis in either male or female voices; provides noise and echo cancellation, performs Wordspotting for natural language usage; offers telephone barge-in; and provides continuous digit recognition. Important notices Reasonable efforts have been made to verify the accuracy of information contained herein, however no guarantee can be made of accuracy or applicability. Sensory reserves the right to change any specification or description contained herein. Sensory reserves the right to make changes to or to discontinue any product or service identified in this publication at any time without notice in order to improve design and supply the best possible product. Sensory does not assume responsibility for use of any circuitry other than circuitry entirely embodied in a Sensory product. Information contained herein is provided gratuitously and without liability to any user. Reasonable efforts have been made to verify the accuracy of this information but no guarantee whatsoever is given as to the accuracy or as to its applicability to particular uses. Applications described in this data sheet are for illustrative purposes only, and Sensory makes no warranties or representations that the RSC/SC series of products will be suitable for such applications. In every instance, it must be the responsibility of the user to determine the suitability of the products for each application. Sensory products are not authorized for use as critical components in life support devices or systems. Sensory conveys no license or title, either expressed or implied, under any patent, copyright, or mask work right to the RSC series of products, and Sensory makes balance between recognition and synthesis no warranties or representations that the RSC series of products are free from patent, copyright, or mask work right infringement, unless otherwise specified. Nothing contained herein shall be construed as a recommendation to use any product in violation of existing patents or other rights of third parties. The sale of any Sensory product is subject to all Sensory Terms and Conditions of Sales and Sales Policies. 1991 Russell Ave., Santa Clara, CA 95054 Tel: (408) 327-9000 Fax: (408) 727-4748 © 2003 SENSORY, INC. ALL RIGHT RESERVED. Sensory is registered by the U.S. Patent and Trademark Office. All other trademarks or registered trademarks are the property of their respective owners. www.sensoryinc.com