AT89 ATMEL Corporation, AT89 Datasheet

no-image

AT89

Manufacturer Part Number
AT89
Description
8-Bit Microcontroller with 4K Bytes Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT8918S
Manufacturer:
ATON
Quantity:
149
Part Number:
AT8918S
Manufacturer:
ATAN
Quantity:
20 000
Part Number:
AT891C52-24JC
Manufacturer:
ALTERA
Quantity:
40
Part Number:
AT891C52-24JC
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
AT891C52-24JC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89818
Manufacturer:
ATAN
Quantity:
71
Part Number:
AT89818
Manufacturer:
ATAN
Quantity:
20 000
Part Number:
AT8982
Quantity:
4 500
Part Number:
AT8983
Manufacturer:
ATAN
Quantity:
20 000
Part Number:
AT8985
Manufacturer:
ATAN
Quantity:
20 000
Part Number:
AT8985P
Quantity:
48
Part Number:
AT8985P
Manufacturer:
SILICON
Quantity:
15 000
Part Number:
AT8989-16
Manufacturer:
ATAN
Quantity:
44
Features
Description
The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K
bytes of Flash Programmable and Erasable Read Only Memory (PEROM). The
device is manufactured using Atmel’s high density nonvolatile memory technology
and is compatible with the industry standard MCS-51™ instruction set and pinout. The
on-chip Flash allows the program memory to be reprogrammed in-system or by a con-
ventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with
Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which
provides a highly flexible and cost effective solution to many embedded control appli-
cations.
Pin Configurations
(
(
( R X D ) P 3 . 0
( T X D ) P 3 . 1
I N T 0
I N T 1
Compatible with MCS-51™ Products
4K Bytes of In-System Reprogrammable Flash Memory
Fully Static Operation: 0 Hz to 24 MHz
Three-Level Program Memory Lock
128 x 8-Bit Internal RAM
32 Programmable I/O Lines
Two 16-Bit Timer/Counters
Six Interrupt Sources
Programmable Serial Channel
Low Power Idle and Power Down Modes
( T 0 ) P 3 . 4
( T 1 ) P 3 . 5
I N D E X
C O R N E R
– Endurance: 1,000 Write/Erase Cycles
) P 3 . 2
) P 3 . 3
P 1 . 5
P 1 . 6
P 1 . 7
R S T
N C
1
2
3
4
5
6
7
8
9
1 0
1 1
4 4
1 2
4 3
1 3
PQFP/TQFP
4 2
1 4
4 1
1 5
4 0
1 6
3 9
1 7
1 8
1 9
3 6
2 0
3 5
2 1
3 4
2 2
2 6
3 3
3 2
3 0
2 9
2 8
2 7
2 5
2 4
2 3
3 1
P 0 . 4 ( A D 4 )
P 0 . 5 ( A D 5 )
P 0 . 6 ( A D 6 )
P 0 . 7 ( A D 7 )
E A / V P P
N C
A L E / P R O G
P S E N
P 2 . 7 ( A 1 5 )
P 2 . 6 ( A 1 4 )
P 2 . 5 ( A 1 3 )
(
(
( R X D ) P 3 . 0
( T X D ) P 3 . 1
I N T 0
I N T 1
( T 0 ) P 3 . 4
( T 1 ) P 3 . 5
(
(
( R X D ) P 3 . 0
I N D E X
C O R N E R
( T X D ) P 3 . 1
I N T 0
I N T 1
(
(
( T 0 ) P 3 . 4
( T 1 ) P 3 . 5
W R
R D
) P 3 . 2
) P 3 . 3
P 1 . 5
P 1 . 6
P 1 . 7
R S T
) P 3 . 2
) P 3 . 3
) P 3 . 6
) P 3 . 7
X TA L 2
X TA L 1
N C
P 1 . 0
P 1 . 1
P 1 . 2
P 1 . 3
P 1 . 4
P 1 . 5
P 1 . 6
P 1 . 7
G N D
R S T
7
8
9
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
6
1 9
5
1
2
3
4
5
6
7
8
9
1 0
1 1
1 2
1 3
1 4
1 5
1 6
1 7
1 8
1 9
2 0
2 0
4
PDIP
2 1
3
PLCC
2 2
2
2 3
1
4 4
2 4
4 0
3 9
3 8
3 7
3 6
3 5
3 4
3 3
3 2
3 1
3 0
2 9
2 8
2 7
2 6
2 5
2 4
2 3
2 2
2 1
4 3
2 5
4 2
2 6
(continued)
4 1
2 7
V C C
P 0 . 0 ( A D 0 )
P 0 . 1 ( A D 1 )
P 0 . 2 ( A D 2 )
P 0 . 3 ( A D 3 )
P 0 . 4 ( A D 4 )
P 0 . 5 ( A D 5 )
P 0 . 6 ( A D 6 )
P 0 . 7 ( A D 7 )
E A / V P P
A L E / P R O G
P S E N
P 2 . 7 ( A 1 5 )
P 2 . 6 ( A 1 4 )
P 2 . 5 ( A 1 3 )
P 2 . 4 ( A 1 2 )
P 2 . 3 ( A 1 1 )
P 2 . 2 ( A 1 0 )
P 2 . 1 ( A 9 )
P 2 . 0 ( A 8 )
4 0
2 8
3 9
3 6
3 5
3 4
3 3
3 2
3 1
3 0
2 9
P 0 . 4 ( A D 4 )
P 0 . 5 ( A D 5 )
P 0 . 6 ( A D 6 )
P 0 . 7 ( A D 7 )
E A / V P P
N C
A L E / P R O G
P S E N
P 2 . 7 ( A 1 5 )
P 2 . 6 ( A 1 4 )
P 2 . 5 ( A 1 3 )
8-Bit
Microcontroller
with 4K Bytes
Flash
AT89C51
0265F-A–12/97
4-29

