|
Part Number |
SNC21268 |
|
Manufacturer |
SONiX |
|
Semiconductor DataSheet |
|
DataSheet View |
|
SNC21268
1-CH H.Q. Speech Controller
===================== CONTENTS =====================
1. 2. 3. 4. 5. INTRODUCTION............................................................................................................3 FEATURES ......................................................................................................................3 PIN ASSIGNMENT.........................................................................................................4 BLOCK DIAGRAM ........................................................................................................4 FUNCTION DESCRIPTIONS .......................................................................................5 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11 5.12 6. 7. 8. OSCILLATOR ...............................................................................................................5 ROM ..........................................................................................................................5 RAM ..........................................................................................................................5 POWER DOWN MODE..................................................................................................5 SAMPLING RATE COUNTER .........................................................................................5 I/O PORTS...................................................................................................................6 IR FUNCTION ..............................................................................................................6 PWM IO CONTROL .....................................................................................................6 www.DataSheet4U.com WATCH DOG TIMER....................................................................................................6 PUSH-PULL & DA OUTPUT ........................................................................................7 MARK REGISTER .........................................................................................................8 LOW VOLTAGE HOLD .................................................................................................8
ABSOLUTE MAXIMUM RATING ..............................................................................9 ELECTRICAL CHARACTERISTICS .........................................................................9 APPLICATION CIRCUIT ...........................................................................................10
Ver: 1.0
1
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
AMENDENT HISTORY
Version Ver 1.0 Date November 08, 2006 First issue Description
Ver: 1.0
2
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
1. INTRODUCTION
SNC21268 is a one-channel voice synthesizer IC with Push-Pull 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 SNC21268, 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 System Clock is 2MHz, the instruction cycle is 4us 268 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, P3 and P6 are provided The driving/sink current of P3.2 & P3.3 is up to 8mA/16mA The IO pins P3.3 or P2.3 can be modulated with 38.5Khz carry signal to implement IR function. PWM output for IO (P3.0~P3.3) 128*4 bits RAM are provided Maximum 16k program ROM is provided 810K*10 shared ROM for voice data and program Readable ROM code data Built-in one channel High Quality speech synthesizer Adaptive playing speed from 2.5k-20kHz is provided Automatic repetition Support 5-bit ADPCM and 10 bit PCM format Built in an 8-level volume control Push-Pull Direct Drive circuit output, can directly connected to Speaker for sound output 12 bit Push-Pull DA output and 12 bit current DAC output Event Mark function supported Low-Voltage Detect circuit Watch Dog Timer Reset function.
Ver: 1.0
3
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
3. PIN ASSIGNMENT
Symbol P10~P13 P20~P23 P30~P33 P60~P63 RST TEST FUSEPAD OSC RCSEL DAON DAOP DACO VDD GND I/O I/O I/O I/O I/O I I I I I O O O P P Function Description I/O port 1: IO I/O port 2: IO I/O port 3: IO I/O port 6: IO Reset Chip (Active H) Test pin Fuse mode selection pad The test mode clock input pad or OSC Ring OSC R selection Push-Pull output 1 Push-Pull output 2 Current DAC output Positive power supply Negative power supply
4. Block Diagram
ROM
Program/Speech
Address Pointers/ STACK SRAM (128 nibbles)
Timing Generator
OSC
Sampling Rate Counter Voice Synthesizer PWM IO
Watch Dog Timer Push-Pull Circuit
Timer ALU
IO port 1
IO port 2
IO port 3
IO port 6
Ver: 1.0
4
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
5. FUNCTION DESCRIPTIONS 5.1 Oscillator
System clock define 2 Mhz, the souce provided by internal R-type ring oscillator or external resistor ring oscillator. This option is controlled by pin, RCSEL. RCSEL = 1 using the external R 180Kohm RCSEL = 0 using the internal R
5.2
ROM
SNC21268 contains a substantial maximum 810K words (10-bit) internal ROM, which is shared by program and resource data. Program, voice and data are shared within this same 810K words ROM.
5.3
RAM
SNC21268 contains maximum 128 nibble RAM (128 x 4-bits). The 128 nibble RAM is divided into eight pages (page 0 to page 7, 16 nibble RAM on each page). In our programming structure, users can use the instructions, PAGE n (n=0 to 7) to switch and indicate the RAM page. Besides, users can use direct mode, M0 ~ M15 in the data transfer type instructions, to access all 16 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 and <6uA @VDD=4.5V.) Any valid data transition (L H or H L) 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.0
5
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
5.6
I/O Ports
There are four 4-bit I/O ports P1, P2, P3 and P6. Any I/O can be individually programmed as either input pull low or output. Any valid data transition (H L or L H) of P1, P2, P3 and P6 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 P3.3 & P3.2 is up to 8mA/16mA
5.7
IR Function
Bit 3 of Mode Register is applied to control the IR function. P33 can be modulated with 38.5KHz square wave before sent out to P3.3 or P2.3 pin. P3.3 and P2.3 out is controlled by Mode1.1. If Mode1.1 set 1 IR is use P2.3, set “0” is use P3.3. The IR signal can be achieved by this modulated signal.
5.8
PWM IO control
SNC21268 have support 4 PWM IO (P30~P33). Each I/O has 8 bits independent duty register.
5.9
Watch Dog Timer
SNC21268 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.
Ver: 1.0
6
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
5.10
Push-Pull & DA Output
SNC21268 is an advanced chip to be designed having two optimal methods to play out the voices. One is DAC and the other is Push-Pull. 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. Push-Pull: An 8-level volume control Push-Pull Direct Drive circuit is built-in SNC21268. The maximum resolution of Push-Pull is 12 bits. Two huge output stage circuits are designed in SNC21268. With this advanced circuit, the chip is capable of driving speaker directly without external transistors.
Audio in
0.5 Vdd +
VON
0.5 Vdd +
VOP
Push-Pull Output DAC: A 12-bit current type digital-to-analog converter is built-in SNC21268
VCC
DACO
1K
Ver: 1.0
7
November 08, 2006
SNC21268
1-CH H.Q. Speech Controller
5.11
Mark register
If user had insert Mark into wave file. The Mark data will be fetched into this register during voice playing. The content of this register will be cleared to “0” automatically once user accesses this register.
5.12
Low Voltage Hold
This function enables chips entering Hold mode when voltage is below 2.1V and will back to work after voltage rise up to 2.1V. Chip will not entering hold mode before current Instruction finish. When chip in Hold mod, ROSC will keep running, and all the content of Latch/Register/SRAM will keep unchanged.
Ver: 1.0
8
November 08, 2006
SNC21268
1-CH H.Q. 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 Operating Voltage Standby current Operating Current Input current of P1, P2, P3, P6 Drive current of P1, P2, P3.0, P3.1, P6 Sink Current of P1, P2, P3.0, P3.1, P6 Drive current of P3.2, P3.3 Sink current of P3.2, P3.3 Push-Pull current Push-Pull current Oscillation Freq. Drive Current of DACO Sym. Min. Typ. Max. Unit Condition VDD 2.4 3.0 5.5 V ISBY 3.0 uA VDD=3V, no load 5.0 VDD=4.5V, no load IOPR 300 uA VDD=3V, no load IIH 3.0 |