at80f52 ATMEL Corporation, at80f52 Datasheet

no-image

at80f52

Manufacturer Part Number
at80f52
Description
8-bit Microcontroller With 8k Bytes Quickflash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT80F52
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
( I N T 1 ) P 3 . 3
( I N T 0 ) P 3 . 2
( R X D ) P 3 . 0
Features
Description
The AT80F52 is a low-power, high-performance CMOS 8-bit microcomputer with 8K
bytes of QuickFlash memory. 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 QuickFlash allows custom codes to
be quickly programmed in the factory. By combining a versatile 8-bit CPU with Quick-
Flash on a monolithic chip, the Atmel AT80F52 is a powerful microcomputer which
provides a highly flexible and cost effective solution to many embedded control appli-
cations.
Pin Configurations
( T X D ) P 3 . 1
( T 0 ) P 3 . 4
( T 1 ) P 3 . 5
I N D E X
C O R N E R
Compatible with MCS-51™ Products
8K Bytes of Factory Programmable QuickFlash
Fully Static Operation: 0 Hz to 20 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
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
4 2
1 4
4 1
1 5
TQFP
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
A L E
P 2 . 7 ( A 1 5 )
N C
P S E N
P 2 . 6 ( A 1 4 )
P 2 . 5 ( A 1 3 )
( I N T 0 ) P 3 . 2
( I N T 1 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 ( A 1 5 )
P 2 . 6 ( A 1 4 )
P 2 . 5 ( A 1 3 )
8-Bit
Microcontroller
with 8K Bytes
QuickFlash
Memory
AT80F52
0980A-A–12/97
3-15

Related parts for at80f52

at80f52 Summary of contents

Page 1

... The on-chip QuickFlash allows custom codes to be quickly programmed in the factory. By combining a versatile 8-bit CPU with Quick- Flash on a monolithic chip, the Atmel AT80F52 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 INSTRUCTION AND REGISTER EA CONTROL RST OSC AT80F52 3-16 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.0 - P1.7 P2.0 - P2.7 PORT 2 DRIVERS ...

Page 3

... QuickFlash, 256 bytes of RAM, 32 I/O lines, three 16-bit timer/counters, a six-vector two-level interrupt archi- tecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT80F52 is designed with static logic for operation down to zero frequency and sup- ports two software selectable power saving modes. The ...

Page 4

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

... Timer 0 and 1 Timer 0 and Timer 1 in the AT80F52 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. The type of operation is selected by bit C/T2 in the SFR T2CON (shown in Table 2). ...

Page 7

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 = 0, Timer 2 counts up to 0FFFFH and then sets the TF2 bit ...

Page 8

... C/ PIN Figure 4. Timer 2 in Baud Rate Generator Mode NOTE: OSC. FREQ. IS DIVIDED BY 2, NOT 12 ÷ 2 OSC C/ C/ PIN TRANSITION DETECTOR T2EX PIN AT80F52 3-22 (DOWN COUNTING RELOAD VALUE) 0FFH 0FFH OVERFLOW TH2 TL2 CONTROL TR2 RCAP2H RCAP2L (UP COUNTING RELOAD VALUE) TH2 ...

Page 9

Baud Rate Generator Timer 2 is selected as the baud rate generator by setting TCLK and/or RCLK in T2CON (Table 2). Note that the baud rates for transmit and receive can be different if Timer 2 is used for the ...

Page 10

... Note, however, that the baud-rate and clock-out frequencies cannot be determined independently from one another since they both use RCAP2H and RCAP2L. UART The UART in the AT80F52 operates the same way as the UART in the AT89C52. Interrupts The AT80F52 has a total of six interrupt vectors: two exter- nal interrupts (INT0 and INT1), three timer interrupts (Tim- ers 0, 1, and 2), and the serial port interrupt ...

Page 11

Oscillator Characteristics XTAL1 and XTAL2 are the input and output, respectively inverting amplifier that can be configured for use as an on-chip oscillator, as shown in Figure 7. Either a quartz crystal or ceramic resonator may be used. ...

Page 12

... Program Memory Lock Bits The AT80F52 has three lock bits that can be left unpro- grammed (U) or can be programmed (P) to obtain the addi- tional features listed in the following table. Lock Bit Protection Modes Program Lock Bits LB1 LB2 LB3 Protection Type program lock features ...

Page 13

... A CC Symbol Parameter 1/t Oscillator Frequency CLCL t Address to Data Valid AVQV t ENABLE Low to Data Valid ELQV t Data Float After ENABLE EHQZ QuickFlash Verification Waveforms P1.0 - P1.7 P2.0 - P2.4 (ENABLE) AT80F52 ADDR. P1 OOOOH/1FFFH P2 A12 P2.6 P2.7 VERIFICATION P3.6 MODES TABLE P3.7 XTAL 2 3-20 MHz XTAL1 GND VERIFICATION ADDRESS t DATA OUT PORT 0 ...

Page 14

... Port Ports Maximum total I for all output pins exceeds the test condition than the listed test conditions. 2. Minimum V for Power Down is 2V. CC AT80F52 3-28 *NOTICE: = -40°C to 85° C and Condition (Except EA) (Except XTAL1, RST) (XTAL1, RST ...

Page 15

AC Characteristics Under operating conditions, load capacitance for Port 0, ALE, and PSEN = 100 pF; load capacitance for all other outputs = 80 pF. External Program and Data Memory Characteristics Symbol Parameter 1/t Oscillator Frequency CLCL t ALE Pulse ...

Page 16

... 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 A15 FROM DPH AT80F52 3-30 t LLIV t LLPL t PLIV t PLAZ t PXIZ t LLAX t PXIX INSTR IN t AVIV A8 - A15 ...

Page 17

External Data Memory Write Cycle t LHLL ALE PSEN WR t AVLL PORT FROM RI OR DPL PORT 2 P2 A15 FROM DPH External Clock Drive Waveforms t CHCX V - ...

Page 18

... V - 0. TEST POINTS 0 0.45V Note Inputs during testing are driven at V for a logic 1 and 0.45V for a logic 0. Timing mea- surements are made at V max. for a logic 0. AT80F52 3-32 = 5.0V 20% and Load Capacitance = 80 pF MHz Osc Min 1.0 700 ...

Page 19

... Wide, Plastic Dual Inline Package (PDIP) Ordering Code AT80F52-12AC AT80F52-12JC AT80F52-12PC AT80F52-12AI AT80F52-12JI AT80F52-12PI AT80F52-16AC AT80F52-16JC AT80F52-16PC AT80F52-16AI AT80F52-16JI AT80F52-16PI AT80F52-20AC AT80F52-20JC AT80F52-20PC AT80F52-20AI AT80F52-20JI AT80F52-20PI Package Type Package Operation Range 44A Commercial 44J ( 40P6 44A ...

Related keywords