at89lp214-20xi ATMEL Corporation, at89lp214-20xi Datasheet - Page 65

no-image

at89lp214-20xi

Manufacturer Part Number
at89lp214-20xi
Description
At89lp213 8-bit Microcontroller With 2k Bytes Flash
Manufacturer
ATMEL Corporation
Datasheet
23. Programming the Flash Memory
23.1
3538B–MICRO–11/07
Physical Interface
The Atmel AT89LP213/214 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 AT89LP213/214 microcontroller, repro-
gramming 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 AT89LP213/214 includes the following features:
For more detailed information on In-System Programming, refer to the Application Note entitled
“AT89LP In-System Programming Specification”.
In-System Programming utilizes the Serial Peripheral Interface (SPI) pins of an AT89LP213/214
microcontroller. The SPI is a full duplex synchronous serial interface consisting of four wires:
Serial Clock (SCK), Master-In/Slave-out (MISO), Master-out/Slave-in (MOSI), and an active-low
Slave Select (SS). When programming an AT89LP213/214 device, the programmer always
operates as the SPI master, and the target system always operates as the SPI slave. To enter or
remain in In-System Programming mode the device’s reset line (RST) must be held active (low).
With the addition of VCC and GND, an AT89LP213/214 microcontroller can be programmed with
a minimum of seven connections as shown in
Figure 23-1. In-System Programming Device Connections
• Four Wire SPI Programming Interface
• Active-low Reset Entry into Programming
• Slave Select allows multiple devices on same interface
• User Signature Array
• Flexible Page Programming
• Row Erase Capability
• Page Write with Auto-Erase Commands
• Programming Status Register
Serial Clock
Serial Out
Serial In
SS
P1.7/SCK
P1.6/MISO
P1.5/MOSI
P1.4/SS
GND
AT89LP213/214
Figure
23-1.
P1.3/RST
VCC
AT89LP213/214
RST
65

Related parts for at89lp214-20xi