AT89C51ED2 Atmel Corporation, AT89C51ED2 Datasheet - Page 70

no-image

AT89C51ED2

Manufacturer Part Number
AT89C51ED2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51ED2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Uart
1
Sram (kbytes)
2
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51ED2
Manufacturer:
ALTERA
0
Part Number:
AT89C51ED2
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
ATMEL
Quantity:
77 760
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
SSG
Quantity:
100
Part Number:
AT89C51ED2-IM
Manufacturer:
ATMEL
Quantity:
116
Part Number:
AT89C51ED2-IM
Manufacturer:
S
Quantity:
20
Part Number:
AT89C51ED2-IM(QFP-64)
Manufacturer:
ATMEL
Quantity:
458
Part Number:
AT89C51ED2-RDRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51ED2-RDRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51ED2-RDTUM
Manufacturer:
ATMEL
Quantity:
19 090
Part Number:
AT89C51ED2-RDTUM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT89C51ED2-RLTUM
Manufacturer:
ATMEL
Quantity:
13 400
Part Number:
AT89C51ED2-RLTUM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
16.3.5.2
70
AT89C51RD2/ED2
Serial Peripheral Status Register (SPSTA)
Reset Value = 0001 0100b
Not bit addressable
The Serial Peripheral Status Register contains flags to signal the following conditions:
Table 16-4
Table 16-4.
SPSTA - Serial Peripheral Status and Control register (0C4H)
Bit Number
• Data transfer complete
• Write collision
• Inconsistent logic level on SS pin (mode fault error)
Bit Number
SPIF
7
6
7
4
3
2
1
describes the SPSTA register and explains the use of every bit in the register.
Mnemonic
SPSTA Register
WCOL
WCOL
SPIF
Bit
6
Bit Mnemonic
MSTR
CPOL
CPHA
SPR1
SPR0
Description
Serial Peripheral Data Transfer Flag
Cleared by hardware to indicate data transfer is in progress or has been approved by a
clearing sequence.
Set by hardware to indicate that the data transfer has been completed.
Write Collision Flag
Cleared by hardware to indicate that no collision has occurred or has been approved by a
clearing sequence.
Set by hardware to indicate that a collision has been detected.
SSERR
5
Description
Serial Peripheral Master
Cleared to configure the SPI as a Slave.
Set to configure the SPI as a Master.
Clock Polarity
Cleared to have the SCK set to ’0’ in idle state.
Set to have the SCK set to ’1’ in idle low.
Clock Phase
Cleared to have the data sampled when the SCK leaves the idle state (see
CPOL).
Set to have the data sampled when the SCK returns to idle state (see
CPOL).
SPR2 SPR1 SPR0 Serial Peripheral Rate
0
0
0
0
1
1
1
1
MODF
4
0
0
1
1
0
0
1
1
0 F
1 F
1 F
1F
0F
1F
0F
1Invalid
CLK PERIPH
CLK PERIPH
CLK PERIPH
CLK PERIPH
CLK PERIPH
CLK PERIPH
CLK PERIPH
3
-
/2
/4
/8
/16
/32
/64
/128
2
-
1
-
4235K–8051–05/08
0
-

Related parts for AT89C51ED2