SPC122A-nnnnV-C Sunplus Technology Co., Ltd., SPC122A-nnnnV-C Datasheet - Page 4

no-image

SPC122A-nnnnV-C

Manufacturer Part Number
SPC122A-nnnnV-C
Description
SOUND CONTROLLER WITH 128KB FLASH MEMORY
Manufacturer
Sunplus Technology Co., Ltd.
Datasheet
For melody synthesis, the SPC122A offers two-channel(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 specific
frequency for each channel.
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.
12. TIMER/COUNTER
The SPC122A 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 leads the timer to reload the
user’s pre-set value and continue to count again.
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.
counter can also be read from the counters at the same time.
Timer/Counter Clock source can be selected as follows:
© Sunplus Technology Co., Ltd.
TMA
TMB
MODE SELECT REGISTER
TIMER CLOCK SELECTOR
Timer/Counter
After the counter has been activated, the value of the
12-BIT TIMER
12-BIT COUNTER
12-BIT TIMER
The hardware will toggle the tone
EXT CLK
CPU CLOCK (T) or T/4
T/64, T/8192, T/65536 or
T or T/4
TMA only, select timer or counter
Select T or T/4
When timer overflows from
Clock Source
At the same
Preliminary
PAGE 4
13. VOLUME CONTROL FUNCTION
A volume control function provides 8-step volume controller to
control current D/A or PWM output. The volume level can be
controlled through software programming. For more information
on how to adjust a volume level, please refer to SPC programming
guide.
Differences between SPC121A and SPC122A
Work range
ROM type
ROM SIZE
I/O port
SIO
PWM Output
Multiphase
Output
Volume Control
F
@VDD=2.4V-3.6V
F
@VDD=3.6V-5.5V
CPU
CPU
(max.)=4.0MHz
(max.)=6.0MHz
SPC121A
Mask
120K
21
û
û
û
F
@VDD=2.4V-3.6V
F
@VDD=3.6V-5.5V
CPU
CPU
SPC122A
(max.)=2.0MHz
(max.)=6.0MHz
SPC122A
DEC. 20, 2000
Flash
128K
28
Version: 0.7

Related parts for SPC122A-nnnnV-C