
W523SXX
(PRELIMINARY)
Publication Release Date: Oct 2000
- 9 -
Revision A5
TG1
(Data)
TG2
(Clock)
0
1
0
0
0
1
0
0
MSB
LSB
<1>
<2>
<3>
<4>
DEB
T
CRD
T
<1> When TG1 is pulled low, the W523Sxx stops playing voice or executing instruction and waits for data from
the external
μ
C.
<2> If TG1 is debounced OK, the W523Sxx will clear the CPU receiving buffer.
<3> 8-bit data are transferred by TG1 (Data) and TG2 (Clock). LSB is sent firstly.
<4> TG1 returns to high and starts the CPU interrupt service. In this case W523S15 will play the
H51+voice2+T51 sections and the STPA/BUSY pin is pulled high during the playing period.
The TG1 pin, which is pulled high with a 500K
resistor, should be kept high during non-transmission
periods to reduce power consumption. The external
μ
C should be connected to the W523Sxx by an
inverted-type output port for better noise immunity. In CPU mode, the W523Sxx stops operating upon
the falling edge of the TG1 pin. For the CPU interface to work normally, TG1F should be disabled.
Thus, one suggestion is that TG1F, TG1R, TG2F, and TG2R should all be disabled in CPU mode. The
master frequency of the external
μ
C, and hence the clock rate of TG1 and TG2, tends to vary among
different vendors and applications.
Note: In CPU mode application, in case the last voice group entry point, 255, is no used, it should be
typed “END” command to avoid abnormal operating.
Instruction Set List
There are two types of instruction in the W523Sxx, unconditional and conditional instructions. The first
types of instructions are executed immediately after they are issued. The second types of instructions
are executed only when the conditions specified in the instruction are satisfied. All the instructions are
listed in the following table. The cycle time for each instruction is 2/Sampling Frequency (Fs). For
example, Fs = 6.0 KHz, the cycle time is 333
μ
S.
UNCONDITIONAL
G
Rn
EN0, value
EN1, value
MODEi, value
STOP, value
PAGE, value
Rn, value
Rn, Rm
CONDITIONAL
G
Rn
EN0, value
EN1, value
MODEi, value
STOP, value
PAGE, value
Rn, value
Rn, Rm
JP
JP
LD
LD
LD
LD
LD
LD
END
MV
INC
JP
JP
LD
LD
LD
LD
LD
LD
END
MV
INC
@STS
@STS
@STS
@STS
@STS
@STS
@STS
@STS
@STS
@STS
@STS