SN56120
4-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.
5.13.
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
IR F
UNCTION
..........................................................................................................7
ABSOLUTE MAXIMUM RATING ..............................................................................8
ELECTRICAL CHARACTERISTICS .........................................................................8
APPLICATION CIRCUIT .............................................................................................9
DISCLAIMER................................................................................................................11
Ver: 1.0
1
March 2,2005
SN56120
4-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
SN56120
4-Channel Speech Controller
1.
INTRODUCTION
SN56120 is a 120 seconds single chip 4-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
120 seconds voice capacity are provided
128*4 bits RAM are provided
ROM Size
−
Maximum 384K*10 bits ROM size
−
64K program ROM is provided
Readable ROM code data
I/O Ports
−
Four 4-bit I/O ports P1, P2, P3, P6
−
The driving/sink current of P3.2 & P3.3 are 8mA/16mA
−
The IO pins P3.3 can be modulated with 38.5Khz carry signal to implement
IR function.
Built in a high quality speech synthesizer
Four independent voice channels
Adaptive playing speed from 4k-40kHz is provided for all 4 channels individually
Automatic repetition for every channel
A 6-bit*8-bit Multiplier is embed to modulate the volume of synthesized voices
Two 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
SN56120
4-Channel Speech Controller
3.
Block Diagram
ROM
Program/Speech/Instrument waveform
Address Pointer
PC/Data Pointer/Stack/Speech Pointer
SRAM
Timer
ALU
IO2
WDT
Timing
Generator
OSC
Sampling Rate Counter
Voice
Synthesizer
IO3
Push Pull
IO6
IO1
4.
PIN ASSIGNMENT
Symbol
P13, P12, P11, P10
P23, P22, P21, P20
P33, P32, P31, P30
P63, P62, P61, P60
VDD
GND
OSC/XIN
XOUT
CKSEL
I/O
I/O
I/O
I/O
I/O
I
I
I
O
I
Function Description
Bit3 ~ Bit0 of I/O port 1
Bit3 ~ Bit0 of I/O port 2
Bit3 ~ Bit0 of I/O port 3
Bit3 ~ Bit0 of I/O port 6
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
SN56120
4-Channel Speech Controller
5.
FUNCTION DESCRIPTIONS
5.1. Oscillator
SN56000 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
SN56000
CKSEL
OSC/XIN
XOUT
15pf
SN56000
CKSEL
OSC/XIN
XOUT
2MHz
Crystal / Resonator
5.2. ROM
15pf
RC Oscillator
SN56120 contains 384K word (10-bit) internal ROM. Program, voices, melodies, data,
and instrument waveforms share the same ROM with the others.
5.3. RAM
SN56000 series contains 128 nibble RAM. The 128 nibble RAM is separated into
eight pages (page 0, page1… page 7). An implicit page indicator is utilized to specify
page address. Eight instructions, PAGE0, PAGE1... PAGE7 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 SN56000 series enter power down mode and consumer very
little amount of current. (<2uA @VDD=3V and <5uA @VDD=5V) After SN56120
enters power down mode, any valid data transition (L H or H L) occurring on any
input ports or IO ports (P1, P2, P3 and P6) lead SN56000 series back to normal
operation mode.
5.5. Sampling Rate Counters
4 independent sampling rate counters are dedicated to 4 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 SN56000 series play sounds with accurate pitches in the case of
music instrument synthesis.
Ver: 1.0
5
March 2,2005