AT89LP51ED2-20AAU Atmel, AT89LP51ED2-20AAU Datasheet - Page 128

no-image

AT89LP51ED2-20AAU

Manufacturer Part Number
AT89LP51ED2-20AAU
Description
8-bit Microcontrollers - MCU 64KB 20MHz 2.4V-5.5V
Manufacturer
Atmel
Datasheet

Specifications of AT89LP51ED2-20AAU

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
LQFP-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
160

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
18.1
18.1.1
128
Interface Description
AT89LP51RD2/ED2/ID2 Preliminary
SPI Serial Clock (SCK)
The interconnection between master and slave devices with SPI is shown in
pins in the interface are Master-In/Slave-Out (MISO), Master-Out/Slave-In (MOSI), Serial Clock
(SCK), and Slave Select (SS). The MSTR bit in SPCON determines the directions of MISO and
MOSI. Also notice that MOSI connects to MOSI and MISO to MISO. By default SS is an input to
both master and slave devices. The master must drive the SS input of each slave device
independently.
Figure 18-2. SPI Master-Slave Interconnection
The location of the SPI pins is determined by the REMAP bit in SPSTA as shown in
W h e n R E M A P = 0 , t h e p i n s a r e l o c a t e d i n t h e s a m e l o c a t i o n s o n P o r t 1 a s t h e
AT89C51RD2/ED2/ID2. When REMAP = 1 the pins are shuffled on Port 1 to be compatible with
AT89S8253 and AT89LP6440. Note that the SPI-based In-System Programming (ISP) interface
always uses the REMAP = 1 pins regardless of the REMAP setting.
Table 18-1.
This signal is used to synchronize the data movement both in and out of the devices through
their MOSI and MISO lines. The SCK line is shared among all devices on the bus. It is driven by
the master for eight clock cycles to exchange one byte on the serial lines. The SCK pin is a clock
output in master mode and a clock input in slave mode. If multiple masters are present in a sys-
tem, only one should drive the SCK line at a time.
In master mode, the baud rate of SCK is determined by the SPR bits in SPCON. The SPR bits
select a value from a 7-bit prescaler on the system clock or the Timer 1 overflow. In slave mode
the clock rate is set by the master device; the slave need not
Name
SCK
MISO
MOSI
SS
MSB
Generator
Clock
Function
Serial Clock
Master In / Slave Out
Master Out / Slave In
Slave Select (Active-Low)
Serial Peripheral Interface Connections
8-Bit Shift Register
Master
MODF
LSB
GPIO
SSDIS
REMAP = 0
SS
MISO
MOSI
SCK
P1.6
P1.5
P1.7
P1.1
V
Pin Connection
CC
MISO
MOSI
SCK
SS
REMAP = 1
P1.7
P1.6
P1.5
P1.4
MSB
SSDIS
8-Bit Shift Register
MSTR = 1
Slave
OUT
OUT
IN
IN
Direction
Figure
3714A–MICRO–7/11
LSB
MSTR = 0
Table
. The four
OUT
IN
IN
IN
18-1.

Related parts for AT89LP51ED2-20AAU