Datasheet SNC698 Datasheet (SONIX)

Page 1
SNC698
4-Channel Speech Controller
======== CONTENTS ========
1. INTRODUCTION............................................................................................................... 3
2. FEATURES ....................................................................................................................... 3
3. BLOCK DIAGRAM ...........................................................................................................4
4. PIN ASSIGNMENT ........................................................................................................... 4
5. FUNCTION DESCRIPTIONS............................................................................................ 5
5.1 O
5.2 ROM.............................................................................................................................. 5
5.3 RAM ..............................................................................................................................5
5.4 P
5.5 S
5.6 A
5.7 I/O P
5.8 IR F
5.9 8-
SCILLATOR
OWER DOWN MODE
AMPLING RATE COUNTERS
UTO REPETITION
ORTS
UNCTION
DAC ...................................................................................................................... 7
BIT
................................................................................................................... 5
...................................................................................................... 5
............................................................................................ 5
........................................................................................................... 6
...................................................................................................................... 6
.................................................................................................................. 7
5.10 8-
6. ABSOLUTE MAXIMUM RATING ..................................................................................... 9
7. ELECTRICAL CHARACTERISTICS ................................................................................ 9
8. ROSC PERFORMANCE.................................................................................................10
9. APPLICATION CIRCUIT ................................................................................................11
10.
PWM ..................................................................................................................... 8
BIT
BONDING PAD........................................................................................................... 13
Ver: 1.2 August 26, 2003
1
Page 2
SNC698
4-Channel Speech Controller
AMENDENT HISTORY
Version Date Description
Ver 1.1 April 24, 2003 First issue
Ver 1.2 August 26, 2003 2. FEATURES : Modify Power supply is 2.4~5.5V
5. FUNCTION Description
5.1 Oscillator : Modify ROSC R=100K
7. Electrical Characteristic : Add Current (ROSC&XTAL
Mode), and Operating Voltage Max = 5.5V
8. ROSC Performance : Add ROSC Performance
9. Application Circuit : Add Note about C1 close to VDD
pin of Chip
Ver: 1.2 August 26, 2003
2
Page 3
SNC698
4-Channel Speech Controller
1. INTRODUCTION
SNC698 is a 85 seconds single chip 4-channel voice synthesizer IC which contains 24 I/O pins and a tiny controller. By programming through the tiny controller, users’ applications including section combination, trigger modes, output status, high performance melody, multiple voices, and other logic functions can be implemented.
2. FEATURES
Single power supply 2.4V – 5.5V Built in a tiny controller 85 seconds voice capacity are provided Six 4-bit I/O ports are provided 256*4 bits RAM are provided Maximum 64k program ROM is provided 256K*12 ROM size is provided for voice data and program Readable ROM code data Built in a high quality speech synthesizer Four independent voice channels Adaptive playing speed from 4k-40kHz is provided for all 4 channels individually Automatic repetition for every channel A 6-bit*8-bit Multiplier is embed to modulate the volume of synthesized voices Two digital mixers (with saturation control) are provided Built in a PWM Direct Drive circuit and a current output DA converters. Built in 15 levels PWM output volume control. System clock: 8M Hz ( RC-type or Crystal Option) Low Voltage Reset
Ver: 1.2 August 26, 2003
3
Page 4
3. Block Diagram
Program/Speech/Melody/Instrument waveform
Address Pointers/ STACK
SRAM (256 nibbles)
IO1
Timer
ALU
IO2
IO3
4. PIN ASSIGNMENT
Symbol I/O Function Description
P13 ~ P10 I/O Bit3 ~ Bit0 of I/O port 1 P23 ~ P20 I/O Bit3 ~ Bit0 of I/O port 2 P33 ~ P30 I/O Bit3 ~ Bit0 of I/O port 3 P43 ~ P40 I/O Bit3 ~ Bit0 of I/O port 4 P53 ~ P50 I/O Bit3 ~ Bit0 of I/O port 5 P63 ~ P60 I/O Bit3 ~ Bit0 of I/O port 6 VDD P Positive power supply GND P Negative power supply XIN I Crystal In RST I Chip Reset (Active high) XOUT/OSC O Crystal Out / Rosc In CKSEL I Clock type select (Internal pull low)
BUO1/VO1 O Positive Output of PWM or DA1 BUO2/VO2 O Negative Output of PWM or DA2
SNC698
4-Channel Speech Controller
ROM
256K×12 bits
Sampling Rate Counter × 4
IO4
‘L’ or floating RC oscillator ‘H’ Crystal
Generator
Voice
Synthesizer
IO5
IO6
Timing
OSC
Volume
Control
PWM
8bit D/A
Ver: 1.2 August 26, 2003
4
Page 5
SNC698
4-Channel Speech Controller
5. FUNCTION DESCRIPTIONS
5.1 Oscillator
SNC698 accepts crystal oscillator / ceramic resonator or RC type oscillator (selected by pin CKSEL) for system clock. The typical circuit diagrams for oscillator are listed as follows.
VDD
SNC698SNC698
15pF
CKSEL
XOUT/ROS C
XIN
CKSEL
8MHZ
15pF
XO UT /R O S C
XIN
100K
8MHZ Crystal 8M Rosc
5.2 ROM
SNC698 contains 256K words (12-bit) internal ROM. Program, voices, melodies, data, and instrument waveforms share the same ROM with the others.
5.3 RAM
SNC698 contains 256 nibble RAM. The 256 nibble RAM is separated into four pages (page 0, page1, page2 and page 3). An implicit page indicator is utilized to specify page address. Four instructions, PAGE0, PAGE1, PAGE2 and PAGE3, can switch the page indicator. All 64 nibbles of each page can be accessed by direct mode (to specify M0 ~ M63 in the data transfer type instructions.)
5.4 Power Down Mode
“End” instruction will let SNC698 enter power down mode and consumer very little amount of current. (<3uA @VDD=3V and <5uA @VDD=5V) After SNC698 enters power down mode, any valid data transition (LH or HL) occurring on any IO ports (P1 to P6) lead SNC698 back to normal operation mode.
5.5 Sampling Rate Counters
4 independent sampling rate counters are dedicated to 4 individual voice channels to play voices with different playing rates. The playing rate is programmable from 4KHz to 40KHz. The resolution of sampling period of each sampling rate counter is 0.25 uS. This feature helps SNC698 play sounds with accurate pitches in the case of music instrument synthesis.
Ver: 1.2 August 26, 2003
5
Page 6
SNC698
4-Channel Speech Controller
5.6 Auto Repetition
Auto repetition function helps SNC698 realize a “looping” sound automatically by hardware without any software effort. Auto repetition function is a very useful mechanism to implement “Sustain” sound in instrument synthesis. All 4 channels are equipped with this function. Arbitrary lengths of looping sound are accepted by SNC698.
5.7 I/O Ports
P1 to P6 are six 4-bit I/O ports. Any bit of each I/O port can be programmed to be input or output individually. Any valid data transition (H L or LH) of each I/O port can reactivate the chip when it is in power-down stage.
Port Data
Port Status
To Internal Data Bus
Read Control
I/O Port Configuration
Note: weak N-MOS’s can serve as pull-low resistors.
PAD
Weak
Ver: 1.2 August 26, 2003
6
Page 7
SNC698
4-Channel Speech Controller
5.8 IR Function
P33 can be modulated with 38.5KHz square wave before sent out to P33 pin. The IR signal can be achieved by this modulated signal.
38.5KHZ
"1"
Mode
P33
PAD
5.9 8-bit DAC
An 8-bit current type digital-to-analog converter is built-in SNC698. The relationship between of 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 Typical value of output current (mA) 0 0 1 3/255 … N n*(3/255) … 255 3
VCC
VO
1K
SNC698
D/A Speaker Application
Ver: 1.2 August 26, 2003
7
Page 8
SNC698
4-Channel Speech Controller
5.10 8-bit PWM
A PWM (pulse width modulation) circuit is built-in SNC698. PWM can convert input digital data into pulse trains with suitable different pulse width. The maximum resolution of PWM is 8 bits. Two huge output stage circuits are included in SNC698. Both of them are capable of driving speaker directly. Besides, 15 level PWM output current is provided for volume adjust function.
# VOL[3..0] Output Current
(VDD=3V, Vo=1.5V) 0 0000 120mA 1 0001 105mA 2 0010 90mA 3 0011 75mA 4 0100 60mA 5 0101 52.5mA 6 0110 45mA 7 0111 37.5mA 8 1000 30mA 9 1001 22.5mA
A 1010 15mA
B 1011 10.25mA C 1100 7.5mA D 1101 3.75mA
E 1110 3.75mA
F 1111 0mA
15 levels PWM output current control
BUO1/VO
BUO2
PWM output
Ver: 1.2 August 26, 2003
8
Page 9
SNC698
4-Channel Speech Controller
6. ABSOLUTE MAXIMUM RATING
Items Symbol Min Max Unit.
Supply Voltage VDD-V -0.3 6.0 V Input Voltage VIN VSS-0.3 VDD+0.3 V Operating Temperature TOP 0 55.0 oC Storage Temperature T
-55.0 125.0 oC
STG
7. ELECTRICAL CHARACTERISTICS
Item Sym. Min. Typ. Max. Unit Condition
Operating Voltage VDD 2.4 3.0 5.5 V Standby Current I
Operating Current (ROSC Mode)
Operating Current (XTAL Mode)
I/O port Input Current IIH - - 3
I/O port Drive Current IOD 1.5 2 2
I/O port Sink Current IOS 2 4 3
D/A Output Current IVO 2 2 3
Oscillation Freq. F IR Carrier Frequency Fir - 38.5 - KHz Fosc=8MHz
- - 2
SBY
I
- - 350
OPR
I
- - 800
OPR
5
1.5
1.5
10
-
-
-
-
-
-
10 30
uA VDD=3V
uA
mA
uA
mA
uA VDD=3V, VIN=3V
- - mA VDD=3V, VO=2.6V
5
- - mA VDD=3V, VO=0.4V
8
4 4 mA VDD=3V, VO=0.7V
3
- 8 - MHz VDD=3V
OSC
=4.5V
V
DD
VDD=3V, no load
=4.5V, no load
V
DD
(ROSC Mode) VDD=3V, no load
=4.5V, no load
V
DD
(XTAL Mode)
=4.5V,VIN=4.5V
V
DD
=4.5V, VO=3.8V
V
DD
=4.5V, VO=0.8V
V
DD
=4.5V, VO=0.7V
V
DD
Ver: 1.2 August 26, 2003
9
Page 10
SNC698
8. ROSC Performance
ROSC frequency vs VDD (Typical value, R=100KΩ)
100k
12 11 10
9 8 7
ROSC (MHz)
6 5 4
1.5 2 2.5 3 3.5 4 4.5 5 5.5 6
VDD (Voltage)
4-Channel Speech Controller
100
ROSC frequency vs VDD (For various R)
12
11
10
9
8
7
ROSC (MHz)
6
5
4
1.5 2 2.5 3 3.5 4 4.5 5 5.5 6
VDD (Voltage)
82k
91k
100k
110k
120k
Ver: 1.2 August 26, 2003
10
Page 11
SNC698
9. APPLICATION CIRCUIT
RC Oscillator, D/A Speaker Output, 32 Scan Keys
4-Channel Speech Controller
8050
VDD
1K
VDD
0.1uF
100K
C1
0.1uF
VDD
VDD
C2
VO 1
GND
P42
P43
RST
P32
P33
P30
P31
XIN
SNC698
P12
P13
P20
P21
P22
P23
P40
P41
TR4
CKSEL
OSC/XOUT
P11
TR3
VDD
P10
TR2
TR1
TR8
TR1 2
TR1 6
TR20
TR24
TR2 8
TR3 2
TR7
TR1 1
TR1 5
TR19
TR23
TR2 7
TR3 1
TR6
TR1 0
TR1 4
TR18
TR22
TR2 6
TR3 0
TR5
TR9
TR1 3
TR17
TR21
TR2 5
TR2 9
Note: The C1 (0.1uF) between Power and GND should be closed to VDD pin of SNC698 as possible.
Ver: 1.2 August 26, 2003
11
Page 12
SNC698
4-Channel Speech Controller
Crystal Oscillator, PWM Speaker Output, 32 Scan Keys
C1
VDD
0.1uF
VDD
VDD
20pf
0.1uF
20pf
8MHz
C2
BUO2
BUO1
RST
P32
P33
P30
P31
OSC/XIN
XO UT
CKSEL
VDD
SNC698
GND
P11
P12
P13
P20
P21
P22
P23
P40
P41
P42
P43
TR4
TR8
TR3
TR7
P10
TR2
TR6
TR1
TR5
TR1 2
TR1 6
TR2 0
TR24
TR28
TR3 2
TR1 1
TR1 5
TR1 9
TR23
TR27
TR3 1
TR1 0
TR1 4
TR18
TR22
TR26
TR3 0
TR9
TR1 3
TR1 7
TR2 1
TR25
TR2 9
Note: The C1 (0.1uF) between Power and GND should be closed to VDD pin of SNC698 as possible.
Ver: 1.2 August 26, 2003
12
Page 13
10. BONDING PAD
P10
1
P11
2
3
P12
P13
4
P20
5
SNC698
4-Channel Speech Controller
P63
35
P62
34
P61
33
32
P60
P53
31
P52
30
29
P51
P50
28
P43
27
P42
26
P41
25
24
P40
P33
23
(0.00, 0.00)
22
21
20
19
18
17
16
15
P32
P31
P30
P23
P22
P21
GND
VDD
67 8 9
RST
GND
BUO1VO1
VDD
10
11
12
GND
BUO2/VO2
13
TEST
14
XIN
XOUT
Note: The substrate MUST be connected to Vss in PCB layout.
Ver: 1.2 August 26, 2003
13
Page 14
SNC698
4-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.2 August 26, 2003
14
Loading...