Document
www.STCMCU.com
Mobile:(86)13922805190
Tel:86-755-82948412
Fax:86-755-82944243
STC15F204EA series MCU
STSCT1C5LD2M0a4CtaEUAShsLeeeirmtieitseMd CU
STC MCU Limited
www.STCMCU.com
Update date: 2010/10/24
STC MCU Limited
website:www.STCMCU.com
Free Datasheet http://www.Datasheet4U.com
CONTENTS
Chapter 1 Introduction..................................................................... 5
1.1 Features...................................................................................................5 1.2 Block diagram.........................................................................................6 1.3 PINS Definition.......................................................................................7
1.3.1 STC15F204EA series Pin Definition.....................................................................7 1.3.2 STC15F101E series Pin Definition........................................................................8 1.3.3 STC15S204EA series Pin Definition.....................................................................9
1.4 STC15F204EA series Minimum Application System..........................10 1.5 STC15F204EA series Typical Application Circuit (for ISP)................11 1.6 PINS Descriptions of STC15F204EA series.........................................12 1.7 Package Drawings.................................................................................14 1.8 STC15Fxx series MCU naming rules...................................................20
1.8.1 STC15F204EA series MCU naming rules...........................................................20 1.8.2 STC15F101E series MCU naming rules..............................................................21
Chapter 2 Clock, Power Management, Reset................................ 22
2.1 Clock.....................................................................................................22 2.2 Power Management................................................................................23
2.2.1 Idle Mode..............................................................................................................23 2.2.2 Slow Down Mode..................................................................................................24 2.2.3 Power Down (PD) Mode (Stop Mode).................................................................26
2.3 Reset.......................................................................................................32
2.3.1 Reset pin ..............................................................................................................32 2.3.2 Software RESET .................................................................................................32 2.3.3 Power-On Reset (POR) .......................................................................................32 2.3.4 MAX810 power-on-reset delay............................................................................33 2.3.5 Low Voltage Detection.........................................................................................33 2.3.6 Watch-Dog-Timer.................................................................................................37
Chapter 3 Memory Organization................................................... 42
3.1 Program Memory...................................................................................42 3.2 SRAM....................................................................................................43
Free Datasheet http://www.Datasheet4U.com
Chapter 4 Configurable I/O Ports.................................................. 45
4.1 I/O Port Configurations..........................................................................45
4.1.1 Quasi-bidirectional I/O..........................................................................................45 4.1.2 Push-pull Output...................................................................................................46 4.1.3 Input-only Mode....................................................................................................46 4.1.4 Open-drain Output.................................................................................................46
4.2 I/O Port Registers .................................................................................47 4.3 I/O port application notes......................................................................49 4.4 I/O port application...............................................................................49
4.4.1 Typical transistor control circuit...........................................................................49 4.4.2 Typical diode control circuit.................................................................................49 4.4.3 3V/5V hybrid system...........................................................................................50 4.4.4 How to make I/O port low after MCU reset.........................................................50 4.4.5 I/O dri.