SONIX SNC725

SNC725
16-bit Voice Processor
1. INTRODUCTION
SNC725 is a 16mins two-channel speech/melody and 4-channel wave-table melody
voice chip. It based on reduced 16-bit fixed-point DSP architecture. SNC725 provides
user some necessary and efficient DSP instructions. Furthermore, SNC725 provide one
10-bit PWM and one 10-bit DA converter to driving speaker for speech/melody output.
User can select PWM or DA by programming DA/PWM control register, and only one
function can be active at the same time.
2. FEATURES
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
w
Power supply: 2.4V ~ 3.6V (for 2 battery application)
3.6V ~ 5.1V (for 3 battery application)
Built-in a 16-bit DSP (Very Light Structure)
Software-based voice/melody processing
Rich Function Instruction Set
System Clock
− 16MHz crystal or R-C type oscillator for system clock
− 0.25s real time clock is form 32768Hz crystal
8 MIPS CPU performance
I/O Ports:
− 16 I/O pins (P0.0~P0.15) and 8 input pins (P1.0~P1.7)
− P0.15 with IR carrier signal
RAM size: 2K*16 bits
High performance program ROM: 32K*16 bits
Data ROM size: 96K*16 bits
Total ROM size: 128K*16 bits
Maximum program size: 64K word
8 Interrupt Sources
−
4 for Internal Timer (timer0, 1, 2 and RTC)
−
4 for External (P0.0~P0.3)
Two voice/melody channels
Three 8-bit timer with auto-reload function
Built in a 10-bit PWM Direct Drive circuit and a fixed current D/A output
Sampling Rate: 6KHz ~16KHz
Built-in software voice synthesizer (multiple bit-rate solution 2Kbps, 3.6Kbps, 5Kbps,
6Kbps, 8Kbps, 10Kbps, 12Kbps, 14Kbps, 16Kbps, 20Kbps, 24Kbps and 29Kbps
@8K sampling rate)
Built-in software melody synthesizer includes the dual-tone melody and 4-ch
wave-table melody.
Low Voltage Reset
Ver:1.2
1
October 23, 2002
SNC725
16-bit Voice Processor
3. PIN ASSIGNMENT
Symbol
P0.0 ~ P0.15
P1.0 ~ P1.7
CVDD
VDD
GND
BP0
BN0
VO
XIN
XOUT
LXIN
LXOUT
CKSEL
RST
TEST
Ver:1.2
I/O
I/O
I
I
I
I
O
O
O
I
O
I
O
I
I
I
Descriptions
I/O port 0
Input port 1
Positive power supply for core circuit
Positive power supply
Negative power supply
PWM output 1
PWM output 2
DA output
High speed clock crystal input / RC-type oscillator input
High speed clock crystal output / RC-type oscillator input
Low speed clock crystal input
Low speed clock crystal output
Crystal/RC-type oscillator select for high speed clock
Chip reset
For test only
2
October 23, 2002
SNC725
16-bit Voice Processor
4. ROM TABLE
The total ROM size is 128K words. But only 64K words ROM for programming.
And 32K words of all is the high speed program ROM. The high-low speed ratio is 1:16,
that is to say, if the instruction cycle is two clocks at high speed ROM, the instruction cycle
will down to 32 clocks at low speed ROM.
0x000000
0x007FFF
0x008000
Data ROM
Total ROM size (128K words)
Low-Speed program
ROM
(32K words)
Low-Speed Data ROM (96K words)
0x00FFFF
0x010000
Hi-Speed ROM
(32K words)
0x01FFFF
Ver:1.2
3
October 23, 2002
SNC725
16-bit Voice Processor
5. RAM TABLE
Total RAM size is 2K words, and one bank is 512 words. If user need playing voice
(2Kbps, 3.6Kbps, 12Kbps, dual-tone melody and 4-ch wave-table melody), the system
will reserve 1.5K words RAM size.
0x0000
Bank0
Reserved for
OS and Voice
Algorithm
0x01FF
0x0200
Bank1
0x03FF
0x0400
Bank2
0x05FF
0x0600
Bank3
Free for User
0x07FF
6. System Clock
The system clock source can be selected from 16Mhz crystal or ROSC. For the ROSC,
user should connect two resistors in the pin “XIN” and “XOUT” instead of 16MHZ crystal.
Beside, the clock source select pin “CKSEL” also should be connected to VDD for ROSC.
In order to get an accurate system clock by ROSC, the real time clock source is
recommended to connect a 32768HZ crystal for system clock calibration.
Ver:1.2
4
October 23, 2002
SNC725
16-bit Voice Processor
7. I/O PORT
SNC725 provides one a 16-bit I/O port and an 8-bit input port for user application
(P0.0~P0.15, P1.0~P1.7). The input pull high resistor of each pin can be programmed by
Port Pull-High register. The direction of I/O port is selected by Port Direction register. The
Port0 (P0.0~P0.15) and Port1 (P1.0~P1.7) can wake the chip up from the stop mode and
watch mode. P0.15 can be modulated with a 38.5Khz carry signal to realize IR signal
transmission.
Pull-Up
Resister
In/Out
Control
Pull-Up
Select
PAD
Latch
to internal bus
In/Out
Control
I/O Configuration of P0.0~P0.15
Pull-Up
Resister
Pull-Up
Select
PAD
Digital In
Input Control
Input Port Configuration of Port 1 (P1.0~P1.7)
Ver:1.2
5
October 23, 2002
SNC725
16-bit Voice Processor
IREN
P0.15
I/O Pad
Overflow
Timer2
2
P0.15 Modulated with a carry signal
8. TIMER/COUNTER
SNC725 provides three 8 -bit timer/event counters (T0/T1/T2). Each timer is 8-bit binary
up-count timer with pre-scalar and auto-reload function. Timer 0 (T0) is used when voice
playing, so user should avoid to use T0.
(system clock)/2*
/2
/4
/8
Enable
TnC (8-bit)
If equal, Time out
8-bit Up
MU
Counter
comparator
clear
/256
Pre-scalar
Auto-reload
9. DAC & PWM
To play out voices, SNC725 contains two different solutions, DAC and PWM, for the
users’ applications. The user can choose one of these two solutions in his design. Only
one function can be activated at one time.
DAC: A 10-bit current type digital-to-analog converter is built-in SNC725. The
relationship between input digital data and output analog current is listed in the following
table. Also, the recommended application circuit is illustrated as follows.
Ver:1.2
6
October 23, 2002
SNC725
16-bit Voice Processor
Input data
0
1
…
N
…
1024
Typical value of output current (mA)
0
3/1024
n*(3/1024)
3
PWM: A PWM (pulse width modulation) circuit is built-in SNC725. PWM can convert
input digital data into pulse trains with suitable different pulse width. The maximum
resolution of PWM is 10 bits. Two huge output stage circuits are included in SNC725.
Both of them are capable of driving speaker directly. The recommended application
circuit is as follows.
BP0
BN0
DAC output
Ver:1.2
SPEAKER
PWM output
7
October 23, 2002
SNC725
16-bit Voice Processor
10. ABSOLUTE MAXIMUM RATINGS
Items
Symbol
VDD-V
VIN
TOP
TSTG
Supply Voltage
Input Voltage
Operating Temperature
Storage Temperature
Min
-0.3
GND-0.3
-20.0
-55.0
Max
6.0
VDD+0.3
70.0
125.0
Unit.
V
V
o
C
o
C
11. ELECTRICAL CHARACTERISTICS
Item
Operating Voltage
Standby current
Operating Current
Input current of P0, P1
Drive current of P0
Sink Current of P0
Drive current of Buo1
Sink Current of Buo1
Sym. Min. Typ. Max. Unit
Condition
VDD 2.4
3.6
V *1.
VDD 3.6
5.1
V *2.
ISBY
2.0
uA VDD=3V, no load
IOPR
5
mA VDD=3V, no load
IIH
10.0 uA VDD=3V,V IN=3V
IOD
10
mA VDD=3V,V O=2.4V
IOS
12
mA VDD=3V,V O=0.4V
IOD
100 120
mA VDD=3V,Buo1=1.5V
IOS
100 120
mA VDD=3V,Buo1=1.5V
Drive Current of Buo2
Sink Current of Buo2
Oscillation Freq. (crystal)
IOD
IOS
FOSC
100
100
-
120
120
16.0
-
mA VDD=3V,Buo2=1.5V
mA VDD=3V,Buo2=1.5V
MHz VDD=3V
Note:
1. For 2 battery application.
2. For 3 battery application, user should add 1 resister between power and CVDD pin
of chip.
Ver:1.2
8
October 23, 2002
SNC725
16-bit Voice Processor
The relationship between ROSC and voltage (Typical)
Ta = 25 °C
4.0 V
3.8 V
3.6 V
3.4 V
3.2 V
3.0 V
2.8 V
2.6 V
2.4 V
2.2 V
17.4
17.2
17
16.8
16.6
16.4
16.2
16
15.8
15.6
15.4
15.2
2.0 V
Frequency
Frequency unit: MHz
Voltage
The relationship between Frequency and Resister (R2) for ROSC (Typical)
Ta = 25 °C, R1 = 75KΩ
Frequency unit: MHz
Frequency
18
17
16
15
14
13
12
11
10
74K
82K
91K
100K
110K
120K
130K
Resister Value
Ver:1.2
9
October 23, 2002
SNC725
16-bit Voice Processor
The relationship between operating current and voltage (Typical)
Ta = 25 °C
Current unit: mA
Current
7
6
5
4
3
2
1.8 V
2.4 V
3V
4.1 V
Voltage
Ver:1.2
10
October 23, 2002
SNC725
16-bit Voice Processor
12. APPLICATION CIRCUIT
VDD (3V)
U1
SNC725
C4
47u
3
VDD
14
VDD
CVDD
VDD
CVDD
29
R1
220K
25
C5
4.7u
41
VDD
42
C6
0.1u
6
LXIN
VDD
40
LXOUT
23
RST
8
C1
0.1u
TEST
9
330
10
330
11
330
12
330
13
330
16
330
17
330
18
330
P0.0
7
S1
CKSEL
P0.1
RESET
P0.2
P0.3
45
XIN
C2
15p
P0.4
Y1
16MHz
P0.5
46
XOUT
C3
P0.6
15p
P0.7
LS1
2
4
SPEAKER
BP0
BN0
P0.8
P0.9
P0.10
P0.11
P0.12
P0.13
P0.14
P0.15
43
VO
P1.0
19
20
21
22
26
27
28
30
TR1
31
32
TR5
35
P1.4
33
TR3
P1.2
TR6
36
TR7
TR2
P1.1
P1.5
P1.3
34
TR4
38
P1.6
GND
GND
GND
GND
GND
44
37
24
15
1
P1.7
GND
39
5
TR8
3V, 16MHz Crystal, PWM
Note:
1. All the ”VDD” and “CVDD” should be connected together before connected to the
power source which with a 47uF(C4) capacitor.
2. The capacitor “C5” is near the “CVDD” pin.
Ver:1.2
11
October 23, 2002
SNC725
16-bit Voice Processor
VDD (4.5V)
U1
SNC725
R2 360
3
VDD (4.5V)
14
29
R1
220K
42
23
C1
0.1u
8
7
VDD
CVDD
VDD
CVDD
VDD
LXIN
LXOUT
P0.0
CKSEL
P0.3
XIN
P0.4
P0.5
XOUT
P0.6
C3 15p
P0.7
LS1
2
4
SPEAKER
43
C4
47u
C6
0.1u
41
40
VDD (4.5V)
TEST
Y1
16MHz
46
C5
4.7u
RST
P0.2
C2 15p
25
VDD
P0.1
45
6
BP0
BN0
P0.8
P0.9
P0.10
P0.11
P0.12
P0.13
P0.14
P0.15
VO
P1.0
9
330
10
330
11
330
12
330
13
330
16
330
17
330
18
330
19
20
21
22
26
27
28
30
TR1
31
TR2
P1.1
TR5
35
TR3
P1.4
P1.2
TR6
36
33
TR4
P1.5
P1.3
TR7
38
32
34
P1.6
GND
GND
GND
GND
GND
44
37
24
15
5
P1.7
1
39
GND
TR8
4.5V, 16MHz Crystal, PWM
Note:
1. All the ”VDD” should be connected together before connected to the power source
which with a 47uF(C4) capacitor.
2. The capacitor “C5” is near the “CVDD” pin.
Ver:1.2
12
October 23, 2002
SNC725
16-bit Voice Processor
4.5V
BT2
3V
BT1
BATTERY BATTERY
SNC725
U1
3
14
C6
C4
29
R1
220K
0.1u
47u
42
23
C1
0.1u
8
VCC
7
VDD
CVDD
VDD
CVDD
VDD
LXIN
LXOUT
C8 15p
TEST
P0.0
CKSEL
P0.3
XIN
P0.4
46
100K
P0.5
XOUT
P0.6
VDD
P0.7
LS1
2
4
SPEAKER
8050
43
C7
15p
40
RST
75K
VR2
41
Y1
32768
P0.2
45
C5
4.7u
25
VDD
P0.1
VR1
6
BP0
BN0
P0.8
P0.9
P0.10
P0.11
P0.12
P0.13
P0.14
P0.15
VO
Q1
R7
R
P1.0
9
10
11
12
13
16
17
18
19
20
21
22
26
27
28
30
TR1
31
TR2
P1.1
TR5
35
TR3
P1.4
P1.2
TR6
36
33
TR4
P1.5
P1.3
TR7
38
32
34
P1.6
GND
GND
GND
GND
GND
44
37
24
15
5
P1.7
1
39
GND
TR8
I/O and VDD 4.5V, CVDD 3V, 16MHz ROSC, DA output
Note:
1. All the ”VDD” should be connected together before connected to the power source
which with a 47uF(C4) capacitor.
2. The capacitor “C5” is near the “CVDD” pin.
Ver:1.2
13
October 23, 2002
SNC725
16-bit Voice Processor
P 0.9
P 0.10
P 0.11
RST
G ND
V DD
P 0.12
P 0.13
P 0.14
V DD
P 0.15
P 1.0
P 1.1
P 1.2
P 1.3
P 1.4
P 1.5
G ND
P 1.6
P 1.7
13. BONDING PAD
39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20
19
P0.8
18
P0.7
17
P0.6
16
P0.5
15
GND
43
14
VDD
GND
44
13
P0.4
XIN
45
12
P0.3
11
P0.2
XOUT
46
10
P0.1
9
P0.0
8
TEST
7
CKSEL
6
VDD
5
GND
4
BN0
3
VDD
2
BP0
1
GND
LXOUT
40
LXIN
41
VDD
42
VO
(0,0)
Note: The substrate MUST be connected to Vss in PCB layout.
Ver:1.2
14
October 23, 2002
SNC725
16-bit Voice Processor
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 i t 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.2
15
October 23, 2002