AT89C52-33PI Atmel, AT89C52-33PI Datasheet

IC 8051 MCU FLASH 8K 40DIP

AT89C52-33PI

Manufacturer Part Number
AT89C52-33PI
Description
IC 8051 MCU FLASH 8K 40DIP
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of AT89C52-33PI

Core Processor
8051
Core Size
8-Bit
Speed
33MHz
Connectivity
SIO, UART/USART
Number Of I /o
32
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Peripherals
-
Features
Description
The AT89C52 is a low-power, high-performance CMOS 8-bit microcomputer with 8K
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 80C51 and 80C52 instruction set and pinout.
The on-chip Flash allows the program memory to be reprogrammed in-system or by a
conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU
with Flash on a monolithic chip, the Atmel AT89C52 is a powerful microcomputer
which provides a highly-flexible and cost-effective solution to many embedded control
applications.
Pin Configurations
(RXD) P3.0
(INT0) P3.2
(INT1) P3.3
(TXD) P3.1
Compatible with MCS-51
8K Bytes of In-System Reprogrammable Flash Memory
Endurance: 1,000 Write/Erase Cycles
Fully Static Operation: 0 Hz to 24 MHz
Three-level Program Memory Lock
256 x 8-bit Internal RAM
32 Programmable I/O Lines
Three 16-bit Timer/Counters
Eight Interrupt Sources
Programmable Serial Channel
Low-power Idle and Power-down Modes
(T0) P3.4
iT1) P3.5
P1.5
P1.6
P1.7
RST
NC
1
2
3
4
5
6
7
8
9
10
11
PQFP/TQFP
Products
33
32
31
30
29
28
27
26
25
24
23
P0.4 (AD4)
P0.5 (AD5)
P0.6 (AD6)
P0.7 (AD7)
EA/VPP
NC
ALE/PROG
PSEN
P2.7 (A15)
P2.6 (A14)
P2.5 (A13)
(INT0) P3.2
(INT1) P3.3
(RXD) P3.0
(TXD) P3.1
(T0) P3.4
(T1) P3.5
P1.5
P1.6
P1.7
RST
NC
(T2 EX) P1.1
(RXD) P3.0
(INT0) P3.2
(INT1) P3.3
(TXD) P3.1
(WR) P3.6
7
8
9
10
11
12
13
14
15
16
17
(RD) P3.7
(T2) P1.0
(T0) P3.4
(T1) P3.5
XTAL2
XTAL1
GND
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PLCC
PDIP
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
VCC
P0.0 (AD0)
P0.1 (AD1)
P0.2 (AD2)
P0.3 (AD3)
P0.4 (AD4)
P0.5 (AD5)
P0.6 (AD6)
P0.7 (AD7)
EA/VPP
ALE/PROG
PSEN
P2.7 (A15)
P2.6 (A14)
P2.5 (A13)
P2.4 (A12)
P2.3 (A11)
P2.2 (A10)
P2.1 (A9)
P2.0 (A8)
39
38
37
36
35
34
33
32
31
30
29
P0.4 (AD4)
P0.5 (AD5)
P0.6 (AD6)
P0.7 (AD7)
EA/VPP
NC
ALE/PROG
PSEN
P2.7 (A15)
P2.6 (A14)
P2.5 (A13)
8-bit
Microcontroller
with 8K Bytes
Flash
AT89C52
Not Recommended
for New Designs.
Use AT89S52.
Rev. 0313H–02/00
1

Related parts for AT89C52-33PI

AT89C52-33PI Summary of contents

Page 1

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

Page 2

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

Page 3

... Flash, 256 bytes of RAM, 32 I/O lines, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full-duplex serial port, on-chip oscillator, and clock cir- cuitry. In addition, the AT89C52 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

... PSEN Program Store Enable is the read strobe to external pro- gram memory. When the AT89C52 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. ...

Page 5

... When either RCLK or TCLK = 1, this bit is ignored and the timer is forced to auto-reload on Timer 2 overflow. Data Memory The AT89C52 implements 256 bytes of on-chip RAM. The upper 128 bytes occupy a parallel address space to the Special Function Registers. That means the upper 128 bytes have the same addresses as the SFR space but are physically separate from SFR space ...

Page 6

... Note that stack operations are examples of indirect addressing, so the upper 128 bytes of data RAM are avail- able as stack space. Timer 0 and 1 Timer 0 and Timer 1 in the AT89C52 operate the same way as Timer 0 and Timer 1 in the AT89C51. Timer 2 Timer 16-bit Timer/Counter that can operate as either a timer or an event counter ...

Page 7

Figure 1. Timer in Capture Mode ÷12 OSC T2 PIN TRANSITION DETECTOR T2EX PIN Figure 2 shows Timer 2 automatically counting up when DCEN = 0. In this mode, two options are selected by bit EXEN2 in T2CON. If EXEN2 ...

Page 8

