WTS701EF WINBOND [Winbond], WTS701EF Datasheet
![no-image](/images/no-image-200.jpg)
WTS701EF
Related parts for WTS701EF
WTS701EF Summary of contents
Page 1
WINBOND SINGLE-CHIP TEXT-TO-SPEECH PROCESSOR The information contained in this datasheet may be subject to change without notice the responsibility of the customer to check the Winbond USA website (www.winbond-usa.com) periodically for the latest version of this document, and ...
Page 2
GENERAL DESCRIPTION The WTS701 is a high quality, fully integrated, single-chip Text-to-Speech solution that is ideal for use in applications such as automotive appliances, GPS/navigation systems, cellular phones and other portable products or accessories. The WTS701 product accepts ASCII ...
Page 3
FEATURES • Fully Integrated Solution Single-chip compact text-to-speech translation No algorithm development required Selectable digital and analog audio output Simple SPI interface Reprogrammable solution enables loading different voice or language • Text-To-Speech Algorithm Characteristics High quality speech synthesis using ...
Page 4
BLOCK DIAGRAM 3.1. WTS701 B LOCK CS\ SS\ SPI INTERFACE MOSI MISO SCLK R/B\ INT\ XTAL1 CLOCK XTAL2 GENERATION HIGH VOLTAGE GENERATION REFERENCE GENERATION AUXIN AUX AMP Power Conditioning CCA SSA SSA SSD SSD ...
Page 5
WTS701 T A YPICAL PPLICATIONS CS\ SS\ MOSI HOST Controller MISO SCLK R/B\ INT\ Figure 2. WTS701 Configuration for Digital (CODEC) Environment. CS\ SS\ MOSI HOST Controller MISO SCLK R/B\ INT\ Figure 3. WTS701 Configuration for Analog Environment Baseband ...
Page 6
TABLE OF CONTENTS 1. GENERAL DESCRIPTION.................................................................................................................. 2 2. FEATURES ......................................................................................................................................... 3 3. BLOCK DIAGRAM .............................................................................................................................. 4 3.1. WTS701 Block Diagram ............................................................................................................... 4 3.2. WTS701 Typical Applications....................................................................................................... 5 4. TABLE OF CONTENTS ...................................................................................................................... 6 5. PIN CONFIGURATION ....................................................................................................................... 8 6. ...
Page 7
Converting Text..................................................................................................................... 43 7.5 SPI Interface ................................................................................................................................ 46 7.5.1 SPI Transactions................................................................................................................... 46 7.6 CODEC Interface......................................................................................................................... 49 7.7 Control Characters....................................................................................................................... 52 7.7.1 Phonetic Alphabet Playback ................................................................................................. 52 7.7.2 Speed Change ...................................................................................................................... 54 7.7.3 Volume Change .................................................................................................................... 55 7.7.4 Case Sensitivity..................................................................................................................... ...
Page 8
PIN CONFIGURATION The following sections detail the pins of the WTS701 processor. Table 1 shows all the pins and the signals that use them in different configurations. It also shows the type and direction of each signal ...
Page 9
PIN DESCRIPTION Table 1. WTS701 Pin Signal Assignment. PIN NO. SYMBOL 2,36,44 VSSA 3 VCLK 4 VFS 5 VDX 6 MISO 7 XTAL2 8 XTAL1 9,10 VSSD 11,12 VCCD 13 INT 14 MOSI SCLK 25 CS ...
Page 10
PIN NO. SYMBOL 27 RESET 40 ATTCAP I/O 42 SP- 46 SP+ 48 VCCA 52 AUXIN 54 AUXOUT 1,17- NC 24,28- 35,37- 39,41,43, 45,47,49- 51,53,55- 56 Note: TYPE I:Input, O:Output, I/O bi-directional, P:Power, G:Ground I/O I Global reset signal. AutoMute ...
Page 11
FUNCTIONAL DESCRIPTION As a real System-On-Chip solution, the WTS701 performs the overall control functions for host controller and text-to-speech processing. The WTS701 system architecture consists of the following functions: • Serial interface to monitor the SPI port and interpret ...
Page 12
EXT O PEECH ECHANISM The text to speech component of the system consists of three principal blocks: • Text normalization • Word to phoneme conversion • Phoneme mapping 7.1.1 Text Normalization Text normalization involves the ...
Page 13
P I HYSICAL NTERFACE The following sections describe the physical pin properties and the timing associated with the physical interface to the device. Note that all input pins are 3V and 5V tolerant, except for the CS signal which ...
Page 14
Power Down Mode Upon application of power, the WTS701 will enter the RESET state and then POWER DOWN state. In the POWER DOWN mode, only Class0 SPI commands are valid. (See subsection 7.3.1). The Power Down ...
Page 15
SPI Interface Communications with the WTS701 is conducted over the SPI serial communications port. The device responds to a command when the Chip Select signal ( LOW and addressed by an active LOW signal on the ...
Page 16
Flow Control Interface In addition to the SPI interface, the WTS701 has two control lines to facilitate data transfer and host communications. The INT (interrupt) pin is used by the WTS701 to request an interrupt service from the host ...
Page 17
VFS (CODEC Synchronization Line) The CODEC synchronization line supplies a frame synchronization signal to the internal CODEC. This is a digital input. After receipt of a synchronization pulse, the CODEC will output data on the VDX line. The VFS line ...
Page 18
Input AUD Register 1 V AIG1 P-P 0.694 0 0.491 0 0.347 1 0.245 1 1 OTLP Input is the reference Transmission Level Point that is used for testing. This level is typically 3 dB below clipping ...
Page 19
R ESET 7 OMMUNICATION ROTOCOL The WTS701 is controlled by a series of SPI transactions to send commands to the device. The general format of an SPI transaction is shown in command word. The command word consists of ...
Page 20
Command Classes The SPI transactions to the WTS701 fall into four classes. The four classes represent variations in how the command, and any associated data, is handled. The class of a command is defined by the two most significant ...
Page 21
Status Register The WTS701 has a sixteen-bit status register whose value is returned to the host controller during the command word. For class 2 commands, the status register is repeatedly returned every two bytes. This status register provides the ...
Page 22
Byte Bit Name Bit # RDY 0 CNVT 1 BEMP 2 BFUL 3 4 COD ICNV 5 IBUF 6 ICNT 7 ICMD 0 IABB bits are reserved. 7.3.3 Interrupt Handler If an interrupt has occurred, ...
Page 23
BCNT -- Byte Count Register The byte count register (BCNT tool for the host to keep track of where in a conversion the WTS701 is. When a new conversion is started, the byte count register is reset ...
Page 24
Status Commands The WTS701 has three read-only registers accessed by the opcodes, which are shown to the right. • The Read Status Register returns the device’s operational status and the numbers of bytes that have been converted. • The Read ...
Page 25
Synthesis Commands The synthesis commands affect the text-to-speech synthesis. They are detailed in the table to the right. The basic commands are: • Start a conversion • Pause the conversion • Resume the conversion • Stop the conversion • Finish ...
Page 26
Customization Commands The WTS701 has the ability for the user to customize the way in which it responds to certain text strings. This is done by way of abbreviation table. customization opcodes allow the user to interrogate and modify the ...
Page 27
PWUP Class Byte Sequence: Host controller WTS701 Description: Wake up the WTS701 processor to IDLE state. CONV Convert The convert command starts the text to speech conversion process. The convert command is followed by ASCII text data. The device has ...
Page 28
The stop command (ST) will cause the WTS701 to immediately stop converting, flush the buffer and enter the wait state. Once the wait state has been entered the device will clear the convert (CONV) bit from the status register ...
Page 29
ST S TOP This command immediately stops conversion without finishing buffer, and clears the buffer. ST Class Byte Sequence: Host controller WTS701 Description: Stop conversion. FINW F W INISH ORD This command directs the WTS701 to finish text conversion at ...
Page 30
IDLE I DLE This command is executed after the receipt of an end-of-conversion interrupt (ICNV) has occurred. The IDLE command will deactivate all audio outputs and bring the device to the IDLE state. IDLE Class Byte Sequence: Host controller WTS701 ...
Page 31
RINT R I EAD NTERRUPT The Read Interrupt command reads the status word of the device, it also clears the status interrupt request flags at the end of the transaction result of this command, all interrupt bits are ...
Page 32
SCOD S COD R ET EGISTER Set the COD (CODEC control) configuration register to value 0xNN. The Default value of this register after Power-Up or Reset is 0x01. Refer to subsection Configuration Registers, which describes all register bits. SCOD Class ...
Page 33
SSPD S SPD R ET EGISTER Set the SPD (speech rate/speed) configuration register to value 0xNN. The Default value of this register after Power-Up or Reset is 0x02. Refer to subsection Configuration Registers, which describe all register bits. SSPD Class ...
Page 34
VLUP OLUME P OMMAND Increment the volume (VOL) register. Has no effect if already at maximum volume. The Default value of this register after Power-Up or Reset is 0x07. Refer to subsection Configuration Registers, which describes all ...
Page 35
SPDN PEED OWN Decrease speaking rate (SPD register). Has no effect if already at minimum speaking rate. The Default value of this register after Power-Up or Reset is 0x02. Refer to subsection Configuration Registers, which describes all ...
Page 36
ABBR_MEM R A ETURN BBREVIATION The ABBR_MEM command will return the number of bytes available in the abbreviation table in MEM_HI and MEM_LOW. ABBR_MEM Class 3 Byte Sequence: Host controller WTS701 Description: Return the number of bytes available in the ...
Page 37
ABBR_DEL D A ELETE BBREVIATION This command deletes abbreviation entry from abbreviation table. ABBR_DEL Class 2 Byte Host controller Sequence: WTS701 Description: Delete an entry from the abbreviation table. ENTER_RRSM S M WAP EMORY This command is used in programming ...
Page 38
Register Reg. # Default COM 0x4E 0x00 COD 0x4F 0x01 AUD 0x50 0x43 VOL 0x51 0x07 CLC 0x14 None SPD 0x52 0x02 X = Reserved. The bits of each register are described below: COM Register ICNT If set to a ...
Page 39
COD Register MD2 CODEC enable, possible modes are: 0b: CODEC disabled. 1b: CODEC enabled during conversion. MD1 CODEC precision, possible modes are: 0b: 13 bit linear PCM output 1b: 16 bit linear PCM output. MD0 CODEC output format, possible modes ...
Page 40
VOL Register VL2..0 Volume level of output. 000 – 0dB 001 – -4dB 010 – -8dB 011 – -12dB 100 – -16dB 101 – -20dB 110 – -24dB 111 – -28dB Each step gives a 4dB attenuation of output. CLC ...
Page 41
System Operation The WTS701 is a single chip solution for text-to-speech synthesis. The Text-to-Speech operation is accomplished by a process of screening the incoming text to normalize common abbreviations and numbers into a spoken form. The normalized text is ...
Page 42
RESET The WTS701 processor is initialized to the RESET state when Vcc is first applied to the part. After a reset condition the device enters the POWER DOWN state. All configuration registers are initialized to their default values after issuing ...
Page 43
Initialization and Configuration Configuration After power- Reset command (RST) the WTS701 processor can be configured for operation. This involves initializing the internal configuration registers for the users requirements. Table 11. Initialization Commnad Sequence State Command POWER DOWN ...
Page 44
The user has the choice of enabling interrupts to signal the host when there is free space in the internal buffer. When all text data has been sent, the user must indicate this by: 1. Sending a FIN (Finish) command ...
Page 45
IDLE Send CONV command Fill serial buffer with text data No Sent all data? Wait for IBUF interrupt Write a new batch of text data to buffer ( < 192 bytes otherwise buffer may overflow) Figure 11. Flow Diagram for ...
Page 46
Controlling Text Conversion The WTS701 offers several features to control text conversion. The PAUS (Pause) and RES (Resume) commands allow the host to pause and then continue speech output. The FINW command allows the host to end a conversion after ...
Page 47
SSB SCLK MOSI MISO Type II – Two Word Transactions that Receive Data Type II transactions are four byte transactions that read out the byte count register. As these commands are all Class0, ICMD will never be active and R/ ...
Page 48
Command Byte SSB SCLK MOSI MISO Data n (even) SSB SCLK MOSI R/B MISO Type IV – Transactions reading data Type IV ...
Page 49
CODEC I NTERFACE The WTS701 processor supports analog and digital telephony in various configurations. The WTS701 can be used in digital environments, along with a DSP that controls a CODEC. Therefore, the WTS701 is configured to operate in slave ...
Page 50
Level Signed Mode (2’s Complement) Sign 13 Bit Mode Bit (MSB) +ve full scale 0 1111 1111 1000 +1 LSB 0 0000 0000 1000 Zero (ground) 0 0000 0000 0000 -1 LSB 1 1111 1111 1000 -ve full scale 1 ...
Page 51
VFS MSB Figure 17. CODEC Protocol, 13 bit, Long Frame Sync. VFS MSB Figure 18. CODEC Protocol, 16 bit, Short Frame Sync ...
Page 52
MSB Figure 19. CODEC Protocol, 16 bit, Long Frame Sync. 7 ONTROL HARACTERS The WTS701 allows receiving control characters embedded in the text sent in the Convert ...
Page 53
Table 14. Acceptable Phoneme Symbols. Vowels Phoneme Hex Value i 0x69 I 0x49 e 0x65 E 0x45 @ 0x40 u 0x75 U 0x55 o 0x6f c 0x63 a 0x61 A 0x41 R 0x52 O 0x4f Y 0x59 W 0x57 x ...
Page 54
Numbers 1 and 0 represent stress: each word has a single 1 stress, representing the main stress of the word; all other syllables have 0 stress. Examples: Input Phonetic translation hi. h1Y (phoneme /h/, followed by a 1-stress vowel phoneme ...
Page 55
Volume Change The speech volume can be changed by sending SPI command to modify the speed or by adding control character to control the volume in real-time. 0x16 ^V Volume Change Flag. A space character is required after the ...
Page 56
C A USTOMIZING BBREVIATIONS The WTS701 has support for entering and using custom abbreviations in addition to the general abbreviation table supported internally by the WTS701. There are 2K bytes of flash memory reserved for this purpose. After the ...
Page 57
Example: TTS,text to speech; After this is added using the ABBR_ADD command, when the text “TTS” is sent as part of the convert data, the WTS701 will speak “text to speech” instead Note: ...
Page 58
After abbreviation entry deletion, the abbreviation entry is only deleted from the table and not used, however it still holds memory space. The only way to free all memory will be to reprogram the WTS701 firmware into the device. 7.9 ...
Page 59
EXT O PEECH Status Commands Command Description RDST 0 II Read Status RINT 0 II Read Interrupt RVER 0 II Read version C – Q ROCESSOR OMMMANDS Opcode Hex Previous State Idle, Convert ...
Page 60
System Commands Command Description 0 I Exit Power PWUP Down mode Power PWDN Down mode RST 0 I Reset Opcode Hex Previous Result State State 02 00 Power Idle Down 40 00 Idle, Power Convert Down ...
Page 61
Synthesis Commands Command Description CONV 2 III Convert text PAUS 1 I Pause conversion RES 1 I Resume conversion Stop conversion FINW 1 I Finish word FIN 1 I Finish VLUP 1 I Volume up VLDN 1 ...
Page 62
Configuration Commands Command Description RREG 3 IV Read configuration register SCOM 1 I Set COM register SCOD 1 I Set COD register SAUD 1 I Set AUD register SVOL 1 I Set VOL register SSPD 1 I Set SPD register ...
Page 63
Customization Commands Command Description ABBR_ 3 IV Return NUM number abbreviation entries ABBR_ 3 IV Read RD abbreviation table ABBR_ 3 IV Return MEM abbreviation memory ABBR_ 2 III Add ADD abbreviation ABBR_ 1 I Delete DEL abbreviation entry ENTER ...
Page 64
Text Input Format The following table lists the ASCII characters acceptable by the WTS701E (English software version). Please refer to the specific language User’s Guide for more details regarding characters accepted and other development considerations. Note: Unexpected behavior may ...
Page 65
Buffer length limit The max. character length of a white-space-bounded string is 53. The exceeding characters will be truncated. 7.10.3. Undefined characters All the undefined characters will be deleted (prior to the word pornunciation process). The difined characters range ...
Page 66
TIMING WAVEFORMS 8.1 SPI T D IMING IAGRAM SS T sss T sclkhigh SCLK T T dih dis MOSI T pd TRISTATE MISO SS BIT 7 SCLK R/B T sclklow Figure 20. SPI Timing Specification. BIT 0 Figure 21. ...
Page 67
Table 16. SPI Timing Parameters (see Symbol Parameters T SSS SS Setup Time T SSH SS Hold Time T Data in Setup Time DIS T Data in Hold Time DIH T Output Delay PD T Output Delay to hiZ DF ...
Page 68
CODEC T D IMING IAGRAMS t fsp VFS VCLK VDX MSB Figure 22. CODEC Timing — Short Frame Sync. t fsp VFS VCLK VDX MSB Figure 23. CODEC Timing -- Long ...
Page 69
Table 17. CODEC Timing Parameters (see Symbol Parameters T Bit clock frequency clk T Frame Sync. Frequency sync D Clock Duty Cycle C T Rise Time ir T Fall Time if T Frame Sync. Pulse Width fsp T Receive Sync. ...
Page 70
ABSOLUTE MAXIMUM RATINGS Table 18. Absolute Maximum Ratings (Packaged Parts) Junction temperature Storage temperature range Voltage Applied to any pin Voltage applied to any pin (Input current limited to +/-20 mA) Lead temperature (soldering – 10 seconds ...
Page 71
ELECTRICAL CHARACTERISTICS = ° 3.3V 0V PARAMETER SYMBOL Input LOW Voltage V IL Input HIGH Voltage V IH Output LOW Voltage ...
Page 72
Table 21. Speaker Driver Specifications. PARAMETER SYMBOL SP+/- Output Voltage V SPHG (HIGH Gain Setting) SP+/- Output Load Imp. R SPLG (LOW Gain) SP+/- Output Load Imp. R SPHG (HIGH Gain) SP+/- Output Load CS P Cap. SP+/- Output Bias ...
Page 73
PARAMETER SYMBOL AUXOUT – Maximum V ANAIUT Output Swing Minimum Load R L Impedance Maximum Load C L Capacitance AUXOUT V BIAS Table 23. Volume Control Parameters. PARAMETER SYMBOL Output Gain A OUT Absolute Gain Table 22. AUXOUT Parameters. TEST ...
Page 74
TYPICAL APPLICATION CIRCUIT The following schematic diagrams are extracted from the WTS-ES701 evaluation board schematic. The evaluation system includes the following basic clusters: WTS701 processor cluster working with 3.3V, including an 8-ohm speaker, SPI connector to the host PC ...
Page 75
PACKAGE DRAWING AND DIMENSIONS 56 L TSOP(I) (14X20 MM) Publication Release Date: May 2003 - 75 - WTS701 Revision 3.09 ...
Page 76
ORDERING INFORMATION WTS701__ __ /__ Language E – English M – Mandarin For the latest product information, access Winbond’s worldwide website at http://www.winbond-usa.com Voice Package Type F – Female T – TSOP 56-leads M – Male - 76 - ...
Page 77
VERSION HISTORY VERSION DATE PAGE 3.07 Apr. 2002 1-73 3.08 Jun. 2002 1-73 3.09 May 2003 all The contents of this document are provided only as a guide for the applications of Winbond products. Winbond makes no representation or ...