Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89S8252 Datasheet(PDF) 10 Page - ATMEL Corporation

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

AT89S8252 Datasheet(HTML) 10 Page - ATMEL Corporation

Back Button AT89S8252 Datasheet HTML 6Page - ATMEL Corporation AT89S8252 Datasheet HTML 7Page - ATMEL Corporation AT89S8252 Datasheet HTML 8Page - ATMEL Corporation AT89S8252 Datasheet HTML 9Page - ATMEL Corporation AT89S8252 Datasheet HTML 10Page - ATMEL Corporation AT89S8252 Datasheet HTML 11Page - ATMEL Corporation AT89S8252 Datasheet HTML 12Page - ATMEL Corporation AT89S8252 Datasheet HTML 13Page - ATMEL Corporation AT89S8252 Datasheet HTML 14Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 41 page
background image
10
AT89S8252
0401G–MICRO–3/06
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
Function Registers. That means the upper 128 bytes have the same addresses as the
SFR space but are physically separate 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 exam-
ple, 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 available 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 fur-
ther 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 moni-
tored by reading the RDY/BSY bit (read-only) in SFR WMCON. RDY/BSY = 0 means
Table 5. SPSR – SPI Status Register
SPSR Address = AAH
Reset Value = 00XX XXXXB
SPIF
WCOL
–––
–––
Bit
7
6
543
210
Symbol
Function
SPIF
SPI Interrupt Flag. When a serial transfer is complete, the SPIF bit is set and an interrupt is generated if SPIE = 1 and ES
= 1. The SPIF bit is cleared by reading the SPI status register with SPIF and WCOL bits set, and then reading/writing the
SPI data register.
WCOL
Write Collision Flag. The WCOL bit is set if the SPI data register is written during a data transfer. During data transfer, the
result of reading the 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.
Table 6. SPDR – SPI Data Register
SPDR Address = 86H
Reset Value = unchanged
SPD7
SPD6
SPD5
SPD4
SPD3
SPD2
SPD1
SPD0
Bit
76543210


Similar Part No. - AT89S8252

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT89S8252 ATMEL-AT89S8252 Datasheet
474Kb / 41P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252 ATMEL-AT89S8252 Datasheet
610Kb / 34P
   8-bit Microcontroller with 8K Bytes Flash
logo
List of Unclassifed Man...
AT89S8252 ETC2-AT89S8252 Datasheet
501Kb / 26P
   State-of-the Art Evaluation Module for 8, 20 & 40-pin Microcontrollers
logo
ATMEL Corporation
AT89S8252-16AA ATMEL-AT89S8252-16AA Datasheet
474Kb / 41P
   8-Bit Microcontroller with 8K Bytes Flash
AT89S8252-16JA ATMEL-AT89S8252-16JA Datasheet
474Kb / 41P
   8-Bit Microcontroller with 8K Bytes Flash
More results

Similar Description - AT89S8252

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
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
AT89S8252 ATMEL-AT89S8252_02 Datasheet
439Kb / 34P
   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 35 36 37 38 39 40 41


Datasheet Download

Go To PDF Page


Link URL




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

About Alldatasheet   |   Advertisement   |   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