參數(shù)資料
型號(hào): SM5L3
廠商: SHARP ELECTRONICS CORP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, MICROCONTROLLER, PQFP80
封裝: 14 X 20 MM, PLASTIC, QFP-80
文件頁(yè)數(shù): 8/27頁(yè)
文件大小: 164K
代理商: SM5L3
SM5L1/SM5L2/SM5L3
4-Bit Single Chip Microcomputers
16
Microcomputer Data Sheet
CONTROL PROCEDURE
The binary counter for designating the address of
the melody ROM can be arbitrarily set using the PRE
instruction. A performance is started and stopped by
the RD0 flag to ‘1’ and ‘0’.
The stop code generates a ‘rest tell signal’, and at
the same time, sets the RD1 flag.
Accordingly, to stop a performance at the end of
melody, the RD0 flag must be clear upon detection of
RD1 flag = 1.
Next step of PRE instruction, put the NOP instruction.
The following is an example of a melody generating
program.
MELO
LAX
2
ATX
LAX
1
PRE
;Set the starting address of the
melody at the 21st hexadecimal
step
NOP
;Dummy command
:
LBLX
0DH
LAX
1
OUT
;Start the melody
TPB
1
;Executed for clear the RD1 flag
NOP
;Dummy command
:
LBLX
0DH
L1
TPB
1
;Test the RD1 flag
TR
L1
;Loop for detect the stop code
LAX
0
OUT
;Stop the melody
Using these functions, the user can generate music,
sound effects, alarm signals, etc. as desired, and any
portion of the music can be repeated. Figure 21 lists the
melody output frequencies. The output frequency can
be halved by making bit 5 (OCT) of the melody ROM
LOW (‘0’). In Figure 21, m0 to m3 show data in bits 1 to
4 of the melody ROM.
Figure 21. Melody Output Frequencies
m3 m2 m1 m0
OUTPUT
FREQUENCY (Hz)
CLOCK
NUMBER
(NOTE 1)
(NOTE 2)
do
si
la#
la
sol#
sol
fa#
fa
mi
re#
re
do#
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
2114.1
1985.9
1872.4
1771.2
1680.4
1560.4
1489.5
1394.4
1310.7
1236.5
1170.3
1110.8
15.5
16.5
17.5
18.5
19.5
21.0
22.0
23.5
25.0
26.5
28.0
29.5
7
888
8
889
8
999
99
9
10
910
10
11
10
11
12
13
12
13
14
15
NOTES:
1. Number of clocks for one cycle.
2. The number (n) in the waveforms represents the number
of periods of the oscillation frequency (32.768 kHz) from
the crystal oscillator for the duration in that particular part
of the waveform.
5L1-21
相關(guān)PDF資料
PDF描述
SM802104UMG 212.5 MHz, OTHER CLOCK GENERATOR, QCC24
SM802105UMG 312.5 MHz, OTHER CLOCK GENERATOR, QCC24
SM802108UMG 156.25 MHz, OTHER CLOCK GENERATOR, QCC24
SMC34C90 PCI BUS CONTROLLER, PBGA256
SMC6247 4-BIT, MROM, 1 MHz, MICROCONTROLLER, PQFP160
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SM5LS 制造商:Potter & Brumfield 功能描述:RELAY SPDT .25A 5000 ohm special
SM5LS-5000 制造商:P&B 功能描述: 制造商:TE Connectivity 功能描述:
SM5M2 制造商:SHARP 制造商全稱:Sharp Electrionic Components 功能描述:4-Bit Single-Chip Microcomputer(LCD Driver)
SM-5R1000FE6 功能描述:RES 0.1 OHM 1% 4W 制造商:vishay dale 系列:SM 包裝:剪切帶(CT) 零件狀態(tài):Digi-Key 停止供應(yīng) 電阻值:100 mOhms 容差:±1% 功率(W):4W 成分:繞線 特性:- 溫度系數(shù):- 工作溫度:-55°C ~ 275°C 封裝/外殼:8230 J 形引線 供應(yīng)商器件封裝:SM-5 大小/尺寸:0.820" 長(zhǎng) x 0.295" 寬(20.83mm x 7.49mm) 高度 - 安裝(最大值):0.305"(7.75mm) 端子數(shù):2 故障率:- 標(biāo)準(zhǔn)包裝:1
SM-5R5000FE6 功能描述:RES 0.5 OHM 1% 4W 制造商:vishay dale 系列:SM 包裝:剪切帶(CT) 零件狀態(tài):Digi-Key 停止供應(yīng) 電阻值:500 mOhms 容差:±1% 功率(W):4W 成分:繞線 特性:- 溫度系數(shù):- 工作溫度:-55°C ~ 275°C 封裝/外殼:8230 J 形引線 供應(yīng)商器件封裝:SM-5 大小/尺寸:0.820" 長(zhǎng) x 0.295" 寬(20.83mm x 7.49mm) 高度 - 安裝(最大值):0.305"(7.75mm) 端子數(shù):2 故障率:- 標(biāo)準(zhǔn)包裝:1