Chapter 1 Introduction
TC15F204EA series is a single-chip microcontroller based on a high performance 1T architecture 80C51
S
CPU, which is produced by STC MCU Limited. With the enhanced kernel, STC15F204EA series execute
instructions in 1~6 clock cycles (about 6~7 times the rate of a standard 8051 device), and has a fully compatible
instruction set with industrial-standard 80C51 series microcontroller. In-System-Programming (ISP) and In-
Application- Programming (IAP) support the users to upgrade the program and data in system. ISP allows the
user to download new code without removing the microcontroller from the actual end product; IAP means that the
device can write non-valatile data in Flash memory while the application program is running. the STC15F204EA
series has 9 interrupt sources, 10-bit ADC, on-chip high-precision RC oscillator and a one-time enabled Watch-
Dog Timer.
1.1 Features
•
•
•
Enhanced 80C51 Central Processing Unit, faster 6~7 times than the rate of a standard 8051
Operating voltage range: 3.8 ~ 5.5V or 2.4V ~ 3.6V (STC15L204EA series)
Operating frequency range: 5MHz ~ 35MHz, is equivalent to standard 8051: 60MHz ~ 420MHz
•
•
•
A high-precision internal RC oscillator with temperature drifting ±1% (-400C~+850C)
internal RC oscillator with adjustable frequency to 5.5296MHz/11.0592MHz/22.1184MHz/33.1776MHz
On-chip 256 bytes RAM and 1K~6K bytes code flash with flexible ISP/IAP capability
•
•
•
EEPROM function
Code protection for flash memory access
Two 16-bit timers/counters — Timer 0 / Timer 1 with mode 0 (16-bit auto-reload mode), mode 1 (16-bit
timer mode) and mode 2 (8-bit auto-reload mode)
•
•
•
•
•
simulate UART can be realized by P3.0,P3.1 and Timers
8-channel, 10-bit ADC associated interrupt, speed up to 300 thousands times every second
9 interrupt sources
One 15 bits Watch-Dog-Timer with 8-bit pre-scalar (one-time-enabled)
Three power management modes: idle mode, slow down mode and power-down mode
Power down mode can be woken-up by external INTx pin (INT0/P3.2, INT1/P3.3,
,
,
)
INT2 INT3 INT4
•
Excellent noise immunity, very low power consumption
•
•
•
Support 2-wire serial flash programming interface.(GND/P3.0/P3.1/VCC)
Programmable clock output Function. T0 output the clock on P3.5, T1 output clock on P3.4.
26 configurable I/O ports are available and default to quasi-bidirectional after reset. All ports may be
independently configured to one of four modes : quasi-bidirectional, push-pull output, input-only or open-
drain output. The drive capability of each port is up to 20 mA. But recommend the whole chip's should be
less than 90 mA.
•
Package type: SOP-28,SKDIP-28
5