AT89LP3240 Atmel Corporation, AT89LP3240 Datasheet - Page 11

no-image

AT89LP3240

Manufacturer Part Number
AT89LP3240
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP3240

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
38
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
4.25
Eeprom (bytes)
8192
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 3.6
Timers
3
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP3240-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP3240-20JU
Manufacturer:
Atmel
Quantity:
10 000
3. Memory Organization
3.1
3.1.1
3706C–MICRO–2/11
Program Memory
SIG
The AT89LP3240/6440 uses a Harvard Architecture with separate address spaces for program
and data memory. The program memory has a regular linear address space with support for 64K
bytes of directly addressable application code. The data memory has 256 bytes of internal RAM
and 128 bytes of Special Function Register I/O space. The AT89LP3240/6440 supports external
data memory with portions of the external data memory space implemented on chip as Extra
RAM and nonvolatile Flash data memory. External program memory is not supported. The mem-
ory address spaces of the AT89LP3240/6440 are listed in
Table 3-1.
The AT89LP3240/6440 contains 32K/64K bytes of on-chip In-System Programmable Flash
memory for program storage. The Flash memory has an endurance of at least 100,000
write/erase cycles and a minimum data retention time of 10 years. The reset and interrupt vec-
tors are located within the first 83 bytes of program memory (refer to
Constant tables can be allocated within the entire 32K/64K program memory address space for
access by the MOVC instruction. The AT89LP3240/6440 does not support external program
memory. A map of the AT89LP3240/6440 program memory is shown in
In addition to the 64K code space, the AT89LP3240/6440 also supports a 256-byte User Signa-
ture Array and a 128-byte Atmel Signature Array that are accessible by the CPU. The Atmel
Signature Array is initialized with the Device ID in the factory. The second page of the User Sig-
nature Array (0180H–01FFH) is initialized with analog configuration data including the Internal
RC Oscillator calibration byte. The User Signature Array is available for user identification codes
or constant parameter data. Data stored in the signature array is not secure. Security bits will
disable writes to the array; however, reads by an external device programmer are always
allowed.
In order to read from the signature arrays, the SIGEN bit (DPCF.3) must be set (See
on page
User Signature Array is mapped from addresses 0100h to 01FFh and the Atmel Signature Array
is mapped from addresses 0000h to 007Fh. SIGEN must be cleared before using MOVC to
access the code memory. The User Signature Array may also be modified by the In-Application
Programming interface. When IAP = 1 and SIGEN = 1, MOVX @DPTR instructions will access
the array (See
Name
DATA
IDATA
SFR
EDATA
FDATA
XDATA
CODE
SIG
28). While SIGEN is one, MOVC A,@A+DPTR will access the signature arrays. The
AT89LP3240/6440 Memory Address Spaces
Section 3.5 on page
Description
Directly addressable internal RAM
Indirectly addressable internal RAM and stack space
Directly addressable I/O register space
On-chip Extra RAM and extended stack space
On-chip nonvolatile Flash data memory
External data memory
On-chip nonvolatile Flash program memory (AT89LP3240)
On-chip nonvolatile Flash program memory (AT89LP6440)
On-chip nonvolatile Flash signature array
21).
Table
AT89LP3240/6440
3-1.
Table 9-1 on page
Figure
0000H–0FFFH
1000H–2FFFH
3000H–FFFFH
0000H–7FFFH
0000H–FFFFH
0000H–01FFH
00H–FFH
80H–FFH
3-1.
00H–7FH
Range
Table 5-5
41).
11

Related parts for AT89LP3240