STC89LE5xRC Datasheet PDF - ETC

www.Datasheet-PDF.com

STC89LE5xRC
ETC

Part Number STC89LE5xRC
Description STCxxCccc
Page 30 Pages


STC89LE5xRC datasheet pdf
View PDF for PC
STC89LE5xRC pdf
View PDF for Mobile


No Preview Available !

STC89Cxx series MCU
STC89LExx series MCU
Data Sheet



No Preview Available !

CONTENTS
Chapter 1 Introduction......................................................................4
1.1 Features................................................................................................. 4
1.2 Block diagram....................................................................................... 5
1.3 Pin Configurations .............................................................................. 6
1.4 Pin Descriptions.................................................................................... 7
1.5 Pin Package Drawings.......................................................................... 8
Chapter 2 POWER MANAGENMENT, RESET......................... 11
2.1 Power Management ........................................................................... 11
2.1.1 Idle Mode.....................................................................................................11
2.1.2 Power Down (PD) Mode.............................................................................12
2.2 RESET Control................................................................................... 16
2.2.1 Reset pin.......................................................................................................16
2.2.2 Power-On Reset (POR). ..............................................................................17
ited2.2.3 Watch-Dog-Timer.......................................................................................17
2.2.4 Software RESET.........................................................................................20
Lim2.2.5 MAX810 power-on-reset delay..................................................................20
Chapter 3 Memory Organization....................................................21
CU3.1 Program Memory............................................................................... 21
3.2 Data Memory...................................................................................... 22
M3.2.1 On-chip Scratch-Pad RAM........................................................................22
3.2.2 Auxiliary RAM............................................................................................22
STC3.2.3 External RAM.............................................................................................22
3.2.4 Special Function Register for RAM..........................................................23
Chapter 4 Configurable I/O Ports Configurations............................ 29
4.1 Quasi-bidirectional I/O....................................................................... 29
4.2 Push-pull Output................................................................................. 30
4.3 Input-only Mode.................................................................................. 30
4.4 Open-drain Output.............................................................................. 30
Chapter 5 Instruction System..........................................................31
5.1 Special Function Registers................................................................. 31
5.2 Addressing Modes............................................................................... 36
5.3 Instruction Set Summary................................................................... 37
5.4 Instruction Definitions....................................................................... 41



No Preview Available !

Chapter 6 Interrupt..........................................................................78
6.1 Interrupt Structure............................................................................ 79
6.2 Interrupt Register............................................................................... 80
6.3 Interrupt Priorities............................................................................. 84
6.4 How Interrupts Are Handled............................................................ 84
6.5 External Interrupts........................................................................... 85
6.6 Response Time................................................................................... 88
Chapter 7 Timer/Counter................................................................89
7.1 Timer/Counter 0 Mode of Operation................................................ 92
ited7.2 Timer/Counter 1 Mode of Operation................................................ 95
7.3 Timer/Counter 2 Mode of Operation.............................................. 100
LimChapter 8 UART with enhanced function....................................109
8.1 UART Mode of Operation............................................................... 112
CU8.2 Frame Error Detection..................................................................... 118
8.3 Multiprocessor Communications.................................................... 118
M8.4 Automatic Address Recognition...................................................... 120
8.5 Buad Rates........................................................................................ 122
STCChapter 9 IAP / EEPROM.............................................................123
9.1 IAP / ISP Control Register............................................................... 123
9.2 STC89xx series internal EEPROM Selection Table...................... 125
9.3 IAP/EEPROM Assembly Language Program Introduction........ 126
9.4 Operating internal EEPROM Demo by Assembly Language...... 128
Appendix A: Assembly Language Programming........................132
Appendix B: 8051 C Programming...............................................154
Appendix C: STC89xx series Selection Table..............................164



No Preview Available !

Chapter 1 Introduction
STC89xx series, which is produced by STC MCU Limited, is a 8-bit single-chip microcontroller with a fully
compatible instruction set with industrial-standard 80C51 series microcontroller. There is 64K bytes flash
memory embeded for appliaction program, which is shared with In-System-Programming code.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. There are 1280 bytes or 512 bytes on-chip RAM embedded that provides requirement from wide
field application. The user can configure the device to run in 12 clocks per machine cycle, and to get the same
performance just as he uses another standard 80C51 device that is provided by other vendor, or 6 clocks per
machine cycle to achieve twice performance. The STC89xx series retain all features of the standard 80C51. In
addition, the STC89xx series have a extra I/O port (P4 ), Timer 2, a 8-sources, 4-priority-level interrupt structure,
on-chip crystal oscillator,and a one-time enabled Watchdog Timer.
1.1 Features
• Enhanced 80C51 Central Processing Unit ,6T or 12T per machine cycle
• Operation voltage range: 5.5V~3.3V (STC89C series) or 2.0V~ 3.6V (STC89LE series)
• Operation frequency range: 0- 48MHz@12T, or 0-24MHz@6T
• On-chip 4/8/13/16/20/32/64K FLASH program memory with flexible ISP/IAP capability
• On-chip 1280 byte / 512 byte RAM
• Be capable of addressing up to 64K byte of external RAM
• Be capable of addressing up to 64K bytes external memory
• Dual Data Pointer (DPTR) to speed up data movement
• Three 16-bit timer/counter, Timer 2 is an up/down counter with programmable clcok output on P1.0
• 8 vector-address, 4 level priority interrupt capability
• One enhanced UART with hardware address-recognition, frame-error detection function, and with self baud-
rate generator.
• One 15 bits Watch-Dog-Timer with 8-bit pre-scaler (one-time-enabled)
• integrate MAX810 — specialized reset circuit
• Three power management modes: idle mode and power-down mode
• Low EMI: inhibit ALE emission
• Power down mode can be woken-up by INT0/P3.2 pin, INT1/P3.3 pin, T0/P3.4, T1/P3.5, RXD/P3.0 pin,
INT2/P4.3, INT3/P4.2
• Maximum 39 programmable I/O ports are available
• Four 8-bit bi-directonal ports; extra four-bit additional P4 are available for PLCC-44 and LQFP-44
• Operating temperature: -40 ~ +85oC (industrial) / 0~75oC (commercial)
• package type :LQFP-44,PDIP-40,PLCC-44



STC89LE5xRC datasheet pdf
Download PDF
STC89LE5xRC pdf
View PDF for Mobile


Related : Start with STC89LE5xR Part Numbers by
STC89LE5xRC STCxxCccc STC89LE5xRC
ETC
STC89LE5xRC 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