AT89LP51RD2 Atmel Corporation, AT89LP51RD2 Datasheet - Page 135

no-image

AT89LP51RD2

Manufacturer Part Number
AT89LP51RD2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51RD2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51RD2-20AAU
Manufacturer:
INFINEON
Quantity:
450
Part Number:
AT89LP51RD2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RD2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RD2-20JU
Manufacturer:
Atmel
Quantity:
10 000
Table 18-4.
Table 18-5.
3714A–MICRO–7/11
SPDAT Address = C5H
Not Bit Addressable
SPSTA Address = C4H
Not Bit Addressable
Symbol
SPIF
WCOL
SSERR
MODF
TXE
DORD
REMAP
TBIE
Bit
Bit
SPIF
SPD7
Function
SPI Transfer Complete Interrupt Flag
When a serial transfer is complete, the SPIF bit is set by hardware and an interrupt is generated if ESP = 1. The SPIF bit
may be cleared by software or by reading the SPI status register followed by reading/writing the SPI data register.
Write Collision Flag
The WCOL bit is set by hardware if SPDAT is written while the transmit buffer is full. The ongoing transfer is not affected.
WCOL may be cleared by software or by reading the SPI status register followed by reading/writing the SPI data register.
SS Slave Error Flag
Set by hardware when SS is deasserted before the end of a received data byte.
Mode Fault Flag
MODF is set by hardware when a master mode collision is detected (MSTR = 1, SSIG = 0 and SS = 0) and an interrupt
is generated if ESP = 1. MODF must be cleared by software.
Transmit Buffer Empty Flag
Set by hardware when the transmit buffer is loaded into the shift register, allowing a new byte to be loaded. TXE must be
cleared by software. When ENH = 1 and ESP = 1, TXE will generate an interrupt.
Data order
DORD = 1 selects LSB first data transmission. DORD = 0 selects MSB first data transmission.
Remap SPI Pins
When cleared the SPI pins are in the default locations on Port 1 that are compatible with AT89C51RD2/ED2/ID2. When
set the pins are shuffled on Port 1 to match the AT89S8253 or AT89LP6440 devices. See
TX Buffer Interrupt Enable
When TBIE = 1, TXE will generate an SPI interrupt if ESP = 1. When TBIE = 0, TXE does not generate an interrupt.
7
7
SPDAT – SPI Data Register
SPSTA – SPI Status Register
WCOL
SPD6
6
6
SSERR
SPD5
5
5
MODF
SPD4
4
4
AT89LP51RD2/ED2/ID2 Preliminary
SPD3
TXE
3
3
DORD
SPD2
2
2
Reset Value = 0000 0000
Reset Value = 0000 0000B
REMAP
SPD1
1
Table
1
18-1.
SPD0
TBIE
0
0
135

Related parts for AT89LP51RD2