... Not Bit Addressable – – Bit 7 6 Symbol Function – Not implemented, reserved for future T2OE Timer 2 Output Enable bit. DCEN When set, this bit allows Timer configured as an up/down counter. AT89C52 8 C/ TH2 CONTROL TR2 C/ RELOAD RCAP2H CONTROL EXEN2 – – – ...

Page 9

Figure 3. Timer 2 Auto Reload Mode (DCEN = 1) ÷ 12 OSC C/ C/ PIN Figure 4. Timer 2 in Baud Rate Generator Mode NOTE: OSC. FREQ. IS DIVIDED BY 2, NOT 12 ÷ ...

Page 10

... Figure 5. Timer 2 in Clock-out Mode OSC P1.0 (T2) TRANSITION DETECTOR P1.1 (T2EX) AT89C52 10 increments every state time (at 1/2 the oscillator fre- quency). The baud rate formula is given below. Modes 1 and 3 -------------------------------------- - where (RCAP2H, RCAP2L) is the content of RCAP2H and RCAP2L taken as a 16-bit unsigned integer. ...

Page 11

... The UART in the AT89C52 operates the same way as the UART in the AT89C51. Interrupts The AT89C52 has a total of six interrupt vectors: two exter- nal interrupts (INT0 and INT1), three timer interrupts (Timers 0, 1, and 2), and the serial port interrupt. These interrupts are all shown in Figure 6. ...

Page 12

... Status of External Pins During Idle and Powe-down Modes Mode Program Memory Idle Internal Idle External Power-down Internal Power-down External AT89C52 12 is restored to its normal operating level and must be held active long enough to allow the oscillator to restart and stabilize. Figure 7. Oscillator Connections C2 C1 Note: C1 for Crystals = for Ceramic Resonators Figure 8 ...

Page 13

... Chip Erase Mode. Programming Algorithm Before programming the AT89C52, the address, data and control signals should be set up according to the Flash programming mode table and Figure 9 and Figure 10. To program the AT89C52, take the following steps. 1. Input the desired memory location on the address lines. ...

Page 14

... Chip Erase H Read Signature Byte H Note: 1. Chip Erase requires PROG pulse. AT89C52 14 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. The write operation cycle is self- timed and once initiated, will automatically time itself to completion ...

Page 15

Figure 9. Programming the Flash Memory AT87F52 ADDR. P1 OOOOH/1FFFH P2 A12 P2.6 SEE FLASH P2.7 PROGRAMMING P3.6 MODES TABLE P3.7 XTAL2 3-24 MHz XTAL1 GND Flash Programming and Verification Characteristics T = ...

Page 16

... P1.0 - P1.7 P2.0 - P2.4 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.4 PORT 0 ALE/PROG EA/V PP P2.7 (ENABLE) P3.4 (RDY/BSY) AT89C52 16 PROGRAMMING ADDRESS DATA DVGL GHDX t AVGL t SHGL t GLGH V PP (2) t EHSH t ...

Page 17

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 The values shown ...

Page 18

... 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 AT89C52 18 12 MHz Oscillator Variable Oscillator Min Max Min 0 127 2t -40 CLCL 43 t -13 CLCL 48 t -20 ...

Page 19

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 20

... CC 0 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 AT89C52 LLWL WLWH t LLAX t QVWX t QVWH DATA OUT t AVWL t CLCH t CLCX Min 0 41 WHLH ...

Page 21

Serial Port Timing: Shift Register Mode Test Conditions The values in this table are valid for V Symbol Parameter t Serial Port Clock Cycle Time XLXL t Output Data Setup to Clock Rising Edge QVXH t Output Data Hold ...

Page 22

... AT89C52-16JC AT89C52-16PC AT89C52-16QC AT89C52-16AI AT89C52-16JI AT89C52-16PI AT89C52-16QI 20 5V 20% AT89C52-20AC AT89C52-20JC AT89C52-20PC AT89C52-20QC AT89C52-20AI AT89C52-20JI AT89C52-20PI AT89C52-20QI 24 5V 20% AT89C52-24AC AT89C52-24JC AT89C52-24PC AT89C52-24QC AT89C52-24AI AT89C52-24JI AT89C52-24PI AT89C52-24QI 44A 44-lead, Thin Plastic Gull Wing Quad Flatpack (TQFP) 44J 44-lead, Plastic J-leaded Chip Carrier (PLCC) 40P6 40-lead, 0.600" ...

Page 23

Packaging Information 44A, 44-lead, Thin (1.0 mm) Plastic Gull Wing Quad Flatpack (TQFP) Dimensions in Millimeters and (Inches)* JEDEC STANDARD MS-026 ACB PIN 1 ID 0.80(0.031) BSC 0 7 0.20(.008) 0.09(.003) 0.75(0.030) 0.45(0.018) Controlling dimension: millimeters 40P6, 40-lead, 0.600" Wide, ...

Page 24

... No licenses to patents or other intellectual prop- erty of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life suppor t devices or systems. ...

Related keywords