Related parts for AT89

AT89 Summary of contents

Page 1

... Flash allows the program memory to be reprogrammed in-system con- ventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly flexible and cost effective solution to many embedded control appli- cations ...

Page 2

... Block Diagram V CC GND RAM ADDR. REGISTER B REGISTER PSEN TIMING ALE/PROG INSTRUCTION AND REGISTER CONTROL RST OSC AT89C51 4-30 P0.0 - P0.7 PORT 0 DRIVERS PORT 0 PORT 2 RAM LATCH LATCH ACC TMP2 TMP1 ALU INTERRUPT, SERIAL PORT, AND TIMER BLOCKS PSW PORT 1 LATCH PORT 1 DRIVERS P1 ...

Page 3

... Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock cir- cuitry. In addition, the AT89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning ...

Page 4

... When the AT89C51 is executing code from external pro- gram memory, PSEN is activated twice each machine cycle, except that two PSEN activations are skipped during each access to external data memory. EA/V PP External Access Enable. EA must be strapped to GND in order to enable the device to fetch code from external pro- gram memory locations starting at 0000H up to FFFFH ...

Page 5

... Same as mode 3, also external execution is disabled. Programming Algorithm: Before programming the AT89C51, the address, data and control signals should be set up according to the Flash programming mode table and Figures 3 and 4. To program the AT89C51, take the follow- ing steps. 1. Input the desired memory location on the address lines. ...

Page 6

... Bit - 1 Bit - 2 Bit - 3 Chip Erase Read Signature Byte Note: 1. Chip Erase requires a 10-ms PROG pulse. AT89C51 4-34 (030H) = 1EH indicates manufactured by Atmel (031H) = 51H indicates 89C51 (032H) = FFH indicates 12V programming (032H) = 05H indicates 5V programming Programming Interface Every code byte in the Flash array can be written and the entire array can be erased by using the appropriate combi- nation of control signals ...

Page 7

