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(Supports rising edge and falling edge interrupt), INT1(Supports rising edge and
falling edge interrupt), INT2(Supports falling edge interrupt only), INT3(Supports falling edge interrupt only),
INT4(Supports falling edge interrupt only), timer0, timer1, timer2, UART1, ADC, LVD, SPI, I2C, comparator,
PCA/CCP/PWM, touch key
- • 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.0), 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.
- • 1 high speed UART: UART1, whose baudrate 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.
- Analog peripherals
- • 15 channels (channel 0 to channel 14) ultra-high speed ADC which supports 10-bit precision analog-to-digital
conversion.
- • ADC channel 15 is used to test the internal reference voltage. (The default internal reference voltage is 1.19V
when the chip is shipped)
- • Comparator. A set of comparators (the positive terminal of the comparator can select the CMP+ and all ADC
input ports, so the comparator can be used as a multi-channel comparator for time division multiplexing).
- • Touch key: The microcontroller supports up to 16 touch keys. Each touch key can be independently enabled. The
internal reference voltage is adjustable in 4 levels. Charge and discharge time settings and internal working
frequency settings are flexible. The touch key supports wake-up from low-power mode.
- • LED driver: The microcontroller can drive up to 128 (8 * 8 * 2) LEDs, support common negative mode,
common positive mode and common negative/common positive mode, and support 8 levels of gray
adjustment (brightness adjustment).
- • DAC. 3 groups of PCAs can be used as DACs
- GPIO
- • Up to 16 GPIOs: P1.0~P1.1, P1.3~P1.7, P3.0~P3.7, P5.4
- • 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 (3mm*3mm)
Product Documents:
General Overview: STC8G1K08T _Features.pdf
Data Sheet:STC8G1K08T.pdf
ROSH:
SCH/PCB: STC SCH/PCB library
Sample Code:
Software Tools:
ISP programming software : STC ISP programming software (v6.88)
ISP programming software : STC ISP programming software (v6.91)
IDE software:STC IDE software(v0.1)
Development Tools:
Evaluation Board Schematic:
STC8G1K08T 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 |
Touch key
|
LED driver
|
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 |
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) |
Support RS485 download |
All Package |
STC8G1K08T series MCU Selection and Price Table
Note: |
STC8G1K08T |
1.9-5.5 |
8K |
1.2K |
1 |
Y |
Y |
Y |
3 |
3 |
Y |
Y |
10bit |
2 |
4K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
TSSOP20
QFN20
|
STC8G1K17T |
1.9-5.5 |
17K |
1.2K |
1 |
Y |
Y |
Y |
3 |
3 |
Y |
Y |
10bit |
2 |
IAP |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Sample & Buy:
Sample: Sample Request Form
Buy : Buy Online