SN52010
2-Channel Speech Controller
==========================
CONTENTS
===========================
1.
2.
3.
4.
5.
INTRODUCTION............................................................................................................3
FEATURES ......................................................................................................................3
BLOCK DIAGRAM ........................................................................................................4
PIN ASSIGNMENT.........................................................................................................4
FUNCTION DESCRIPTIONS .......................................................................................5
5.1.
5.2.
5.3.
5.4.
5.5.
5.6.
5.7.
5.8.
5.9.
5.10.
5.11.
5.12.
6.
7.
8.
9.
O
SCILLATOR
...............................................................................................................5
ROM ..........................................................................................................................5
RAM ..........................................................................................................................5
P
OWER
D
OWN
M
ODE
..................................................................................................5
S
AMPLING
R
ATE
C
OUNTERS
.......................................................................................5
A
UTO REPETITION
.......................................................................................................6
W
AVE
M
ARK
..............................................................................................................6
P
USH
-P
ULL OUTPUT
....................................................................................................6
V
OLUME
C
ONTROL
F
UNCTION
....................................................................................6
W
ATCH
D
OG
...........................................................................................................7
I/O P
ORTS
...............................................................................................................7
P
ULL
-L
OW
R
ESISTER
C
ONTROL
..............................................................................7
ABSOLUTE MAXIMUM RATING ..............................................................................8
ELECTRICAL CHARACTERISTICS .........................................................................8
APPLICATION CIRCUIT .............................................................................................9
DISCLAIMER................................................................................................................11
Ver: 1.0
1
March 2,2005
SN52010
2-Channel Speech Controller
AMENDENT HISTORY
Version
Ver 1.0
Ver 1.1
May 25,2005
Date
First issue
Add RST pin Description
Description
Ver: 1.0
2
March 2,2005
SN52010
2-Channel Speech Controller
1.
INTRODUCTION
SN52010 is a 10 seconds single chip 2-channel voice synthesizer IC which contains
I/O pins and a tiny controller. By programming through the tiny controller, users’
applications including section combination, trigger modes, output status, high
performance melody, multiple voices, and other logic functions can be implemented.
2.
FEATURES
Single power supply 2.4V – 5.5V
Built in a tiny controller
10 seconds voice capacity are provided
64*4 bits RAM are provided
ROM Size
−
Maximum 32K*10 bits ROM size
−
32K program ROM is provided
Readable ROM code data
I/O Ports
−
One 4-bit I/O ports P3
−
The driving/sink current of P3.2 & P3.3 are 8mA/16mA
Built in a high quality speech synthesizer
Two independent voice channels
Adaptive playing speed from 4k-40kHz is provided for all 2 channels individually
A 6-bit*8-bit Multiplier is embed to modulate the volume of synthesized voices
One digital mixers (with saturation control) are provided
Built in an 8-level volume control Analog Push-Pull Direct Drive circuit.
System clock: 2M Hz (RC-type or Crystal Option)
Low Voltage Reset
Built-in WDT function
Built-in Event Mark Function
Ver: 1.0
3
March 2,2005
SN52010
2-Channel Speech Controller
3.
Block Diagram
ROM
Program/Speech/Instrument waveform
Address Pointer
PC/Data Pointer/Stack/Speech Pointer
SRAM
Timer
ALU
IO3
Timing
Generator
OSC
Sampling Rate
Push Pull
WDT
Voice
Synthesizer
4.
PIN ASSIGNMENT
Symbol
P33, P32, P31, P30
VDD
GND
OSC/XIN
XOUT
CKSEL
I/O
I/O
I
I
I
O
I
Function Description
Bit3 ~ Bit0 of I/O port 3
Positive power supply
Negative power supply
Oscillator / Crystal In
Crystal Out / 1Khz output
Clock type select
‘L’ or floating
→
RC oscillator
‘H’
→Crystal
Positive Output of Push Pull
Negative Output of Push Pull
RST=1 Reset Chip (Active H)
BUO1
BUO2
RST
O
O
I
Ver: 1.0
4
March 2,2005
SN52010
2-Channel Speech Controller
5.
FUNCTION DESCRIPTIONS
5.1. Oscillator
SN52010 series accepts crystal oscillator / ceramic resonator or RC type oscillator
(selected by pin CKSEL) for system clock. The typical circuit diagrams for oscillator
are listed as follows.
VDD
VDD
SN52000
CKSEL
OSC/XIN
XOUT
15pf
SN52000
CKSEL
OSC/XIN
XOUT
2MHz
Crystal / Resonator
5.2. ROM
15pf
RC Oscillator
SN52010 contains 32K word (10-bit) internal ROM. Program, voices, melodies, data,
and instrument waveforms share the same ROM with the others.
5.3. RAM
SN52010 series contains 64 nibble RAM. The 64 nibble RAM is separated into four
pages (page 0, page1, page2 and page 3). An implicit page indicator is utilized to
specify page address. Four instructions, PAGE0, PAGE1, PAGE2 and PAGE3, can
switch the page indicator. All 16 nibbles of each page can be accessed by direct mode
(to specify M0 ~ M15 in the data transfer type instructions.)
5.4. Power Down Mode
“End” instruction will let SN52010 enter power down mode and consumer very little
amount of current. (<2uA @VDD=3V and <5uA @VDD=5V) After SN52010 enters
power down mode, any valid data transition (L H or H L) occurring on any P3 IO
ports would lead SN52010 back to normal operation mode.
5.5. Sampling Rate Counters
2 independent sampling rate counters are dedicated to 2 individual voice channels to
play voices with different playing rates. The playing rate is programmable from 4KHz
to 40KHz. The resolution of sampling period of each sampling rate counter is 0.25 uS.
This feature helps SN52010 play sounds with accurate pitches in the case of music
instrument synthesis.
Ver: 1.0
5
March 2,2005