SONIX SNC209S

SNC209S
Direct Drive Speech Controller
================= CONTENTS ================
1.
INTRODUCTION........................................................................................................2
2.
FEATURES ..................................................................................................................2
3.
BLOCK DIAGRAM ....................................................................................................3
4.
PIN ASSIGNMENT.....................................................................................................3
5.
FUNCTION DESCRIPTIONS ...................................................................................4
5.1.
OSCILLATOR ...............................................................................................................4
5.2.
5.3.
5.4.
ROM ..........................................................................................................................4
RAM ..........................................................................................................................4
POWER DOWN MODE ..................................................................................................4
5.5.
5.6.
5.7.
SAMPLING RATE COUNTERS .......................................................................................4
EVENT MARK ..............................................................................................................5
I/O PORTS ...................................................................................................................5
5.8.
DAC & PWM.............................................................................................................6
6.
ABSOLUTE MAXIMUM RATING ..........................................................................8
7.
ELECTRICAL CHARACTERISTICS .....................................................................8
8.
APPLICATION CIRCUIT .........................................................................................9
DISCLAIMER .....................................................................................................................11
Ver: 0.3
1
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
1.
INTRODUCTION
SNC209S is a single channel voice synthesizer IC with PWM direct drive circuit. It
built-in a 4-bit tiny controller with six I/O pins. By programming through the tiny
controller in SNC209S, 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
60 seconds voice capacity are provided (@6KHZ sample rate)
Built in a 4-bit tiny controller
Where P3.2, P3.3 can direct drive LED (8mA for driving, 16mA for sink)
Six I/O pins are provided (P3.0~P3.3, P2.0, P2.1)
48*4 bits RAM are provided
184K*10 ROM size are provided for voice data and program
Maximum 16K program ROM is provided
Readable ROM code data
Built in a high quality speech synthesizer
Adaptive playing speed from 2.5k-20kHz is provided
Built in a PWM Direct Drive circuit and a fixed current D/A output
8-level volume control for PWM Direct Drive output
System clock: 2MHz
Low Power Detect
Ver: 0.3
2
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
3.
Block Diagram
ROM
Program/Speech
184K×10 bits
Address Pointers/ STACK
SRAM (48 nibbles)
OSC
Sampling Rate Counter
Timer
Voice
Synthesizer
ALU
PWM
D/A
IO3 / IO2
4.
Timing
Generator
PIN ASSIGNMENT
Symbol
P33 ~ P30
P21 ~ P20
VDD
GND
RST
OSC
BUO1/VO
BUO2
Fuse
Ver: 0.3
I/O
I/O
I/O
P
P
I
O
O
O
I
Function Description
Bit3 ~ Bit0 of I/O port 3
Bit1 ~ Bit0 of I/O port 2
Positive power supply
Negative power supply
Reset pin (active high)
Oscillator / Crystal Out
Positive Output of PWM or DA output
Negative Output of PWM
For test mode
3
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
5. FUNCTION DESCRIPTIONS
5.1. Oscillator
SNC209S accept RC type oscillator for system clock. The typical circuit diagram for
oscillator is listed as follow.
VCC
r
OSC
RC Oscillator
5.2. ROM
SNC209S contains substantial 184K words (10-bit) internal ROM. Program, voices
and other data are shared with this same 184K words ROM.
5.3. RAM
SNC209S contains 48 nibbles RAM. The 48 nibbles RAM are divided into three pages
(page 0, page 1 and page 2, 16 nibble RAM on each page). In our programming
structure, users can easily define and locate RAM page in the program. For instance,
users can use the instructions, PAGEn (n=0 to 2) to switch and indicate the RAM page.
Besides, users can use direct mode, M0 ~ M15 in the data transfer type instructions
(M15 is forbidden using for user in each page), to access all 16 nibbles of each page.
5.4. Power Down Mode
“End” instruction will power down SNC208 and enable IC to consume fewer current for
power saving. (<3uA @VDD=3V and <5uA @VDD=5V) Please be aware that when
the power down mode is activated in SNC208, any valid data transition (LH or HL)
occurring on any IO pins of P3 and P2 will lead SNC208 back to normal operation
mode.
5.5. Sampling Rate Counters
The playing rate can be adaptively set up among from the wide ranges of 2.5KHz to
20KHz. This feature makes voice close to its original source and yield the better voice
quality.
Ver: 0.3
4
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
5.6. Event Mark
This is a new function for SNC209S, it allows user to add a special mark in wave data
by the voice edit tool “CoolEdit”. User can insert event tags in anywhere of his wave
file and can easy to get this special code to do his special action during voice playing.
That means, it should be easily to control the I/O (such as LED or motor) and other
actions to synchronize with voice.
5.7. I/O Ports
P30~P33 and P20~P21 are I/O pins. Any bit of them can be programmed as either
input or output port individually. Any valid data transition (H L or LH) of P30~P33
and P20~P21 can reactivate the chip when the chip is in power-down mode.
Port Data
PAD
Port Status
Weak
To Internal Data Bus
Read Control
I/O Port Configuration (P30~P33, P20~P21)
Note:
(1) Weak N-MOS’s can serve as pull-low resistors.
(2) The driving and sink current of P3.2 and P3.3 are enhance to be 8mA/16mA.
So user can direct to drive the LED through those two I/O pins.
Ver: 0.3
5
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
5.8. DAC & PWM
SNC209S is an advanced chip to be designed having two optimal methods to play out
the voices. One is DAC and the other is PWM. 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.
DAC: A 7-bit current type digital-to-analog converter is built-in SNC209S. The
relationship between input digital data and output analog current signal is listed in
the following table. Also, the recommended application circuit is illustrated as
follows.
Input data
0
1
…
N
…
127
Typical value of output current (mA)
0
3/127
n*(3/127)
3
VCC
BUO1/VO
1K
DAC output
Ver: 0.3
6
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
PWM: A PWM (pulse width modulation) circuit is built-in SNC209S. PWM can
convert input digital data into pulse trains with suitable different pulse width. The
maximum resolution of PWM is 7 bits. Two huge output stage circuits are designed
in SNC209S. With this advanced circuit, the chip is capable of driving speaker
directly without external transistors. The recommended application circuit is
illustrated as follows.
BUO1/VO
BUO2
PWM Output
Ver: 0.3
7
Sept 20, 2007
SNC209S
Direct Drive 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
Sym.
Min.
Typ.
Max.
Unit
Operating Voltage
VDD
2.4
3.0
5.5
V
Standby current
ISBY
-
2.2
4.8
-
uA
VDD=3V , no load
VDD=4.5V, no load
Operating Current
IOPR
-
300
1000
-
uA
VDD=3V , no load
VDD=4.5V, no load
Input current of P30~P33,
P20~P21
IIH
-
3.0
10.0
uA
VDD=3V,VIN=3V
Drive current of P30~P31,
P20~P21
IOD
-
5
-
mA VDD=3V,VO=2.4V
Sink Current of P30~P31,
P20~P21
IOS
-
6
-
mA VDD=3V,VO=0.4V
Drive current of P32, P33
IOD
-
11
-
mA VDD=3V,VO=2.4V
Sink Current of P32, P33
IOS
-
17
-
mA VDD=3V,VO=0.4V
Drive current of Buo1, Buo2
IOD
120
150
-
mA VDD=3V,Buo1=1.5V
Sink Current of Buo1, Buo2
IOS
120
150
-
mA VDD=3V,Buo1=1.5V
FOSC
-
2.0
-
MHz VDD=3V
Oscillation Freq.
Ver: 0.3
8
Condition
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
8. APPLICATION CIRCUIT
VDD
V DD
8 050
1K
R
0.1uF
VDD
OSC
RST
GND
P32
P33
VO1
SNC209S
TR1
TR2
TR3
TR4
VDD
P30
P31
P20
P21
D/A Speaker Output
Ver: 0.3
9
Sept 20, 2007
SNC209S
Direct Drive Speech Controller
AMENDMENT HISTORY
Version
Date
Description
Ver 0.1
May 2, 2007
First issue.
Ver 0.2
May 24, 2007
Replace P4 with P2
Ver 0.3
Sept 20, 2007
Ver: 0.3
10
Sept 20, 2007
SNC209S
Direct Drive 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: 0.3
11
Sept 20, 2007