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

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
Programmable
Watchdog Timer
Timer 0 and 1
Timer 2
0401G–MICRO–3/06
programming is still in progress and RDY/BSY = 1 means EEPROM write cycle is com-
pleted and another write cycle can be initiated.
In addition, during EEPROM programming, an attempted read from the EEPROM will
fetch the byte being written with the MSB complemented. Once the write cycle is com-
pleted, true data are valid at all bit locations.
The programmable Watchdog Timer (WDT) operates from an independent internal
oscillator. The prescaler bits, PS0, PS1 and PS2 in SFR WMCON are used to set the
period of the Watchdog Timer from 16 ms to 2048 ms. The available timer periods are
shown in the following table and the actual timer periods (at V
of the nominal.
The WDT is disabled by Power-on Reset and during Power-down. It is enabled by set-
ting the WDTEN bit in SFR WMCON (address = 96H). The WDT is reset by setting the
WDTRST bit in WMCON. When the WDT times out without being reset or disabled, an
internal RST pulse is generated to reset the CPU.
Table 7. Watchdog Timer Period Selection
Timer 0 and Timer 1 in the AT89S8252 operate the same way as Timer 0 and Timer 1 in
the AT89C51 and AT89C52. For further information on the timers’ operation, refer to the
Atmel web site (http://www.atmel.com). From the home page, select “Products”, then
“Microcontrollers, then “8051-Architecture”. Click on “Documentation”, then on “Other
Documents”. Open the document “AT89 Series Hardware Description”.
Timer 2 is a 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).
Timer 2 has three operating modes: capture, auto-reload (up or down counting), and
baud rate generator. The modes are selected by bits in T2CON, as shown in Table 8.
Timer 2 consists of two 8-bit registers, TH2 and TL2. In the Timer function, the TL2 reg-
ister is incremented every machine cycle. Since a machine cycle consists of 12
oscillator periods, the count rate is 1/12 of the oscillator frequency.
In the Counter function, the register is incremented in response to a 1-to-0 transition at
its corresponding external input pin, T2. In this function, the external input is sampled
during S5P2 of every machine cycle. When the samples show a high in one cycle and a
low in the next cycle, the count is incremented. The new count value appears in the reg-
ister during S3P1 of the cycle following the one in which the transition was detected.
PS2
0
0
0
0
1
1
1
1
WDT Prescaler Bits
PS1
0
0
1
1
0
0
1
1
PS0
0
1
0
1
0
1
0
1
CC
Period (nominal)
= 5V) are within ±30%
AT89S8252
1024 ms
2048 ms
128 ms
256 ms
512 ms
16 ms
32 ms
64 ms
11

Related parts for AT89S8252-24PI