AT89S8252-24PI Atmel, AT89S8252-24PI Datasheet - Page 22

MCU W/SPI 8KB FLSH 2K EEP 40-DIP

AT89S8252-24PI

Manufacturer Part Number
AT89S8252-24PI
Description
MCU W/SPI 8KB FLSH 2K EEP 40-DIP
Manufacturer
Atmel
Series
89Sr
Datasheet

Specifications of AT89S8252-24PI

Core Processor
8051
Core Size
8-Bit
Speed
24MHz
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)
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
Data Converters
-
Other names
AT89S825224PI

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89S8252-24PI
Manufacturer:
ATM
Quantity:
4 000
Part Number:
AT89S8252-24PI
Manufacturer:
ATM
Quantity:
3 500
Part Number:
AT89S8252-24PI
Manufacturer:
ATMEL
Quantity:
2 360
Part Number:
AT89S8252-24PI
Manufacturer:
NS
Quantity:
1 000
Part Number:
AT89S8252-24PI
Manufacturer:
ATMEL
Quantity:
482
Part Number:
AT89S8252-24PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Idle Mode
Power-down Mode
Program Memory
Lock Bits
Lock Bit Protection Modes
Notes:
22
1
2
3
4
1. U = Unprogrammed
2. P = Programmed
AT89S8252
Program Lock Bits
LB1
U
P
P
P
LB2
U
U
P
P
LB3
U
U
U
P
(1)(2)
In idle mode, the CPU puts itself to sleep while all the on-chip peripherals remain active.
The mode is invoked by software. The content of the on-chip RAM and all the special
functions registers remain unchanged during this mode. The idle mode can be termi-
nated by any enabled interrupt or by a hardware reset.
Note that when idle mode is terminated by a hardware reset, the device normally
resumes program execution from where it left off, up to two machine cycles before the
internal reset algorithm takes control. On-chip hardware inhibits access to internal RAM
in this event, but access to the port pins is not inhibited. To eliminate the possibility of an
unexpected write to a port pin when idle mode is terminated by a reset, the instruction
following the one that invokes idle mode should not write to a port pin or to external
memory.
Status of External Pins During Idle and Power-down Modes
In the power-down mode, the oscillator is stopped and the instruction that invokes
power-down is the last instruction executed. The on-chip RAM and Special Function
Registers retain their values until the power-down mode is terminated. Exit from power-
down can be initiated either by a hardware reset or by an enabled external interrupt.
Reset redefines the SFRs but does not change the on-chip RAM. The reset should not
be activated before V
long enough to allow the oscillator to restart and stabilize.
To exit power-down via an interrupt, the external interrupt must be enabled as level sen-
sitive before entering power-down. The interrupt service routine starts at 16 ms
(nominal) after the enabled interrupt pin is activated.
The AT89S8252 has three lock bits that can be left unprogrammed (U) or can be pro-
grammed (P) to obtain the additional features listed in the following table.
When lock bit 1 is programmed, the logic level at the EA pin is sampled and latched dur-
ing reset. If the device is powered up without a reset, the latch initializes to a random
value and holds that value until reset is activated. The latched value of EA must agree
with the current logic level at that pin in order for the device to function properly.
Once programmed, the lock bits can only be unprogrammed with the Chip Erase opera-
tions in either the parallel or serial modes.
Mode
Idle
Idle
Power-down
Power-down
Protection Type
No internal memory lock feature.
MOVC instructions executed from external program memory are disabled from fetching code bytes from
internal memory. EA is sampled and latched on reset and further programming of the Flash memory
(parallel or serial mode) is disabled.
Same as Mode 2, but parallel or serial verify are also disabled.
Same as Mode 3, but external execution is also disabled.
Program
Memory
Internal
External
Internal
External
CC
is restored to its normal operating level and must be held active
ALE
1
1
0
0
PSEN
1
1
0
0
PORT0
Float
Float
Data
Data
PORT1
Data
Data
Data
Data
Address
PORT2
Data
Data
Data
0401G–MICRO–3/06
PORT3
Data
Data
Data
Data

Related parts for AT89S8252-24PI