Chapter 10 Buzzer
Operation
X - 4
10-3 Operation
10-3-1 Operation
Buzzer
Buzzer outputs the square wave, having a frequency 1/2
9
to 1/2
14
of the high speed oscillation clock
(fosc), or by 1/2
3
to 1/2
4
of the low speed oscillation clock (fx). The BUZS 2, 1, 0 flag of the oscillation
stabilization wait control register (DLYCTR) set the frequency of buzzer output. The BUZOE flag of the
oscillation stabilization wait control register (DLYCTR) sets buzzer output ON / OFF.
Buzzer Output Frequency
The frequency of buzzer output is decided by the frequency of the high oscillation clock (fosc) or the low
oscillation clock (fx) and the bit 6, 5, 4 (BUZS2, BUZS1, BUZS0) of the oscillation stabilization wait
control register (DLYCTR).
fosc fx BUZS2 BUZS1 BUZS0 Buzzer output frequency
20 MHz - 0 0 0 1.22 kHz
20 MHz - 0 0 1 2.44 kHz
20 MHz - 0 1 0 4.88 kHz
8.38 MHz - 0 1 0 2.05 kHz
8.38 MHz - 0 1 1 4.09 kHz
2MHz - 1 0 0 1.95kHz
2 MHz - 1 0 1 3.91 kHz
-32kHz1 1 0 2kHz
- 32 kHz 1 1 1 4 kHz
Table 10-3-1 Buzzer Output Frequency