SPC1000A Sunplus Technology Co., Ltd., SPC1000A Datasheet - Page 6

no-image

SPC1000A

Manufacturer Part Number
SPC1000A
Description
1024KB SOUND CONTROLLER
Manufacturer
Sunplus Technology Co., Ltd.
Datasheet
*Values shown are for VDD = 5.0V test conditions only.
6.8. Timer/Counter
The SPC1000A contains two 12-bit timer/counters, TMA and TMB
respectively. TMA can be specified as a timer or a counter, but
TMB can only be used as a timer. In the timer mode, TMA and
TMB are re-loaded up-counters.
$0FFF to $0000, the carry signal will make the timer automatically
reload to the user’s pre-set value and be up-counted again. At
the same time, the carry signal will generate the INT signal if the
corresponding bit is enabled in the INT ENABLE Register. If TMA
is specified as a counter, users can reset by loading #0 into the
counter. After the counter has been activated, the value of the
counter can also be read from the counters at the same time.
Clock source of Timer/Counter can be selected as follows:
T1 = 1 / (F
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
MODE SELECT REGISTER TMA only, select timer or counter
TIMER CLOCK SELECTOR Select T or T/4
TMA
TMB
Timer/Counter
12-BIT TIMER
12-BIT COUNTER
12-BIT TIMER
Input/Output IOD port : IOD7 - 4
CPU CLK
CPU
Reset
Sleep
), Tw ≧ 65536 x T1
OD : Open Drain
input data
logic_4
control
output
data
CPU CLOCK (T) or T/4
T/64, T/8192, T/65536 or EXT CLK
T or T/4
OD-PMOS
or buffer
When timer overflows from
Clock Source
T1
60K
Wake-up
FIG. 1
6
T w
6.9. Speech and Melody
Since the SPC1000A provides a large ROM and wide range of
CPU operation speeds, it is most suitable for speech and melody
synthesis.
For speech synthesis, the SPC1000A can provide NMI for
accurate sampling frequency. Users can record or synthesize the
sound and digitize it into the ROM.
played back in the sequence of the control functions as designed
by the user's program. Several algorithms are recommended for
high fidelity and compression of sound including PCM, LOG PCM,
and ADPCM.
For melody synthesis, the SPC1000A provides the dual tone mode.
After selecting the dual tone mode, users only need to fill either
TMA or TMB, or both TMA and TMB to generate expected
frequency for each channel. The hardware will toggle the tone
wave automatically without entering into an interrupt service
routine. Users are able to simulate musical instruments or sound
effects by simply controlling the envelope of tone output.
6.10. Power Savings Mode
The SPC1000A provides a power savings mode (Standby mode)
for those applications that require very low stand-by current. To
enter standby mode, the Wake-Up Register should be enabled
and then stop the CPU clock by writing the STOP CLOCK
Register. The CPU will then go to the stand-by mode. In such a
mode, RAM and I/Os will remain in their previous states until being
awakened.
SPC1000A. After the SPC1000A is awakened, the internal CPU
will go to the RESET State (Tw ≧ 65536 x T1) and then continue
processing the program. Wakeup Reset will not affect RAM or
I/Os (FIG.1).
Port IOD7-0 is the only wake-up source in the
The sound data can be
SPC1000A
SEP. 14, 2001
Version: 2.6

Related parts for SPC1000A