STC15F202EA Datasheet PDF - STC

www.Datasheet-PDF.com

STC15F202EA
STC

Part Number STC15F202EA
Description MCU
Page 30 Pages


STC15F202EA datasheet pdf
Download PDF
STC15F202EA pdf
View PDF for Mobile

No Preview Available !

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
websitewww.STCMCU.com

Free Datasheet http://www.Datasheet4U.com



No Preview Available !

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



No Preview Available !

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 drive LED application circuit.........................................................................51
4.4.6 I/O immediately drive LCD application circuit...................................................52
4.4.7 Using A/D Conversion to scan key application circuit........................................53
Chapter 5 Instruction System........................................................ 54
5.1 Special Function Registers....................................................................54
5.2 Notes on Compatibility to Standard 80C51 MCU................................58
5.3 Addressing Modes.................................................................................59
5.4 Instruction Set Summary.......................................................................60
5.5 Instruction Definitions for Standard 8051 MCU..................................65
Chapter 6 Interrupts.................................................................... 102
6.1 Interrupt Structure...............................................................................103
6.2 Interrupt Register................................................................................105
6.3 Interrupt Priorities...............................................................................108
6.4 How Interrupts Are Handled...............................................................109
6.5 External Interrupts.............................................................................. 111
Chapter 7 Timer/Counter 0 and 1................................................ 121
7.1 Timer/Counter 0 Mode of Operation..................................................124
7.2 Timer/Counter 1 Mode of Operation..................................................131
7.3 Generic Programmable Clock Output ................................................136
7.4 Changes of STC15F204E Timers compared with standard 8051 ......143
Free Datasheet http://www.Datasheet4U.com



No Preview Available !

Chapter 8 Simulate Serial Port Program.................................... 145
8.1 Programs using Timer 0 to realize Simulate Serial Port.....................145
8.2 Programs using Timer 1 to realize Simulate Serial Port.....................154
Chapter 9 Analog to Digital Converter....................................... 163
9.1 A/D Converter Structure.....................................................................163
9.2 Register for ADC................................................................................165
9.3 Program using interrupts to demostrate ADC.....................................167
9.4 Program using polling to demostrate ADC ........................................177
Chapter 10 IAP / EEPROM......................................................... 188
10.1 IAP / ISP Control Register................................................................188
10.2 IAP/EEPROM Assembly Language Program Introduction..............191
10.3 EEPROM Demo Programs written in Assembly Language.............193
10.4 EEPROM Demo Program written in C Language............................204
Chapter 11 STC15Fxx series programming tools usage............. 215
11.1 In-System-Programming (ISP) principle..........................................215
11.2 STC15F204EA series application circuit for ISP..............................216
11.3 PC side application usage..................................................................217
11.4 Compiler / Assembler Programmer and Emulator............................219
11.5 Self-Defined ISP download Demo...................................................219
Appendix A: Assembly Language Programming......................... 222
Appendix B: 8051 C Programming.............................................. 244
Appendix C: STC15F204EA series Electrical Characteristics..... 254
Appendix D: STC15Fxx series to replace standard 8051 Notes.. 255
Appendix E: STC15F204EA series Selection Table.................... 257
Free Datasheet http://www.Datasheet4U.com



STC15F202EA datasheet pdf
Download PDF
STC15F202EA pdf
View PDF for Mobile


Related : Start with STC15F202E Part Numbers by
STC15F202EA MCU STC15F202EA
STC
STC15F202EA pdf

Index :   0   1   2   3   4   5   6   7   8   9   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   

This is a individually operated, non profit site. If this site is good enough to show, please introduce this site to others.
Since 2010   ::   HOME   ::   Contact