AT89LP216-20PU Atmel, AT89LP216-20PU Datasheet - Page 64

no-image

AT89LP216-20PU

Manufacturer Part Number
AT89LP216-20PU
Description
MCU 8051 2K FLASH 20MHZ 16-PDIP
Manufacturer
Atmel
Series
89LPr
Datasheet

Specifications of AT89LP216-20PU

Core Processor
8051
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
14
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
16-DIP (0.300", 7.62mm)
Processor Series
AT89x
Core
8051
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
UART, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
14
Number Of Timers
2
Operating Supply Voltage
2.4 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
PK51, CA51, A51, ULINK2
Development Tools By Supplier
AT89ISP
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details
23.2
23.3
24. Programming the Flash Memory
64
Software Breakpoints
Limitations of On-chip Debug
AT89LP216
The AT89LP216 microcontroller includes a BREAK instruction for implementing program mem-
ory breakpoints in software. A software breakpoint can be inserted manually by placing the
BREAK instruction in the program code. Some emulator systems may allow for automatic inser-
tion/deletion of software breakpoints. The Flash memory must be re-programmed each time a
software breakpoint is changed. Frequent insertions/deletions of software breakpoints will
reduce the data retention of the nonvolatile memory. Devices used for debugging purposes
should not be shipped to end customers. The BREAK instruction is treated as a two-cycle NOP
when OCD is disabled.
The AT89LP216 is a low-cost, low-pincount yet fully-featured microcontroller that multiplexes
several functions on its limited I/O pins. Some device functionality must be sacrificed to provide
resources for On-chip Debugging. The On-chip Debug System has the following limitations:
The Atmel AT89LP216 microcontroller features 2KB of on-chip In-System Programmable Flash
program memory. In-System Programming (ISP) allows programming and reprogramming of the
microcontroller positioned inside the end system. Using a simple 4-wire SPI interface, the In-
System programmer communicates serially with the AT89LP216 microcontroller, reprogram-
ming all nonvolatile memories on the chip. In-System programming eliminates the need for
physical removal of the chips from the system. This will save time and money, both during devel-
opment in the lab, and when updating the software or parameters in the field. The ISP interface
of the AT89LP216 includes the following features:
• The Debug Clock pin (DCL) is physically located on that same pin as Port Pin P1.3 and the
• The Debug Data pin (DDA) is physically located on either the XTAL1/P3.2 or XTAL2/P3.3 pin.
• When using the Internal RC Oscillator during debug, DDA is located on the XTAL1/P3.2 pin.
• When using the External Clock during debug, DDA is located on the XTAL2/P3.3 pin and the
• The AT89LP216 does not support In-Application Programming and therefore the device must
• When using the watchdog to generate a break, the state of the watchdog will not be reset. An
• Four Wire SPI Programming Interface
• Active-low Reset Entry into Programming
• Slave Select allows multiple devices on same interface
• User Signature Array
External Reset (RST). Therefore, neither P1.3 nor an external reset source may be emulated
when OCD is enabled.
The crystal oscillator is therefore not supported during debug. The user must select either the
Internal RC Oscillator or the External Clock source to provide the system clock. Devices
fused for the crystal oscillator will default to external clock mode when OCD is enabled.
The INT0 function cannot be emulated in this mode.
system clock drives XTAL1/P3.2. The INT0, INT1 and CLKOUT functions cannot be emulated
in this mode.
be reset before changing the program code during debugging. This includes the
insertion/deletion of software breakpoints.
OCD reset command should be sent to the device prior to resuming normal execution to
ensure correct watchdog behavior.
3621E–MICRO–11/10

Related parts for AT89LP216-20PU