Features:
- Core
- • Ultra-high speed 8051 core with single clock per machine cycle, which is called 1T and is about 12 times faster
than traditional 8051
- • Fully compatible instruction set with traditional 8051
- • 16 interrupt sources and 4 interrupt priority levels
- • Online debugging is supported
- Operating voltage
- • 1.9 to 5.5V
- • Built-in LDO
- Operating temperature
- • -40°C~85°C
- Flash memory
- • Up to 17K bytes of Flash memory to be used to store user code
- • Configurable EEPROM size, 512bytes single page erased, can be repeatedly erased more than
100 thousand times.
- • In-System-Programming, ISP in short, can be used to update the application code, no need for programmer.
- • Online debugging with single chip is supported, and no emulator is needed. The number of
breakpoints is unlimited theoretically.
- SRAM
- • 128 bytes internal direct access RAM
- • 128 bytes internal indirect access RAM
- • 1024 bytes internal extended RAM
- Clock
- • Internal high precise R/C clock (IRC, range from 4MHz to 36MHz), adjustable while ISP and can be divided to lower frequency by user software, 100KHz for instance
- – Error:±0.3% (at the temperature 25℃)
- – -1.38%~+1.42% temperature drift (at the temperature range of -40°C to +85°C)
- – -0.88%~+1.05% temperature drift (at the temperature range of -20℃ to 65℃)
- • Internal 32KHz low speed IRC with large error
- • External 4MHz~33MHz oscillator or external clock
- • The three clock source above can be selected freely by used code.
- Reset
- • Hardware reset
- – Power-on reset. Measured voltage value is 1.69V~1.82V. (Effective when the chip does not enable the
low voltage reset function)
The power-on reset voltage is a voltage range consisting of an upper limit voltage and a lower limit voltage.
When the operating voltage drops from 5V / 3.3V to the lower limit threshold voltage of the power-on reset,
the chip is in reset state. When the voltage rises from 0V to the upper threshold voltage of power-on reset,
the chip is released from the reset state.
- – Reset by reset pin. The default function of P5.4 is I/O port. P5.4 pin can be set as the reset pin while ISP
download. (Note: When the P5.4 pin is set as the reset pin, the reset level is low.)
- – Watch dog timer reset
- – Low voltage detection reset. 4 low voltage detection levels are provided, 2.2V (Measured as 1.90V~2.04V),
2.4V (Measured as 2.30V~2.50V), V2.7 (Measured as 2.61V~2.82V), V3.0 (Measured as 2.90V~3.13V).
Each level of low-voltage detection voltage is a voltage range consisting of an upper limit voltage and a
lower limit voltage. When the operating voltage drops from 5V / 3.3V to the lower limit threshold voltage
of low-voltage detection, the low-voltage detection takes effect. When the voltage rises from 0V to the
upper threshold voltage, the low voltage detection becomes effective.
- • Software reset
- – Writing the reset trigger register using software
- Interrupts
- • 16 interrupt sources: INT0, INT1, INT2, INT3, INT4, timer0, timer1, timer2,
uart1, uart2, ADC, LVD, SPI, I2C, comparator,PCA/CCP/PWM
- • 4 interrupt priority levels
- • Interrupts that can awaken the CPU in clock stop mode: INT0 (P3.2), INT1 (P3.3), INT2 (P3.6), INT3 (P3.7),
INT4 (P3.0), T0 (P3.4) ), T1(P3.5), T2(P1.2), RXD(P3.0/P3.6/P1.6), RXD2(P1.4), CCP0(P1.1/P3.5), CCP1
(P1.0/P3.6), CCP2 (P3.7), I2C_SDA (P1.4/P3.3) and comparator interrupt, low-voltage detection interrupt,
power-down wake-up timer.
- Digital peripherals
- • 3 16-bit timers: timer0, timer1, timer2, where the mode 3 of timer 0 has the Non Maskable Interrupt (NMI in
short) function. Mode 0 of timer 0 and timer 1 is 16-bit Auto-reload mode.
- • 2 high speed UARTs: uart1, uart2, whose baud rate clock source may be fast as FOSC/4
- • 3 groups of PCAs: CCP0, CCP1, CCP2, which can be used as capture, high speed output and 6-bits, 7-bits, 8-bits
or 10-bits PWM.
- • SPI: Master mode, slave mode or master/slave automatic switch mode are supported.
- • I2C: Master mode or slave mode are supported.
- • MDU16: Hardware 16-bit Multiplier and Divider which supports 32-bit divided by 16-bit, 16-bit divided
by 16-bit, 16-bit by 16-bit, data shift, and data normalization operations.
- Analog peripherals
- • 6 channels (channel 0 to channel 5) ultra-high speed ADC which supports 10-bit precision analog-to-digital
conversion, the speed can be as fast as 500K(500,000 conversions per second).
- • ADC channel 15 is used to test the internal reference voltage. (The default internal reference voltage is 1.19V
when the chip is shipped)
- • DAC. 3 groups of PCAs can be used as DAC.
- GPIO
- • Up to 18 GPIOs: P1.0~P1.7, P3.0~P3.7, P5.4~P5.5
- • 4 modes for all GPIOs: quasi-bidirectional mode, push-pull output mode, open drain mode,
high-impedance input mode
- • Except for P3.0 and P3.1, all other I/O ports are in high-impedance state after power-on. User must set the
I/O ports mode before using them. In addition, each I/O can independently enable the internal 4K pull-up resistor.
- Package
- • TSSOP20,QFN20, SOP16,SOP8, DFN8
Product Documents:
General Overview: STC8G1K08 _Features.pdf
Data Sheet:STC8G1K08.pdf
ROSH:
SCH/PCB: STC SCH/PCB library
Sample Code:
library Function: STC32G12K128 library function
Dome Code: STC32G12K128 Dome Code
STC8G1K08 series Selection Table:
Type
1T 8051
MCU |
Oper
ating
Voltage
(V) |
Flash
(byte) |
S
R
A
M
(byte) |
U
A
R
T |
S
P
I
I
I
C |
T
I
M
E
R |
PCA
CCP
PWM
(can be
exte
-rnal
inter -rupt) |
SpeI -cal
Power
-down
Wake-
up
Timer |
Comp
-arat
ors(1
A/D,
ext
brow -nout
detec -tion) |
A/D 15-
ch |
C
O
M
P
A
R
A
T
O R |
D
P
T R |
EEP ROM |
Inter
-nal
Low-
Voltage
Detec
-tion
Inter -rupt |
W
D T |
Internal
High-
reliable
Reset
(with
optional
threshold voltage) |
Inter
-nal
High-
Pre
cise
Clock |
Output
clock
and reset
signal
from
MCU |
Encry
-pti on
Downl
oad(to
protect
your
code
from
being
interc
epted) |
R
S
4
8
5
C
o
n
t
r
o l |
All Package |
STC8G1K08 series MCU Selection and Price Table
Note: |
STC8G1K08 |
1.9-5.5 |
8K |
1.2K |
1 |
Y |
2 |
- |
Y |
- |
-- |
Y |
2 |
4K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
DFN8
SOP8
|
STC8G1K08A |
1.9-5.5 |
8K |
1.2K |
1 |
Y |
2 |
3 |
Y |
- |
10b |
Y |
2 |
4K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
STC8G1K08 |
1.9-5.5 |
8K |
1.2K |
2 |
Y |
3 |
3 |
Y |
Y |
10b |
Y |
2 |
4K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
TSSOP20
QFN20
SOP16
|
STC8G1K17 |
1.9-5.5 |
17K |
1.2K |
2 |
Y |
3 |
3 |
Y |
Y |
10b |
Y |
2 |
IAP |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Sample & Buy:
Sample: Sample Request Form
Buy : Buy Online