Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

AT89S8252 Datasheet(PDF) 9 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) 9 Page - ATMEL Corporation

Back Button AT89S8252_06 Datasheet HTML 5Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 6Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 7Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 8Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 9Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 10Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 11Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 12Page - ATMEL Corporation AT89S8252_06 Datasheet HTML 13Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 41 page
background image
9
AT89S8252
0401G–MICRO–3/06
SPI Registers Control and status bits for the Serial Peripheral Interface are contained in
registers SPCR (shown in Table 4) and SPSR (shown in Table 5). The SPI data bits are
contained in the SPDR register. Writing the SPI data register during serial data transfer
sets the Write Collision bit, WCOL, in the SPSR register. The SPDR is double buffered
for writing and the values in SPDR are not changed by Reset.
Interrupt Registers The global interrupt enable bit and the individual interrupt enable
bits are in the IE register. In addition, the individual interrupt enable bit for the SPI is in
the SPCR register. Two priorities can be set for each of the six interrupt sources in the
IP register.
Dual Data Pointer Registers To facilitate accessing both internal EEPROM and exter-
nal data memory, two banks of 16-bit Data Pointer Registers are provided: DP0 at SFR
address locations 82H-83H and DP1 at 84H-85H. Bit DPS = 0 in SFR WMCON selects
DP0 and DPS = 1 selects DP1. The user should ALWAYS initialize the DPS bit to the
appropriate value before accessing the respective Data 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.
Table 4. SPCR – SPI Control Register
SPCR Address = D5H
Reset Value = 0000 01XXB
SPIE
SPE
DORD
MSTR
CPOL
CPHA
SPR1
SPR0
Bit
7
6
543
210
Symbol
Function
SPIE
SPI Interrupt Enable. This bit, in conjunction with the ES bit in the IE register, enables SPI interrupts: SPIE = 1 and ES =
1 enable SPI interrupts. SPIE = 0 disables SPI interrupts.
SPE
SPI Enable. SPI = 1 enables the SPI channel and connects SS, MOSI, MISO and SCK to pins P1.4, P1.5, P1.6, and P1.7.
SPI = 0 disables the SPI channel.
DORD
Data Order. DORD = 1 selects LSB first data transmission. DORD = 0 selects MSB first data transmission.
MSTR
Master/Slave Select. MSTR = 1 selects Master SPI mode. MSTR = 0 selects Slave SPI mode.
CPOL
Clock Polarity. When CPOL = 1, SCK is high when idle. When CPOL = 0, SCK of the master device is low when not
transmitting. Please refer to figure on SPI Clock Phase and Polarity Control.
CPHA
Clock Phase. The CPHA bit together with the CPOL bit controls the clock and data relationship between master and
slave. Please refer to figure on SPI Clock Phase and Polarity Control.
SPR0
SPR1
SPI Clock Rate Select. These two bits control the SCK rate of the device configured as master. SPR1 and SPR0 have no
effect on the slave. The relationship between SCK and the oscillator frequency, F
OSC., is as follows:
SPR1
SPR0
SCK = F
OSC. divided by
00
4
0116
1064
11
128


Similar Part No. - AT89S8252_06

ManufacturerPart #DatasheetDescription
logo
ATMEL Corporation
AT89S8252 ATMEL-AT89S8252_02 Datasheet
439Kb / 34P
   8-bit Microcontroller with 8K Bytes Flash
More results

Similar Description - AT89S8252_06

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.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