AT89LP51ED2-20JU Atmel, AT89LP51ED2-20JU Datasheet - Page 134
AT89LP51ED2-20JU
Manufacturer Part Number
AT89LP51ED2-20JU
Description
8-bit Microcontrollers - MCU 64KB 20MHz 2.4V-5.5V
Manufacturer
Atmel
Datasheet
1.AT89LP51ED2-20AAU.pdf
(254 pages)
Specifications of AT89LP51ED2-20JU
Rohs
yes
Core
8051
Processor Series
AT89x
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
64 KB
Data Ram Size
256 B
On-chip Adc
Yes
Operating Supply Voltage
2.4 V to 5.5 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
PLCC-44
Mounting Style
SMD/SMT
Data Rom Size
4 KB
Interface Type
2-Wire, SPI, UART
Number Of Programmable I/os
36
Number Of Timers
3
Program Memory Type
Flash
Factory Pack Quantity
27
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 134 of 254
- Download datasheet (7Mb)
18.6
Table 18-3.
Notes:
134
SPCON Address = C3H
Not Bit Addressable
Symbol
SPR2
SPEN
SSDIS
MSTR
CPOL
CPHA
SPR1
SPR0
Bit
Registers
1. Set up the clock mode before enabling the SPI: set all bits needed in SPCON except the SPEN bit, then set SPEN.
2. Enable the master SPI prior to the slave device.
3. Slave echoes master on the next Tx if not loaded with new data.
AT89LP51RD2/ED2/ID2 Preliminary
SPR2
Function
Serial Peripheral Clock Rate 2
See the description for SPR
Serial peripheral 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.
Slave Select Disable
If SSDIS = 0, the SPI will only operate in slave mode if SS (P1.4) is pulled low. When SSDIS = 1, the SPI ignores SS in
slave mode and is active whenever SPE (SPCON.6) is set. When MSTR = 1 and SSDIS = 0, SS is monitored for master
mode collisions. Setting SSDIS = 1 will ignore collisions on SS. P1.4 may be used as a regular I/O pin when SSIG = 1.
Master/Slave Select
MSTR = 1 selects Master SPI mode. MSTR = 0 selects slave SPI mode.
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.
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.
Serial Peripheral Clock Rate
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
SPR2
7
SPCON – SPI Control Register
0
0
0
0
1
1
1
1
SPR1
0
0
1
1
0
0
1
1
SPEN
6
SPR0
0
1
0
1
0
1
0
1
SCK (TSCK = 0)
f
f
f
f
f
f
f
Timer 1 Overflow/2
1-0
PERIPH
PERIPH
PERIPH
PERIPH
PERIPH
PERIPH
PERIPH
SSDIS
5
/2
/4
/8
/16
/32
/64
/128
MSTR
4
OSC.
CPOL
, is as follows:
3
CPHA
2
Reset Value = 0001 0100B
SPR1
1
SPR0
3714A–MICRO–7/11
0
Related parts for AT89LP51ED2-20JU
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: