AT89LS8252-12JC Atmel, AT89LS8252-12JC Datasheet

IC MICRO CTRL 12MHZ 44PLCC

AT89LS8252-12JC

Manufacturer Part Number
AT89LS8252-12JC
Description
IC MICRO CTRL 12MHZ 44PLCC
Manufacturer
Atmel
Series
89LSr
Datasheet

Specifications of AT89LS8252-12JC

Core Processor
8051
Core Size
8-Bit
Speed
12MHz
Connectivity
SPI, UART/USART
Peripherals
POR, WDT
Number Of I /o
32
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Other names
AT89LS825212JC

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LS8252-12JC
Manufacturer:
Atmel
Quantity:
10 000
Features
Description
The AT89LS8252 is a low-power, wide-voltage range, high-performance CMOS 8-bit
microcomputer with 8K bytes of Downloadable Flash programmable and erasable
read only memory and 2K bytes of EEPROM. The device is manufactured using
Atmel’s high density nonvolatile memory technology and is compatible with the indus-
try standard 80C51 instruction set and pinout. The on-chip Downloadable Flash
allows the program memory to be reprogrammed in-system through an SPI serial
interface or by a conventional nonvolatile memory programmer. By combining a ver-
satile 8-bit CPU with Downloadable Flash on a monolithic chip, the Atmel
AT89LS8252 is a powerful microcomputer which provides a highly flexible and cost
effective solution to many embedded control applications.
The AT89LS8252 provides the following standard features: 8K bytes of Downloadable
Flash, 2K bytes of EEPROM, 256 bytes of RAM, 32 I/O lines, programmable watch-
dog timer, two Data Pointers, three 16-bit timer/counters, a six-vector two-level inter-
rupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In
addition, the AT89LS8252 is designed with static logic for operation down to zero fre-
quency and supports two software selectable power saving modes. The Idle Mode
stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt sys-
tem to continue functioning. The Power Down Mode saves the RAM contents but
freezes the oscillator, disabling all other chip functions until the next interrupt or hard-
ware reset.
The Downloadable Flash can be changed a single byte at a time and is accessible
through the SPI serial interface. Holding RESET active forces the SPI bus into a serial
programming interface and allows the program memory to be written to or read from
unless Lock Bit 2 has been activated.
Compatible with MCS
8K Bytes of In-System Reprogrammable Downloadable Flash Memory
2K Bytes EEPROM
2.7V to 6V Operating Range
Fully Static Operation: 0 Hz to 12 MHz
Three-Level Program Memory Lock
256 x 8 bit Internal RAM
32 Programmable I/O Lines
Three 16 bit Timer/Counters
Nine Interrupt Sources
Programmable UART Serial Channel
SPI Serial Interface
Low Power Idle and Power Down Modes
Interrupt Recovery From Power Down
Programmable Watchdog Timer
Dual Data Pointer
Power Off Flag
- SPI Serial Interface for Program Downloading
- Endurance: 1,000 Write/Erase Cycles
- Endurance: 100,000 Write/Erase Cycles
®
51 Products
8-Bit
Microcontroller
with 8K Bytes
Flash
AT89LS8252
Not Recommended
for New Designs.
Use AT89S8253.
0850C–MICRO–3/06

Related parts for AT89LS8252-12JC

AT89LS8252-12JC Summary of contents

Page 1

... Data Pointers, three 16-bit timer/counters, a six-vector two-level inter- rupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89LS8252 is designed with static logic for operation down to zero fre- quency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt sys- tem to continue functioning ...

Page 2

