首页 > 器件类别 >

SN66040B

4-channel speech controller

厂商名称:SONIX(松翰)

厂商官网:http://www.sonix.com.tw/

下载文档
文档预览
SN66040B
4-Channel Speech Controller
1
INTRODUCTION
SN66040B is a 40 seconds single chip 4-channel voice synthesizer IC that
contains 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.1V
Built in a tiny controller
40 seconds voice capacity are provided
One 4-bit input port, two 4-bit I/O ports and one 4-bit output port are provided
128*4 bits RAM are provided
Maximum 64k program ROM is provided
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
Two 8-bit current output DA converters (Channel 1 + Channel 2
DA1,
Channel 3 + Channel 4
DA2 )
System clock: 2M Hz ( RC-type or Crystal Option)
Low Voltage Reset
Ver: 1.1
1
December 6, 2004
SN66040B
4-Channel Speech Controller
3
Block Diagram
ROM
Program/Speech/Melody/Instrument waveform
128K×12 bits
Address Pointers/ STACK
SRAM (128 nibbles)
Sampling Rate Counter
×
4
Timing
Generator
OSC
DA8-bit
DA8-bit
IO4
IO1
Timer
ALU
IO2
Voice
Synthesizer
IO3
4
PIN ASSIGNMENT
Symbol
P13, P12, P11, P10
P23, P22, P21, P20
P33, P32, P31, P30
P43, P42, P41, P40
VDD
GND
OSC/XIN
XOUT
CKSEL
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
I
I
I
O
I
Bit3 ~ Bit0 of output port 4
Positive power supply
Negative power supply
Oscillator / Crystal In
Crystal Out
Clock type select
‘L’ or floating
RC oscillator
‘H’
→Crystal
D/A current output, for channel 1 and 2
D/A current output, for channel 3 and 4
2
VO1
VO2
O
O
Ver: 1.1
December 6, 2004
SN66040B
4-Channel Speech Controller
5
FUNCTION DESCRIPTIONS
5.1. Oscillator
SN66040B 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
VDD
20pf
CKSEL
OSC/XIN
XOUT
CKSEL
OSC/XIN
XOUT
20pf
2MHz
Crystal / Resonator
RC Oscillator
5.2. ROM
SN66040B contains 128K word (12-bit) internal ROM. Program, voices, melodies,
data, and instrument waveforms share the same ROM with the others.
5.3. RAM
SN66040B contains 128 nibble RAM. The 128 nibble RAM is separated into two
pages (page 0 and page 1). An implicit page indicator is utilized to specify page
address. Two instructions, PAGE0 and PAGE1, 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 SN66040B enter power down mode and consumer very little
amount of current. (<2uA @VDD=3V and <5uA @VDD=5V) After SN66040B enters
power down mode, any valid data transition (L H or H L) occurring on any input
ports or IO ports (P1, P2, and P3) lead SN66040B back to normal operation mode.
Ver: 1.1
3
December 6, 2004
SN66040B
4-Channel Speech Controller
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 SN66040B play sounds with accurate pitches in the case of music
instrument synthesis.
5.6. Auto repetition
Auto repetition function helps SN66040B realize a “looping” sound automatically by
hardware without any software effort.
equipped with this function.
SN66040B.
Auto repetition function is a very useful
mechanism to implement “Sustain” sound in instrument synthesis. All 4 channels are
Arbitrary lengths of looping sound are accepted by
5.7. I/O Ports
P1 is a 4-bit input port, P2/P3 are two 4-bit I/O ports and P4 is a 4-bit output port. Any
bit of P2 and P3 can be programmed to be input or output individually. Any valid data
transition (H L or L H) of P1, P2 and P3 can reactivate the chip when it is in
power-down stage.
PAD
To Internal Data Bus
Read Control
Weak
Input Port Configuration (P10~P13)
Ver: 1.1
4
December 6, 2004
SN66040B
4-Channel Speech Controller
Port Data
PAD
Port Status
Weak
To Internal Data Bus
Read Control
I/O Port Configuration (P20~P23, P30~P33)
Port Data
PAD
Port Status
weak
Output Port Configuration (P40~P43)
Note: All weak N-MOS’s can serve as pull-low resistors.
Ver: 1.1
5
December 6, 2004
查看更多>
邀您云逛展《TE Connectivity 线上工博会》报名有好礼!
邀您云逛展《TE Connectivity 线上工博会》报名有好礼!活动开始啦 打破时间...
EEWORLD社区 工控电子
DS-5在线调试问题
使用DS-5软件在线调试裸机应用程序,如果是较小的应用程序时(像读写sdram并打印数据),可以正常...
包玉刚 Altera SoC
GD32E231 DIY大赛(1)——KEIL平台搭建完毕
早在报名参赛之时,我就将 GD32E231 的相关资料下载到电脑上,昨天得到入围的消息,立...
hujj GD32 MCU
基于FPGA的LCD控制器额设计与实现 (汉字显示 动态显示 以及任意内容显示)
如题所示。 汉字的显示程序部分不太理解,修改中.. 任意显示主要是通过按键控制实现所有语句的拼音显示...
小贾 FPGA/CPLD
哭求高手指点串口232
上位机自己测试串口没有问题。但是和下位机430通信时确不通啊,不只怎么回事啊。程序很简单的。449的...
king315 微控制器 MCU
EEWORLD感谢有你——lidonglei1
1、2013年您在EEWORLD一共发表了多少主题帖 23篇应该没数错 回复4页 2、2...
lidonglei1 FPGA/CPLD
热门器件
热门资源推荐
器件捷径:
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV AW AX AY AZ B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF BG BH BI BJ BK BL BM BN BO BP BQ BR BS BT BU BV BW BX BY BZ C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF CG CH CI CJ CK CL CM CN CO CP CQ CR CS CT CU CV CW CX CY CZ D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF DG DH DI DJ DK DL DM DN DO DP DQ DR DS DT DU DV DW DX DZ
需要登录后才可以下载。
登录取消