Rainbow-electronics AT89S52 Manual de usuario

Busca en linea o descarga Manual de usuario para Sensores Rainbow-electronics AT89S52. Rainbow Electronics AT89S52 User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 24
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
1
Features
Compatible with MCS-51
Products
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
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 Atmels 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.
8-bit
Microcontroller
with 8K Bytes
Flash
AT89C52
Rev. 0313H02/00
Pin Configurations
PQFP/TQFP
1
2
3
4
5
6
7
8
9
10
11
33
32
31
30
29
28
27
26
25
24
23
P1.5
P1.6
P1.7
RST
(RXD) P3.0
NC
(TXD) P3.1
(INT0) P3.2
(INT1) P3.3
(T0) P3.4
iT1) P3.5
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)
44
43
42
41
40
39
38
37
36
35
34
12
13
14
15
16
17
18
19
20
21
22
(WR) P3.6
(RD) P3.7
XTAL2
XTAL1
GND
NC
(A8) P2.0
(A9) P2.1
(A10) P2.2
(A11) P2.3
(A12) P2.4
P1.4
P1.3
P1.2
P1.1 (T2 EX)
P1.0 (T2)
NC
VCC
P0.0 (AD0)
P0.1 (AD1)
P0.2 (AD2)
P0.3 (AD3)
PDIP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
(T2) P1.0
(T2 EX) P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD) P3.0
(TXD) P3.1
(INT0) P3.2
(INT1) P3.3
(T0) P3.4
(T1) P3.5
(WR) P3.6
(RD) P3.7
XTAL2
XTAL1
GND
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)
PLCC
7
8
9
10
11
12
13
14
15
16
17
39
38
37
36
35
34
33
32
31
30
29
P1.5
P1.6
P1.7
RST
(RXD) P3.0
NC
(TXD) P3.1
(INT0) P3.2
(INT1) P3.3
(T0) P3.4
(T1) P3.5
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)
6
5
4
3
2
1
44
43
42
41
40
18
19
20
21
22
23
24
25
26
27
28
(WR) P3.6
(RD) P3.7
XTAL 2
XTAL1
GND
NC
(A8) P2.0
(A9) P2.1
(A10) P2.2
(A11) P2.3
(A12) P2.4
P1.4
P1.3
P1.2
P1.1 (T2 EX)
P1.0 (T2)
NC
VCC
P0.0 (AD0)
P0.1 (AD1)
P0.2 (AD2)
P0.3 (AD3)
Vista de pagina 0
1 2 3 4 5 6 ... 23 24

Indice de contenidos

Pagina 1 - Microcontroller

1Features• Compatible with MCS-51™ Products• 8K Bytes of In-System Reprogrammable Flash Memory• Endurance: 1,000 Write/Erase Cycles• Fully Static Oper

Pagina 2 - Block Diagram

AT89C5210Baud Rate GeneratorTimer 2 is selected as the baud rate generator by settingTCLK and/or RCLK in T2CON (Table 2). Note that thebaud rates for

Pagina 3 - Pin Description

AT89C5211Programmable Clock OutA 50% duty cycle clock can be programmed to come out onP1.0, as shown in Figure 5. This pin, besides being a regu-lar I

Pagina 4

AT89C5212Oscillator Characteristics XTAL1 and XTAL2 are the input and output, respectively,of an inverting amplifier that can be configured for use as

Pagina 5 - Data Memory

AT89C5213Program Memory Lock Bits The AT89C52 has three lock bits that can be left unpro-grammed (U) or can be programmed (P) to obtain theadditional

Pagina 6 - Timer 0 and 1

AT89C5214Reading the Signature Bytes The signature bytes areread by the same procedure as a normal verification oflocations 030H, 031H, and 032H, exce

Pagina 7

AT89C5215Figure 9. Programming the Flash Memory Figure 10. Verifying the Flash MemoryNote: 1. Only used in 12-volt programming mode.P1P2.6P3.6P2.0 -

