SONIX SNC15120P

SNC15120P
One Channel Speech Controller OTP
===================== CONTENTS =====================
1.
INTRODUCTION............................................................................................................3
2.
FEATURES ......................................................................................................................3
3.
PIN ASSIGNMENT.........................................................................................................4
4.
BLOCK DIAGRAM ........................................................................................................5
5.
FUNCTION DESCRIPTIONS .......................................................................................5
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
OSCILLATOR ...............................................................................................................5
ROM ..........................................................................................................................5
RAM ..........................................................................................................................6
POWER DOWN MODE ..................................................................................................6
SAMPLING RATE COUNTER .........................................................................................6
I/O PORTS ...................................................................................................................6
PWM OUTPUT ............................................................................................................7
WATCH DOG TIMER ....................................................................................................7
IR FUNCTION ..............................................................................................................7
6.
ABSOLUTE MAXIMUM RATING ..............................................................................8
7.
ELECTRICAL CHARACTERISTICS .........................................................................8
8.
APPLICATION CIRCUIT .............................................................................................9
8.1
8.2
V1.2
GENERAL APPLICATION ...............................................................................................9
MOTOR APPLICATION ................................................................................................10
1
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
AMENDENT HISTORY
V1.2
Version
Date
Description
V1.0
July 14, 2008
First issue
V1.1
Nov 03,2008
Modify Application Circuit
V1.2
Nov 18,2008
Add OTP Mode Programming Pin
2
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
1. INTRODUCTION
SNC15120P is a one-channel voice synthesizer One Time Program IC with PWM
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 SNC15120P, 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 – 3.6V
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, P4 and P5 are provided.
− The driving/sink current of P2 & P5 is up to 8mA/16mA
− The IO pins P2.3 can be modulated with 38.5Khz carry signal to implement IR
function.
128*4 bits RAM are provided
Maximum 64k program ROM is provided
244K*12 shared ROM for voice data and program
Readable ROM code data
Built in one channel speech synthesizer
Adaptive playing speed from 2.5k-20kHz is provided
Built-in an PWM circuit output, can directly connected to Speaker for sound
output.
System clock: 2MHz
Event Mark function supported
Low Power Detect
Watch Dog Timer Supported
V1.2
3
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
3. PIN ASSIGNMENT
Symbol
I/O
Function Description
P10~P13
I/O
I/O port 1: IO
P20~P23
I/O
I/O port 2: IO
P40~P43
I/O
I/O port 4: IO
P50~P53
I/O
I/O port 5: IO
Rosc
I
Oscillation component connection pin
BUO1
O
PWM output 1
BUO2
O
RST
I
PWM output 2
RST=1 Reset Chip (Active H)
VDD
I
Positive power supply
GND
I
Negative power supply
CVDD
I
Core circuit positive power supply
CGND
I
Core circuit negative power supply
Test
I
Test pin
VPP0
I
OTP Programming Voltage
VPP1
I
OTP Programming Voltage
VPP2
I
OTP Programming Voltage
OTP Mode Programming Pin
Symbol
Chip pin
I/O Status
Description
name
RST
RST
Input
Into OTP mode, High Active.
VPP0
VPP0
Input
VPP0 for OTP Program. (VPP=7.5V)
VPP1
VPP1
Input
VPP1 for OTP Program. (VPP=7.5V)
VPP2
VPP2
Input
VPP2 for OTP Program. (VPP=7.5V)
CLK
P10
Input
OTP mode clock input
PGMB /
DATA OUT
P11
Input /
Output
DATA IN
P12
Input
Series/Mode/Address/Data Input of OTP
mode
OTP RST
P13
Input
OTP Reset of OTP mode, low active
Parity Check
P20
Output
Input Data Parity Check
P53 ~ P40
Input /
Output
Parallel interface OTP data input/out.
P53, P52, P51 ,P50, P43 ,P42 ,P41 ,P40
(MSB → LSB)
Parallel DATA
IN/OUT
V1.2
PGMB of OTP Program mode.
DATA OUT of OTP Verify mode.
4
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
4. Block Diagram
ROM
Program/Speech
244K×12 bits
Address Pointers/ STACK
SRAM (128 nibbles)
OSC
Sampling Rate Counter
Watch Dog
Timer
Voice
Synthesizer
PWM
Circuit
Timer
ALU
IO port 1
Timing
Generator
IO port 2
IO port 4
IO port 5
5. FUNCTION DESCRIPTIONS
5.1 Oscillator
SNC15120P accepts RC type oscillator for system clock. The typical circuit diagram
for oscillator is listed as follows.
VCC
r
OSC
RC Oscillator
5.2 ROM
SNC15120P contains a substantial 244K words (12-bit) internal ROM, which is shared
by program and resource data. Program, voice and data are shared within this same
244K words ROM.
V1.2
5
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
5.3 RAM
SNC15120P contains 128 nibble RAM (128 x 4-bits). The 128 nibble RAM is divided
into two pages (page 0 to page 1, 64 nibble RAM on each page). In our programming
structure, users can use the instructions, PAGE n (n=0 to 1) to switch and indicate the
RAM page. Besides, users can use direct mode, M0 ~ M63 in the data transfer type
instructions, to access all 64 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) Any valid data transition (LH or HL) 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.
5.6 I/O Ports
There are four 4-bit I/O ports P1, P2, P4, and P5. Any I/O can be individually
programmed as either input pull low or output. Any valid data transition (H L or
LH) of P1, P2, P4, and P5 can reactivate the chip when it is in power-down stage.
PAD
P o rt D a ta
E S D R e s is to r
P o rt S ta tu s
W eak
T o In te rn a l D a ta B u s
R e a d C o n tro l
I/O Port Configuration
Note:
(1) Weak N-MOS can serve as pull-low resistor.
(2) The driving/sink current of P2 & P5 is up to 8mA/16mA
V1.2
6
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
5.7 PWM Output
An PWM circuit is built-in SNC15120P. The maximum resolution of PWM is 8 bits.
Two huge output stage circuits are designed in SNC15120P. With this advanced
circuit, the chip is capable of driving speaker directly without external transistors.
BUO1
BUO2
PWM Output
5.8 Watch Dog Timer
SNC15120P 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.
5.9 IR Function
P23 can be modulated with 38.5KHz square wave before sent out to P23 pin.
The IR signal can be achieved by this modulated signal.
V1.2
7
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
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
+3.7
VDD+0.3
55.0
+125.0
Unit.
V
V
o
C
o
C
7. ELECTRICAL CHARACTERISTICS
Item
Operating Voltage
Standby current
Program mode Voltage
Operating Current
Input current of
P1, P2, P4, P5
Drive current of
P1, P4
Sink Current of
P1, P4
Drive current of P2, P5
Sink current of P2, P5
PWM Drive current
Oscillation Freq.
V1.2
Sym. Min. Typ. Max. Unit
Condition
VDD 2.4
3.0
3.6
V
ISBY
2.0
uA VDD=3.0V, no load
OTP Programming
Voltage
VPP 7.25 7.5 7.75
V
In Normal Mode Vpp
can be floating.
IOPR
10
mA VDD=3V, no load
IIH
3.0
uA VDD=3V,VIN=3V
IOD
4
-
mA VDD=3V,VO=2.4V
IOS
6
-
mA VDD=3V,VO=0.4V
IOD
IOS
IPP
FOSC
8
16
400
2.0
-
mA
mA
mA
MHz
-
8
VDD=3V,VO=2.4V
VDD=3V,VO=2.4V
VDD=3V,Vbou=1.5V
VDD=3V
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
8. APPLICATION Circuit
8.1 General application
1. It is suggested to add a capacitor (C1), 104, between VDD with GND to keep
power stable with general application. And this capacitor is strongly
suggested to be as close to the chip as possible.
2. It is suggested that VDD = 2.4V~3.6V
V1.2
9
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
8.2 Motor application
There are some suggestions about PCB layout when user use SNC15120P IC
with motor applications.
(1) The capacitor C1 、C8 (104) is strongly suggested to be as close to the chip as
possible.
(2) It had better let OSC components (R) get close to IC chip.
(3) OSC components had better get far away large current applications.
(4) Separate IC power path with large current application power path to avoid affect
IC working by power drop from large current application.
(5) R2 (10Ω)separate VDDIO and CVDD.
(6) Let power cable thicker, especially for large current application.
(7) C2 、C3 、C4 and C5、C6、C7 (104) are connected at the shell of motor, positive
point and negative point of the motor.
(8) It is suggested that VDD = 2.4V~3.6V.
V1.2
10
Nov 18, 2008
SNC15120P
One Channel Speech Controller OTP
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.
V1.2
11
Nov 18, 2008