W536Q020/Q030/Q060/Q090/Q120
VOICE/MELODY/LCD CONTROLLER
(ViewTalk
TM
Series)
Publication Release Date: May 20, 2003
- 1 -
Revision A2
Table of Contents-
1.
GENERAL DESCRIPTION ......................................................................................................... 2
2.
FEATURES ................................................................................................................................. 3
3.
BLOCK DIAGRAM ...................................................................................................................... 5
4.
PAD DESCRIPTION ................................................................................................................... 6
5.
ELECTRICAL CHARACTERISTICS........................................................................................... 9
5.1
Absolute Maximum Ratings............................................................................................... 9
5.2
DC Characteristics............................................................................................................. 9
5.3
AC Characteristics........................................................................................................... 11
6.
TYPICAL APPLICATION CIRCUITS ........................................................................................ 14
6.1
Sub Clock with RC Mode................................................................................................. 14
6.2
Sub Clock with Crystal Mode........................................................................................... 15
7.
REVISION HISTORY ................................................................................................................ 16
W536Q020/Q030/Q060/Q090/Q120
- 2 -
1. GENERAL DESCRIPTION
The W536QXXX, a member of ViewTalk
TM
family, is a high-performance 4-bit micro-controller (uC)
with built-in speech unit, melody unit and 40seg * 16 com LCD driver unit which includes internal
regulator pump circuit and dedicated one pages LCD RAM. The 4-bit uC core contains dual clock
source, 4-bit ALU, two 8-bit timers, one 14 bits divider, 12 pads for input or output, 7 interrupt sources
and 8-level nesting for subroutine/interrupt applications. Speech unit, integrated as a single chip with
maximum 128 seconds (based on 6.4K sample rate with 5 bits MDPCM), is capable of expanding to
512 seconds speech addressed by external memory W55XXX with serial bus interface.
It can be implemented with Winbond Power Speech using MDPCM algorithm. Melody unit provides
dual tone output and can store up to 1k notes. Power reduction mode is also built in to minimize power
dissipation. It is ideal for games, educational toys, remote controllers, watches, clocks and other
application products that incorporate both LCD display and speech.
PART NO
W536Q020 W536Q030
W536Q060
W536Q090
W536Q120
Voice
20 sec
30 sec
60 sec
90 sec
120 sec
I/O pad
8I/O, 4I
(RA/RB/RD)
8I/O, 4I
(RA/RB/RD)
8I/O, 8I
(RA/RB/RC/RD)
8I/O, 8I, 8O
(RA/RB/RC/RD/
RE/RF)
8I/O, 8I, 8O
(RA/RB/RC/RD/
RE/RF)
WDT disable/Enable
(Mask Option)
Y Y Y Y Y
Sub-clock
RC/XTAL Mode
(Mask Option)
Y Y Y Y Y
RD port shared as serial
bus
(Mask Option)
Y(1) Y(1) Y(1)
N
N
Tri-state serial bus
(Mask Option) (3)
Y Y Y N N
Cascaded Voice ROM
through serial bus (2)
N N Y(1) N Y
Notes:
1. Share 3 pads of RD port (RD1/ADDR, RD2/DATA and RD3/CLK)
2. Dedicate serial bus 3 pads (ADDR, DATA and CLK) to interface with W55XXX. Cascaded Voice ROM can help to expand
voice up to 512 sec by W55XXX chip.
3. Tri-state serial bus mask option can float serial bus while voice playing is no active. Let this mask option is disabled to get
minimum power consumption in general.
W536Q020/Q030/Q060/Q090/Q120
Publication Release Date: May 20, 2003
- 3 -
Revision A2
2. FEATURES
Operating voltage: 2.4 volt ~ 5.5 volt
Watch dog disabled/enabled by mask option
Dual clock operating system
- Main clock with Ring/Crystal (400 KHz to 4 MHz)
- Sub-clock with 32.768 KHz RC/Crystal by mask option
Memory
- Program ROM (P-ROM): 16K 20 (ROM Bank0)
- Data RAM (W-RAM): 1K 4 bit
(RAM Bank 0 is 512 nibbles from 0:000~0:1FF and 0:380~0:3FF are mapped to special
register.
RAM Bank F is 512 nibbles from F: 200~F: 3FF either data RAM or dedicated to script
kernel)
- LCD RAM (L-RAM): 160 4 bit 1 pages (RAM Bank1 from 260~2FF)
Maximum 24 input/output pads
- Ports for input only: 8 pads (RC, RD port; RD1~3 can share as serial bus for external
memory W55XXX interface @W536Q020/Q030/Q060)
- Ports for output only: 8 pads (RE & RF port; W536Q090/Q120 available only)
- Ports for Input/output: 8 pads (RA and RB port)
Power-down mode
- Hold mode (except for 32kHz oscillator)
- Stop mode (including 32kHz oscillator and release by RD or RC port)
Seven types of interrupts
- Five internal interrupts (Divider, Timer 0, Timer 1, Speech, Melody)
- Two external interrupts (RD, RA)
One built-in 14-bit clock frequency divider circuit
Two built-in 8-bit programmable countdown timers
- Timer 0: one of two clock sources (FOSC/4 or FOSC/1024) can be selected
- Timer 1: built-in auto-reload function includes internal timer
Built-in 18/14-bit watchdog timer for system reset.
Powerful instruction sets
8-level subroutine (including interrupt) nesting
LCD driver unit capability
- VLCD higher than (V
DD
-0.5V)
- Built-in voltage regulator to V2 pad
- 40 seg 16 com (seg: 24~63; com: 0~15)
- 1/16 or 1/8 duty, 1/5 or 1/4 bias, internal pump circuit option by special register
- COM 8~15 and SEG40~63 can be shared as general input/output by special register
- Either uC ROM or voice ROM used as LCD picture
W536Q020/Q030/Q060/Q090/Q120
- 4 -
Speech function
- Provided 640K/ 1M/ 2M/ 3M/ 4M bits Voice ROM for W536Q020/ Q030/ Q060/ Q090/
Q120 based on 5 bits MDPCM algorithm
- Voice ROM (V-ROM) available for uC data or LCD picture data.
- Maximum 8*256 Label/Interrupt vector (voice section number) available
- Provide two types of speech busy flag to either each GO or each trigger
- Maximum up to 16M bits speech address capability interface with external memory
W55XXX through serial bus.
Melody function
- Provide 1K notes (22bits/note) dedicated melody ROM
- Provide two types of melody busy flag to uC either each note or each song
- Provide 6 kinds of beat, 16 kinds of tempo, and pitch range from G3# to C7
- Tremolo, triple frequency and 3 kinds of percussion available
- Maximum 31 songs available
Can mix speech with melody
Multi-engine controller
Direct driving speaker/buzzer or DAC output
Chip On Board available
W536Q020/Q030/Q060/Q090/Q120
Publication Release Date: May 20, 2003
- 5 -
Revision A2
3. BLOCK DIAGRAM
XIN XOUT X32I X32O
LCD DRIVER
PC
STACK
(8 Levels)
Timer 0
Timer 1
Watch Dog
ALU
ACC
Divide
ROM
16K*20Bit
RAM
1K*4Bit
Special Register
HCF
HEF
IEF
EVF
FLAG1
PSR0
MR0
PEF
FLAG0
LPX3
PM0
LPX2
LPX0
LPX1
VLCD PUMP &
REGULATOR
LPX4
LPX5
LPY0
LPY1
SPC
MLD
Dual
Tone
melody
(1K notes)
MLD_play
MLD_busy
Speech
MDPCM
core
SPC_play
SPC_busy
Interrupt ,Hold & Stop
Control
Voice ROM
(640K/1Mbits)
LPXY
Shared_ROM Data
SEG24~63
V3,V4,V5,V6
DH1,DH2
COM0~15
V2
Timing
Generator
VDD
VSS
RES
PWM1/DAC
ROSC
VSSP
TEST
PWM/DAC
Mix
Block
PWM2
VDDP
PORT RA
TONE
RA0~3
PORT RD
RD0~3
PORT RB
RB0~3
PORT RC
RC0~3
PORT RF
RF0~3
PORT RE
RE0~3
WRP
RDP
SPDATA
Parallel
to Serial