
22
EPSON
S1C6N3B0 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIARCUITS AND OPERATION (Output Ports)
BUZZER, BUZZER (R01, R00)
The output ports R01 and R00 can be set to BUZZER output port and BUZZER output (BUZZER reverse
output) port, respectively.
Direct driving of piezo-electric buzzer
By setting the R01 to the BUZZER output port and the R00 to the BUZZER output port, these two termi-
nals can directly drive a piezo-electric buzzer. The BUZZER output (R00) can only be set if the R01 is set
to the BUZZER output.
The output signal polarity is a high level while the buzzer signal is off.
At initial reset, the output terminals go high.
When "0" is written to the BUZZER (R01)/BUZZER (R00) registers, the output terminals output the
buzzer signals. When "1" is written, the terminals go high.
Figure 4.4.3.3 shows the buzzer direct drive waveform.
R01(R00) register
BUZZER output waveform
10
1
Fig. 4.4.3.3 BUZZER output waveform (direct driving)
Single terminal driving of piezo-electric buzzer
The piezo-electric buzzer can be driven with one terminal by setting the R01 to the BUZZER output
terminal. In this case, the polarity of the buzzer off signal can also be selected from high level and low
level by mask option.
At initial reset, the buzzer output goes off and the output terminal (R01) is set to the level that is selected
by mask option.
When "0" is written to the BUZZER (R01) register, the output terminal outputs the buzzer signal.
Figure 4.4.3.4 shows the buzzer output waveform in single terminal driving.
R01 register
BUZZER output waveform (OFF level = HIGH)
BUZZER output waveform (OFF level = LOW)
10
1
Fig. 4.4.3.4 BUZZER output waveform (single terminal driving)
BUZZER frequency
The buzzer signal frequency can be selected from 2 types (fBZL, fBZH) using the XBZR register. The
frequencies are set as in Table 4.4.3.2 according to the model.
Table 4.4.3.2 BUZZER frequency
Buzzer frequency
fBZL (XBZR="1")
fBZH (XBZR="0")
Frequency
S1C6N3B0
Crystal oscillation
(32.768 kHz)
fOSC/16=2kHz
fOSC/8=4kHz
S1C6N3B0
CR oscillation
(65 kHz)
fOSC/16=4kHz
fOSC/8=8kHz
S1C6A3B0
Ceramic oscillation
fOSC/192
fOSC/96
S1C6A3B0
CR oscillation
fOSC/96
fOSC/48