EasyManua.ls Logo

STC micro STC8A8K64D4 Series - External Crystal Oscillator and External Clock Circuit; External Crystal Input Circuit; External Clock Input Circuit (P1.6 Cannot be Used as General I;O); Clock Stop; Power Saving Mode and System Power Management

Default Icon
901 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STC8A8K64D4 Series Manual
-
- 63 -
6.4 External crystal oscillator and external clock circuit
6.4.1 External crystal input circuit
P1.6/XTALO
4~45MHz
C1
20p~47p
P1.7/XTALI
20p~47p
C2
MCU
Note: The two capacitors C1 and C2 must not be
omitted. Without these two capacitors, the crystal
oscillator may not oscillate. In addition, even if the
crystal oscillator can start to oscillate, the MCU will
increase the power consumption of 5~8mA.
6.4.2 External clock input circuit (P1.6 cannot be used as general I/O)
P1.6/XTALO
P1.7/XTALI
4~45MHz
MCU
6.5 Clock stop / Power Saving Mode and System Power Management
Symbol
Description
Address
Bit Address and Symbol
Reset
value
B7
B6
B5
B4
B3
B2
B1
B0
PCON
Power control register
87H
SMOD
SMOD0
LVDF
POF
GF1
GF0
PD
IDL
0011,0000
6.5.1 Power control register (PCON)
Symbol
Address
B7
B6
B5
B4
B3
B2
B1
B0
PCON
87H
SMOD
SMOD0
LVDF
POF
GF1
GF0
PD
IDL
LVDF: Low voltage detection flag. When the system detects a low-voltage event, it is set by the hardware automatically and
an interrupt request to the CPU ocuurs. It should be cleared by user software.
POF: Power-On reset flag. It is set by the hardware automatically when power-off-on action occurs.
PD: Clock stop mode / Power-Down mode / Power stop mode control bit
0: No operation.

Table of Contents

Related product manuals