AT89LP6440-20AU Atmel, AT89LP6440-20AU Datasheet - Page 111
![MCU 8051 64K FLASH ISP 44TQFP](/photos/6/70/67042/313-44-tqfp_sml.jpg)
AT89LP6440-20AU
Manufacturer Part Number
AT89LP6440-20AU
Description
MCU 8051 64K FLASH ISP 44TQFP
Manufacturer
Atmel
Series
89LPr
Specifications of AT89LP6440-20AU
Core Processor
8051
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
38
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
8K x 8
Ram Size
4.25K x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 3.6 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Package
44TQFP
Device Core
8051
Family Name
89LP
Maximum Speed
20 MHz
Operating Supply Voltage
2.5|3.3 V
Data Bus Width
8 Bit
Number Of Programmable I/os
38
Interface Type
2-Wire/SPI
On-chip Dac
8-chx10-bit
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89LP6440-20AU
Manufacturer:
Cirrus
Quantity:
89
18.4
Table 18-1.
Table 18-2.
Table 18-3.
3706A–MICRO–9/09
TWCR Address = AAH
Not Bit Addressable
Symbol
TWEN
STA
STO
TWIF
AA
TWSR Address = ABH
Not Bit Addressable
Symbol
TWS
TWAR Address = ACH
Not Bit Addressable
Symbol
TWA
GC
Bit
Bit
Bit
6-0
7-0
Register Overview
TWS7
TWA6
Function
Two-wire Serial Interface Enable. Set to enable the TWI. Clear to disable the TWI.
Start Flag. Set to send a START condition on the bus. Must be cleared by software.
Stop Flag. Set to send a STOP condition on the bus. Cleared automatically by hardware when the STOP occurs.
Two-wire Interface Interrupt Flag. Set by hardware when the TWI requests an interrupt. TWIF must be cleared by
software. While TWIF is set, the SCL low period is stretched. Note that clearing this flag starts the operation of the TWI,
so all accesses to the other TWI registers (TWAR, TWSR and TWDR) must be complete before clearing this flag.
Assert Acknowledge Flag. Clear in master and slave receiver modes, to force a not acknowledge (high level on SDA).
Clear to disable SLA or GCA recognition. Set to recognize SLA or GCA (if GC set) for entering slave receiver or
transmitter modes. Set in master and slave receiver modes, to force an acknowledge (low level on SDA). This bit has no
effect when in master transmitter mode. By clearing AA to zero, the device can be virtually disconnected from the Two-
wire Serial Bus temporarily. Address recognition can then be resumed by setting the AA bit to one again.
Function
Two-wire Interface Status. The current status code of the TWI logic and serial bus. See
for a description of the status codes. Note that the three least significant bits always read as zero. The Status code is
valid only while TWIF remains set.
Function
Two-wire Interface Slave Address. The TWI will only respond to slave addresses that match this 7-bit address.
General Call Enable. Set to enable General Call address (00h) recognition. Clear to disable General Call address
recognition.
–
7
7
7
TWCR – Two-Wire Control Register
TWSR – Two-Wire Status Register
TWAR – Two-Wire Address Register
TWEN
TWS6
TWA5
6
6
6
TWS5
TWA4
STA
5
5
5
TWS4
TWA3
STO
4
4
4
TWS3
TWA2
TWIF
3
3
3
AT89LP6440 - Preliminary
TWA1
AA
2
0
2
2
Reset Value = X000 00XXB
Reset Value = 1111 1000B
Reset Value = 1111 1110B
Table 18-6
TWA0
–
1
0
1
1
through
GC
–
0
0
0
0
Table 18-10
111