
S1C6S460 TECHNICAL MANUAL
EPSON
69
CHAPTER 10: SOUND GENERATOR
10.3 Frequency Setting
The frequencies of the buzzer signals (BZ, BZ) are set by writing data to registers BZFQ0–BZFQ2.
Table 10.3.1 lists the register setting values and the frequencies that can be set.
Table 10.3.1 Setting of frequencies of buzzer signals
BZFQ2
BZFQ1
BZFQ0
Buzzer frequency (Hz)
0
4,096.0
0
1
3,276.8
0
1
0
2,730.7
0
1
2,340.6
1
0
2,048.0
1
0
1
1,638.4
1
0
1,365.3
1
1,170.3
Note: A hazard may be observed in the output waveform of the buzzer signals when switches the buzzer
frequency while the buzzer signals being output.
10.4 Digital Envelope
A duty ratio control data envelope (with duty ratio change in 8 steps) can be added to the buzzer signal
(BZ, BZ).
Duty ratio refers to the ratio of pulse width to the pulse cycle; given that high level output time is TH,
and low level output time is TL, BZ output becomes TH/(TH+TL).
BZ output becomes TL/(TH+TL) owing to the inverted output of the BZ output. Moreover, care is
necessary as the duty ratio differs according to the buzzer frequency.
Envelope addition is performed by writing "1" to ENVON; when "0" is written, the duty ratio is fixed at
the maximum (1/2 duty). Moreover, when envelope is added, writing "1" to ENVRST will cause the BZ
signal duty ratio to be returned to maximum.
The decay time of the envelope (time for the duty ratio to change) can be selected with the register
ENVRT. This time is 62.5 ms (16 Hz) when "0" is written, and 125 ms (8 Hz) when "1" is written. However,
a maximum difference of 4 ms is taken from envelope-ON until the first change.
Table 10.4.1 lists the duty ratio and buzzer frequencies.
Figure 10.4.1 shows the digital envelope timing chart.
Table 10.4.1 Duty ratio and buzzer frequencies
Buzzer frequencies
Duty ratio
4,096.6
3,276.8
2,730.7
2,340.6
2,048.0
1,638.4
1,365.3
1,170.3
Level 1 (max.)
8/16
8/20
12/24
12/28
Level 2
7/16
7/20
11/24
11/28
Level 3
6/16
6/20
10/24
10/28
Level 4
5/16
5/20
9/24
9/28
Level 5
4/16
4/20
8/24
8/28
Level 6
3/16
3/20
7/24
7/28
Level 7
2/16
2/20
6/24
6/28
Level 8 (min.)
1/16
1/20
5/24
5/28