SONIX SNC21120

SNC21120
1-CH H.Q. Speech Controller
===================== CONTENTS =====================
1.
INTRODUCTION............................................................................................................3
2.
FEATURES ......................................................................................................................3
3.
PIN ASSIGNMENT.........................................................................................................4
4.
BLOCK DIAGRAM ........................................................................................................4
5.
FUNCTION DESCRIPTIONS .......................................................................................5
5.1
5.2
5.3
OSCILLATOR ...............................................................................................................5
ROM ..........................................................................................................................5
RAM ..........................................................................................................................5
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
5.12
POWER DOWN MODE ..................................................................................................5
SAMPLING RATE COUNTER .........................................................................................5
I/O PORTS ...................................................................................................................6
IR FUNCTION ..............................................................................................................6
PWM IO CONTROL .....................................................................................................6
WATCH DOG TIMER ....................................................................................................6
PUSH-PULL & DA OUTPUT ........................................................................................7
MARK REGISTER .........................................................................................................8
LOW VOLTAGE HOLD .................................................................................................8
6.
ABSOLUTE MAXIMUM RATING ..............................................................................9
7.
ELECTRICAL CHARACTERISTICS .........................................................................9
8.
APPLICATION CIRCUIT ...........................................................................................10
Ver: 1.0
1
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
AMENDENT HISTORY
Version
Ver 1.0
Ver: 1.0
Date
November 08, 2006
Description
First issue
2
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
1. INTRODUCTION
SNC21120 is a one-channel voice synthesizer IC with Push-Pull direct drive circuit. It
built in a 4-bit tiny controller with four 4-bit I/O ports. By programming through the tiny
controller in SNC21120, user’s varied applications including voice section combination,
key trigger arrangement, output control, and other logic functions can be easily
implemented.
2. FEATURES
Single power supply 2.4V – 5.5V
System Clock is 2MHz, the instruction cycle is 4us
120 seconds voice capacity are provided (@6KHZ sample rate)
Built in a 4-bit tiny controller
I/O Port
Four 4-bit I/O ports P1, P2, P3 and P6 are provided
The driving/sink current of P3.2 & P3.3 is up to 8mA/16mA
The IO pins P3.3 or P2.3 can be modulated with 38.5Khz carry signal to
implement IR function.
PWM output for IO (P3.0~P3.3)
128*4 bits RAM are provided
Maximum 16k program ROM is provided
384K*10 shared ROM for voice data and program
Readable ROM code data
Built-in one channel High Quality speech synthesizer
Adaptive playing speed from 2.5k-20kHz is provided
Automatic repetition
Support 5-bit ADPCM and 10 bit PCM format
Built in an 8-level volume control Push-Pull Direct Drive circuit output, can directly
connected to Speaker for sound output
12 bit Push-Pull DA output and 12 bit current DAC output
Event Mark function supported
Low-Voltage Detect circuit
Watch Dog Timer Reset function.
Ver: 1.0
3
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
3. PIN ASSIGNMENT
Symbol
P10~P13
P20~P23
P30~P33
P60~P63
RST
TEST
FUSEPAD
OSC
RCSEL
DAON
I/O
I/O
I/O
I/O
I/O
I
I
I
I
I
O
Function Description
I/O port 1: IO
I/O port 2: IO
I/O port 3: IO
I/O port 6: IO
Reset Chip (Active H)
Test pin
Fuse mode selection pad
The test mode clock input pad or OSC
Ring OSC R selection
DAOP
O
Push-Pull output 2
DACO
O
VDD
GND
P
P
Current DAC output
Positive power supply
Negative power supply
Push-Pull output 1
4. Block Diagram
ROM
Program/Speech
Address Pointers/ STACK
Timing
Generator
OSC
SRAM (128 nibbles)
Sampling Rate Counter
Watch Dog
Timer
Timer
Voice
Synthesizer
Push-Pull
Circuit
ALU
PWM IO
IO port 1
Ver: 1.0
IO port 2
IO port 3
4
IO port 6
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
5. FUNCTION DESCRIPTIONS
5.1
Oscillator
System clock define 2 Mhz, the souce provided by internal R-type ring oscillator or
external resistor ring oscillator. This option is controlled by pin, RCSEL.
RCSEL = 1 using the external R 180Kohm
RCSEL = 0 using the internal R
5.2
ROM
SNC21120 contains a substantial maximum 384K words (10-bit) internal ROM, which
is shared by program and resource data. Program, voice and data are shared within
this same 384K words ROM.
5.3
RAM
SNC21120 contains maximum 128 nibble RAM (128 x 4-bits). The 128 nibble RAM is
divided into eight pages (page 0 to page 7, 16 nibble RAM on each page). In our
programming structure, users can use the instructions, PAGE n (n=0 to 7) to switch
and indicate the RAM page. Besides, users can use direct mode, M0 ~ M15 in the
data transfer type instructions, to access all 16 nibbles of each page.
5.4
Power Down Mode
“End” instruction makes the IC entering into Stop Mode will stop the system clock for
power savings (<3uA @VDD=3V and <6uA @VDD=4.5V.) Any valid data transition
(L H or H L) occurring on any IO pin can be used to start the system clock and
return to normal operating mode.
5.5
Sampling Rate Counter
The unique sampling rate counter is designed in voice channel to be able to play
diverse voices at different sample playing rates. The playing rate can be adaptively set
up among from the wide ranges of 2.5KHz to 20KHz. This architecture yields a
high-quality voice synthesis that sounds very close to its original source when played
through the same amplifier and speaker circuitry.
Ver: 1.0
5
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
5.6
I/O Ports
There are four 4-bit I/O ports P1, P2, P3 and P6. Any I/O can be individually
programmed as either input pull low or output. Any valid data transition (H L or
L H) of P1, P2, P3 and P6 can reactivate the chip when it is in power-down stage.
Port Data
PAD
Port Status
Weak
To Internal Data Bus
Read Control
I/O Port Configuration
Note:
(1) Weak N-MOS can serve as pull-low resistor.
(2) The driving/sink current of P3.3 & P3.2 is up to 8mA/16mA
5.7
IR Function
Bit 3 of Mode Register is applied to control the IR function. P33 can be modulated with
38.5KHz square wave before sent out to P3.3 or P2.3 pin. P3.3 and P2.3 out is
controlled by Mode1.1. If Mode1.1 set 1 IR is use P2.3, set “0” is use P3.3. The IR
signal can be achieved by this modulated signal.
5.8
PWM IO control
SNC21120 have support 4 PWM IO (P30~P33). Each I/O has 8 bits independent duty
register.
5.9
Watch Dog Timer
SNC21120 built an internal WDT (Watch Dog Timer). This Watchdog timer would
issue resets signal to this chip if it is not cleared before reaching terminal count (1sec).
The watchdog timer is enabled at reset and cannot be disabled.
Ver: 1.0
6
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
5.10
Push-Pull & DA Output
SNC21120 is an advanced chip to be designed having two optimal methods to play
out the voices. One is DAC and the other is Push-Pull. Upon user’s applications,
user can select either DAC or PWM in his design. Please be aware that only one
method can be activated at a time.
Push-Pull: An 8-level volume control Push-Pull Direct Drive circuit is
built-in SNC21120. The maximum resolution of Push-Pull is 12 bits. Two huge output
stage circuits are designed in SNC21120. With this advanced circuit, the chip is
capable of driving speaker directly without external transistors.
-
Audio in
VON
+
0.5 Vdd
0.5 Vdd
VOP
+
Push-Pull Output
DAC: A 12-bit current type digital-to-analog converter is built-in SNC21120
VCC
DACO
1K
Ver: 1.0
7
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
5.11
Mark register
If user had insert Mark into wave file. The Mark data will be fetched into this register
during voice playing. The content of this register will be cleared to “0” automatically
once user accesses this register.
5.12
Low Voltage Hold
This function enables chips entering Hold mode when voltage is below 2.1V and will
back to work after voltage rise up to 2.1V. Chip will not entering hold mode before
current Instruction finish. When chip in Hold mod, ROSC will keep running, and all the
content of Latch/Register/SRAM will keep unchanged.
Ver: 1.0
8
November 08, 2006
SNC21120
1-CH H.Q. Speech Controller
6. ABSOLUTE MAXIMUM RATING
Items
Supply Voltage
Input Voltage
Operating Temperature
Storage Temperature
Symbol
VDD-V
VIN
TOP
TSTG
Min
-0.3
VSS-0.3
0
-55.0
Max
6.0
VDD+0.3
55.0
125.0
Unit.
V
V
o
C
o
C
7. ELECTRICAL CHARACTERISTICS
Item
Operating Voltage
Standby current
Operating Current
Input current of
P1, P2, P3, P6
Drive current of
P1, P2, P3.0, P3.1, P6
Sink Current of
P1, P2, P3.0, P3.1, P6
Drive current of P3.2, P3.3
Sink current of P3.2, P3.3
Push-Pull current
Push-Pull current
Oscillation Freq.
Drive Current of DACO
Ver: 1.0
Sym. Min. Typ. Max. Unit
Condition
VDD 2.4
3.0
5.5
V
ISBY
3.0
uA VDD=3V, no load
5.0
VDD=4.5V, no load
IOPR
300
uA VDD=3V, no load
IIH
3.0
uA VDD=3V,VIN=3V
IOD
3
4
-
mA VDD=3V,VO=2.4V
IOS
4
6
-
mA VDD=3V,VO=0.4V
IOD
IOS
IPP
6
10
-
8
16
70
-
IPP
-
100
-
FOSC
IOD
-
2.0
3
-
mA VDD=3V,VO=2.4V
mA VDD=3V,VO=2.4V
mA VDD=3V, Output 1K
Sin wave.
mA VDD=4.5V, Ouput 1K
Sin wave.
MHz VDD=3V
mA VDD=3V,DACO=0.7V
9
November 08, 2006
1-CH H.Q. Speech Controller
SNC21120
8. APPLICATION CIRCUIT
VDD
VDD
RST
P30
P31
P32
P33
BUO1
BUO2
SNC21120
GND
P10
P11
P12
P13
P20
P21
P22
P23
TR4
TR3
TR2
TR1
TR8
TR7
TR6
TR5
TR12
TR11
TR10
TR9
TR16
TR15
TR14
TR13
November 08, 2006
10
Ver: 1.0
SNC21120
1-CH H.Q. Speech Controller
DISCLAIMER
The information appearing in SONiX web pages (“this publication”) is believed to be
accurate.
However, this publication could contain technical inaccuracies or typographical errors.
The reader should not assume that this publication is error-free or that it will be
suitable for any particular purpose. SONiX makes no warranty, express, statutory
implied or by description in this publication or other documents which are referenced
by or linked to this publication. In no event shall SONiX be liable for any special,
incidental, indirect or consequential damages of any kind, or any damages whatsoever,
including, without limitation, those resulting from loss of use, data or profits, whether or
not advised of the possibility of damage, and on any theory of liability, arising out of or
in connection with the use or performance of this publication or other documents which
are referenced by or linked to this publication.
This publication was developed for products offered in Taiwan. SONiX may not offer
the products discussed in this document in other countries. Information is subject to
change without notice. Please contact SONiX or its local representative for
information on offerings available. Integrated circuits sold by SONiX are covered by
the warranty and patent indemnification provisions stipulated in the terms of sale only.
The application circuits illustrated in this document are for reference purposes only.
SONIX DISCLAIMS ALL WARRANTIES, INCLUDING THE WARRANTY OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. SONIX reserves the right
to halt production or alter the specifications and prices, and discontinue marketing the
Products listed at any time without notice. Accordingly, the reader is cautioned to
verify that the data sheets and other information in this publication are current before
placing orders.
Products described herein are intended for use in normal commercial applications.
Applications involving unusual environmental or reliability requirements, e.g. military
equipment or medical life support equipment, are specifically not recommended
without additional processing by SONIX for such application.
Ver: 1.0
11
November 08, 2006