Features:
- Core
- • Ultra-high speed 8051 Core with single clock per machine cycle, which is called 1T and the speed is about 12 times faster than
traditional 8051
- • Fully compatible instruction set with traditional 8051
- • 19 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 33Kbytes of Flash memory to be used for storing 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 (DATA, use keyword data to declare in C language program)
- • 128 bytes internal indirect access RAM(IDATA, use keyword idata to declare in C language program)
- • 1024 bytes internal extended RAM (internal XDATA, use keyword xdata to declare in C language program)
- Clock
- • Internal high precise RC clock (IRC for short, ranges from 4MHz to 38MHz), adjustable while ISP and can be divided to lower
frequency by user software, 100KHz for instance.
- – Error:±0.3%
- – -1.35%~+1.30% temperature drift (at the temperature range of -40°C to +85°C))
- – -0.76%~+0.98% 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
- – Reset by reset pin. The default function of P5.4 is the I/O port. P5.4 pin can be set as the reset pin while ISP download.
- – Watch dog timer reset
- – Low voltage detection reset. 4 low voltage detection levels are provided, 2.0V, 2.4V, V2.7,V3.0
- • Software reset
- – Writing the reset trigger register using software
- Interrupts
- • 19 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, timer3, timer4, UART1, UART2, ADC, LVD, SPI, I2C, Comparator, PWMA,PWMB
- • 4 interrupt priority levels
- • Interrupts that can wake up 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), T3(P0.4), T4(P0.6), RXD(P3.0/P3.6/P1.6), RXD2(P1.0), I2C_SDA(P1.4/P2.4/P3.3),
Comparator, LVD, Power-down wake-up timer.
- Digital peripherals
- • 5 16-bit timers: timer0, timer1, timer2, timer3, timer4, 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 maximum baudrate may be FOSC/4.4
- • 8 channels/2 groups of enhanced PWMs, which can realize control signals with dead time, and support external fault
detection function. In addition, it also supports 16-bit timers, 8 external interrupts, 8 external captures and pulse width
measurement functions.
- • SPI: Master mode, slave mode or master/slave automatic switch mode are supported.
- • I2C: Master mode or slave mode are supported.
- Analog peripherals
- • 12 channels (channel 0 to channel 11) ultra high speed ADC which supports 10-bit precision. The maximum speed can be
500K(Half a million ADC conversions per second)
- • Channel 15 of ADC is used to test the internal reference voltage. (The default internal reference voltage is 1.19V when the chip
is shipped)
- • A set of comparator (the CMP+ port and all ADC input ports can be selected as the positive terminal of the comparator, so the
comparator can be used as a multi-channel comparator for time division multiplexing)
- • DAC: 8 channels advanced PWM timer can be used as 8 channels DAC
- GPIO
- • Up to 29 GPIOs: P0.0~P0.3, P1.0~P1.7, P2.0~P2.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 a high-impedance state after power-on. User must configure the I/O ports
mode before using them. In addition, the internal 4K pull-up resistor of every I/O can be enabled independently
- Package
- • LQFP32 , QFN32
Product Documents:
General Overview: STC8H1K28 _Features.pdf
Data Sheet:STC8H1K28.pdf
ROSH:
SCH/PCB: STC SCH/PCB library
Sample Code:
library Function: STC8H1K28 library function
Dome Code: STC8H1K28 Dome Code
STC8H1K28 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 |
T
I
M
E
R |
16
bits
advan
-ced
PWM
Timers |
Power
-down
wake
-up
timer |
I2C
which
can
wake-up
CPU |
Comp
-arat
ors(1
A/D,
ext
brow
-nout
detec
-tion) |
A/D
12-
ch |
W
D
T |
D
P
T
R |
E
E
P
R
O
M |
Inter
-nal
LVD
Inter
-rupt
(can
wake
-up
CPU) |
Prog
-ram
encry
-pted
transm
-ission
(Anti-
bloc
-king) |
Internal
High-
reliable
Reset
(with
optional
thres
-hold
voltage) |
Inter
-nal
High-
Pre
cise
Clock |
Clock
output
and
Reset |
Supp
-ort
USB
downl
-oad |
Supp
-ort
RS485
downl
-oad |
STC8H1K28series MCU Selection and Price Table
Note: |
STC8H1K16 |
1.9-5.5 |
16K |
1.2K |
2 |
Y |
5 |
8 |
Y |
Y |
Y |
10b |
Y |
2 |
12K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
STC8H1K24 |
1.9-5.5 |
24K |
1.2K |
2 |
Y |
5 |
8 |
Y |
Y |
Y |
10b |
Y |
2 |
4K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
STC8H1K28 |
1.9-5.5 |
28K |
1.2K |
2 |
Y |
5 |
8 |
Y |
Y |
Y |
10b |
Y |
2 |
IAP |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
STC8H1K33 |
1.9-5.5 |
33K |
1.2K |
2 |
Y |
5 |
8 |
Y |
Y |
Y |
10b |
Y |
2 |
IAP |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Sample & Buy:
Sample: Sample Request Form
Buy : Buy Online