122
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
11.6 Buzzer Driver
11.6.1 Overview
The Buzzer consists of 8-bit Counter and BUZDR (Buzzer Data Register), BUZCR (Buzzer Control Register). The
Square Wave (61.035Hz~125kHz, @8MHz) gets out of P12/BUZ pin. BUZDR (Buzzer Data Register) controls the
Buzzer frequency (look at the following expression). In the BUZCR (Buzzer Control Register), BUCK[1:0] selects
source clock divided from prescaler.
BUZDR[7:0]
Buzzer Frequency (kHz)
BUZCR[2:1]=00
BUZCR[2:1]=01
BUZCR[2:1]=10
BUZCR[2:1]=11
0000_0000
125kHz
62.5kHz
31.25kHz
15.625kHz
0000_0001
62.5kHz
31.25kHz
15.625kHz
7.812kHz
…
…
…
…
…
1111_1101
492.126Hz
246.063Hz
123.031Hz
61.515Hz
1111_1110
490.196Hz
245.098Hz
122.549Hz
61.274Hz
1111_1111
488.281Hz
244.141Hz
122.07Hz
61.035Hz
Table 11.12
Buzzer Frequency at 8MHz
11.6.2 Block Diagram
Figure 11.38
Buzzer Driver Block Diagram
Pre
scaler
MUX
÷
32
÷
64
÷
128
÷
256
2
F/F
BUZCR
BUZCR[2:1]
Selection Input
Clock
Buzzer Control Register
[9F
H
]
8-bit Up-counter
Counter
Overflow
fx
Counter
BUZO
PIN
Writing to BUZDR
RESET
BUZCR[0]
BUZDR
Buzzer Data Register
[8F
H
]
1)
(BUZDR
Ratio
Prescaler
2
Frequency
Oscillator
(Hz)
f
BUZ
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...