Pagina 8

AT89C5216Flash Programming and Verification Waveforms - High-voltage Mode (VPP=12V)Flash Programming and Verification Waveforms - Low-voltage Mode (VP

Pagina 9

AT89C5217Notes: 1. Under steady state (non-transient) conditions, IOL must be externally limited as follows:Maximum IOL per port pin: 10 mAMaximum IOL

Pagina 10

AT89C5218AC Characteristics Under operating conditions, load capacitance for Port 0, ALE/PROG, and PSEN = 100 pF; load capacitance for all otheroutput

Pagina 11 - EA – ET2 ES ET1 EX1 ET0 EX0

AT89C5219External Program Memory Read CycleExternal Data Memory Read CycletLHLLtLLIVtPLIVtLLAXtPXIZtPLPHtPLAZtPXAVtAVLLtLLPLtAVIVtPXIXALEPSENPORT 0POR

Pagina 12

AT89C522Block DiagramPORT 2 DRIVERSPORT 2LATCHP2.0 - P2.7QUICKFLASHPORT 0LATCHRAMPROGRAMADDRESSREGISTERBUFFERPCINCREMENTERPROGRAMCOUNTERDPTRRAM ADDR.R

Pagina 13 - Lock Bit Protection Modes

AT89C5220External Data Memory Write CycleExternal Clock Drive WaveformstLHLLtLLWLtLLAXtWHLHtAVLLtWLWHtAVWLtQVWXtQVWHtWHQXA0 - A7 FROM RI OR DPLA

Pagina 14 - Flash Programming Modes

AT89C5221.Shift Register Mode Timing WaveformsAC Testing Input/Output Waveforms(1)Note: 1. AC Inputs during testing are driven at VCC - 0.5V for a log

Pagina 15 - = 5.0 ± 10%

AT89C5222Ordering InformationSpeed(MHz)PowerSupply Ordering Code Package Operation Range12 5V ± 20% AT89C52-12ACAT89C52-12JCAT89C52-12PCAT89C52-12QC44

Pagina 16

AT89C5223Packaging InformationControlling dimension: millimeters1.20(0.047) MAX10.10(0.394)9.90(0.386)SQ12.21(0.478)11.75(0.458)SQ0.75(0.030)0.45(0.01

Pagina 17 - = -40°C to 85°C and V

© Atmel Corporation 1999.Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standa

Pagina 18 - AC Characteristics

AT89C523The AT89C52 provides the following standard features: 8Kbytes of Flash, 256 bytes of RAM, 32 I/O lines, three 16-bittimer/counters, a six-vect

Pagina 19 - INSTR IN

AT89C524timing or clocking purposes. Note, however, that one ALEpulse is skipped during each access to external datamemory. If desired, ALE operation

Pagina 20 - 0.2 V - 0.1V

AT89C525Special Function RegistersA map of the on-chip memory area called the Special Func-tion Register (SFR) space is shown in Table 1.Note that not

Pagina 21 - WRITE TO SBUF

AT89C526Instructions that use indirect addressing access the upper128 bytes of RAM. For example, the following indirectaddressing instruction, where R

Pagina 22 - Ordering Information

AT89C527Figure 1. Timer in Capture ModeFigure 2 shows Timer 2 automatically counting up whenDCEN = 0. In this mode, two options are selected by bitEX

Pagina 23 - Packaging Information

AT89C528Figure 2. Timer 2 Auto Reload Mode (DCEN = 0)Table 4. T2MOD – Timer 2 Mode Control RegisterT2MOD Address = 0C9H Reset Value = XXXX XX00BNot

Pagina 24 - 0313H–02/00/xM

AT89C529Figure 3. Timer 2 Auto Reload Mode (DCEN = 1)Figure 4. Timer 2 in Baud Rate Generator ModeOSCEXF2TF2T2EX PINCOUNTDIRECTION1=UP0=DOWNT2 PIN

Comentarios a estos manuales

Sin comentarios