Features:
- Core
- • Enhanced 8051 Core with single clock per machine cycle (1T)
- • Fully compatible instruction set with traditional 8051
- • 18 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 64Kbytes 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
- • 2048 bytes internal extended RAM
- Clock
- • Internal high precise R/C clock (IRC, range from 4MHz to 38MHz), adjustable while ISP and can be divided to
lower frequency by user software, 100KHz for instance.
- – Error:±0.3%
- – -1.38%~+1.42% temperature drift (at the temperature range of -40℃ to +85℃)
- – -0.88%~+1.05% temperature drift (at the temperature range of -20℃ to 65℃)
- • Internal 32KHz low speed IRC with large error
- • External 4MHz~38MHz 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)
- – Reset by reset pin. The default function of P5.4 is the I/O port. The 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 (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).
- • Software reset
- – Writing the reset trigger register using software
- Interrupts
- • 18 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, UART3,
UART4, LVD, SPI, I2C, comparator.
- • 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), T3(P0.4), T4(P0.6), RXD(P3.0/P3.6/P1.6/P4.3), RXD2(P1.4/P4.6),
RXD3(P0.0), RXD4(P0.2), I2C_SDA (P1.4/P2.4/P3.3),SPI_SS(P1.2/P2.2/P3.5) and comparator interrupt, low-voltage detection interrupt, power-down wake-up timer.
- Digital peripherals
- • 5 16-bit timers: timer0, timer1, timer2, timer3, timer4, where the mode 3 of timer0 has the Non Maskable
Interrupt (NMI in short) function. Mode 0 of timer0 and timer1 is 16-bit Auto-reload mode.
- • 4 high speed uarts: uart1, uart2, uart3, uart4, whose baudrate clock source may be fast as FOSC/4
- • 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.
- • I/O port interrupt: All I/Os support interrupts, each group of I/O interrupts has an independent interrupt entry address, all I/O
interrupts can support 4 types interrupt mode: high level interrupt, low level interrupt, rising edge interrupt, falling edge interrupt.
- Analog peripherals
- • 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).
- GPIO
- • Up to 42GPIOs: P0.0~P0.7, P1.0~P1.7, P2.0~P2.7, P3.0~P3.7, P4.0~P4.7, P5.4~P5.5,
- • 4 modes for all GPIOs: quasi-bidirectional mode, push-pull output mode, open drain mode,
high-impedance input mode
- Package
- • LQFP44, LQFP32, QFN32(4mm*4mm)
Product Documents:
General Overview: STC8C2K64S4 _Features.pdf
Data Sheet:STC8C2K64S4.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:
STC8C2K64S4 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 |
MDU16
Hard
-ware
16-bit
Multi
-plier
and
Divider
|
Power
-down
Wake-
up
Timer |
Comp
-arat
ors(1
A/D,
ext
brow
-nout
detec
-tion) |
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 |
Prog
-ram
encry
-pted
transm
-ission
(Anti
-bloc
-king) |
Supp
-ort
USB
down
-load |
Supp
-ort
RS485
down
-load |
STC8C2K64S4 series MCU Selection and Price Table
Note: |
STC8C2K16S4 |
1.9-5.5 |
16K |
2.2K |
4 |
Y |
5 |
Y |
Y |
Y |
Y |
2 |
48K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Y |
STC8C2K32S4 |
1.9-5.5 |
32K |
2.2K |
4 |
Y |
5 |
Y |
Y |
Y |
Y |
2 |
32K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Y |
STC8C2K60S4 |
1.9-5.5 |
60K |
2.2K |
4 |
Y |
5 |
Y |
Y |
Y |
Y |
2 |
4K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Y |
STC8C2K64S4 |
1.9-5.5 |
64K |
2.2K |
4 |
Y |
5 |
Y |
Y |
Y |
Y |
2 |
IAP |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Y |
Sample & Buy:
Sample: Sample Request Form
Buy : Buy Online