Document
SNC599
Two Channel Direct Drive Speech Controller
1 INTRODUCTION
SNC599 is a two-channel voice synthesizer IC with PWM direct drive circuit. It built-in a 4-bit tiny controller with one 4-bit input port, two 4-bit output ports and three 4-bit I/O ports. By programming through the tiny controller in SNC599, 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 85 seconds voice capacity are provided(@6KHZ sample rate) Built in a 4-bit tiny controller One 4-bit input port, two 4-bit output ports and three 4-bit I/O ports are provided 128*4 bits RAM are provided 256K*10 ROM size are provided for voice data and program Maximum 16k program ROM is provided Readable ROM code data IR carrier signal is provided Built in a high quality speech synthesizer Adaptive playing speed from 2.5k-20kHz is provided Two independent voice channels (Channel 1 + Channel 2→Buo1,Buo2) Built in a PWM Direct Drive circuit and a fixed current D/A output System clock : 2MHz Low Power Reset
Ver: 1.3
1
August 26, 2003
3 Block Diagram
SNC599
Two Channel Direct Drive Speech Controller
ROM
Program/Speech 256K×10 bits
Address Pointers/ STACK
Timing Generator
OSC
SRAM (128 nibbles)
Sampling Rate Counter × 2
PWM
Timer ALU
Voice
Synthesizer
D/A
IO1
IO2
IO3
IO4
IO5
IO6
4 PIN ASSIGNMENT
Symbol P13 ~ P10 P23 ~ P20 P33 ~ P30 P43 ~ P40 P53 ~ P50 P63 ~ P60
VDD GND RST OSC BUO1/VO BUO2
I/O Function Description I Bit3 ~ Bit0 of Input port 1
I/O Bit3 ~ Bit0 of I/O port 2 I/O Bit3 ~ Bit0 of I/O port 3 O Bit3 ~ Bit0 of Output port 4 O Bit3 ~ Bit0 of Output port 5 I/O Bit3 ~ Bit0 of I/O port 6 P Positive power supply P Negative power supply
I Reset pin (active high) O Oscillator / Crystal Out O Positive Output of PWM or DA output O Negative Output of PWM
Ver: 1.3
2
August 26, 2003
SNC599
Two Channel Direct Drive Speech Controller
5 FUNCTION DESCRIPTIONS
5.1. Oscillator
SNC599 accept RC type oscillator for system clock. The typical circuit diagram for oscillator is listed as follow.
OSC
VCC
r
RC Oscillator
5.2. ROM
SNC599 contains substantial 256K words (10-bit) internal ROM. Program, voices and other data are shared with this same 256K words ROM.
5.3. RAM
SNC599 contains 128 nibbles RAM. The 128 nibbles RAM are divided into eight pages (page 0 to page 7, 16 nibble RAM on each page). In our programming structure, users can easily define and locate RAM page in the program. For instance, users can use the instructions, PAGEn (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 will power down SNC599 and enable IC to consume fewer current for power saving. (<3uA @VDD=3V and <5uA @VDD=5V) Please be aware that when the power down mode is activated in SNC599, any valid data transition (L H or H L) occurring on any input port (P1) or IO ports (P2, P3 and P6) will lead SNC599 back to normal operation mode.
5.5. Sampling Rate Counters
2 independent sampling rate counters are dedicated to 2 individual voice channels 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 feature makes voice close to its original source and yield the better voice quality.
Ver: 1.3
3
August 26, 2003
SNC599
Two Channel Direct Drive Speech Controller
5.6. I/O Ports
P1 is a 4-bit input port, P2/P3/P6 are three 4-bit I/O ports and P4/P5 are two 4-bit output ports. Any bit of P2, P3 and P6 can be programmed as either input or output port individually. Any valid data transition (H L or L H) of P1, P2, P3 and P6 can reactivate the chip when the chip is in power-down mode.
To Internal Data Bus
PAD
Read Control Weak
Input Port Configuration (P10~P13)
Port Data Port Status
PAD Weak
To Internal Data Bus
Read Control
I/O Port Configuration (P20~P23, P30~P33, P60~P63)
Ver: 1.3
4
August 26, 2003
Port Data Port Status
SNC599
Two Channel Direct Drive Speech Controller
PAD
weak
Output Port Configuration (P40~P43, P50~P53)
Note: All weak N-MOS’s can serve as pull-low resistors.
5.7. 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"
PAD
Mode
P33
5.8. DAC & PWM
SNC599 is an advanced chip to be designed having two optimal methods to play out the voices. One is DAC and the other is PWM. 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.
DAC: A 7-bit current type digital-to-analog converter is built-in SNC599. The relationship between input digital data and output analog current signal is listed in the following table. Also, the recommended app.