|
Part Number |
W561S40 |
|
Manufacturer |
Winbond |
|
Semiconductor DataSheet |
|
DataSheet View |
|
W561XXX Data Sheet 4-TRACK PCM-MELODY WITH VOICE SYNTHESIZER (BandDirectorTM Series)
Table of Contents1. 2. 3. 4. 5. GENERAL DESCRIPTION ......................................................................................................... 2 FEATURES ................................................................................................................................. 2 BLOCK DIAGRAM ...................................................................................................................... 5 PAD DESCRIPTION ................................................................................................................... 5 ELECTRICAL CHARACTERISTICS........................................................................................... 6 5.1 5.2 5.3 6.
www.DataSheet4U.com
Absolute Maximum Ratings............................................................................................... 6 DC Characteristics............................................................................................................. 6 AC Characteristics ............................................................................................................. 7
APPLICATION CIRCUIT............................................................................................................. 7 REVISION HISTORY .................................................................................................................. 8
7.
-1-
Publication Release Date: June 3, 2003 Revision A5
W561XXX
1. GENERAL DESCRIPTION
The W561xxx is one of the derivatives of the BandDirectorTM familiy. It consists of a 4-bit µC, two voice synthesizers, one 4-track PCM-Melody generator, and one shared ROM. The muti-tasking operation for voice synthesis and 4-track PCM-Melody generation is implemented by dedicated H/W that can output the speech voice in parallel with the background music. With the 4 bit kernel, which can execute instructions of up to 12 KIPS (Kilo-Instructions Per Second), and high quality dual speaker output, you will be amazed at the possible applications. W561xxx provides you with a total solution in one chip. In addition, the W561xxx's user-friendly development environment can effectively reduce your design period and help you easily tool your projects by yourself with the ICE and emulation kit. There are 10 kinds of W561xxx IC bodies (see table below). PART NO. Duration Main ROM size PART NO. Duration
www.DataSheet4U.com
W561S15 15 sec 640 Kbit W561S50 50 sec 1760 Kbit
W561S20 20 sec 768 Kbit W561S60 60 sec 1920 Kbit
W561S25 25 sec 896 Kbit W561S80 80 sec 3072 kbit
W561S30 30 sec 1024 Kbit W561S99 100 sec 3520 Kbit
W561S40 40 sec 1472 Kbit W561M02 120 sec 3968 Kbit
Main ROM size
Note: The voice durations are estimated by 8.0 KHz sampling rate
Possible applications are: • • • • • Programmed voice synthesis with background music or speech I/O interactive voice synthesis to accompany background music or speech Demo of music songs with possible dynamic timbre/tempo changes during playback Q&A games Edutainment toys
2. FEATURES
• Multi-engine processor parallel management with µC, speech and PCM Melody − − µC // (Synthesizer1 or 4-track PCM-Melody) // Synthesizer2 (//: in parallel) µC, with basic ALU, 64-nibble RAM (including 8 working registers) and an 8-bit timer The W561&W562 user RAM initialization value is not constant. It is random. So, user must initial constant value. − − − Synthesizer1 capable of voice syntheses with Sample rate @4.8/6/8/12 KHz Synthesizer2, same as synthesizer1 4-track PCM-Melody with total 16 Kbyte Timbre table, which can store up to 16 kinds of timbre samples.
-2-
W561XXX
− − • • The on-chip ROM is shared among program, voices and melody notes ICE & ROM chips use different Rosc. Rosc for mass production should check “W561 Freq vs R.pdf” file for more details.
Wide operating voltage range: 2.4 to 5.5 volts Low power consumption (VDD = 5 Volt) − − Standby current < 2 µA Operating current (no load with ring oscillator) < 1 mA
• •
Main oscillator: Crystal/ Ring oscillation selectable by pin option Input/ Output port − − − − Port for input only: 1 port/4 pins Input/ Output ports: 2 ports/8 pins Port for output only: 1 port/4 pins Can offer a direct row and column matrix of up to 72 (8 × 9) keys Internal interrupts: Timer External interrupts: TG (port 0, port1), POI (Power On Initialization) Priority: POI > TG > Timer
•
Interrupts − − −
www.DataSheet4U.com
• • •
DAC1/2 provided for stereo voice output Melody + Voice output for DAC1 TG interrupt provided − − − Shared TG interrupt for Port0/Port1 input. Global TG interrupt enable controlled (bit3 of the IER register) Individual interrupt enable controlled (PER0 and PER1 registers) One of two internal clock frequencies can be selected Desired Timer interval = (preset value +1) × 1/FT (FT: 32 Hz or 32 KHz dependent on the bit0 of the MODE register, at Fosc = 3 MHz) Arithmetic: ADD, ADDC, SUB, SUBC, INC, DEC, SETB, CLRB Logic Operation: AND, OR, XOR, NOT Shift & Rotate: RORC, ROLC, SHRC, SHLC Date move: LD, LDR, MV Branch: JP, JB0, JB1, JB2, JB3, JZ, JNZ, JC, JNC, JBZ1, JBZ2, CJNE, CJE, DJNZ, DJZ Subroutine: CALL, RTN, RTI Others: NOP, END, EN INT, DIS INT, PLAY CH1, STOP CH1, STOP CH2
•
Built-in 8 bit programmable down count timer − −
•
Powerful instruction set: − − − − − − −
•
8-level STACK shared by CALL, Timer, Synthesizer and TG
-3-
Publication Release Date: June 3, 2003 Revision A5
W561XXX
• Dynamic register controlled by LD instructions − − − • − − − − − − − − − − • −
www.DataSheet4U.com
Volume control (VOL1/VOL2 registers for DAC 1/2) Melody Timbre control (Timbre0/1/2/3 registers for CH0/1/2/3) Melody Speed control (Tempo register) Timbre-based melody synthesis Note number: only limited by ROM size Timbre ROM size: 16 Kbyte Note span: 49 notes, 4 octaves 9 kinds of timbre size: 1K/2K/3K/4K/6K/8K/10K/12K/16K bytes per timbre 7 kinds of loop size: one-shot /128/256/512/1K/2K/4K bytes per timbre 6 kinds of note sustainments (1/4, 1/2, 1, 4/3, 2, 4 sec) 4 kinds of envelope effect User-defined timbre library to achieve various kind of instrument effects Midi-conversion utility provided Melody voice or Speech voice can be easily concatenated with symbol "+" Example: PLAY CH1, H4 + Melody1 + Speech1 + Speech2 + Melody2 + T4 The DAC1 of the W561xxx will play Melody1, Speech1, Speech2, and Melody2 sequentially.
4-track PCM-Melody with
Multi-tasking operation via interrupt for automatic voice segment concatenation −
• •
The length of the voice segment is only limited by the ROM size Speech section control − − − Fading effect, eight levels of volume control (0-7) Sample rate control (4.8K/6K/8K/12K) Example: PLAY CH2, H4 + speech1_SV + T4; S: define the sample rate, V: define the volume Free Run Stop Run Program Reset Step Into Step Over Go To Cursor Break point Register read/ modify
•
Provides ICE (In Circuit Emulation) system for easy debugging − − − − − − − −
-4-
W561XXX
3. BLOCK DIAGRAM
P0 P1 P2 P3 OSCI I/O Controller RAM Special Register Timing Generator OSCO OSCSEL
ROM
ALU
Timer
Synthesizer II
Synthesizer I
TrueMelody Generator
Timbre Table
DAC2
DAC1
www.DataSheet4U.com
4. PAD DESCRIPTION
PARAMETER TEST P0.0−P0.3 P1.0−P1.3 P2.0−P2.3 P3.0−P3.3 VSS
RESET
I/O I I I/O I/O O I I O O O I
DESCRIPTION Test pin, internally pulled low Interruptable input pins, internally pulled high. I/O multiplexed port 1. The port 1 is interruptable, if selected as input pins I/O multiplexed port 2. Output port 3. Negative power supply. Reset all, functions as POR (Power On Reset), internally pulled high. Positive power supply. Connect ROSC to VDD or Crystal between OSCI & OSCO to generate the 3 MHz master frequency. Current output of channel 1 for driving an external speaker Current output of channel 2 for driving an external speaker Oscillator type selecting pin, internally kept floating. Connect to VDD to select Crystal type, connect to GND to select ring oscillator type.
VDD OSCI OSCO DAC1 DAC2 OSCSEL
-5-
Publication Release Date: June 3, 2003 Revision A5
W561XXX
5. ELECTRICAL CHARACTERISTICS
5.1 Absolute Maximum Ratings
PARAMETER Power Supply Input Voltage Storage Temp. Operating Temp. SYMBOL VDD−VSS VIN TSTG TOPR CONDITIONS All Inputs RATED VALUE -0.3 to +7.0 VSS -0.3 to VDD +0.3 -55 to +150 0 to +70 UNIT V V °C °C
Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability of the device.
5.2 DC Characteristics
(VDD−VSS = 3.0V, FM = 3 MHz, TA = 25° C; unless otherwise specified)
PARAMETER Operating Voltage Standby Current
www.DataSheet4U.com
SYM. VDD IDD1 IOP1 IOP2 VIL VIH IIN IIN1 IOL IOH IDAC RPL
CONDITIONS No load, No Playing No load
MIN. 2.4 -
TYP. -5.0 -
MAX. 5.5 2 1 1 0.3 VDD VDD -6 -6 -6.0 -
UNIT V µA mA mA V V µA µA mA mA mA KΩ
Operating Current (Crystal Type) Operating Current (Ring Type) Input Low Voltage Input High Voltage Input Current for P0, P1, P2 Input Current for RESET Output Current of P1, P2, P3 DAC1/2 (D/A full Scale) Pull-low Resistor
No load All Input Pins All Input Pins VDD = 3V, VIN = 0V VDD = 3V, VIN = 0V VDD = 3V, VOUT = 0.4V VDD = 3V, VOUT = 2.7V VDD = 4.5V, RL = 100Ω TEST, OSCSEL Pins
VSS 0.7 VDD 5 -3 -4.0 100
-6-
W561XXX
5.3 AC Characteristics
PARAMETER Main-clock Frequency Frequency Deviation by Voltage Drop for Ring Type Oscillator Machine Cycle Time POR Pulse Width SYM. FM ∆f f TINS TPOR CONDITIONS Ring type, ROSC = 1.2 MΩ Crystal type
f(3V) − f(2.4V) f(3V)
MIN. 2.7 1/12 1
TYP. 3 3 -
MAX. 3.3 10 1/6 -
UNIT MHz
% mS µS
One machine cycle -
6. APPLICATION CIRCUIT
Vcc
www.DataSheet4U.com
P0.0 P0.1 P0.2 P0.3 P1.0 P1.1 P1.2 P1.3 P2.0 P2.1 P2.2 P2.3
W561xx
DAC1
Rs Cs 8050
Vcc
OSCSEL Vcc
R1 |