Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AT89S8252-33PC Datasheet(PDF) 9 Page - ATMEL Corporation

Part # AT89S8252-33PC
Description  8-bit Microcontroller with 8K Bytes Flash
Download  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89S8252-33PC Datasheet(HTML) 9 Page - ATMEL Corporation

Back Button AT89S8252-33PC Datasheet HTML 5Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 6Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 7Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 8Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 9Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 10Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 11Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 12Page - ATMEL Corporation AT89S8252-33PC Datasheet HTML 13Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 34 page
background image
AT89S8252
9
Data Memory – EEPROM and RAM
The AT89S8252 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 Func-
tion Registers. That means the upper 128 bytes have the
same addresses as the SFR space but are physically sepa-
rate from SFR space.
When an instruction accesses an internal location above
address 7FH, the address mode used in the instruction
specifies whether the CPU accesses the upper 128 bytes
of RAM or the SFR space. Instructions that use direct
addressing access SFR space.
For example, the following direct addressing instruction
accesses the SFR at location 0A0H (which is P2).
MOV 0A0H, #data
Instructions that use indirect addressing access the upper
128 bytes of RAM. For example, the following indirect
addressing instruction, where R0 contains 0A0H, accesses
the data byte at address 0A0H, rather than P2 (whose
address is 0A0H).
MOV @R0, #data
Note that stack operations are examples of indirect
addressing, so the upper 128 bytes of data RAM are avail-
able as stack space.
The on-chip EEPROM data memory is selected by setting
the EEMEN bit in the WMCON register at SFR address
location 96H. The EEPROM address range is from 000H to
7FFH. The MOVX instructions are used to access the
EEPROM. To access off-chip data memory with the MOVX
instructions, the EEMEN bit needs to be set to “0”.
The EEMWE bit in the WMCON register needs to be set to
“1” before any byte location in the EEPROM can be written.
User software should reset EEMWE bit to “0” if no further
EEPROM write is required. EEPROM write cycles in the
serial programming mode are self-timed and typically take
2.5 ms. The progress of EEPROM write can be monitored
by reading the RDY/BSY bit (read-only) in SFR WMCON.
RDY/BSY = 0 means programming is still in progress and
RDY/BSY = 1 means EEPROM write cycle is completed
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.
Programmable Watchdog Timer
The programmable Watchdog Timer (WDT) operates from
an independent 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
CC = 5V) are within ±30% of the
nominal.
The WDT is disabled by Power-on Reset and during
Power-down. It is enabled by setting 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.
Timer 0 and 1
Timer 0 and Timer 1 in the AT89S8252 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 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 register is incremented every
machine cycle. Since a machine cycle consists of 12 oscil-
lator 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
register during S3P1 of the cycle following the one in which
Table 7. Watchdog Timer Period Selection
WDT Prescaler Bits
Period (nominal)
PS2
PS1
PS0
0
0
0
16 ms
0
0
1
32 ms
0
1
0
64 ms
0
1
1
128 ms
1
0
0
256 ms
1
0
1
512 ms
1
1
0
1024 ms
1
1
1
2048 ms


Similar Part No. - AT89S8252-33PC

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT89S8252-33PC ATMEL-AT89S8252-33PC Datasheet
474Kb / 41P
   8-Bit Microcontroller with 8K Bytes Flash
More results

Similar Description - AT89S8252-33PC

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT89C52 ATMEL-AT89C52 Datasheet
181Kb / 22P
   8-Bit Microcontroller with 8K Bytes Flash
AT89C52 ATMEL-AT89C52_00 Datasheet
223Kb / 24P
   8-bit Microcontroller with 8K Bytes Flash
AT89C52 ATMEL-AT89C52_99 Datasheet
195Kb / 24P
   8-bit Microcontroller with 8K Bytes Flash
AT89LS8252 ATMEL-AT89LS8252_06 Datasheet
672Kb / 35P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252-24PU ATMEL-AT89S8252-24PU Datasheet
610Kb / 34P
   8-bit Microcontroller with 8K Bytes Flash
AT89LS8252 ATMEL-AT89LS8252 Datasheet
470Kb / 31P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252 ATMEL-AT89S8252_06 Datasheet
479Kb / 41P
   8-bit Microcontroller with 8K Bytes Flash
AT89LV52 ATMEL-AT89LV52 Datasheet
532Kb / 22P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252 ATMEL-AT89S8252 Datasheet
474Kb / 41P
   8-Bit Microcontroller with 8K Bytes Flash
ATMEGA48V ATMEL-ATMEGA48V_06 Datasheet
3Mb / 374P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com