The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers.    


Datasheet Search Engine   
 
Part # or Description: • 5V RS232 Driver • 2SC5066* • "Real Time Clock" • "USB connector" • "blue led" 5mm • 10 watt zener diode • 2N3055* motorola
 
Search Tip: Try entering the part number only. Include a wildcard (eg. lm317* or 1n4148*)

 

 

WINBOND SINGLE-CHIP TEXT-TO-SPEECH PROCESSOR information containe


Datasheet Thumbnail

  

Download PDF



Top Searches for this datasheet



WTS701
WINBOND SINGLE-CHIP TEXT-TO-SPEECH PROCESSOR
information contained this datasheet subject change without notice. responsibility customer check Winbond website (www.winbond-usa.com) periodically latest version this document, Errata Sheets that generated between datasheet revisions.
Publication Release Date 2003 Revision 3.09
WTS701
GENERAL DESCRIPTION
WTS701 high quality, fully integrated, single-chip Text-to-Speech solution that ideal applications such automotive appliances, GPS/navigation systems, cellular phones other portable products accessories. WTS701 product accepts ASCII (Unicode Big5 Mandarin) input port converts spoken audio analog output digital CODEC output. WTS701 integrates text processor, smoothing filter multi-level memory storage array single-chip. Text-to-speech conversion achieved processing incoming text into phonetic representation that then mapped corpus naturally spoken word parts. synthesis algorithm attempts largest possible word unit appropriate context maximize natural sounding speech quality. speech units stored uncompressed multi-level, non-volatile analog storage array provide highest sound quality density trade-off. This unique, single-chip solution made possible through Winbond's patented multilevel storage technology. Voice audio signals stored directly into solid-state memory their natural, uncompressed form, providing superior quality voice reproduction. chip programmed through port, allowing downloading different languages speaker databases when made available Winbond.
WTS701
FEATURES
Fully Integrated Solution
Single-chip compact text-to-speech translation algorithm development required Selectable digital analog audio output Simple interface Reprogrammable solution enables loading different voice language
Text-To-Speech Algorithm Characteristics
High quality speech synthesis using speech element concatenation Winbond's standard 100-year speech retention Audio stored uncompressed analog waveform industry's highest quality most natural sounding
Easy Control
Real time conversion streaming text General text preprocessing normalization User customization special characters such icons chat emoticons User customization application specific abbreviations
Language Support
Support U.S. English Mandarin (Beijing dialect) Other languages development planning
Device Management
Accepts ASCII, Unicode Big5 streaming text 256-byte text buffer Playback Phonetic Alphabet Variable speed playback Control pitch change Supports Power Down mode. Supports Pause Resume, Stop Finish text conversion commands Embedded characters support control speed, volume, case sensitivity, silent behavior
Peripheral Control
16-bit linear slave interface output support serial port control commands status report system's host controller Hardware handshake control signals Analog audio output with speaker driver, digital volume control line level Analog audio input (AUXIN) driving external audio speaker
Power Consumption
+2.7 +3.3V (VCC) Supply Voltage Operating Current: Convert (typical) Standby Current: (typical)
Device Characteristics
Available 56-lead TSOP package Industrial temperature range (-40C +85C) 3V/5V logic tolerance
Publication Release Date: 2003 Revision 3.09
WTS701
BLOCK DIAGRAM
3.1. WTS701 BLOCK DIAGRAM
MOSI MISO SCLK R/B\ INT\ XTAL1 XTAL2
INTERFACE
CONTROL LOGIC FLASH CODESTORE MEMORY (ROM) PROCESSOR
RESET
CLOCK GENERATION HIGH VOLTAGE GENERATION PHOENEME MEMORY
REFERENCE GENERATION
Spkr.
ANALOG SIGNAL
AUXIN
CONDITIONING CODEC LINEAR/ COMPLEMENT
Power Conditioning
VCLK
VCCA
VSSA
VSSA
VSSD
VSSD
VCCD
VCCD
Figure WTS701 Block Diagram.
WTS701
3.2. WTS701 TYPICAL APPLICATIONS
Baseband Processor
WTS701
MOSI MISO SCLK R/B\ INT\ VCLK
CODEC
HOST Controller
DOUT
AUXOUT AUXIN
Figure WTS701 Configuration Digital (CODEC) Environment.
WTS701
MOSI MISO SCLK R/B\ INT\ VCLK
HOST Controller
AUXOUT AUXIN
Line Line
Figure WTS701 Configuration Analog Environment
Publication Release Date: 2003 Revision 3.09
WTS701
TABLE CONTENTS
GENERAL DESCRIPTION. FEATURES BLOCK DIAGRAM 3.1. WTS701 Block Diagram 3.2. WTS701 Typical Applications. TABLE CONTENTS CONFIGURATION DESCRIPTION FUNCTIONAL DESCRIPTION. Text-To-Speech Mechanism 7.1.1 Text Normalization 7.1.2 Words-to-Phoneme conversion 7.1.3 Phoneme Mapping Physical Interface 7.2.1 Clocking Requirements. 7.2.2 Power Down Mode. 7.2.3 Power Grounding 7.2.4 Interface 7.2.5 Flow Control Interface 7.2.6 CODEC Interface 7.2.7 Analog Interface. 7.2.8 Resetting Communication Protocol. 7.3.1 Command Classes. 7.3.2 Status Register. 7.3.3 Interrupt Handler 7.3.4 BCNT Byte Count Register. 7.3.5 Command Acceptance. 7.3.6 Data Acceptance. Commands Overview 7.4.1 Command Description 7.4.2 Illegal Commands 7.4.3 Configuration Registers 7.4.4 System Operation 7.4.5 Initialization Configuration.
WTS701
7.4.6 Converting Text. Interface 7.5.1 Transactions. CODEC Interface. Control Characters. 7.7.1 Phonetic Alphabet Playback 7.7.2 Speed Change 7.7.3 Volume Change 7.7.4 Case Sensitivity. 7.7.5. Pause Control Customizing Abbreviations 7.8.1 Abbreviation Data Format 7.8.2 Abbreviation Table Format. 7.8.3 Command Execution. Device Programming 7.10 Text-To-Speech Processor Commmands Quick Reference Table. 7.10.1 Text Input Format. 7.10.2. Buffer length limit 7.10.3. Undefined characters. TIMING WAVEFORMS Timing Diagram. CODEC Timing Diagrams ABSOLUTE MAXIMUM RATINGS. ELECTRICAL CHARACTERISTICS TYPICAL APPLICATION CIRCUIT PACKAGE DRAWING DIMENSIONS ORDERING INFORMATION. VERSION HISTORY
Publication Release Date: 2003 Revision 3.09
WTS701
CONFIGURATION
following sections detail pins WTS701 processor. Table shows pins signals that them different configurations. also shows type direction each signal. Figure shows physical 56-pin TSOP package.
AUXOUT AUXIN SPNC
TS701
Figure 56-pin TSOP Package Connection Diagram.
WTS701
DESCRIPTION
Table WTS701 Signal Assignment. 2,36,44 SYMBOL VSSA VCLK Analog Ground pins. CODEC master clock CODEC frame synchronization signal CODEC data output. This puts data linear unsigned complement format. tri-stated until user requests CONVERT operation. Master Slave pin. Serial data line used communicate with master. tri-state when XTAL2 XTAL1 CRYSTAL This crystal oscillator output. inversion XTAL1. CRYSTAL This crystal oscillator input. This driven external clock. clock WTS701 processor configured clock configuration register, which host processor during initialization phase. Digital Ground pin. Positive Digital Voltage Supply pin. These pins carry noise generated internal clocks chip. They must independently bypassed Digital Ground ensure correct device operation connected together. Interrupt Output; open drain output that indicates that device wishes interrupt service. device request interrupt when finishes operation needs more data process. Under what conditions device generates interrupt configured through user configuration registers. This remains until Read Interrupt command executed. Master Out, Slave Serial data input from Master Open Drain Slave Select input. This active input used select device respond transaction. Serial clock input. Chip Select (active LOW) must access WTS701 device. Ready/busy signal; This defaults HIGH indicating device ready data transfer. driven handshake pause data transfer Open Drain. FUNCTION
MISO
9,10 11,12
VSSD VCCD
MOSI
SCLK
Publication Release Date: 2003 Revision 3.09
WTS701
SYMBOL RESET ATTCAP SPSP+ VCCA Global reset signal. AutoMute Capacitor Pin. Should have 4.7uF capacitor VSSA. Differential Negative Speaker Driver Output. Differential Positive Speaker Driver Output. Positive Analog Voltage Supply pin. This supplies level audio sections device. should carefully bypassed Analog Ground ensure correct device operation. Analog input pin. This should capacitively coupled. page example. Analog Output single ended output from device. Connected must floating. FUNCTION
1,1724,2835,3739,41,43, 45,47,4951,53,5556
AUXIN AUXOUT
Note: TYPE I:Input, O:Output, bi-directional, P:Power, G:Ground
WTS701
FUNCTIONAL DESCRIPTION
real System-On-Chip solution, WTS701 performs overall control functions host controller text-to-speech processing. WTS701 system architecture consists following functions: Serial interface monitor port interpret commands data Text normalization module pre-process incoming text into pronounceable words Words phoneme translator, which converts incoming text phoneme codes Phoneme mapping module that maps incoming phonemes words, sub-words, syllables phonemes present memory Volume speed adjustments Digital analog output blocks off-chip usage
WTS701 system performs text-to-speech synthesis based concatenative samples. units concatenation vary from whole words down phoneme units. convention that larger sub-word unit used synthesis higher quality speech output. corpus pre-recorded words stored Winbond's patented multilevel storage (MLS) memory mapping various sub-word parts held lookup table. speech creation achieved concatenation these speech elements produce words. system process flow shown Figure
WTS701 Serial Text, symbols Control
Text Normalization
Words Phoneme
Phoneme Mapper Digital output
Memory
Speech
Analog output
Figure WTS701 System Process Flow.
Publication Release Date: 2003 Revision 3.09
WTS701
TEXT-TO-SPEECH MECHANISM
text speech component system consists three principal blocks:
Text normalization Word phoneme conversion Phoneme mapping
7.1.1 Text Normalization
Text normalization involves translation incoming text into pronounceable words. includes such functions expanding abbreviations translating numeric strings spoken words. involves certain amount context processing determine correct spoken form. addition, WTS701 looks into abbreviation list stored device's internal memory converts acronyms, abbreviations special characters (such Instant Messaging icons emoticons) into appropriate text representation. default abbreviation list supported WTS701 general that cannot modified user match domain that text being loaded from. default list overridden user abbreviation list. This enables flexibility adding abbreviation specifically text either developer even user best customize product preferences. Instant Messaging Short Messages Service (SMS) unique characters supported through this functionality well, defining icon, ASCII/Unicode/Big5 text, replacement. default abbreviation list supported described specific language release letter.
7.1.2 Words-to-Phoneme conversion
Once data stream been translated pronounceable words, system next determines pronounce them. This function obviously highly language dependent. language such English impossible break this task down definitive rules. task achieved combination rule based processing together with exception processing.
7.1.3 Phoneme Mapping
This algorithm maps phoneme strings into phonetic inventory. This task falls into portions. First, word must split into sub-word portions. This splitting must done appropriate phonetic boundaries achieve high quality concatenation. Once sub-word unit determined, inventory searched determine match present. matching weight assigned each match depending closely phonetic context matches. Each sub-word left right side context match well phoneme string itself. suitable match found inventory, then sub-word further split tree like manner until match found. splitting tree processed from left right each time successful match occurs address duration match corpus placed queue phonetic parts played audio interface.
WTS701
PHYSICAL INTERFACE
following sections describe physical properties timing associated with physical interface device. Note that input pins tolerant, except signal which only tolerant.
7.2.1 Clocking Requirements
WTS701 processor receive clock from either external clock source crystal oscillator. XTAL1 XTAL2 pins provide crystal interface device. clock WTS701 processor configured clock configuration register, which must host processor during initialization phase. Figure below shows connect WTS701 crystal oscillator. external clock connected WTS701 providing clock source system, shown Figure
15pF 24.576MHz
WTS701 XTAL1 XTAL2
WTS701
XTAL1
XTAL2
Figure Clock Generation.
Suggested Crystal Specification: 24.576 Fundamental Mode Operation maximum
Publication Release Date: 2003 Revision 3.09
WTS701
7.2.2 Power Down Mode
Upon application power, WTS701 will enter RESET state then POWER DOWN state. POWER DOWN mode, only Class0 commands valid. (See subsection 7.3.1). Power Down status device determined with RDST (Read Status) command, specified STATUS BYTE Issuing PWDN (Power Down) command WTS701 processor will return processor POWER DOWN mode. POWER DOWN mode external crystal oscillator shut processor deactivated. POWER DOWN mode exited issuing PWUP (Power command WTS701. PWUP command should preceded SCLC (Set Clock) command ensure correct clock configuration.
7.2.3 Power Grounding
WTS701 operate over 2.7V 3.3V supply voltage range. power supply ground pins (VCCA, VCCD, VSSA, VSSD) should carefully bypassed close chip possible ensure high quality audio. addition, ATTCAP should have capacitor connected ground. This must left floating. pins that marked (Not Connected), MUST left floating.
VCCA, VCCD (Voltage Inputs)
minimize noise, analog digital circuits WTS701 device separate power busses. These +3.0 busses lead separate pins. optimal noise immunity, VCCD pins together close possible decouple both supplies near package possible.
VSSA, VSSD (Ground Inputs)
WTS701 series utilizes separate analog digital ground busses. analog ground (VSSA) pins should tied together close package possible connected through lowimpedance path power supply ground. digital ground (VSSD) should connected through separate low-impedance path power supply ground. These ground paths should large enough ensure that impedance between VSSA pins VSSD less than backside connected VSSD through substrate resistance.
(Not Connect)
These pins MUST connected board time. Connection these pins signal, ground result incorrect device behavior cause damage device.
WTS701
7.2.4 Interface
Communications with WTS701 conducted over serial communications port. device responds command when Chip Select signal addressed active signal (Slave Select) pin. Under this condition, accepts data MOSI input, which clocked rising edges serial clock (SCLK) signal. Concurrently, valid data from WTS701 device master available MISO HIGH period SCLK. protocol implemented WTS701 defines that first bytes data sent transaction command word. transaction defined transfers conducted while LOW, transaction ends when returns HIGH. list available commands found subsection 7.10 (Text-To-Speech Processor Commands Quick Reference Table). data flow over interface first, both WTS701.
Input pins tolerant, except signal which only tolerant. following description WTS701 interface signals:
SCLK (Serial Clock)
Serial Clock line digital input. driven master controls timing data exchanged over data lines, MOSI MISO. maximum frequency this MHz.
(Slave Select)
Slave Select line active digital input. driven master acts chip select line. device only responds transactions when this line selected (LOW) then raised HIGH after communication ends.
(Chip Select)
Chip Select line active digital input. driven host controller enable transactions device. Normally this tied unless more than device share same signal.
MOSI (Master Out, Slave
MOSI line digital input. MOSI driven master. provides data transfer, first, from master slave. (See page
MISO (Master Slave Out)
MISO line open drain digital output. When HIGH, this tri-state. When LOW, MISO driven device. provides serial data transfer, first, from slave master.
Publication Release Date: 2003 Revision 3.09
WTS701
7.2.5 Flow Control Interface
addition interface, WTS701 control lines facilitate data transfer host communications. (interrupt) used WTS701 request interrupt service from host controller. interrupt types that device generates controlled communications control register command (SCOM). (ready/busy) used control flow data across bus. When this signal HIGH, device accept more data. When LOW, transactions must paused terminated.
(Interrupt) open drain output pin. WTS701 interrupt goes stays when interrupt event occurred, defined SCOM command. interrupt cleared when RINT (read interrupt) command executed. status register defines what type interrupt occurred.
(Ready/Busy Signal)
line output open drain used control data transfer rate across port. line used handshake signal Master indicate when device ready more data. When HIGH, master free send more data. When LOW, device busy cannot accept more data.
7.2.6 CODEC Interface
WTS701 provides chip interface digital environment systems, supporting slave CODEC interface mode. WTS701 CODEC interface controlled external source hence WTS701 only transmits data. Thus, effectively analog-to-digital converter. Each analog sample converted digital word. This digital word transmitted with first. Since host expects either data short frame format, either three zeros appended LSB. interfaces baseband CODEC VCLK, lines. Refer Figure more information about connection between WTS701 CODEC. Input pins tolerant. following description WTS701 CODEC interface signals:
VCLK (CODEC Clock Line) CODEC clock line supplies sampling clock internal CODEC. This digital input expects 512kHz-2.048MHz clock.
WTS701
(CODEC Synchronization Line) CODEC synchronization line supplies frame synchronization signal internal CODEC. This digital input. After receipt synchronization pulse, CODEC will output data line. line expects 8kHz sample rate supports both short frame long frame synchronization signal. (CODEC Data Transmit Line) CODEC data transmit line digital output that places digital audio data onto CODEC bus. line tri-state condition until device transmit data. data output from line selected SCOD Command. When WTS701 places data line, required that line should tri-state condition when another device connected CODEC well.
7.2.7 Analog Interface
WTS701 provides on-chip analog interface audio output speaker driver output buffer capable driving load. Additionally, analog input (AUXIN) allows audio signal through WTS701 chip either output device. command SAUD configures analog path. digitally controlled attenuator provides volume control SVOL command. following description analog pins:
AUXIN (Analog Input)
AUXIN additional audio input WTS701. This input nominal level minimum gain setting (See Table Additional gain available steps (controlled SAUD Command) equivalent circuit input amplifier shown Figure (Must coupled)
Internal device
CCOUP
NOTE: fCUTOFF= COUP
Figure AUXIN Input Amplifier.
Publication Release Date: 2003 Revision 3.09
WTS701
Table AUXIN Gain Settings. 0TLP Input VP-P1 Register AIG1 AIG0 Gain2 Gain2 (dB) Resistor Ratio (Rb/Ra) 40.1 40.1 47.0 33.2 53.5 26.7 59.2 Speaker VP-P3
0.694 0.491 0.347 0.245
1.00 1.41 2.00 2.82
1.388 1.388 1.388 1.388
OTLP Input reference Transmission Level Point that used testing. This level typically below clipping. From AUXIN AUXOUT. Measured differentially SP+/SP-.
AUXOUT (Analog Output) AUXOUT audio output used provide analog output synthesized speech from WTS701. drives minimum load maximum p-p. signal superimposed approximately bias must capacitively coupled load. This output stage powered down clearing AOPU SAUD command. SP(Speaker +/-)
This speaker differential output circuit. designed drive speaker connected across speaker pins maximum 23.5 power. This stage selectable gains 1.32 1.6, which chosen through SAUD command. These pins biased approximately and, used single-ended, must capacitively coupled their load. ground unused pin. This output stage powered down clearing SPPU SAUD command.
ATTCAP (AutoMute Attenuator Capacitor)
This provides capacitor connection setting AutoMute. should have capacitor connected ground cannot left floating. AutoMute circuit reduces amount noise present output during quiet pauses.
7.2.8 Resetting
chip internal power-on reset circuit that ensures correct initialization upon application power. reset signal must held HIGH 0.5µs achieve reset (see Figure WTS701 RESET state. Once WTS701 completes reset, will enter POWER DOWN mode. Before issuing active commands, clock configuration device power command must issue POWER DOWN mode. Issuing Reset command (RST) resets WTS701 processor initial POWER DOWN state. Applying reset pin, while chip active, allows host processor reset WTS701 default values IDLE state.
WTS701
ESET
Figure Reset Condition Timing.
COMMUNICATION PROTOCOL
WTS701 controlled series transactions send commands device. general format transaction shown Figure transaction always started sending command word. command word consists command byte followed command data byte. same time, status register shifted MISO line. What follows depends what command sent. general case that following command word, n-bytes data sent device n-bytes read from device. transaction finished when returned HIGH condition.
MOSI BYTE STATUS BYTE DATA STATUS BYTE DATA0 DATA0 DATA1 DATA1
DATAn DATAn
MISO
time
Figure Transaction Format.
Publication Release Date: 2003 Revision 3.09
WTS701
7.3.1 Command Classes
transactions WTS701 fall into four classes. four classes represent variations command, associated data, handled. class command defined most significant bits command byte. summary command classes given below
Class Commands
These commands that executed irrespective state WTS701. That command will execute even device busy powered down. These commands executed internally hardware command interpreter. commands class require that WTS701 powered state. Example class command Read Status (RDST) command.
Class Commands
Class commands require interpretation internal firmware WTS701. Class commands consist only command byte command data byte. further data sent transaction ignored. Class commands most often used setting configuration register device sending commands that have data such conversion pause (PAUS) command.
Class Commands
Class commands have associated data. After command word, data bytes following loaded into internal FIFO buffer processing. this FIFO becomes full, signal asserted (LOW) indicating that host must pause data transfer. alternative monitoring line, status register monitored instead (see subsection 7.3.2) RDST command. cannot used intra-byte flow control, e.g. string characters sent, only every other byte checked.
Class Commands
Class commands have data return host. line will busy immediately following command word indicating that WTS701 fetching requested data. Data into BCNT0 BCNT1 (see subsection 7.3.4) registers read subsequent bytes after released. more than bytes returned from command, will again asserted until data ready read. primary Class commands read contents internal configuration registers such RREG command.
WTS701
7.3.2 Status Register
WTS701 sixteen-bit status register whose value returned host controller during command word. class commands, status register repeatedly returned every bytes. This status register provides host with information regarding current status chip. host decide required actions with this information. Status Register echoed back commands.
Table Status Bytes. Status Byte Status Byte ICNT IBUF Reserved ICNV Reserved Reserved BFUL Reserved BEMP IABB CNVT Reserved ICMD
contents status bytes described Table
Publication Release Date: 2003 Revision 3.09
WTS701
Table Status Description. Byte Name
CNVT
Ready accept commands. After device been powered this after Power latency delay. Converting. This anytime while conversion process running. this clear when convert command sent, count Count register text input buffer empty. This anytime input buffer empty. text input buffer full. This cleared after bytes become available input buffer. CODEC enabled. This when CODEC been enabled SCOD command. Conversion finished interrupt occurred. stop CODEC transmission Power Down analog outputs IDLE command should sent. This cleared RINT command. input text buffer been filled above defined threshold then gone below defined threshold. buffer threshold level SCOM command. SCOM command, will also LOW. This cleared RINT command.
BEMP BFUL
Status Byte
ICNV
IBUF
ICNT
Count interrupt occurred. This interrupt generated every time word been spoken activated SCOM command. This cleared RINT command. Command ignored. Anytime ICMD set, transaction must revert single word command command must resent. data sent will ignored. Abbreviation interrupt occurred, abbreviation abbreviation delete been completed. ENTER_RRSM command sent. Current state pin. this data sent will ignored.
ICMD
Status Byte
IABB
bits reserved.
7.3.3 Interrupt Handler
interrupt occurred, further interrupts will registered until first interrupt been cleared. Only interrupt active time. RINT command will read clear pending interrupts while RDST command will read interrupts without clearing them. Make sure that interrupts that being used masked clearing corresponding bits register.
WTS701
7.3.4 BCNT Byte Count Register
byte count register (BCNT) tool host keep track where conversion WTS701 When conversion started, byte count register reset zero. each word defined white-space separated characters) spoken, byte count register updated point first character next word spoken. this way, host position conversion user wishes repeat skip text. BCNT register sent with BCNT1 (MSB) first BCNT0 (LSB) second.
7.3.5 Command Acceptance
WTS701 processes commands data they sent device. Under certain conditions device will ready accept command data. device finished processing previous command, ICMD status register will set. this set, implies that device position accept command being sent that will ignored. host should monitor this when command sent and, detected, transaction should terminated command word. host then resend command until command accepted.
7.3.6 Data Acceptance
WTS701 eight byte FIFO buffer data from port internal processor. During conversion, data read from this FIFO into internal data buffer. transmission fast WTS701 keep with, line will asserted (LOW) pause data transfer. Alternatively, STATUS register monitored state signal.
COMMANDS OVERVIEW
Control WTS701 implemented through 16-bit command word. command word always first word follow falling edge signal. command word consists command byte followed command data byte. Many commands require command data byte, although must sent. commands that have data, command data byte `don't care'. Commands fall into five categories. Commands that control operational synthesis function text-to-speech processing, commands that modify internal configuration registers, commands that change system state, commands that read internal status registers, customization commands.
Publication Release Date: 2003 Revision 3.09
WTS701
Status Commands Table Status Opcodes.
WTS701 three read-only registers accessed opcodes, which shown right.
Opcode
Mnemonic
Function
0x04
RDST RINT RVER
Read Status Register Read Interrupt Register Device Version
0x06 Read Status Register returns device's 0x12 operational status numbers bytes that have been converted.
Read Interrupt Register returns same status data clears interrupt status bits that set. Version Register returns hardware firmware version chip.
System Commands Table System Opcodes.
WTS701 responds various system commands that change state system, namely:
Opcode
Mnemonic
Function
0x02 0x40 0x10
PWUP PWDN
Power Power Down Reset
Power command wakes device from POWER DOWN mode.
0x57 IDLE Idle Power Down command requests that device enter POWER DOWN mode. Reset command resets device (see subsection 7.4.4). Idle command puts WTS701 processor IDLE mode
WTS701
Synthesis Commands Table Synthesis Opcodes.
synthesis commands affect text-to-speech synthesis. They detailed table right. basic commands are: Start conversion Pause conversion Resume conversion Stop conversion Finish conversion current word. Finish conversion buffer Volume up/down Speed up/down text-tospeech conversion
Opcode
Mnemonic
Function
0x81 0x49 0x4A 0x4B 0x4D 0x4C 0x53 0x54 0x55 0x56
CONV PAUS FINW VLUP VLDN SPUP SPDN
Start Converting Pause Conversion Resume Conversion Stop Conversion Finish Word Finish Buffer Volume Volume Down Speed Conversion Slow Down Conversion
Configuration Commands Table Configuration Opcodes.
WTS701 several configuration registers. commands are:
Opcode
Mnemonic
Function
configuration register governs behavior chip uses hardware lines communicate with host
0xC0 0x4E 0x4F 0x50 0x51 0x52 0x14 0x77
RREG SCOM SCOD SAUD SVOL SSPD SCLC SPTC
Read Configuration register Configuration register CODEC Configuration register AUDIO Configuration register Configuration register SPEED Configuration register (Clock) register Configuration
CODEC register configures mode digital audio output AUDIO register sets parameters analog audio path
Speech Pitch
VOLUME register sets volume level output SPEED register sets speed level output speech register sets master clock frequency device SPTC command sets speech pitch
Publication Release Date: 2003 Revision 3.09
WTS701
Customization Commands Table Customization Opcodes.
WTS701 ability user customize which responds certain text strings. This done abbreviation table. customization opcodes allow user interrogate modify abbreviation table.
Opcode
Mnemonic
Function
0xC8 0xC9 0xC7 0xAF 0x83 0x0C
ABBR_NUM ABBR_RD ABBR_MEM ABBR_ADD ABBR_DEL ENTER_RRSM
number abbrev. entries Read abbreviation table number free bytes. abbrev. entry Delete abbrev. entry Swap memory
7.4.1 Command Description
following section list standard commands that executed WTS701.
PWDN POWER DOWN Mode
This command puts WTS701 processor power-down mode. This single word command therefore data required this command. Power Down command places WTS701 device into lowest power consumption mode. POWER DOWN mode, device will only respond Power command (PWUP) Read Status (RDST) command. soon Power Down sequence ended, flag status word cleared.
PWDN
Byte Sequence: Description:
PWUP Power
Class WTS701
Type
0x40 0x00 Status Byte
Host controller
Status Byte
WTS701 processor power-down mode.
This command wakes WTS701 processor IDLE state. result this command that WTS701 starts power sequence, which leads bringing internal supplies, resetting processor, configuration registers initialized their default values entering IDLE state. soon power sequence ended, flag status word asserted. SCLC command must sent BEFORE PWUP.
WTS701
PWUP
Byte Sequence: Description:
CONV
Class WTS701
Type
0x02 0x00 Status Byte
Host controller
Status Byte
Wake WTS701 processor IDLE state.
Convert
convert command starts text speech conversion process. convert command followed ASCII text data. device buffer bytes. When this buffer full, chip pulls line sets BFUL status word indicating that WTS701 buffer manager buffer full condition. WTS701 remains buffer full condition until input buffer been emptied half buffer space (128 bytes). When buffer full, Host three things: Host command that point, then poll BFUL status register until clear, then send CONV commands with additional ASCII text data.
Host also continue command (keep LOW) wait HIGH. each word processed WTS701, space will become free buffer will HIGH until full again. device also configured such that will generate interrupt host when buffer threshold (set RCOM command) been crossed. (See Tables This allows host fill buffer then wait Interrupt send additional data. During conversion, Convert Count Register updated each word been spoken. This register cleared zero power beginning conversion process after been terminated. convert command terminated several ways:
Send finish command (FIN) indicating that host finished sending data. this case, device finishes converting text buffer, then stops enters wait state. conversion process will also stop when (^D, ASCII 0x1A, UNICODE/Big5 0x00 0x1A) character part input text. When device detects character, will continue conversion process until buffer emptied final word spoken. Then will stop enter wait state. finish word command (FINW) will cause WTS701 device finish word currently being spoken, then flush buffers enter wait state.
Publication Release Date: 2003 Revision 3.09
WTS701
stop command (ST) will cause WTS701 immediately stop converting, flush buffer enter wait state. Once wait state been entered device will clear convert (CONV) from status register and, enabled, generate ICVT interrupt. this stage CODEC analog path still active. release CODEC bus, Power Down analog path, IDLE command should sent device. convert command terminated using methods described this section, another convert command cannot sent until previous conversion completed. CNVT must polled determine that conversion completed before conversion started.
CONV
Byte Sequence: Description:
Class WTS701
Type 0x81 Stadus Byte
0x00 Status Byte DATA0 Status Byte DATAn Status Byte
Host controller
Start continue conversion process. Data sent text data conversion.
PAUS
PAUSE
This command causes pause conversion process. There data associated with this command. pause condition terminated (Resume) command
PAUS
Byte Sequence: Description:
Class WTS701
Type
0x49 0x00 Status Byte
Host controller
Status Byte
This command pauses conversion process.
RESUME
This command causes conversion resume paused. There data associated with this command
Byte Sequence: Description:
Class WTS701
Type
0x4A 0x00 Status Byte
Host controller
Status Byte
This command resumes conversion after pause.
WTS701
STOP
This command immediately stops conversion without finishing buffer, clears buffer.
Byte Sequence: Description:
Class WTS701
Type
0x4B 0x00 Status Byte
Host controller Stop conversion.
Status Byte
FINW
FINISH WORD
This command directs WTS701 finish text conversion current word.
FINW
Byte Sequence: Description:
Class WTS701
Type
0x4D 0x00 Status Byte
Host controller
Status Byte
This indicates that conversion with processing current word.
FINISH
This command indicates that further conversion data follow stop conversion after processing current buffer contents.
Byte Sequence: Description:
Class WTS701
Type
0x4C 0x00 Status Byte
Host controller
Status Byte
Finish conversion after processing current buffer.
Publication Release Date: 2003 Revision 3.09
WTS701
IDLE IDLE
This command executed after receipt end-of-conversion interrupt (ICNV) occurred. IDLE command will deactivate audio outputs bring device IDLE state.
IDLE
Byte Sequence: Description:
Class WTS701
Type
0x57 0x00 Status Byte
Host controller WTS701 IDLE state.
Status Byte
RDST
READ STATUS
Read Status command reads status word device. dummy data bytes also sent, contents byte count register also returned. Refer subsections 7.3.2 7.3.4 more information regarding STATUS register BCNT register.
RDST
Byte Sequence:
Class
Type
0x00 Status Byte 0x00 BCNT 0x00 BCNT0
Host controller WTS701
0x04 Status Byte
Description:
Read Status word device.
RVER
READ VERSION
Read version command reads WTS701 version information. software version information only valid when device powered
RVER
Byte Sequence: Description:
Class WTS701
Type 0x12
0x00 Status Byte 0x00 0x00
Host controller
Status Byte
Read WTS701 Software Hardware versions.
WTS701
RINT READ INTERRUPT
Read Interrupt command reads status word device, also clears status interrupt request flags transaction. result this command, interrupt bits cleared released. Refer subsections 7.3.2 7.3.4 more information regarding STATUS register BCNT register.
RINT
Byte Sequence: Description:
Class WTS701
Type 0x06
0x00 Status Byte 0x00 BCNT1 0x00 BCNT0
Host controller
Status Byte
Read status word clear status interrupt bits.
RREG
READ CONFIGURATION REGISTER
read configuration register command reads configuration register specified command data byte. code 0xNN register number described Table Configuration Registers, subsection 7.4.2.
RREG
Byte Sequence: Description:
Note: don't care.
Class WTS701
Type 0xC0
0xNN Status Byte 0x00 0x00
Host controller
Status Byte
Read configuration register 0xNN.
SCOM
REGISTER
(interrupt communication) configuration register value 0xNN. Refer subsection 7.4.3 describing configuration registers register particular. Default value this register after Power-Up Reset 0x00. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SCOM
Byte Sequence: Description:
Class WTS701
Type
0x4E 0xNN Status Byte
Host controller
Status Byte
(interrupt communication) configuration register value 0xNN.
Publication Release Date: 2003 Revision 3.09
WTS701
SCOD REGISTER
(CODEC control) configuration register value 0xNN. Default value this register after Power-Up Reset 0x01. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SCOD
Byte Sequence: Description:
Class WTS701
Type
0x4F 0xNN Status Byte
Host controller
Status Byte
(CODEC control) configuration register value 0xNN.
SAUD
REGISTER
(analog audio) configuration register value 0xNN. Default value this register after Power-Up Reset 0x43. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SAUD
Byte Sequence: Description:
Class WTS701
Type
0x50 0xNN Status Byte
Host controller
Status Byte
(analog audio) configuration register value 0xNN.
SVOL
REGISTER
(volume) configuration register value 0xNN. Default value this register after Power-Up Reset 0x07. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SVOL
Byte Sequence: Description:
Class WTS701
Type
0x51 0xNN Status Byte
Host controller
Status Byte
(volume) configuration register value 0xNN.
WTS701
SSPD REGISTER
(speech rate/speed) configuration register value 0xNN. Default value this register after Power-Up Reset 0x02. Refer subsection 7.4.3 Configuration Registers, which describe register bits.
SSPD
Byte Sequence: Description:
Class WTS701
Type
0x52 0xNN Status Byte
Host controller
Status Byte
(speech rate/speed) configuration register value 0xNN.
SCLC
REGISTER
Clock configuration register (CLC) value 0xNN. value this register must before Power-Up Reset command 0x00. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SCLC
Byte Sequence: Description:
Class
Type
0x14 0xNN
Host controller
WTS701 Status Byte Status Byte Clock configuration register (CLC) value 0xNN.
SPTC
SPEECH PITCH
speech pitch value 0xNN. valid pitch values between 0x00 0x06 while default pitch value 0x05, these values used control speech output pitch. command executed only when WTS701 IDLE state.
SPTC
Byte Sequence: Description:
Class WTS701
Type
0x77 0xNN Status Byte
Host controller
Status Byte
speech pitch parameter value 0xNN.
Publication Release Date: 2003 Revision 3.09
WTS701
VLUP VOLUME-UP COMMAND
Increment volume (VOL) register. effect already maximum volume. Default value this register after Power-Up Reset 0x07. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
VLUP
Byte Sequence: Description:
Class WTS701
Type
0x53 0x00 Status Byte
Host controller
Status Byte
Increment volume (VOL) register.
VLDN
VOLUME DOWN COMMAND
Decrement volume (VOL) register. This effect already minimum volume. Default value this register after Power-Up Reset 0x07. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
VLDN
Byte Sequence: Description:
Class WTS701
Type
0x54 0x00 Status Byte
Host controller
Status Byte
Decrement volume (VOL) register.
SPUP
SPEED COMMAND
Increase speaking rate (SPD register). This effect already maximum speaking rate. Default value this register after Power-Up Reset 0x02. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SPUP
Byte Sequence: Description:
Class WTS701
Type
0x55 0x00 Status Byte
Host controller
Status Byte
Increase speaking rate (SPD register).
WTS701
SPDN SPEED DOWN COMMAND
Decrease speaking rate (SPD register). effect already minimum speaking rate. Default value this register after Power-Up Reset 0x02. Refer subsection 7.4.3 Configuration Registers, which describes register bits.
SPDN
Byte Sequence: Description:
Class WTS701
Type
0x56 0x00 Status Byte
Host controller
Status Byte
Decrease speaking rate (SPD register).
RESET COMMAND
Sending this command same affect Power-On reset, WTS701 enters POWER DOWN state.
Byte Sequence: Description:
Class WTS701
Type
0x10 0x00 Status Byte
Host controller Reset WTS701 device.
Status Byte
ABBR_ADD
ABBREVIATION
entry abbreviation table.
ABBR_ADD
Byte Sequence: Description:
Class WTS701
Type 0xAF Status Byte
0x00 Status Byte DATA0 Status Byte DATAn Status Byte
Host controller
entry abbreviation table.
Publication Release Date: 2003 Revision 3.09
WTS701
ABBR_MEM RETURN ABBREVIATION MEMORY
ABBR_MEM command will return number bytes available abbreviation table MEM_HI MEM_LOW.
ABBR_MEM
Byte Sequence: Description:
Class WTS701
Type 0xC7 Status Byte
0x00 Status Byte 0x00 MEM_HI 0x00 MEM_LOW
Host controller
Return number bytes available abbreviation table.
ABBR_NUM
RETURN NUMBER ABBREVIATION ENTRIES
ABBR_NUM command will return number abbreviation entries abbreviation table NUM_HI NUM_LOW.
ABBR_NUM
Byte Sequence: Description:
Class WTS701
Type 0xC8 Status Byte
0x00 Status Byte 0x00 NUM_HI 0x00 NUM_LOW
Host controller
Return number abbreviation entries abbreviation table.
ABBR_RD
READ ABBREVIATION TABLE
ABBR_RD command will return abbreviation table. This command must read 2048 bytes after receiving Status register.
ABBR_RD
Byte Sequence: Description:
Class WTS701
Type 0xC9
0x00 Status Byte 0x00 ABBR0 0x00 ABRRn
Host controller
Status Byte
Return 2048 bytes abbreviations.
WTS701
ABBR_DEL DELETE ABBREVIATION ENTRY
This command deletes abbreviation entry from abbreviation table.
ABBR_DEL
Byte Sequence: Description:
Class WTS701
Type 0x83
0x00 Status Byte DATA0 Status Byte DATAn Status Byte
Host controller
Status Byte
Delete entry from abbreviation table.
ENTER_RRSM SWAP MEMORY
This command used programming mode, causes xdata code store memory swap spaces. Please refer subsection more information about customizing abbreviations.
ENTER_RRSM
Byte Sequence: Description:
Class WTS701
Type
0x0C 0x00 Status Byte
Host controller
Status Byte
Swap memory between xdata code store.
7.4.2 Illegal Commands
commands described section 7.4.1 only legal commands that should sent WTS701 device, unless stated otherwise. Other commands should sent device, device behavior cannot predicted. Specific illegal commands those which Most Significant Bits Command Byte zeros defined this document commands allowed sent WTS701.
7.4.3 Configuration Registers
configuration registers accessed sending appropriate configuration command followed single byte data load register. definition contents various registers given below. default value each these registers after Power Reset also described Table
Publication Release Date: 2003 Revision 3.09
WTS701
Table Configuration Registers.
Register
Reg. 0x4E 0x4F 0x50 0x51 0x14 0x52
Default 0x00 0x01 0x43 0x07 None 0x02
ICNT AOPU
IBUF SPPU
ICNV
FDTH CLC4
CLC3
CLC2 SPD2
BUF1 AIG1 CLC1 SPD1
BUF0 AIG0 CLC0 SPD0
Reserved. bits each register described below:
Register ICNT IBUF ICNV BUF1.0
`1', device will generate interrupt when Count register been updated. This occurs after each word been spoken. `1', device will generate interrupt when buffer level crosses threshold bits. (see Table Status bytes). `1', device will generate interrupt when conversion reached. IBUF set, BUF1.0 determines buffer level which interrupt will generated. Input buffer empty. Input buffer <10% full. Input buffer <50% full. Input buffer <75% full.
WTS701
Register
CODEC enable, possible modes are: CODEC disabled. CODEC enabled during conversion.
CODEC precision, possible modes are: linear output linear output.
CODEC output format, possible modes are: unsigned output complement output.
Register AOPU Power analog output buffer. SPPU Power analog speaker driver.
Speaker Driver gain selection. Speaker. 1.32 Speaker.
FDTH Enable feed-through path from AUXIN AUXOUT. AIG1.0
AUXIN gain setting
Publication Release Date: 2003 Revision 3.09
WTS701
Register VL2.0
Volume level output. -4dB -8dB -12dB -16dB -20dB -24dB -28dB Each step gives attenuation output.
Register CLC4.0
Configure device different master clock frequencies. 0x00 0x10 0x08 24.576 16.384 32.768
(The only clock frequency currently recommended operation 24.576MHz.)
Register SPD2.0
Configure speech speed register. 0x04 fastest speed 0x00 slowest.
WTS701
7.4.4 System Operation WTS701 single chip solution text-to-speech synthesis. Text-to-Speech operation accomplished process screening incoming text normalize common abbreviations numbers into spoken form. normalized text then analyzed phonetic interpretation this phonetic translation mapped into samples played analog storage array. This output signal then smoothed low-pass filter available analog signal, passed through CODEC digital audio output. WTS701 processor state machine
WTS701 functions state machine changes states either response command sent host controller, after execution command completed, result internal event. WTS701 states described below reference Figure
Applied
Reset
Power Down
Soft Reset, PWDN
Soft Reset
PWDN, Soft Reset
Wait
Hard Reset
PWDN
PWUP
Idle
Idle
Convert Stop finish finish word conversion finished
Convert
Convert
Hard Reset
Figure WTS701 Processor States
Publication Release Date: 2003 Revision 3.09
WTS701
RESET
WTS701 processor initialized RESET state when first applied part. After reset condition device enters POWER DOWN state. configuration registers initialized their default values after issuing PWUP command. Once WTS701 active hardware reset applied RESET pin, WTS701 will IDLE state, configuration registers will return their default values.
POWER DOWN
this state, power consumption WTS701 minimal. analog outputs tristate, crystal interface deactivated microcontroller stopped. only commands valid Power Down mode PWUP, SCLC RDST. configuration registers will return their default values after issuing PWUP command.
IDLE
idle state first entered with PWUP command. this state, micro-controller running device ready respond further commands. From IDLE state, device active CONVERT state POWER DOWN state.
CONVERT
This state initiated CONV command. text located internal buffer converted into speech played back analog digital interface according state configuration registers. Once active conversion finished, device enters WAIT state.
WAIT
Once conversion finished, device enters WAIT state. this state, audio outputs still active. deactivate, audio outputs return IDLE state IDLE command issued.
WTS701
7.4.5 Initialization Configuration Configuration
After power-on Reset command (RST) WTS701 processor configured operation. This involves initializing internal configuration registers users requirements.
Table Initialization Commnad Sequence State Command Description
POWER DOWN
-SCLC PWUP
State after power-on command. clock configuration. Power device. communication register enable interrupts. CODEC configuration used). audio control register. initial volume level. initial speech output speed level. initial speech pitch level.
IDLE
SCOM SCOD SAUD SVOL SSPD SPTC
7.4.6 Converting Text
After configuration, WTS701 ready text-to-speech conversion. Because real-time nature speech, some form flow control necessary inform host system: When device ready more text data When device finished converting text When device release audio interface CONVERT state entered sending CONV command along with some textual data. WTS701 internal 256-byte buffer accept text data. signal (both hardware line status bit) will become active (LOW): When internal buffer full host sends data rate fast WTS701 process internal buffer When becomes active user may: Wait return (HIGH) ready state Terminate transaction until later time resend data
Publication Release Date: 2003 Revision 3.09
WTS701
user choice enabling interrupts signal host when there free space internal buffer. When text data been sent, user must indicate this Sending (Finish) command Sending (ASCII 0x1A) character last byte CONV command (MANDARIN UNICODE/Big5 0x00 0x1A) When conversion been terminated using either these commands, another CONV command cannot sent until conversion completed chip enters WAIT state.
Notes Buffer length limit: max. character length white-space-bounded string exceeding characters will truncated. Undefined characters: undefined characters will deleted (prior word pronounciation process). defined characters range from `0x00' 0x7A' excluding `0x22', `0x3C', `0x3E' `0x60'.
Once WTS701 synthesized contents text buffer, will enter WAIT state. this state audio interface still active. disable audio interface return IDLE state IDLE command sent. WAIT state detected either through polling CNVT enabling ICNV interrupt. example flow conversion shown Figure flow here assumes that register such that WTS701 generates IBUF interrupt percent buffer level free bytes) that ICNV interrupt enabled.
WTS701
IDLE
Send CONV command
Fill serial buffer with text data
Sent data?
Send command
Wait ICNV interrupt CNVT cleared
Send IDLE command
Wait IBUF interrupt
Write batch text data buffer bytes otherwise buffer overflow)
Figure Flow Diagram Convert Operation.
Publication Release Date: 2003 Revision 3.09
WTS701
Controlling Text Conversion
WTS701 offers several features control text conversion. PAUS (Pause) (Resume) commands allow host pause then continue speech output. FINW command allows host conversion after next whole word spoken. (Stop) command will terminate conversion immediately even mid-word. allow more advanced control, WTS701 allows host interrogate byte count register, which keeps track position input stream that currently being spoken. host wishes repeat spoken word, should: Read byte count register Send FINW command Wait ICNV Send CONV command resending data starting desired number bytes, according repeated spoken words, prior count returned byte count similar skip function could implemented skip ahead words sentences.
INTERFACE
interface consists 4-wire SCLK, MOSI MISO. addition, flow control protocols implemented signal and/or WTS701 Status register transmitted MOSI. WTS701 processor also option communicate with host interrupt services requested interrupt request line. timing behavior these signals dependent upon command class being executed, i.e., commands with without associated data. Additionally hardware control line compulsory; rather host monitor status register determine when data been accepted. status register also contains ICMD bit. This indicate transaction been ignored, indicating that WTS701 processor unable service command. Asynchronous (Class commands always accepted. more information, refer subsection 7.3.1 which describes command classes.
7.5.1 Transactions Transactions with WTS701 broken down into four classes four basic types: Type Single Word Transactions
Single word transactions Class Class commands that have data transmit transmit required data command data byte. will never become active these commands. ICMD could active Class command WTS701 still interpreting previous command.
WTS701
Command Byte Command Data Byte
SCLK MOSI MISO
ICNT IBUFI ICNV BFUL BEMP CNVT
IABB
Figure Type Transaction.
Type Word Transactions that Receive Data
Type transactions four byte transactions that read byte count register. these commands Class0, ICMD will never active will never occur.
Command Data Byte Data Byte (even) Data Byte (odd)
SCLK MOSI MISO
Command Byte
BCNT0 BCNT1
ICNT IBUFI ICNV BFUL BEMP CNVT
IABB
Figure Type Transaction.
Type Transactions that send data
Type transactions send data WTS701. data rate exceeds ability WTS701 read data from input FIFO internal data queue becomes full then line will handshake pause transaction. host either:
Wait return HIGH then continue sending data Terminate transaction sending data later
ICMD
Publication Release Date: 2003 Revision 3.09
ICMD
WTS701
Command Byte Command Data Byte
SCLK MOSI MISO
ICNT IBUFI ICNV BFUL BEMP CNVT
IABB
ICMD
Data (even) SCLK MOSI
Data (odd)
Data (even)
Data (odd)
with
MISO ICNT IBUFI ICNV BFUL BEMP CNVT
ICNT IBUFI ICNV BFUL BEMP CNVT IABB ICMD
IABB ICMD
Figure Type Transaction.
Type Transactions reading data
Type transactions read data from WTS701. Because latency required WTS701 place data output register, must monitored.
Command Data Byte Data Byte (even) Data Byte (odd)
SCLK MOSI MISO
Command Byte
ICNT IBUFI ICNV BFUL BEMP CNVT
IABB
Figure Type Transaction.
ICMD
WTS701
CODEC INTERFACE
WTS701 processor supports analog digital telephony various configurations. WTS701 used digital environments, along with that controls CODEC. Therefore, WTS701 configured operate slave mode, where control signals provided external source, which usually DSP. supports variety single channel CODECs, examples which listed Table CODEC interface designed send data short frame format well long frame format. channel width bits linear, precision output bits. operation mode CODEC configured configuration register SCOD command. subsection 7.4.3 details.
CODEC configured transmit data unsigned Complement mode (see Table details). CODEC responds both Long Short sync format (see Figure Figure 17). CODEC configured tristate line after bits.
Table Supported CODEC Examples.
Manufacturer
CODEC Device Name
Characteristics
Operating Voltage
Conversion Type
Data Format
Motorola Lucent
ML7041 MSM7716 MSM7732-011 MC145483 T8538B
Single codec Single codec Single codec Single codec Quad codec
14-bit linear 14-bit linear 14-bit linear 13-bit linear 16-bit linear
Complement Complement Complement Complement Complement
Publication Release Date: 2003 Revision 3.09
WTS701
Table CODEC Transmission Modes.
Level
Signed Mode (2's Complement) Sign (MSB) Mode Mode
Unsigned Mode Mode Mode
full scale Zero (ground) full scale
1111 1111 1000 0000 0000 1000 0000 0000 0000 1111 1111 1000 0000 0000 0000
1111 1111 1000 0000 0000 0000 1000 0000 0000 0000 0000 0000 1111 1111 1000 0000 0000 0000 0000 0000
1111 1111 1000 0000 0000 1000 0000 0000 0000 1111 1111 1000 0000 0000 0000
1111 1111 1100 0000 1000 0000 0100 0000 1000 0000 0000 0000 0111 1111 1100 0000 0000 0000 0000 0000
Figure CODEC Protocol, bit, Short Frame Sync.
WTS701
Figure CODEC Protocol, bit, Long Frame Sync.
ZEROS
Figure CODEC Protocol, bit, Short Frame Sync.
Publication Release Date: 2003 Revision 3.09
WTS701
ZEROS
Figure CODEC Protocol, bit, Long Frame Sync.
CONTROL CHARACTERS
WTS701 allows receiving control characters embedded text sent Convert command better emphasize word alter meaning sentence. control characters supported phonetic alphabet playback, speed, volume modification case sensitivity behavior.
7.7.1 Phonetic Alphabet Playback
WTS701 uses intermediate phonetic translation represented alphabet that represents phonemes stress each input word. This feature allows text sent WTS701 consist combination ASCII characters well phonetic alphabet. This capability offers flexibility send words already processed phonetic representation, achieving desired pronunciation. Phonetic strings sent directly WTS701. This done embedding phoneme strings text stream conversion. embed phoneme string, string must preceded control-P (^P, ASCII 0x10) character terminated space character. example: "The quick ^Pbr1Wn fox." following table lists phoneme symbols acceptable WTS701E (English software version). acceptable phoneme symbols language dependent, please refer specific language User's Guide details regarding characters accepted other development considerations.
WTS701
Table Acceptable Phoneme Symbols. Vowels Phoneme Value Example Consonants Phoneme Value Example
0x69 0x49 0x65 0x45 0x40 0x75 0x55 0x6f 0x63 0x61 0x41 0x52 0x4f 0x59 0x57 0x78 0x58
beat bait boot book boat bought burr down
about
0x70 0x74 0x6b 0x62 0x64 0x67 0x68 0x66 0x54 0x44 0x73 0x53 0x76 0x7a 0x5a 0x79 0x77 0x72 0x6c 0x6d 0x6e 0x47 0x43 0x4a 0x50 0x51
debt thing that shut
azure
rent
roses
sing
church Judge
Butter* Written*
Note that each phoneme represented exactly character each vowel preceded stress symbol. Female English only.
Publication Release Date: 2003 Revision 3.09
WTS701
Numbers represent stress: each word single stress, representing main stress word; other syllables have stress. Examples: Input test testing
Phonetic translation (phoneme /h/, followed 1-stress vowel phoneme t1Est t1Est0IG
Special Characters Text Input String
These characters inserted into ASCII text used modify behavior special circumstances. 0x10 This `^Ppr0Ez0Intles0In'). control flag indicates phoneme string follows immediately (e.g.
0x11 Pauses with variant length added within sentence using `^QX' flag. integer which indicates pause duration (`X' unit). instance, `^Q10' will 1-second pause. important remember that text following these special characters will subjected same special conditions. command precedes word then following words will spoken louder. single word emphasized then must ahead word must follow.
7.7.2 Speed Change
rate speech changed sending command modify speed adding control character control speed real-time. 0x13 Speed Change Flag. space character required after control characters before input text string.
^S+: ^S-:
Increase speed (e.g. `^S+ Hello world'). Decrease speed
^SX: speed starts from (e.g. `^S1 Hello world'). number that greater than will
It's user's responsibility verify WTS701 speed setting before sending control character and/or command that modify speed.
WTS701
7.7.3 Volume Change
speech volume changed sending command modify speed adding control character control volume real-time. 0x16 Volume Change Flag. space character required after control characters before input text string.
^V+: ^V-:
Increase volume (e.g. `^V+ Hello world'). Decrease volume
^VX: volume starts from (e.g. `^V1 Hello world'). number that greater than will
It's user's responsibility verify WTS701 volume setting before sending control character and/or command that modify volume.
7.7.4 Case Sensitivity
upper/lower case handled changed adding control character text sent control case sensitivity behavior real-time. 0x15 All-Uppercase Word (all CAPs) Control Flag. This flag controls interpretation strings with uppercase letters. space character required after control characters before acutual input text string.
^U0: This default setting. Some all-uppercase words (all CAPs) spelled out, others treated ordinary words, abbreviations, Roman numerals, ect. (e.g. `^U0 equals m'). ^U1: Avoid spelling all-uppercase words. all-uppercase word input string will spelled unless system determines that word pronounceable. this mode, there abbreviation support (e.g. `^U1 NOKIA' equals `nokia'). ^U2: Spell words, regardless case. words input sting spelled this mode. There abbreviation support this mode (e.g. `^U2 NOKIA' equals a'). ^U3: Force all-capital words/strings spelled regardless string length. instance, `^U3 HELLO' will pronounced `H', `E', `L', `L', `O'.
7.7.5. Pause Control
Pause control flage: `^QX': Pauses with variant length added within sentence using `^QX' flag. integer which indicats pause duration (`X' unit). instance, `^Q10' will 1-second pause.
Publication Release Date: 2003 Revision 3.09
WTS701
CUSTOMIZING ABBREVIATIONS
WTS701 support entering using custom abbreviations addition general abbreviation table supported internally WTS701. There bytes flash memory reserved this purpose. After WTS701 internal software been initially programmed, this entire area free available custom abbreviations. commands associated with custom abbreviations are: Command ABBR_ADD Command Byte 0xaf Command Data Byte 0x00 abbreviation data. 0x00+ abbreviation data. 0x00 0x00 0x00. 0x00 0x00 0x00. 0x00 2048 0x00s. Adds abbreviation abbreviation table WTS701 next page format abbreviation data. Deletes existing abbreviation from abbreviation table WTS701. next page format abbreviation data. Returns number abbreviation currently active abbreviation table WTS701. Returns number free bytes abbreviation table WTS701. Returns abbreviation table contents from WTS701. next page format abbreviation table data. Causes xdata code store memory swap spaces. WTS701 begins execute code previously stored into xdata after this command.
ABBR_DEL
0x83
ABBR_NUM
0xc8
ABBR_MEM
0xc7
ABBR_RD
0xc9
ENTER_RRSM
0x0c
0x00
7.8.1 Abbreviation Data Format
format abbreviation data that sent with ABBR_ADD ABBR_DEL commands YYYY ";". abbreviation characters. comma. YYYY abbreviation text.
WTS701
semi-colon. Example: TTS,text speech; After this added using ABBR_ADD command, when text "TTS" sent part convert data, WTS701 will speak "text speech" instead Note: when deleting abbreviation, abbreviation text optional. delete example, only "TTS,;" necessary.
7.8.2 Abbreviation Table Format
format abbreviation table returned with ABBR_RD command Abbreviation entry Marker Count 0x00 YYYY 0x00. Marker marker will either 0xfe active abbreviation 0xfc deleted abbreviation. Count byte count this entry including Marker, Count, XXX, YYYY, zeros. abbreviation characters. 0x00 Null terminator. YYYY abbreviation text. 0x00 Null terminator. unused data always 0xff.
7.8.3 Command Execution
ABBR_NUM ABBR_MEM
These commands executed sending command
command data, waiting ready, then receiving bytes from MISO. first byte received MSB, second LSB. ABBR_RD This command executed sending command command data, waiting ready, then receiving 2048 characters (the entire abbreviation table). ABBR_ADD ABBR_DEL These commands executed sending command command data, followed abbreviation data formatted described subsection 7.8.1. When WTS701 ready next step, will generate IABB interrupt. After interrupt, send ENTER_RSSM (0x0c 0x00) command. After issuing command wait 100ms. After timeout, WTS701 will have programmed abbreviation entry ready accept more commands. Adding removing abbreviation will reset configuration registers their default values.
Publication Release Date: 2003 Revision 3.09
WTS701
After abbreviation entry deletion, abbreviation entry only deleted from table used, however still holds memory space. only free memory will reprogram WTS701 firmware into device.
DEVICE PROGRAMMING
WTS701 fully programmable support different available languages different voices that loaded device whenever user wishes language voice module should stored externally transmitted WTS701 processor with regards specific protocol defined this section. Programming WTS701 consists downloading binary executable processor code memory digitized analog speech corpus non-volatile analog multi-level storage (MLS). Winbond will supply code ASCII readable data files. information will provided qualified customers upon request.
WTS701
7.10 TEXT-TO-SPEECH PROCESSOR COMMMANDS QUICK REFERENCE TABLE.
Status Commands
Command
Description
Opcode
Command byte Command data
Previous State
Result State
Command Parameters
Description
Return Value
Description Byte count Byte count Hw_ver, Sw_ver
Name
RDST RINT RVER
Read Status Read Interrupt Read version
Idle, Convert, Power Down Idle, Convert Idle, Convert
change change change
None None None
Publication Release Date: 2003 Revision 3.09
Bytes
Class
Type
WTS701
System Commands
Command
Description
Opcode
Previous State
Result State
Command Parameters
Return Value
Description
Description
Command byte
Command data
Name
Class
Bytes
PWUP PWDN
Exit Power Down mode Power Down mode Reset
Power Down Idle, Convert Wait Idle, Convert Wait, Power down
Idle
Power Down Power Down
None None None
None None None
Bytes
Type
WTS701
Synthesis Commands
Command
Description
Opcode
Previous State
Result State
Command Parameters
Description
Return Value
Description
Command byte
Command data
Name
Class
Bytes
CONV PAUS FINW VLUP VLDN SPUP SPDN IDLE
Convert text Pause conversion Resume conversion Stop conversion Finish word Finish Volume Volume down Speed Speed down Switch Idle state
Idle, Wait
Convert Convert Convert Convert Convert Idle, Convert Wait Idle, Convert Wait Idle, Convert Wait Idle, Convert Wait Wait, Convert
Convert change change Wait Wait Wait change change change change
Text data None None None None None None None None None None
None None None None None None None None None None None
Idle
Publication Release Date: 2003 Revision 3.09
Bytes
Type
WTS701
Configuration Commands
Command
Description
Opcode
Previous State
Result State
Command Parameters
Description
Return Value
Description
Command byte
Command data
Name
Class
RREG
Read configuration register register register register register register register Speech Pitch
Register Number
Idle, Convert
change
None
Bytes
Type
Registe value, dummy byte None None None None None None None
SCOM SCOD SAUD SVOL SSPD SCLC SPTC
Value Value Value Value Value Value Value
Idle, Wait Idle, Wait Idle, Wait Idle, Wait Idle, Wait Idle, Wait Idle, Wait
Change Change Change Change Change Change Change
None None None None None None None
WTS701
Customization Commands
Command
Description
Opcode
Previous state
Result State
Command Parameters
Description
Return Value
Description
Num_of_entries Abbreviation table entries Available_mem
Command byte
Command data
Name
Class
ABBR_
Return number abbreviation entries Read abbreviation table Return abbreviation memory abbreviation Delete abbreviation entry Swap memory
Idle
change
None
ABBR_ ABBR_ ABBR_ ABBR_ ENTER _RRS
Idle
change
None
Idle
change
None
Idle Idle
change change
Abbreviation information Abbreviation information
Bytes
Type
None None
Idle
change
None
None
Publication Release Date: 2003 Revision 3.09
WTS701
7.10.1 Text Input Format
following table lists ASCII characters acceptable WTS701E (English software version). Please refer specific language User's Guide more details regarding characters accepted other development considerations. Note: Unexpected behavior occur input text contains characters that defined this ASCII table.
Table Allowable ASCII Characters.
0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x3e 0x3f (apostrophe) (comma) (dash)
(period)
Space
0x40 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4a 0x4b 0x4c 0x4d 0x4e 0x4f 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5a 0x5b 0x5c 0x5d 0x5e 0x5f
(right bracket) (back slash) (left bracket) (under score)
0x60 0x61 0x62 0x63 0x64 0x65 0x66 0x67 0x68 0x69 0x6a 0x6b 0x6c 0x6d 0x6e 0x6f 0x70 0x71 0x72 0x73 0x74 0x75 0x76 0x77 0x78 0x79 0x7a 0x7b 0x7c 0x7d 0x7e 0x7f
(slash) (colon)
WTS701
7.10.2. Buffer length limit
max. character length white-space-bounded string exceeding characters will truncated.
7.10.3. Undefined characters
undefined characters will deleted (prior word pornunciation process). difined characters range from `0x00' `0x7A' excluding `0x22', `0x3E', `0x60'.
Publication Release Date: 2003 Revision 3.09
WTS701
TIMING WAVEFORMS
TIMING DIAGRAM
Tsss
SCLK
Tsclkhigh
Tsclklow
Tssh
Tssmin
Tdis
MOSI
Tdih
TRISTATE
TRISTATE
MISO
Figure Timing Specification.
SCLK
Trbd
Trblow
Trbh
Figure Timing.
WTS701
Table Timing Parameters (see Figure Figure21) Symbol
TSSS TSSH TDIS TDIH TSSmin TSCKhi TSCKlow Trbd
Parameters
Setup Time Hold Time
Typ(7)
Units
Conditions
Data Setup Time Data Hold Time Output Delay Output Delay
High
SCLK High Time SCLK Time Delay SCLK
Trblow Trbh
time SCLK hold time from High Frequency
5000
Publication Release Date: 2003 Revision 3.09
WTS701
CODEC TIMING DIAGRAMS
tsync tfsp
VCLK
tdhi
MSB-1
Figure CODEC Timing Short Frame Sync.
tsync tfsp
VCLK
tdhi
MSB-1
Figure CODEC Timing Long Frame Sync.
WTS701
Table CODEC Timing Parameters (see Figure Figure Symbol
Tclk Tsync Tfsp Tdhi
Parameters
clock frequency Frame Sync. Frequency Clock Duty Cycle Rise Time Fall Time Frame Sync. Pulse Width Receive Sync. Timing Receive Sync. Timing Output Delay Time Valid Output Delay Time High Impedance
Typ(7)
2048
Units
Conditions
digital inputs digital inputs VCLK VCLK VCLK VCLK
Publication Release Date: 2003 Revision 3.09
WTS701
ABSOLUTE MAXIMUM RATINGS
Table Absolute Maximum Ratings (Packaged Parts)
Condition
Junction temperature Storage temperature range Voltage Applied Voltage applied (Input current limited +/-20 Lead temperature (soldering seconds)
Value
-650C +1500C (VSS 0.3V) (VCC 0.3V) (VSS 1.0V) (VCC 2.2V) 3000C -0.3V +7.0V
Table Operating Conditions (Packaged Parts).
Condition
Commercial operating temperature range Extended operating temperature(2) Industrial operating temperature(2) Supply voltage (VCC)(4) Ground voltage (VSS)
Value
+700C -200C +700C -400C +850C +2.7V +3.3V
Stresses above those listed cause permanent damage device. Exposure absolute maximum ratings affect device reliability. Functional operation implied these conditions. input pins except signal, which tolerant ONLY. Case Temperature. VCCA VCCD. VSSA VSSD
WTS701
ELECTRICAL CHARACTERISTICS
(VCC 3.3V,
Table General Parameters.
PARAMETER
SYMBOL
TEST CONDITIONS
SPEC
UNIT MAX.
Input Voltage Input HIGH Voltage Output Voltage Output Voltage Output HIGH Voltage Current (Operating) Convert Idle CODEC Speaker Current (Standby) Input Leakage Current
VOL1 Load(8) Load Load Load
+/-1
Min/Max limits guaranteed Winbond electrical testing characterization. specifications 100% tested. Typical values 25°C 3.0V, timing measured levels. VCCA VCCD summed together. Publication Release Date: 2003 Revision 3.09
WTS701
Table Speaker Driver Specifications.
PARAMETER
SP+/- Output Voltage (HIGH Gain Setting) SP+/- Output Load Imp. (LOW Gain) SP+/- Output Load Imp. (HIGH Gain) SP+/Cap. Output Load
SYMBOL
VSPHG RSPLG RSPHG
TEST CONDITIONS MIN.
Peak-to-Peak, load differential
SPEC TYP. MAX.
UNIT
SP+/Output Bias Voltage (Analog Ground) Speaker Offset Output
VSPAG
VSPDCO PSRR
With AUXIN Speaker, AUXIN coupled VSSA Measured with kHz, sine wave input pins With 0TLP input setting (12) Differential load -0.25 23.5
mVDC
Power Supply Rejection Ratio Frequency Response (300-3400 Power Output Gain Setting) (LOW
PUTLOG
+0.25
mWRMS
WTS701
Table AUXOUT Parameters. PARAMETER
AUXOUT Maximum Output Swing Minimum Load Impedance Maximum Load Capacitance AUXOUT
SYMBOL
VANAIUT VBIAS
TEST CONDITIONS MIN.
Load Coupled)
SPEC TYP. MAX.
UNIT
Table Volume Control Parameters.
PARAMETER
Output Gain Absolute Gain
SYMBOL
AOUT
TEST CONDITIONS MIN.
steps referenced output AUXIN 0TLP, gain setting measured differentially SP+/-0.5
SPEC TYP.
+0.5
UNIT MAX.
Publication Release Date: 2003 Revision 3.09
WTS701
TYPICAL APPLICATION CIRCUIT
following schematic diagrams extracted from WTS-ES701 evaluation board schematic. evaluation system includes following basic clusters: WTS701 processor cluster working with 3.3V, including 8-ohm speaker, connector host parallel port. more information about evaluation system, please refer WTS-ES701 User's Guide.
VCCD .1UF PAD_BCLK PAD_FS PAD_DIN PAD_MISO PAD_XTI PAD_XTO PAD_XTO 10PF 10PF PAD_INTB VCCD .1UF VCCD .1UF VCCD PAD_RDY PAD_MISO PAD_INTB PAD_RDY PAD_RESET RESET WTS701 MJ-3536N PAD_AUXIN .1UF VCCA .1UF VCCA .1UF PAD_MOSI PAD_SSB PAD_SCLK VCCD XTAL
VSSA1 VCLK MISO VSSDN VSSD VCCD VCCDN INTB MOSI SCLK VSSA2 ATTCAP PAD_ATTCAP VCCA SPK+ VSSA3 SPK48 PAD_SPKPAD_SPK+ AUXIN PAD_AUXIN VCCA AUXOUT PAD_AUXOUT
PAD_AUXOUT
AUXOUT
.1UF
MJ-3536N
CRYSTAL SOCKET
PAD_AUXIN PAD_SPK+
PAD_XTI
SPEAKER
MJ-3536N PAD_SPK- PAD_ATTCAP
4.7UF GNDA VCCD VCCA PAD_RDY PAD_RESET PAD_ATTCAP PAD_SPKPAD_SPK+ PAD_AUXOUT PAD_SCLK PAD_SSB PAD_MOSI PAD_INTB PAD_XTI PAD_XTO PAD_MISO PAD_DIN PAD_FS PAD_BCLK
Label pins with signal names.
AUXIN
WTS701
PACKAGE DRAWING DIMENSIONS
TSOP(I) (14X20
Publication Release Date: 2003 Revision 3.09
WTS701
ORDERING INFORMATION
WTS701_
Language English Mandarin
Voice Female Male
Package Type TSOP 56-leads
latest product information, access Winbond's worldwide website http://www.winbond-usa.com
WTS701
VERSION HISTORY
VERSION DATE PAGE DESCRIPTION
3.07 3.08 3.09
Apr. 2002 Jun. 2002 2003
1-73 1-73
Initial issue Improved package drawing, added illegal commands description, modified part number format crystal spec., description buffer length limit undefined characters, consonant phoneme characters control characters.
contents this document provided only guide applications Winbond products. Winbond makes representation warranties with respect accuracy completeness contents this publication reserves right discontinue make changes specifications product descriptions time without notice. license, whether express implied, intellectual property other right Winbond others granted this publication. Except forth Winbond's Standard Terms Conditions Sale, Winbond assumes liability whatsoever disclaims express implied warranty merchantability, fitness particular purpose infringement Intellectual property. Winbond products designed, intended, authorized warranted components systems equipments intended surgical implantation, atomic energy control instruments, airplane spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, other applications intended support sustain life. Further, Winbond products intended applications wherein failure Winbond products could result lead situation wherein personal injury, death severe property environmental injury could occur.
Headquarters
Creation Science-Based Industrial Park, Hsinchu, Taiwan TEL: 886-3-5770066 FAX: 886-3-5665577 http://www.winbond.com.tw
Winbond Electronics Corporation America
2727 North First Street, Jose, 95134, U.S.A. TEL: 1-408-9436666 FAX: 1-408-5441798 http://www.winbond-usa.com
Winbond Electronics (Shanghai) Ltd.
27F, Shanghai, 200336 China TEL: 86-21-62365999 FAX: 86-21-62356998
Taipei Office
480, Pueiguang Neihu District, Taipei, 114, Taiwan TEL: 886-2-81777168 FAX: 886-287153579
Winbond Electronics Corporation Japan
Daini-ueno BLDG, 3-7-18 Shinyokohama Kohoky-ku, Yokohama, 222-0033 TEL: 81-45-4781881 FAX: 81-45-4781800
Winbond Electronics (H.K.) Ltd.
Unit 9-15, 22F, Millennium City, Kwun Tong Rd., Kowloom, Hong Kong TEL: 852-27513100 FAX: 852-27552064
Please note that dataand specifications subject change without notice. trademarks products companies mentioned this datasheet belong their respective owners. This product incorporates SuperFlash® technology licensed from SST.
Publication Release Date: 2003 Revision 3.09

Other recent searches


XZCBD77W - XZCBD77W   XZCBD77W Datasheet
XDUY06A4-A - XDUY06A4-A   XDUY06A4-A Datasheet
X25330 - X25330   X25330 Datasheet
SRA2202U - SRA2202U   SRA2202U Datasheet
REJ03G1202-0200 - REJ03G1202-0200   REJ03G1202-0200 Datasheet
HV825 - HV825   HV825 Datasheet
HV825LG - HV825LG   HV825LG Datasheet
HV825MG - HV825MG   HV825MG Datasheet
HV825X - HV825X   HV825X Datasheet
HFCT-5903E - HFCT-5903E   HFCT-5903E Datasheet
AS-56-44-03TS-6YAM-GANG-S - AS-56-44-03TS-6YAM-GANG-S   AS-56-44-03TS-6YAM-GANG-S Datasheet

 

Privacy Policy | Disclaimer
© 2012 Datasheet Archive