AT89LP51ED2-20MU Atmel, AT89LP51ED2-20MU Datasheet - Page 149

no-image

AT89LP51ED2-20MU

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

Specifications of AT89LP51ED2-20MU

Rohs
yes
Core
8051
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
VQFN-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
Processor Series
AT89x
Program Memory Type
Flash
Factory Pack Quantity
360
Table 19-6.
19.6.2
3714A–MICRO–7/11
30h
38h
Master Receiver Mode
Data byte has been
transmitted; NOT ACK has
been received
Arbitration lost in SLA+W
or data bytes
Status Codes for Master Transmitter Mode
In the Master Receiver mode, a number of data bytes are received from a slave transmitter. In
order to enter a Master mode, a START condition must be transmitted. The format of the follow-
ing address packet determines whether Master Transmitter or Master Receiver mode is to be
entered. If SLA+W is transmitted, MT mode is entered, if SLA+R is transmitted, MR mode is
entered.
SSIE must be written to one to enable the Two-wire Serial Interface, STA must be written to one
to transmit a START condition and SI must be cleared. The TWI will then test the Two-wire
Serial Bus and generate a START condition as soon as the bus becomes free. After a START
condition has been transmitted, the SI flag is set by hardware, and the status code in SSCS will
be 08h (see
by writing SLA+R to SSDAT. Thereafter the SI bit should be cleared to continue the transfer.
When SLA+R has been transmitted and an acknowledgment bit has been received, SI is set
again and a number of status codes in SSCS are possible. Possible status codes in Master
mode are 38h, 40h or 48h. The appropriate action to be taken for each of these status codes is
detailed in
set high by hardware. This scheme is repeated until the last byte has been received. After the
last byte has been received, the MR should inform the ST by sending a NACK after the last
received data byte. The transfer is ended by generating a STOP condition or a repeated START
condition.
Load data byte
No action
No action
No action
No action
No action
Table
Table
19-7. Received data can be read from the SSDAT Register when the SI flag is
19-7). In order to enter MR mode, SLA+R must be transmitted. This is done
0
1
0
1
0
1
AT89LP51RD2/ED2/ID2 Preliminary
0
0
1
1
0
0
1
1
1
1
1
1
X
X
X
X
X
X
Data byte will be transmitted and ACK or NOT
ACK will be received
Repeated START will be transmitted
STOP condition will be transmitted and STO
flag will be reset
STOP condition followed by a START condition
will be transmitted and STO flag will be reset
Two-wire Serial Bus will be released and not
addressed slave mode entered
A START condition will be transmitted when the
bus becomes free
149

Related parts for AT89LP51ED2-20MU