English
Language : 

MC81F4332 Datasheet, PDF (139/198 Pages) Finechips – ABOV SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
MC81F4432
21. BUZZER
fxt
fxx/16
fxx/32
fxx/64
BUSS
fBUZ
M
U
X
BUCK
8-bit Counter
Clear
BURL
Match signal
Comparator
Buzzer buffer
Register
BUPDR
F/F
BUZO
BURL
Match signal
Figure 21-1 Buzzer Driver Block Diagram
The buzzer driver consists of 8-bit binary counter, the buzzer period data register BUPDR, and the
buzzer driver register BUZR, the clock selector. It generates square-wave which is very wide range
frequency (244 Hz ~ 250 KHz at fxx = 8MHz) by user programmable counter.
Pin R12/BUZO is assigned for output port of Buzzer driver by setting the bits R12 of R1 Control
Middle Register (R0CONM) to “101”.
The 8-bit buzzer counter is cleared and start the counting by writing signal to the register BUZR. It is
increased from 00H until it matches with BUPDR[7:0].
Also, it is cleared by counter overflow and count up to output the square wave pulse of duty 50%.
The bit 0 to 7 of BUPDR determines output frequency for buzzer driving. BUPDR is initialized to FFH
after reset.
Frequency calculation is following as shown below.
BUZZER
Output
Freq.
=
2
∗
fBUZ
(BUPDR
+
1)
October 19, 2009 Ver.1.35
139