UM0527
General description
15/66
1.1.9 Control
unit
Figure 7.
Control unit
GND
GND
C8
8
22pF
C8
9
22pF
Y1
16M
H
z
NC1
ON/OFF
BUZZER
GND
VCCPU
RX
TX
RST!
PHASE
INV_A!
INV_B
!
BUTTON
ACL
ACF!
PW
R_LEV
IN
P_LEV
AKK_
LEV
TX
RX
L6
4.
7uH
L5
4.
7uH
ACI
VCCPU
R
110
4.
7k
GND
C
1
7
100nF
GND
VDD
3
RES
2
VSS
1
U
8
STM
809L
L4
4.
7uH
L3
4.
7uH
GND
VCCPU
RST!
RESET!
ICC_
CLK
ACH
VAREF
VSSA
OUT_
R
EL
R9
1
10k
RST!
ICC_
SEL
GND
ICC_
DATA
IC
P
p
rogr
am
m
ing
C
-FLA
S
H
1
1
2
2
B1
BPT-
1
4
R
120
2.
2k
VCC
ACI
R
113
3.
3k
R
114
3.
3k
COM
9
1B
1
1C
16
2B
2
2C
15
3B
3
3C
14
4B
4
4C
13
5B
5
5C
12
6B
6
6C
11
7B
7
7C
10
8
E
U9
U
L
N
2003D
ACF!
INV_
A!
INV_
B!
OUT_
R
EL!
INV_
A
INV_
B
GND
OUT_
R
EL
ACL!
ACL
ACH
VCC
ACH!
OUT_
L
EV
R
118
2.
2k
R
119
2.
2k
VCC
VCC
ICC_
DATA
ICC_
CLK
UPS_OFF!
LEDR
LEDG
BAT_LOW
CHOF
F
VCC
1
3
5
7
2
4
6
8
9
10
J2
ID
C
1
0
GND
VCC
VCC
D9
BAS1
6
BUTTON
YA
RA
GA
R
109
330R
R
107
330R
SW
_
ONP
R9
2
10k
VCC
R
111
100R
R
104
330R
R
106
330R
R
108
330R
LEDR
LEDG
R
105
330R
LEDY
OSC
1
OSC
2
OSC1
OSC2
ICC_
SEL
VARE
F
13
VSSA
14
MC
O/AIN8/P
F0
15
BEEP/PF1
(H
S)
16
OC
MP1_A/A
IN
10/PF4
18
IC
AP
1_A/PF6
(H
S)
19
EXTCLK
_A/PF7
(H
S)
20
A
IN
12/
O
C
M
P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