參數(shù)資料
型號: S1C88816D
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC164
封裝: DIE-164
文件頁數(shù): 22/173頁
文件大?。?/td> 1411K
代理商: S1C88816D
110
EPSON
S1C88816 TECHNICAL MANUAL
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Melody Generator)
5.13 Melody Generator
5.13.1 Features and configuration
of melody generator
The S1C88816 has a built-in melody generator for
generating melody signals. General melody
generators often use a ROM to store scale and note
data, therefore melody data cannot be rewritten.
The S1C88816 uses a RAM for this purpose
allowing rewriting of melody data from the
external ports through the CPU.
The principal features are listed below.
Melody RAM size:
Scale RAM
256 words
× 8 bits
(00D000H to 00D0FFH)
Note RAM
256 words
× 8 bits
(00D100H to 00D1FFH)
Number of storable melodies:
Any within the melody RAM
Address control:
Free allocable word size for each melody
Playback output:
1 square-wave tone
Scale (3 octaves):
C4 to G6 with reference to A4 = 440 Hz
C4 to C7# with reference to C4 = 256 Hz
Note:
8 types (half note to sixteenth note)
Tempo:
Selectable from 16 tempos (4 bits)
Reference signal frequency:
32.768 kHz
Driving a piezoelectric buzzer:
MOUT and MOUT are used
MOUT = MOUT = LOW at initial reset
Switching to sound output:
Melody output terminals can be switched for
sound generator output by software
Figure 5.13.1.1 shows the configuration of the
sound generator.
The melody signal generated by the melody
generator is output from the MOUT and MOUT
terminals. Furthermore, the MOUT and MOUT
terminals can output the buzzer signal generated
by the sound generator.
At initial reset, the MOUT and MOUT terminals go
LOW.
Using the two terminals MOUT and MOUT allows
direct driving of a piezoelectric buzzer. In this case,
connect a piezoelectric buzzer between the MOUT
and MOUT via the protective resistors (100
) as
shown in Figure 5.13.1.2.
MOUT
100
100
Fig.5.13.1.2 Direct driving a piezoelectric buzzer
The buzzer can be driven with one terminal by
connecting it to the MOUT terminal via a transistor.
However, direct driving a piezoelectric buzzer is
recommended for lower current consumption.
The CPU accesses the scale RAM and note RAM
individually when data is read and written from/to
the RAM since they have different addresses.
During a melody output, the scale RAM and note
RAM are accessed as a RAM configured with 256
words
× 16 bits.
Fig. 5.13.1.1 Configuration of the sound generator
Sound generator
OSC1
oscillation
circuit
Tempo
generator
Note length
generator
M address
counter
M address
register
Frequency
booster
Control
circuit
Pitch
generator
Output
circuit
MOUT
Scale RAM
256 words
Note RAM
256 words
Data
bus
Address
bus
Tempo
register
fOSC1
MOUT
Melody generator
相關(guān)PDF資料
PDF描述
S1C88832F0A0100 MICROCONTROLLER, PQFP128
S1C88848D0A0100 8-BIT, MROM, 8.2 MHz, MICROCONTROLLER, UUC192
S1C8F360F 8-BIT, FLASH, 8.2 MHz, MICROCONTROLLER, PQFP176
S1D13305F00B 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
S1D13305F00A 640 X 256 PIXELS CRT CHAR OR GRPH DSPL CTLR, PQFP60
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C88848 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C8F360D411000 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
S1C8F360D511000 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
S1C8F360F413100 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT
S1C8F360F513200 功能描述:16位微控制器 - MCU 8-bit Flash 60KB LCD Dr. 51 x 32 RoHS:否 制造商:Texas Instruments 核心:RISC 處理器系列:MSP430FR572x 數(shù)據(jù)總線寬度:16 bit 最大時鐘頻率:24 MHz 程序存儲器大小:8 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:2 V to 3.6 V 工作溫度范圍:- 40 C to + 85 C 封裝 / 箱體:VQFN-40 安裝風(fēng)格:SMD/SMT