AT89LP51RB2 Atmel Corporation, AT89LP51RB2 Datasheet - Page 146

no-image

AT89LP51RB2

Manufacturer Part Number
AT89LP51RB2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51RB2

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)
1.375
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:
AT89LP51RB2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RB2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RB2-20JU
Manufacturer:
Atmel
Quantity:
10 000
.
Table 19-6.
146
Status
Code
(SSCS)
0x08
10h
18h
20h
28h
AT89LP51RB2/RC2/IC2 Preliminary
Status of the Two-wire
Serial Bus and Two-wire
Serial Interface Hardware
A START condition has
been transmitted
A repeated START
condition has been
transmitted
SLA+W has been
transmitted; ACK has been
received
SLA+W has been
transmitted; NOT ACK has
been received
Data byte has been
transmitted; ACK has been
received
Status Codes for Master Transmitter Mode
A REPEATED START condition is generated by writing the following value to SSCON:
After a repeated START condition (status 10h) the Two-wire Serial Interface can access the
same slave again, or a new slave without transmitting a STOP condition. Repeated START
enables the master to switch between slaves, Master Transmitter mode and Master Receiver
mode without losing control of the bus.
SSCON
Value
SSCON
Value
To/from SSDAT
Load SLA+W
Load SLA+W
Load SLA+R
Load data byte
No action
No action
No action
Load data byte
No action
No action
No action
Load data byte
No action
No action
No action
bit rate
bit rate
CR2
CR2
Application Software Response
SSIE
SSIE
1
1
STA
0
0
0
0
1
0
1
0
1
0
1
0
1
0
1
STO
STA
STA
0
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
1
To SSCON
SI
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
STO
STO
1
0
AA
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
SI
SI
0
0
Next Action Taken by TWI Hardware
SLA+W will be transmitted;
ACK or NOT ACK will be received
SLA+W will be transmitted;
ACK or NOT ACK will be received
SLA+R will be transmitted;
Logic will switch to Master Receiver mode
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
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
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
AA
AA
X
X
bit rate
bit rate
CR1
CR1
3722A–MICRO–10/11
bit rate
bit rate
CR0
CR0

Related parts for AT89LP51RB2