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

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
Table 19-8.
3714A–MICRO–7/11
Status
Code
(SSCS)
60h
68h
70h
78h
80h
Status of the Two-wire
Serial Bus and Two-wire
Serial Interface Hardware
Own SLA+W has been
received; ACK has been
returned
Arbitration lost in SLA+R/W
as master; own SLA+W has
been received; ACK has
been returned
General call address has
been received; ACK has
been returned
Arbitration lost in SLA+R/W
as master; General call
address has been received;
ACK has been returned
Previously addressed with
own SLA+W; data has been
received; ACK has been
returned
Status Codes for Slave Receiver Mode
SSIE must be written to one to enable the TWI. The AA bit must be written to one to enable the
acknowledgment of the device’s own slave address or the general call address. STA and STO
must be written to zero.
When SSADR and SSCON have been initialized, the TWI waits until it is addressed by its own
slave address (or the general call address if enabled) followed by the data direction bit. If the
direction bit is “0” (write), the TWI will operate in SR mode, otherwise ST mode is entered. After
its own slave address and the write bit have been received, the SI flag is set and a valid status
code can be read from SSCS. The status code is used to determine the appropriate software
action. The appropriate action to be taken for each status code is detailed in
Slave Receiver mode may also be entered if arbitration is lost while the TWI is in the Master
mode (see states 68h and 78h).
If the AA bit is reset during a transfer, the TWI will return a “Not Acknowledge” (“1”) to SDA after
the next received data byte. This can be used to indicate that the slave is not able to receive any
more bytes. While AA is zero, the TWI does not acknowledge its own slave address. However,
the Two-wire Serial Bus is still monitored and address recognition may resume at any time by
setting AA. This implies that the AA bit may be used to temporarily isolate the TWI from the Two-
wire Serial Bus.
.
To/from SSDAT
No action
No action
No action
No action
No action
No action
No action
No action
Read data byte
Read data byte
Application Software Response
STA
AT89LP51RD2/ED2/ID2 Preliminary
X
X
X
X
X
X
X
X
X
X
STO
0
0
0
0
0
0
0
0
0
0
To SSCON
SI
1
1
1
1
1
1
1
1
1
1
AA
0
1
0
1
0
1
0
1
0
1
Next Action Taken by TWI Hardware
Data byte will be received and NOT ACK will be
returned
Data byte will be received and ACK will be
returned
Data byte will be received and NOT ACK will be
returned
Data byte will be received and ACK will be
returned
Data byte will be received and NOT ACK will be
returned
Data byte will be received and ACK will be
returned
Data byte will be received and NOT ACK will be
returned
Data byte will be received and ACK will be
returned
Data byte will be received and NOT ACK will be
returned
Data byte will be received and ACK will be
returned
Table
19-8. The
153

Related parts for AT89LP51ED2-20AAU