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
- • 41 interrupt sources and 4 interrupt priority levels
- • Online debugging is supported
- Operating voltage
- • 1.9 to 5.5V
- Operating temperature
- • -40℃ ~ + 85℃(The chip is produced in -40℃~125℃ process. Please refer to the description of the electrical characteristics
chapter for applications beyond the temperature range)
- 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 (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)
- • 4096 bytes internal extended RAM (internal XDATA, use keyword xdata to declare in C language program)
- Clock
- • Internal high precise RC clock IRC(IRC for short, ranges from 4MHz to 45MHz), adjustable while ISP and can be divided to
lower frequency by user software, 100KHz for instance.
- – Error:±0.3% (at the temperature 25℃)
- – -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 crystal (4MHz~33MHz) and external clock
- • Users can freely choose the above 3 clock sources
- Reset
- • Hardware reset
- – Power-on reset. Measured voltage 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. (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.0V, 2.4V, V2.7,V3.0
- • Software reset
- – Writing the reset trigger register using software
- Interrupts
- • 41 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), timer 0, timer 1, timer 2, timer 3, timer 4, UART 1, UART 2, UART 3, UART 4, ADC, LVD, SPI, I2C,
comparator, PWMA, PWMB, RTC, TKS, P1, P2, P3, P4, P5, LCM driver, DMA receive and transmit interrupts of UART 1,
DMA receive and transmit interrupts of UART 2, DMA receive and transmit interrupts of UART 3, DMA receive and transmit
interrupts of UART 4, DMA interrupt of SPI, DMA interrupt of ADC, DMA interrupt of LCM driver and DMA interrupt of
memory-to-memory.
- • 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/P4.3), RXD2(P1.0/P4.6), RXD3(P0.0/P5.0),
RXD4(P0.2/P5.2), I2C_SDA(P1.4/P2.4/P3.3), SPI_SS(P5.4/P2.2/P3.5), Comparator interrupt, LVD interrupt, Power-down
wake-up timer and interrupts of all I/O ports.
- 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.
- • 4 high speed UARTs: UART1, UART 2, UART 3, UART 4, whose maximum baudrate may be FOSC/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.
- • MDU16: Hardware 16-bit Multiplier and Divider which supports 32-bit divided by 16-bit, 16-bit divided by 16-bit, 16-bit
multiplied by 16-bit, data shift, and data normalization operations.
- • RTC: Support year, month, day, hour, minute, second, sub-second (1/128 second). And supports clock interrupt and a set of
alarm clocks (Note: A version of the chip does not have this function)
- • 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. Provides 4 levels of interrupt priority and supports power-down wake-up function.
- • DMA: support Memory-To-Memory, SPI, UART1TX/UART1RX, UART2TX/UART2RX, UART3TX/UART3RX,
UART4TX/UART4RX, ADC(Automatically calculates the average of multiple ADC results), LCM (Note: A version of the
chip does not have this function)
- • LCM (TFT color screen) dirver: support 8080 and 6800 interface, and support 8-bit and 16-bit data width (Note: A version of
the chip does not have this function)
- – 8 bits 8080 data bus: 8 bits data lines (TD0~TD7), READ signael (TRD)c WRITE signal (TWR), RS line (TRS)
- – 16 bits 8080 bus: 16 bits data lines (TD0~TD15), READ signael (TRD)c WRITE signal (TWR), RS line (TRS)
- – 8 bits 6800 bus: 8 bits data lines (TD0~TD7), enable signal (TE) , READ and WRITE signal (TRW) , RS line (TRS)
- – 16 bits 6800 bus: 16 bits data lines (TD0~TD15), enable signal (TE) , READ and WRITE signal (TRW) , RS line (TRS)
- – Note: If you use 8-bit data lines to control the TFT screen, you generally need TD0~D7, TRD/TWR/TRS, 11 data and control lines, plus 2 common I/Os to control chip selection and reset (many TFT color screen chip selections and reset
manufacturer has carried out automatic processing, does not need software control)
- Analog peripherals
- • Ultra high speed ADC which supports 12-bit precision 15 channels (channel 0 to channel 14) analog-to-digital conversion. The
maximum speed can be 800K(800K ADC 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)
- • Comparator. A set of comparator (The CMP+ port and all ADC input ports can be selected as the positive terminal of the
comparator, the CMP- port and the internal reference voltage 1.19V can be selected as the negative terminal of the comparator.
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. Every touch key can be enabled independently. The internal
reference voltage is adjustable with 4 levels. Charge and discharge time settings and internal working frequency settings are
flexible. The touch key supports wake-up CPU from low-power mode.C
- • 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: 8 channels advanced PWMs timers can be used as 8 channels DAC
- GPIO
- • Up to 44 GPIOs: P0.0~P0.7, P1.0~P1.7(No P1.2), P2.0~P2.7, P3.0~P3.7, P4.0~P4.7, P5.0~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 set 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
- • LQFP48 (9mm*9mm), QFN48(6mm*6mm)
STC8H4K64TLR 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
|
L E D
D i r v
e r
|
T o u c h
k e y
|
M D U
16 |
T
I
M
E
R |
P
W M |
Power
-down
wake
-up
timer
|
I2C |
Comp
-arat
ors(1
A/D,
ext
brow -nout
detec -tion) |
A/D
15-
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
out -put
and
Reset
|
Supp
-ort
USB
down
-load |
Supp
-ort
RS485
down
-load |
STC8H4K64TLR series MCU Selection and Price Table
Note: |
STC8H8K32TLR |
1.9-5.5 |
32K |
4.2K |
4 |
Y |
Y |
Y |
Y |
5 |
8 |
Y |
Y |
Y |
12b |
Y |
2 |
32K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
STC8H8K48TLR |
1.9-5.5 |
48K |
4.2K |
4 |
Y |
Y |
Y |
Y |
5 |
8 |
Y |
Y |
Y |
12b |
Y |
2 |
16K |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
STC8H8K64TLR |
1.9-5.5 |
64K |
4.2K |
4 |
Y |
Y |
Y |
Y |
5 |
8 |
Y |
Y |
Y |
12b |
Y |
2 |
IAP |
Y |
Y |
4-level |
Y |
Y |
Y |
Y |
Sample & Buy:
Sample: Sample Request Form
Buy : Buy Online