
W58300
- 4 -
The High Fidelity
PowerSpeech
TM
is a derivative of Winbond's
PowerSpeech
TM
synthesizers, which
are becoming dominant in the consumer market, especially for toy applications.
There are 8 trigger inputs and 8 STOP outputs in W58300. The maximal number of software key pad
by scanning matrix is up to 8
×
9 = 72 keys. There are 8 general purpose registers, R0
R7. R0
R7
can apply not only for "LD" and "JP" instruction but also for "MV" instruction. Only R0 can apply for
"INC" instruction. CPU interface is the same as the W581xx series. IR interface is a new feature in
PowerSpeech
TM
. You can use IR interface to transmit and receive a command. For example, when X
chip executes the "TX R1" instruction, the Pulse Position Modulation waveform (with 38 KHz carrier)
outputs from IROUT pin to drive a photo diode. Y chips within a certain distance will receive the IR
signal through an IR receiver module to TG3 pin and execute a "JP" to the interrupt vector/label
pointed by R1 of X chip.
There are two kinds of events that can cause the W58300 to enter the POI (Power On Initialization)
process: one is power on, and the other is direct trigger from RESET pin. The interrupt vector "32" is
allocated for this special event, and has the 1st priority, i.e., no triggers can override the POI process
if they all happen simultaneously. So the user can write a program in this interrupt vector to set the
power on initial state. If the user does not wish to execute a program on power on, he should write an
"END" instruction in interrupt vector "32". During the POI process, triggers can then override it
successfully; if the EN0, EN1 and MODE0, MODE1 registers are set properly.
If more than two events happen simultaneously, the priority that is set by the internal H/W is: POI >
TG1F > TG1R > TG2F > TG2R > TG3F > TG3R > TG4F > TG4R > TG5F > TG5R > TG6F > TG6R
> TG7F > TG7R > TG8F > TG8R > "JP" instruction.
Register Definition and Control
The register file of the W58300 is composed of 14 registers, including 8 general purpose registers
and 6 special purpose registers. They are defined to facilitate the operations for various purposes.
The default setting values of the registers are given in the following table.
REGISTER
General Register
NAME
DEFAULT SETTING
00100000B
11111111B
11111111B
11111111B
00000000B
R0
R7
EN0, EN1
MODE0, MODE1
STOP
PAGE
Special Register
1. MODE0 Register
BIT
DESCRIPTION
DEFINITION
7
LED Mode
1: Flash
0: DC