SONIX SNC26060P

SNC26060P
One Channel 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
OSCILLATOR ...............................................................................................................5
ROM ..........................................................................................................................5
5.3
5.4
RAM ..........................................................................................................................5
POWER DOWN MODE ..................................................................................................5
5.5
5.6
5.7
5.8
SAMPLING RATE COUNTER .........................................................................................5
I/O PORTS ...................................................................................................................6
PWM OUTPUT ............................................................................................................6
WATCH DOG TIMER ....................................................................................................6
5.9
5.10
IR FUNCTION ..............................................................................................................7
PWM IO CONTROL .....................................................................................................7
6.
ABSOLUTE MAXIMUM RATING ..............................................................................7
7.
ELECTRICAL CHARACTERISTICS .........................................................................8
8.
APPLICATION CIRCUIT .............................................................................................9
8.1
I/F OF PROGRAMMING MODE .......................................................................................9
8.1.1.
Serial Program I/F.............................................................................................9
8.1.2.
Parallel Program I/F .........................................................................................9
8.2
GENERAL APPLICATION .............................................................................................10
8.3
Ver: 1.3
MOTOR APPLICATION ................................................................................................11
1
October 14, 2009
SNC26060P
One Channel Speech Controller
AMENDENT HISTORY
Version
Date
Description
Ver 1.0
February 23, 2009
First issue
Ver 1.1
July 6, 2009
Modify Application circuit battery suggestion (from 3 pcs
AA battery to 2 pcs AA battery)
Ver 1.2
July 24, 2009
Revise system clock with 2.05MHz (typical).
Ver 1.3
October 14, 2009
1. Revise PWM output spec condition with BUOx=1/2
VDD (peak value), instead of 1KHz sine wave
Ver: 1.3
2
October 14, 2009
SNC26060P
One Channel Speech Controller
1. INTRODUCTION
SNC26060P is a one-channel voice synthesizer One Time Program IC with PWM
direct drive circuit. It built in a 4-bit tiny controller with one 4-bit input port and two 4-bit
I/O ports. By programming through the tiny controller in SNC26060P, 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
60 seconds voice capacity are provided (@6KHZ sample rate)
Built in a 4-bit tiny controller
I/O Port
− One 4-bit Input port P1is provided.
− Two 4-bit I/O ports P2 and P3 are provided.
− The driving/sink current of P2 & P3 is up to 8mA/16mA
− The IO pins P2.3 can be modulated with 38.5Khz carry signal to implement IR
function.
− PWM output for IO (P2.0~P2.3, P3.0~P3.3)
(64+16)*4 bits RAM are provided.
(Notes : m0~m63 + 16 PWMIO duty registers)
Maximum 64k program ROM is provided
128K*12 shared ROM for voice data and program
Readable ROM code data
Voice Synthesizer:
− Single channel speech output.
− Support 4-bits SONiX-ASDPCM and 8-bit PCM algorithm
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
Ver: 1.3
3
October 14, 2009
SNC26060P
One Channel Speech Controller
3. PIN ASSIGNMENT
Symbol
P10~P13
P20~P23
P30~P33
Rosc
BUO1
I/O
I
I/O
I/O
I
O
Function Description
Input port 1
I/O port 2: IO
I/O port 3: IO
Oscillation component connection pin
BUO2
O
RST
I
PWM output 2
RST=1 Reset Chip (Active H)
CVDD
I
Positive power supply for CPU
CGND
I
Negative power supply for CPU
VDDIO
GNDIO
Test
VPP0
VPP1
VPP2
I
I
I
I
I
I
Positive power supply for I/O
Negative power supply for I/O
Test pin
OTP Programming Voltage
OTP Programming Voltage
OTP Programming Voltage
PWM output 1
4. Block Diagram
ROM
Program/Speech
128K×12 bits
Address Pointers/ STACK
SRAM
(64+16 nibbles)
Timer
ALU
Timing
Generator
OSC
Sampling Rate Counter
Watch Dog
Timer
Voice
Synthesizer
PWM
Circuit
PWM IO
Input port 1
Ver: 1.3
IO port 2
4
IO port 3
October 14, 2009
SNC26060P
One Channel Speech Controller
5. FUNCTION DESCRIPTIONS
5.1 Oscillator
SNC26060P 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
SNC26060P contains a substantial 128K words (12-bit) internal ROM, which is shared
by program and resource data. Program, voice and data are shared within this same
128K words ROM.
5.3 RAM
SNC26060P contains (64+16) nibble RAM <(64+16) x 4-bits>. The 64 nibble RAM is
only one page. Another 16 nibbles are 16 PWMIO duty registers. In our programming
structure, user can Directly use memory related command, M0 ~ M63 in the data
transfer type instructions, to access first 64 nibbles. Another 16 nibbles, user can use
PWMxL, PWMxH related command to access when PWMIO function is disabled.
(x can be 1~8)
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
(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.
Ver: 1.3
5
October 14, 2009
SNC26060P
One Channel Speech Controller
5.6 I/O Ports
There are one 4-bit input port P1 and two 4-bit I/O ports P2 and P3. Any I/O can be
individually programmed as either input pull low or output. Any valid data transition
(HL | LH) of P1,P2 and P3 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 P2 & P3 is up to 8mA/16mA
5.7 PWM Output
An PWM circuit is built-in SNC26060P. The maximum resolution of PWM is 8 bits.
Two huge output stage circuits are designed in SNC26060P. With this advanced
circuit, the chip is capable of driving speaker directly without external transistors.
BUO1
BUO2
PWM Output
5.8 Watch Dog Timer
SNC26060P 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 (128
ms). The watchdog timer is enabled at reset and cannot be disabled.
Ver: 1.3
6
October 14, 2009
SNC26060P
One Channel Speech Controller
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.
5.10
PWM IO control
SNC26060P has support 8 PWM IO (P20~P23, P30~P33). Each I/O has 8 bit
independent duty register, and the 8 bit register are compare with 8 bits counter. If set
use PWM IO function and internal counter start at 000H, the mapping I/O will set High.
The 8 bits counter increment if the same duty register, that will reset the mapping IO
pin.
6. ABSOLUTE MAXIMUM RATING
Items
Supply Voltage
Input Voltage
Operating Temperature
Storage Temperature
Ver: 1.3
Symbol
VDD-V
VIN
TOP
TSTG
Min
-0.3
VSS-0.3
0
-55.0
7
Max
6.0
VDD+0.3
55.0
125.0
Unit.
V
V
o
C
o
C
October 14, 2009
SNC26060P
One Channel Speech Controller
7. ELECTRICAL CHARACTERISTICS
Item
Operating Voltage
Sym.
Min.
Typ.
Max.
Unit
VDD
2.4
3.3
3.6
V
Condition
OTP Programming Voltage
Program Mode Voltage (OTP)
VPP
7.25
7.5
7.75
V
In Normal Mode Vpp can be
floating.
Standby Current*
ISBY
0.5
5
Operating Current*
IOPR
-
5
Ii
-
3
IOD
-
IOS
PWM current
Oscillation Freq.
Input Current of P1.0~P1.3,
10
uA
VDD=3.0V, no load
mA
VDD=3.0V, no load
-
uA
VDD=3V
8
-
mA
VDD=3V,VO=2.4V
-
16
-
mA
VDD=3V,VO=0.4V
IPWM
-
240
-
mA
VDD=3V, BUOx=1.5V
FOSC
1.98
2.05
2.12
P2.0~P2.3, P3.0~P3.3
Drive Current of P2.0~P2.3,
P3.0~P3.3
Sink Current of P2.0~P2.3,
P3.0~P3.3
MHz VDD=3V @ Rosc=220K
Min : -3%
Max : +3%
Low Voltage detect Level
2.0
V
* Notes : Include SNC26060 Core IC + OTP
Ver: 1.3
8
October 14, 2009
SNC26060P
One Channel Speech Controller
8. APPLICATION Circuit
8.1 I/F of Programming mode
8.1.1. Serial Program I/F.
SONiX OTP Writer
If user would like to program BIN file into OTP by SONIX OTP Writer V1.0 with serial
programming way. There are total 9 pins programming pins are necessary. However,
VPP should connect to VPP0/VPP1/VPP2, VDD should connect to CVDD/VDDIO
and GND should connect to CGND/GNDIO on user’s PCB.
8.1.2. Parallel Program I/F
SONiX OTP Writer
If user would like to program BIN file into OTP by SONIX OTP Writer V1.0 with
parallel programming way. There are total 16 pins programming pins are necessary.
However, VPP should connect to VPP0/VPP1/VPP2, VDD should connect to
CVDD/VDDIO and GND should connect to CGND/GNDIO on user’s PCB.
Ver: 1.3
9
October 14, 2009
SNC26060P
One Channel Speech Controller
8.2 General application
+
IO1
IO2
IO3
IO4
IO5
Battery
Box
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.
Ver: 1.3
10
October 14, 2009
SNC26060P
One Channel Speech Controller
8.3 Motor application
Separate CPU power path with
power path of large current
application
+
8050
IO1
IO2
Battery
Box
8050
IO3
IO4
IO5
Separate CPU GND with large
current application GND
There are some suggestions about PCB layout when user use
SNC26060P IC with motor applications.
(1) The capacitor C1 (104) C2 (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) C3 and C4 (104) are connected at the positive point and negative point of the
motor.
Ver: 1.3
11
October 14, 2009
SNC26060P
One Channel 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.3
12
October 14, 2009