参数资料
型号: SM5L3
厂商: SHARP ELECTRONICS CORP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, MICROCONTROLLER, PQFP80
封装: 14 X 20 MM, PLASTIC, QFP-80
文件页数: 8/27页
文件大小: 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
相关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
相关代理商/技术参数
参数描述
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) 零件状态:Digi-Key 停止供應 电阻值:100 mOhms 容差:±1% 功率(W):4W 成分:绕线 特性:- 温度系数:- 工作温度:-55°C ~ 275°C 封装/外壳:8230 J 形引线 供应商器件封装:SM-5 大小/尺寸:0.820" 长 x 0.295" 宽(20.83mm x 7.49mm) 高度 - 安装(最大值):0.305"(7.75mm) 端子数:2 故障率:- 标准包装:1
SM-5R5000FE6 功能描述:RES 0.5 OHM 1% 4W 制造商:vishay dale 系列:SM 包装:剪切带(CT) 零件状态:Digi-Key 停止供應 电阻值:500 mOhms 容差:±1% 功率(W):4W 成分:绕线 特性:- 温度系数:- 工作温度:-55°C ~ 275°C 封装/外壳:8230 J 形引线 供应商器件封装:SM-5 大小/尺寸:0.820" 长 x 0.295" 宽(20.83mm x 7.49mm) 高度 - 安装(最大值):0.305"(7.75mm) 端子数:2 故障率:- 标准包装:1