W567SXXX Data Sheet
8-CHANNEL SPEECH+MELODY PROCESSOR
(BandDirectorTM Series)
Publication Release Date: June 15, 2004
- 1 - Revision A11
Table of Contents-
1. GENERAL DESCRIPTION ......................................................................................................... 2
2. FEATURES ................................................................................................................................. 3
3. PIN DESCRIPTION..................................................................................................................... 4
4. BLOCK DIAGRAM ...................................................................................................................... 5
5. ELECTRICAL CHARACTERISTICS........................................................................................... 6
5.1 Absolute Maximum Ratings............................................................................................... 6
5.2 D.C. Characteristics........................................................................................................... 6
5.3 A.C. Characteristics ........................................................................................................... 7
6. TYPICAL APPLICATION CIRCUITS .......................................................................................... 8
6.1 W567S010~S030 .............................................................................................................. 8
6.2 W567S040~S060 .............................................................................................................. 9
6.3 W567S080~S341 ............................................................................................................ 10
6.4 W567S301/S341 with ADC Application........................................................................... 11
7. REVISION HISTORY ................................................................................................................12
W567SXXX
- 2 -
1. GENERAL DESCRIPTION
The W567Sxxx is a powerful microcontroller (uC) dedicated to speech and melody synthesis
applications. With the help of the embedded 8-bit microprocessor & dedicated H/W, the W567Sxxx
can synthesize 8-channel speech+melody simultaneously.
The two channels of synthesized speech can be in different kinds of format, for example ADPCM and
MDPCM. The W567Sxxx can provide 8-channel high-quality WinMelodyTM , which can emulate the
characteristics of musical instruments, such as piano and violin. The output of speech/melody
channels are mixed together through the on-chip digital mixer to produce colorful effects. The mixer is
further processed to drive dual speakers with stereo effects. With these hardware resources, the
W567Sxxx is very suitable for high-quality and sophisticated scenario applications.
The W567Sxxx is also capable of transmitting infrared (IR) signals with on-chip carrier generator. As a
result, toys can be designed to interact with each other for more play values. A serial interface can be
supported as external memory for memory expansion or content-updateable applications.
Besides, the W567Sxxx is equipped with a 4-channel Analog-to-Digital Converter (ADC). With ADC, a
toy can respond to environment conditions such as temperature or pressure via sensory devices.
Therefore, toys with ADC can behave vividly than ever before.
The W567Sxxx family contains several items with different playback duration as shown below: (@5-bit
MDPCM algorithm, 6 KHz sampling rate)
Item W567S010 W567S015 W567S020 W567S025 W567S030 W567S040
*Duration 14 sec. 18 sec. 27 sec. 31 sec. 35 sec. 52 sec.
Item W567S060 W567S080 W567S100 W567S120 W567S150 W567S170
Duration 60 sec. 104 sec. 116 sec. 129 sec. 163 sec. 197 sec.
Item W567S210 W567S260 W567S301 W567S341
Duration 232 sec. 265 sec. 300 sec. 334 sec.
Note: *: The duration time is based on 5-bit MDPCM at 6 KHz sampling rate. The firmware library and timber library have
been xcluded from user’s ROM space for the duration estimation.
W567SXXX
Publication Release Date: June 15, 2004
- 3 - Revision A11
2. FEATURES
• Wide range of operating voltage:
− 8 MHz @ 3.6 volt ~ 5.5 volt
− 4 MHz @ 2.4 volt ~ 5.5 volt
• Power management:
− 4 ~ 8 MHz system clocks, with Ring type
− Stop mode for stopping all IC operations
• Provides up to 8 inputs and 24 I/O pins
• Current-type Digital-to-Analog Converter (DAC):
− (8+2)-bit resolution with programmable output current
− 2 speaker outputs for stereo applications
• F/W speech synthesis with multiple format support: ADPCM/MDPCM/PCM
• 2 speech synthesis1 channels at programmable sample rate
• 8 melody channels that can emulate characteristics of musical instruments
• 8-input/10-bit-resolution Mixer can mix the speech and melody signals flexibly
• Dynamic control of the channel assignment to the dual speaker output for stereo effects
• Built-in IR carrier generation circuit for simplifying firmware IR application
• 4-channel ADC interface (W567S301~S341) with maximum 4-KHz sampling rate and 6-bit
effective resolution
• Built-in 9 timers for speech/melody synthesis and general purpose applications
• Built-in 10*7 multiplier
• Built-in Watch-Dog Timer (WDT) and Low Voltage Reset (LVR)
• Built-in 32KHz crystal oscillator with divider for time-keeping application in W567S080 ~ S341
• Built-in Serial Interface Manager (SIM) in W567S080 ~ S341
• Support PowerScript for developing codes in easy way
• Full-fledged development system
− Source-level ICE debugger
− Event synchronization mechanism
− Compatible with W566B/C & W588S system
− User-friendly GUI environment
• Available package form: (COB is essential)
− W567S010, S015, S020, S025, S030: LQFP48
− W567S040, S060: QFP64
− W567S080 ~ S120: LQFP80
− W567S150 ~ S341: LQFP100
1 More speech channels are available for 8-bit PCM format in the remaining melody channels.
W567SXXX
- 4 -
3. PIN DESCRIPTION
PIN NAME I/O FUNCTION
RESETB In IC reset input, low active.
XIN In 32 KHz crystal oscillator with divider for time-keeping application
XOUT Out 32 KHz crystal oscillator with divider for time-keeping application
OSC In
Main-clock oscillation input. Only Ring type is used. Connect to GND via the
oscillation resistor.
IP0[3:0] /
IP0[7:4] In
General input port with pull-high selection. Each 2 input pins can be
programmed to generate interrupt request and used to release IC from
STOP mode.
IP0[3:0] are used as the input of ADC. IP0.0 is the input pin of channel 0
and IP0.3 is the input pin of channel 3, and so on.
BP0[7:0] I/O
General input/output pins. When used as output pin, it can be open–drain
or CMOS type and it can sink 8mA for high-current applications. When
used as input pin, there may have a pull-high option and generate interrupt
request to release IC from STOP mode.
When BP0[7] is used as output pin, it can be the IR transmission carrier for
IR applications.
BP1[7:0]
I/O
General input/output pins. When used as output pin, it can be open–drain
or CMOS type. When used as input pin, there may have a pull-high option
and generate interrupt request to release IC from STOP mode.
When serial interface is enabled, BP1[6:4] are used as serial interface pins.
BP2[7:0]
I/O
General input/output pins. When used as output pin, it can be open–drain
or CMOS type. When used as input pin, there may have a pull-high option
and generate interrupt request to release IC from STOP mode.
2VRB Out
Reference-bottom voltage of ADC. Theoretically, the converted codes 0 ~
255 will be uniformly distributed between VRB and AVDD. Voltages below
VRB will be mapped to code 0.
2CIN In Capacitor input for ADC.
2COUT Out Capacitor output for ADC.
2AVDD Out ADC regulator output voltage.
DAC0 Out Current type DAC speaker output 0.
DAC1 Out Current type DAC speaker output 1.
TEST In Test input, internally pulled low. Do not connect during normal operation.
VDD Power
Positive power supply for µP and peripherals.
VSS Power
Negative power supply for µP and peripherals.
3VDDOSC Power Positive power supply for oscillation.
3VSSOSC Power Negative power supply for oscillation.
2VDDA Power Positive power supply for ADC module.
2VSSA Power Negative power supply for ADC module.
2 Only W567S301~S341 provides these pins for ADC application.
3 In order to get a stable oscillating frequency, W567S080~S341 provides these pins for power supply.
W567SXXX
Publication Release Date: June 15, 2004
- 5 - Revision A11
4. BLOCK DIAGRAM
Timing
Generator
8 bits uP
Data RAM
Program ROM
Speaker
Driver
Interrupt
Controller
Timers
&
HQ generator
I/O
WDT 4 Channels
ADC Mixer
Address/Data Bus
OSC BP1[7:0]
DAC0
RESETB
Speaker
Driver
DAC1
IP0[3:0]
or
IP0[7:4]
XIN
XOUT
Serial
Interface
BP1[6:4]
VRB CIN IP0[3:0]COUT
BP2[7:0]BP0[7:0]
W567SXXX
- 6 -
5. ELECTRICAL CHARACTERISTICS
5.1 Absolute Maximum Ratings
PARAMETER RATING UNIT
Supply Voltage to Ground Potential -0.3 to +7.0 V
D.C. Voltage on Any Pin to Ground Potential -0.3 to VDD +0.3 V
Operating Temperature 0 to +70 °C
Storage Temperature -55 to +150 °C
Note: Exposure to conditions beyond those listed under Absolute Maximum Ratings may adversely affect the life and reliability
of the device.
5.2 D.C. Characteristics
(VDD−VSS = 4.5 V, FM = 8 MHz, Ta = 25°C, No Load unless otherwise specified)
SPEC.
PARAMETER SYM. TEST CONDITIONS Min. Typ. Max.
UNIT
FSYS = 4 MHz 2.4 - 5.5 V
Operating Voltage VDD FSYS = 8 MHz 3.6 - 5.5 V
Operating Current IOP FSYS = FM, normal
operation - 15 20 mA
Standby Current ISB STOP mode - 1 2 µA
32KHz Crystal current I32K FOSC disable, No load, Wake
up frequency: 2Hz - 6 15
µA
Input Low Voltage VIL All input pins VSS - 0.3 VDD V
Input High Voltage VIH All input pins 0.7 VDD - VDD V
VOUT = 0.4V, all output pins
except BP0 - - 4 mA
Output Low Current IOL
VOUT = 0.4V, BP0 only - - 8 mA
Output High Current IOH V
OUT = 2.4V, all output pins -4 - - mA
DAC Full Scale Current IDAC VDD = 4.5V, RL = 100Ω -2.4
-4.0
-3.0
-5.0
-3.6
-6.0 mA
ADC Analog Input
Voltage VAN V
RB - AVDD V
ADC Reference-Bottom
Voltage VRB IRB ≦ 6 mA 0.6 0.8 1.0 V
ADC Input Impendence RADC 30 - - MΩ
Operation Current of
Low Voltage Reset ILVR VDD = 4.5V 60 uA
All input pins except
RESETB 200 - -
KΩ
Pull High Resistance RIN
RESERB 100 - -
KΩ
W567SXXX
Publication Release Date: June 15, 2004
- 7 - Revision A11
5.3 A.C. Characteristics
(VDD-VSS = 4.5 V, FM = 8 MHz, Ta = 25°C; No Load unless otherwise specified)
SPEC.
PARAMETER SYM. TEST CONDITIONS
Min. Typ. Max.
UNIT
Ring type, *Rosc = 300 KΩ 3.6 4 4.4
Main-Clock FM
Ring type, *Rosc = 150 KΩ 7.2 8 8.8
MHz
Cycle Time TCYC F
SYS = 8 MHz 125 - DC nS
Main-Clock Wake-up
Stable Time TWSM Ring type, R = 160 KΩ - 3 5 mS
Main-Clock Frequency
Deviation, Ring type
∆F
F
MIN
MINMAX
F
F-F - 3 7.5 %
RESETB Active Width TRES After FSYS stable 4 - - TCYC
Fixed AVDD4 - - 6 bits
ADC Resolution AVDD = 3.6 ~ 5.5V - - 5 bits
ADC Accuracy Ebit - -
±1 LSB
Conversion rate = 8 KHz,
FSYS = 4 MHz - 2000 - pF
ADC Capacitor CADC Conversion rate = 16 KHz,
FSYS = 8 MHz - 1000 - pF
ADC Conversion Time TCON 512/FM- 32K/FM µS
ADC Stable Time TADS AVDD = VDD = 3V - - 2 µS
*: Typical ROSC value for each part number should refer to design guide.
4 AVDD is a fixed voltage, for example AVDD = 3.6V, 4.5V, or 5.5V.
W567SXXX
- 8 -
6. TYPICAL APPLICATION CIRCUITS
6.1 W567S010~S030
W567S010
|
W567S030
VDD
VSS
/RESET DAC
4.7uF BP00
|
BP07
BP10
|
BP17
Battery +
0.1uF
Reset
Switch
ROSC
OSC
Speaker
8050
VDD
Rs
Notes:
1. The typical value of Rosc is 150 KΩ for 8MHz and 300 KΩ for 4MHz and should be connected to GND (VSS).
2. Please refer to design guide to get typical Rosc value for each part number.
3. The Rs value is suggested in 270Ω ~ 1KΩ to limit too large DAC output current flowing into transistor.
4. The capacitor, 4.7µF, shunts between VDD and GND is necessary as power stability. But the value of capacitor is
depend on the application.
5. The above application circuits are for reference only. No warranty for mass production.
W567SXXX
Publication Release Date: June 15, 2004
- 9 - Revision A11
6.2 W567S040~S060
W567S040
|
W567S060
ROSC
OSC
VDD
VSS
4.7uF
BP00
|
BP07
BP10
|
BP17
IP04
|
IP07
Battery +
DAC0
Speaker0
8050
VDD
Rs
DAC1
VDD
Speaker1
8050
Rs
/RESET
0.1uF
Reset
Switch
Notes:
1. The typical value of Rosc is 160 KΩ for 8MHz and 330 KΩ for 4MHz and should be connected to GND (VSS).
2. Please refer to design guide to get typical Rosc value for each part number.
3. The Rs value is suggested in 270Ω ~ 1KΩ to limit too large DAC output current flowing into transistor.
4. The capacitor, 4.7uF, shunts between VDD and GND is necessary as power stability. But the value of capacitor is
depend on the application.
5. The above application circuits are for reference only. No warranty for mass production.
W567SXXX
- 10 -
6.3 W567S080~S341
W567S080
|
W567S341
ROSC
OSC
X32I
X32O
VDD
VSS
/RESET
DAC0
DAC1
0.1uF
4.7uF
BP00
|
BP07
BP10
|
BP17
BP20
|
BP27
IP00
|
IP07
VDD
VDDOSC
0.1uF
32K
Battery
10
+
VSSOSC
Reset
Switch
Speaker1
8050
Rs
Speaker0
8050
VDD
Rs
Notes:
1. The typical value of Rosc is 150 KΩ for 8MHz and 300 KΩ for 4MHz and should be connected to GND (VSS).
2. Please refer to design guide to get typical Rosc value for each part number.
3. For W567S080~S341, VSSOSC should be connected to VSS; and VDDOSC should be connected to VDD in PCB
layout.
4. The Rs value is suggested in 270Ω ~ 1KΩ to limit too large DAC output current flowing into transistor.
5. The 10Ω and 0.1µF between VDD, VDDOSC and GND are optional to filter power noise.
6. The capacitor, 4.7µF, shunts between VDD and GND is necessary as power stability. But the value of capacitor is
depend on the application.
7. The above application circuits are for reference only. No warranty for mass production.
W567SXXX
Publication Release Date: June 15, 2004
- 11 - Revision A11
6.4 W567S301/S341 with ADC Application
W567S301
|
W567S341
VDD
DAC0
DAC1
4.7uF
BP00
|
BP07
BP10
|
BP17
BP20
|
BP27
IP00
IP01
IP02
IP03
IP04
|
IP07
VDD
Battery +
Speaker1
8050
ROSC
OSC
/RESET
0.1uF
Reset
Switch
X32I
X32O
32K
0.1uF
VDDOSC
10
VDDA
22uF
AVDD
VSS
VSSOSC VSSA
C
CIN
COUT
VRB
Speaker0
8050
VDD
Notes:
1. The typical value of Rosc is 150 KΩ for 8MHz and 300 KΩ for 4MHz and should be connected to GND (VSS).
2. Please refer to design guide to get typical Rosc value for each part number.
3. For W567S301~S341, VSSA and VSSOSC should be connected to VSS; and VDDA and VDDOSC should be
connected to VDD in PCB layout.
4. The Rs value is suggested in 270Ω ~ 1KΩ to limit too large DAC output current flowing into transistor.
5. The 10Ω and 0.1µF between VDD, VDDOSC and GND are optional to filter power noise.
6. The capacitor, 4.7µF, shunts between VDD and GND is necessary as power stability. But the value of capacitor is
depend on the application.
7. The above application circuits are for reference only. No warranty for mass production.
W567SXXX
- 12 -
7. REVISION HISTORY
REVISION DATE MODIFICATIONS
A1 April 2002 Preliminary release.
A2 July 11, 2002
W567S020 created.
2 speech channels for entire series.
Wording modification.
A3 July 31, 2002 Modify pin description
Modify DC/AC electrical characteristics
A4 Oct. 15, 2002 Remove SIM out of from W567S040 ~ S060
Define ROSC value in AC ELECTRICAL CHARACTERI
A5 Nov. 15, 2002 Page 2, provides up to 8 input pins
Page 2, available package
A6 May 15, 2003
Add a table to show all W567Sxxx duration in page 1
Add PowerScriptTM function in feature list
Update available package
Rename RTC as 32 KHz crystal
Update application circuit
A7 Sep 10, 2003
Change part number W567S300 as W567S301
Change part number W567S340 as W567S341
Page 3, add Low Voltage Detect (LVD) feature
A8 Oct. 15, 2003 Update application circuit and notes.
A9 Nov 17, 2003 Rename VDD1 to VDDOSC in the Pin Description
Update application circuit and notes.
A10 March 16, 2004 Change the name Low-Voltage-Detect (LVD) to Low-Voltage-Reset
(LVR).
A11 June 15, 2004 Add the operation current of Low-Voltage-Reset.
W567SXXX
Publication Release Date: June 15, 2004
- 13 - Revision A11
Headquarters
No. 4, Creation Rd. III,
Science-Based Industrial Park,
Hsinchu, Taiwan
TEL: 886-3-5770066
FAX: 886-3-5665577
http://www.winbond.com.tw/
Taipei Office
TEL: 886-2-8177-7168
FAX: 886-2-8751-3579
Winbond Electronics Corporation America
2727 North First Street, San Jose,
CA 95134, U.S.A.
TEL: 1-408-9436666
FAX: 1-408-5441798
Winbond Electronics (H.K.) Ltd.
No. 378 Kwun Tong Rd.,
Kowloon, Hong Kong
FAX: 852-27552064
Unit 9-15, 22F, Millennium City,
TEL: 852-27513100
Please note that all data and specifications are subject to change without notice.
All the trade marks of products and companies mentioned in this data sheet belong to their respective owners.
Winbond Electronics (Shanghai) Ltd.
200336 China
FAX: 86-21-62365998
27F, 2299 Yan An W. Rd. Shanghai,
TEL: 86-21-62365999
Winbond Electronics Corporation Japan
Shinyokohama Kohoku-ku,
Yokohama, 222-0033
FAX: 81-45-4781800
7F Daini-ueno BLDG, 3-7-18
TEL: 81-45-4781881
9F, No.480, Rueiguang Rd.,
Neihu District, Taipei, 114,
Taiwan, R.O.C.