... Note: 1. Only used in 12-volt programming mode. Figure 4. Verifying the Flash + OOOOH/0FFFH PGM P0 DATA SEE FLASH ALE PROG PROGRAMMING MODES ABLE 3-24 MHz RST V IH PSEN PP AT89C51 ADDR P2 A11 P2.6 P2.7 ALE P3.6 T P3.7 XTAL2 EA XTAL1 RST GND PSEN Min Max 11.5 12.5 1 ...

Page 8

... Flash Programming and Verification Waveforms - High Voltage Mode (V P1.0 - P1.7 P2.0 - P2.3 PORT 0 ALE/PROG EA/V PP P2.7 (ENABLE) P3.4 (RDY/BSY) Flash Programming and Verification Waveforms - Low Voltage Mode (V P1.0 - P1.7 P2.0 - P2.3 PORT 0 ALE/PROG EA/V PP P2.7 (ENABLE) P3.4 (RDY/BSY) AT89C51 4-36 PROGRAMMING ADDRESS DATA DVGL GHDX t AVGL t SHGL t GLGH EHSH t t GHBL PROGRAMMING ADDRESS DATA IN ...

Page 9

Absolute Maximum Ratings* Operating Temperature .................................. -55°C to +125°C Storage Temperature ..................................... -65°C to +150°C Voltage on Any Pin with Respect to Ground .....................................-1.0V to +7.0V Maximum Operating Voltage............................................. 6.6V DC Output Current...................................................... 15 Characteristics T = -40°C ...

Page 10

... Address Low AVWL t Data Valid to WR Transition QVWX t Data Valid to WR High QVWH t Data Hold After WR WHQX t RD Low to Address Float RLAZ High to ALE High WHLH AT89C51 4-38 12 MHz Oscillator MHz Oscillator Min Max Min 0 127 2t -40 CLCL 43 t -13 CLCL 48 ...

Page 11

External Program Memory Read Cycle t LHLL ALE t AVLL PSEN PORT 0 PORT 2 External Data Memory Read Cycle t LHLL ALE PSEN RD t AVLL PORT FROM RI OR DPL PORT 2 P2.0 - ...

Page 12

... V - 0.1V CC 0.45V External Clock Drive Symbol Parameter 1/t Oscillator Frequency CLCL t Clock Period CLCL t High Time CHCX t Low Time CLCX t Rise Time CLCH t Fall Time CHCL AT89C51 4- LLWL WLWH t LLAX t QVWX t QVWH DATA OUT t AVWL t CLCH t CLCX Min 0 41 WHLH ...

Page 13

Serial Port Timing: Shift Register Mode Test Conditions (V = 5.0 V 20%; Load Capacitance = 80 pF) CC Symbol Parameter t Serial Port Clock Cycle Time XLXL t Output Data Setup to Clock Rising Edge QVXH t Output Data ...

Page 14

... AT89C51-12QC AT89C51-12AI AT89C51-12JI AT89C51-12PI AT89C51-12QI AT89C51-12AA AT89C51-12JA AT89C51-12PA AT89C51-12QA 16 5V 20% AT89C51-16AC AT89C51-16JC AT89C51-16PC AT89C51-16QC AT89C51-16AI AT89C51-16JI AT89C51-16PI AT89C51-16QI AT89C51-16AA AT89C51-16JA AT89C51-16PA AT89C51-16QA 20 5V 20% AT89C51-20AC AT89C51-20JC AT89C51-20PC AT89C51-20QC AT89C51-20AI AT89C51-20JI AT89C51-20PI AT89C51-20QI AT89C51 4-42 Package Operation Range 44A Commercial 44J ( 40P6 ...

Page 15

... Lead, 0.600” Wide, Plastic Dual Inline Package (PDIP) 44Q 44 Lead, Plastic Gull Wing Quad Flatpack (PQFP) Ordering Code Package AT89C51-24AC 44A AT89C51-24JC 44J AT89C51-24PC 44P6 AT89C51-24QC 44Q AT89C51-24AI 44A AT89C51-24JI 44J AT89C51-24PI 44P6 AT89C51-24QI 44Q Package Type Operation Range Commercial ( Industrial (- 4-43 ...

Related keywords