AT89LP51ED2 Atmel Corporation, AT89LP51ED2 Datasheet - Page 141

no-image

AT89LP51ED2

Manufacturer Part Number
AT89LP51ED2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51ED2

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
Eeprom (bytes)
4096
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:
AT89LP51ED2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51ED2-20JU
Manufacturer:
Atmel
Quantity:
10 000
19.3
19.3.1
19.3.2
3714A–MICRO–7/11
Overview of the TWI Module
SCL and SDA Pins
Bit Rate Generator Unit
It is the user software’s responsibility to ensure that these illegal arbitration conditions never
occur. This implies that in multi-master systems, all data transfers must use the same composi-
tion of SLA+R/W and data packets. In other words: All transmissions must contain the same
number of data packets, otherwise the result of the arbitration is undefined.
The TWI module is comprised of several submodules, as shown in
drawn in a thick line are accessible through the AT89LP data bus.
Figure 19-9. Overview of the TWI Module
These pins interface the TWI with the rest of the MCU system. The output drivers contain a slew-
rate limiter in order to conform to the TWI specification. The input stages contain a spike sup-
pression unit removing spikes shorter than 50 ns.
This unit controls the period of SCL when operating in a Master mode. The SCL period is con-
trolled by settings in the SSCON register. Slave operation does not depend on the Bit Rate
setting, but the CPU clock frequency in the slave must be at least 16 times higher than the SCL
frequency. Note that slaves may prolong the SCL low period, thereby reducing the average TWI
bus clock period. The SCL frequency is generated according to
Address Match Unit
Slew-rate
Arbitration Detection
Control
START / STOP
Address Comparator
Address Register
Control
SCL
(SSADR)
Spike
Filter
Bus Interface Unit
AT89LP51RD2/ED2/ID2 Preliminary
Spike Suppression
Address/Data Shift
Register (SSDAT)
Slew-rate
Control
SDA
Status Register
Ack
Spike
Filter
(SSCS)
State Machine and
Control Unit
Status Control
Table
Control Register
Bit Rate Generator
(SSCON)
Figure
19-1.
Timer 1 Overflow
Prescaler
19-9. All registers
141

Related parts for AT89LP51ED2