... Port 0 can also be configured to be the multiplexed low- order address/data bus during accesses to external pro- gram and data memory. In this mode, P0 has internal pul- lups. AT89LS8252 2 33 P0.4 (AD4) 32 P0.5 (AD5 ...

Page 3

... PORT 0 DRIVERS PORT 0 RAM LATCH ACC TMP2 TMP1 ALU INTERRUPT, SERIAL PORT, AND TIMER BLOCKS PSW PORT 3 DOG LATCH PORT 3 DRIVERS P3.0 - P3.7 AT89LS8252 P2.0 - P2.7 PORT 2 DRIVERS PORT 2 FLASH LATCH PROGRAM STACK ADDRESS POINTER REGISTER BUFFER PC INCREMENTER PROGRAM COUNTER DPTR ...

Page 4

... Port 3 pins that are externally being pulled low will source current (I ) because of the pullups. IL Port 3 also serves the functions of various special features of the AT89LS8252, as shown in the following table. Port 3 also receives some control signals for Flash pro- gramming and verification. AT89LS8252 4 ...

Page 5

... XTAL1 Input to the inverting oscillator amplifier and input to the internal clock operating circuit. XTAL2 Output from the inverting oscillator amplifier. Table 1. AT89LS8252 SFR Map and Reset Values 0F8H B 0F0H 00000000 0E8H ACC 0E0H 00000000 0D8H PSW 0D0H 00000000 T2CON T2MOD 0C8H ...

Page 6

... CP/RL2 = 0 causes automatic reloads to occur when Timer 2 overflows or negative transitions occur at T2EX CP/RL2 when EXEN2 = 1. When either RCLK or TCLK = 1, this bit is ignored and the timer is forced to auto-reload on Timer 2 overflow. AT89LS8252 6 SPI Registers Control and status bits for the Serial Periph- eral Interface are contained in registers SPCR (shown in Table 4) and SPSR (shown in Table 5) ...

Page 7

... Pointer Register. Power Off Flag The Power Off Flag (POF) is located at bit_4 (PCON.4) in the PCON SFR. POF is set to “1” during power up. It can be set and reset under software control and is not affected by RESET. PS0 EEMWE EEMEN AT89LS8252 DPS WDTRST WDTEN ...

Page 8

... SPDR register may be incorrect, and writing to it has no effect. The WCOL bit (and the SPIF bit) are cleared by reading the SPI status register with SPIF and WCOL set, and then accessing the SPI data register. AT89LS8252 8 DORD ...

Page 9

... Bit 7 6 Data Memory—EEPROM and RAM The AT89LS8252 implements 2K bytes of on-chip EEPROM for data storage and 256 bytes of RAM. The upper 128 bytes of RAM occupy a parallel 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 10

... Timer 0 and 1 Timer 0 and Timer 1 in the AT89LS8252 operate the same way as Timer 0 and Timer 1 in the AT89C51, AT89C52 and AT89C55. For further information, see the October 1995 Microcontroller Data Book, page 2-45, section titled, “Timer/Counters.” Timer 2 Timer bit Timer/Counter that can operate as either a timer or an event counter ...

Page 11

... RCAP2H and RCAP2L. The underflow sets the TF2 bit and causes 0FFFFH to be reloaded into the timer registers. The EXF2 bit toggles whenever Timer 2 overflows or underflows and can be used as a 17th bit of resolution. In this operating mode, EXF2 does not flag an interrupt. — — — AT89LS8252 — T2OE DCEN ...

Page 12

... Figure 3. Timer 2 Auto Reload Mode (DCEN = 1) 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 AT89LS8252 12 TH2 TL2 CONTROL TR2 RCAP2H RCAP2L EXF2 CONTROL EXEN2 TIMER 1 OVERFLOW ÷ 2 "0" ...

Page 13

... The RCAP2 registers may be read but should not be written to, because a write might overlap a reload and cause write and/or reload errors. The timer should be turned off (clear TR2) before accessing the Timer 2 or RCAP2 registers. AT89LS8252 Oscillator Frequency = --------------------------------------------------------------------------------------------- - × ...

Page 14

... SPI CONTROL SPI STATUS REGISTER AT89LS8252 14 UART The UART in the AT89LS8252 operates the same way as the UART in the AT89C51, AT89C52 and AT89C55. For further information, see the October 1995 Atmel Microcon- troller Data Book, page 2-49, section titled, “Serial Inter- face.” ...

Page 15

... There are four combinations of SCK phase and polarity with respect to serial data, which are determined by control bits CPHA and CPOL. The SPI data transfer formats are shown in Figures 8 and 9. LSB MISO MISO MOSI MOSI SCK SCK AT89LS8252 MSB SLAVE LSB 8-BIT SHIFT REGISTER 15 ...

Page 16

... SS (TO SLAVE) *Not defined but normally LSB of previously transmitted character Interrupts The AT89LS8252 has a total of six interrupt vectors: two external interrupts (INT0 and INT1), three timer interrupts (Timers 0, 1, and 2), and the serial port interrupt. These interrupts are all shown in Figure 10. ...

Page 17

... The interrupt service routine starts (nomi- nal) after the enabled interrupt pin is activated. ALE PSEN PORT0 1 1 Data 1 1 Float 0 0 Data 0 0 Float AT89LS8252 is restored to CC PORT1 PORT2 PORT3 Data Data Data Data Address Data Data Data Data Data Data ...

Page 18

... Program Memory Lock Bits The AT89LS8252 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. When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched during reset. If the device is pow- ...

Page 19

... Chip Erase operation first to erase both arrays. DATA Polling The AT89LS8252 features DATA Polling to indicate the end of a write cycle. During a write cycle in the parallel or serial programming mode, an attempted read of the last byte writ- ten will result in the complement of the written datum on P0 ...

Page 20

... Serial Programming Algorithm To program and verify the AT89LS8252 in the serial pro- gramming mode, the following sequence is recommended: 1. Power-up sequence: Apply power between V and GND pins. CC Set RST pin to “H” crystal is not connected across pins XTAL1 and XTAL2, apply a 3 MHz to 12 MHz clock to XTAL1 pin and wait for at least 10 milliseconds ...

Page 21

... RST PSEN ALE/PROG EA/V PP ( 12V H L 12V 12V H L 12V 12V 12V 12V ( 12V ( 12V 12V AT89LS8252 Data I/O P2.6 P2.7 P3.6 P3.7 P0.7 DIN DOUT DIN DOUT @P0.2 @P0.1 @P0 DOUT DOUT ...

Page 22

... MHz XTAL1 GND Figure 16. Verifying the Flash/EEPROM Memory AT89LS8252 ADDR. P1 0000H/27FFH P2 A13 P2.6 SEE FLASH P2.7 PROGRAMMING P3.6 MODES TABLE P3.7 XTAL2 3-12 MHz XTAL1 GND AT89LS8252 22 Figure 15. Flash/EEPROM Serial Downloading + PGM P0 DATA ALE PROG RST V IH PSEN + PGM DATA ...

Page 23

... GLGH t Address to Data Valid AVQV t ENABLE Low to Data Valid ELQV t Data Float After ENABLE EHQZ t PROG High to BUSY Low GHBL t Byte Write Cycle Time WC 0850C–MICRO–3/06 PP AT89LS8252 Min Max Units 11.5 12 MHz 48t CLCL 48t CLCL 48t CLCL ...

Page 24

... Flash/EEPROM Programming and Verification Waveforms - Parallel Mode Serial Downloading Waveforms AT89LS8252 24 0850C–MICRO–3/06 ...

Page 25

... IN 0.45 < V < Test Freq MHz 25°C A Active Mode, 12 MHz Idle Mode, 12 MHz Maximum total related specification. Pins are not guaranteed to sink current greater than the listed test conditions. 2. Minimum V AT89LS8252 Min Max -0.5 0 0.1 CC -0.5 0 0 0.5 0.5 2 ...

Page 26

... ALE Low Low LLWL t 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 AT89LS8252 26 12MHz Oscillator Variable Oscillator Min Max Min 0 127 CLCL CLCL CLCL ...

Page 27

... External Program Memory Read Cycle External Data Memory Read Cycle 0850C–MICRO–3/06 AT89LS8252 27 ...

Page 28

... External Data Memory Write Cycle External Clock Drive Waveforms 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 AT89LS8252 2.7V to 6.0V CC Min Max Units 0 12 MHz 83 0850C–MICRO–3/06 ...

Page 29

... Load Capacitance = 80 pF MHz Oscillator Min 1.0 700 50 0 (1) Float Waveforms - 0.5V CC Notes: min. for a logic 1 and AT89LS8252 Variable Oscillator Max Min Max 12t CLCL 10t - 133 CLCL 2t - 117 CLCL 0 700 10t CLCL (1) 1. ...

Page 30

... TYPICAL ICC (IDLE) at 25°C 4.8 4 2.4 m 1.6 A 0.8 0 (MHz) AT89LS8252 30 TYPICAL ICC vs. VOLTAGE - POWER DOWN (85° µ 3. 3. Notes AT89LS8252 4.0V 5.0V V VOLTAGE CC XTAL1 tied to GND for I (power down) CC Lock bits programmed 0850C–MICRO–3/06 6.0V ...

Page 31

... Ordering Information Speed Power Ordering Code (MHz) Supply 12 2.7V to 6.0V AT89LS8252-12AC AT89LS8252-12JC AT89LS8252-12PC 2.7V to 6.0V AT89LS8252-12AI AT89LS8252-12JI AT89LS8252-12PI 44A 44 Lead, Thin Plastic Gull Wing Quad Flatpack (TQFP) 44J 44 Lead, Plastic J-Leaded Chip Carrier (PLCC) 40P6 40 Lead, 0.600" Wide, Plastic Dual Inline Package (PDIP) 0850C– ...

Page 32

... This package conforms to JEDEC reference MS-026, Variation ACB. 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25 mm per side. Dimensions D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3. Lead coplanarity is 0.10 mm maximum. 2325 Orchard Parkway San Jose, CA 95131 R AT89LS8252 TITLE 44A, 44-lead Body Size, 1 ...

Page 33

... Lead coplanarity is 0.004" (0.102 mm) maximum. 2325 Orchard Parkway San Jose, CA 95131 R 0850C–MICRO–3/06 1.14(0.045) X 45˚ PIN NO. 1 IDENTIFIER TITLE 44J, 44-lead, Plastic J-leaded Chip Carrier (PLCC) AT89LS8252 0.318(0.0125) 0.191(0.0075) D2/ COMMON DIMENSIONS (Unit of Measure = mm) SYMBOL MIN NOM MAX A 4.191 – ...

Page 34

... PDIP A SEATING PLANE Notes: 1. This package conforms to JEDEC reference MS-011, Variation AC. 2. Dimensions D and E1 do not include mold Flash or Protrusion. Mold Flash or Protrusion shall not exceed 0.25 mm (0.010"). 2325 Orchard Parkway San Jose, CA 95131 R AT89LS8252 34 D PIN 0º ~ 15º REF eB TITLE 40P6, 40-lead (0.600" ...

Page 35

... Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ...

Related keywords