參數(shù)資料
型號: M30220MA-XXXGP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
封裝: 20 X 20 MM, 0.50 MM PITCH, PLASTIC, LQFP-144
文件頁數(shù): 15/161頁
文件大?。?/td> 0K
代理商: M30220MA-XXXGP
S1C88832/88862 TECHNICAL MANUAL
EPSON
103
5 PERIPHERAL CIRCUITS AND THEIR OPERATION (Sound Generator)
5.12 Sound Generator
5.12.1 Configuration of sound generator
The S1C88832/88862 has a built-in sound generator
for generating the buzzer (BZ and BZ) signal.
The BZ signal generated from the sound generator
can be output from the R50 output port terminal.
Furthermore, the R51 terminal can be set as the BZ
signal (BZ inverted signal) output by mask option.
Aside permitting the respective setting of the
buzzer signal frequency and sound level (duty
adjustment) to 8 stages, it permits the adding of a
digital envelope by means of duty ratio control. It
also has a one-shot output function for outputting
key operated sounds.
Figure 5.12.1.1 shows the configuration of the
sound generator.
5.12.2 Control of buzzer output
The BZ signal can be output from the R50 output
port terminal. Furthermore, the R51 output port
terminal can be used to output the BZ signal (BZ
inverted signal) by mask option.
The configuration of the output ports R50 and R51
is shown in Figure 5.12.2.1.
Fig. 5.12.1.1 Configuration of sound generator
BZ (R51)*
Dividing circuit
256 Hz
Envelope
addition circuit
Programmable
dividing circuit
BZFQ0–BZFQ2
DUTY0–DUTY2
Duty ratio
control circuit
ENRTM
BZON
ENON
ENRST
OSC1
oscillation circuit
fOSC1
BZSHT
One-shot buzzer
control circuit
SHTPW
BZSTP
Buzzer output
control circuit
Output port
R50, R51
BZ (R50)
Available when selected
by mask option
BZ signal
R
SQ
One-shot
time up
R50 output
Register BZSTP
Register BZON
Register BZSHT
Register R50D
R51 output
Mask option
Register R51D
Fig. 5.12.2.1 Configuration of R50 and R51
The output control for the buzzer signal generated by
the sound generator is done by the buzzer output
control register BZON, one-shot buzzer trigger bit
BZSHT and one-shot buzzer forced stop bit BZSTP.
When "1" is set to BZON or BZSTP, the R50 goes
LOW (VSS) and the R51 goes HIGH (VDD).
To output the buzzer signal, "0" must always be set
for the data register R50D. The data register R51D
does not affect the BZ output.
Figure 5.12.2.2 shows the output waveform of the
buzzer signal.
Fig. 5.12.2.2 Buzzer output waveform
Note: Since the buzzer signal is generated asyn-
chronously from the registers BZON, BZSHT
and BZSTP, when the signal is turned ON or
OFF by the register settings, a hazard of a 1/
2 cycle or less is generated.
BZON/BZSHT
BZ output (R50)
BZ output (R51) *
01
when selected by mask option
相關(guān)PDF資料
PDF描述
M30220MA-XXXRP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220MA-XXXRP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220MA-XXXGP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP144
M30220FCGP 16-BIT, FLASH, 10 MHz, MICROCONTROLLER, PQFP144
M30222FGGP 16-BIT, FLASH, MICROCONTROLLER, PQFP100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M30220MA-XXXRP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30220MC 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30220MX-XXXGP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30220MX-XXXRP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30221 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER