at89lp2052-20xi ATMEL Corporation, at89lp2052-20xi Datasheet - Page 58

no-image

at89lp2052-20xi

Manufacturer Part Number
at89lp2052-20xi
Description
At89lp2052 8-bit Microcontroller With 2/4-kbyte Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP2052-20XI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
23.2
Table 23-2.
23.3
23.4
58
Symbol
LOAD
SUCCESS
WRTINH
BUSY
Bit
Status Register
DATA Polling
Parallel Programming
AT89LP2052/LP4052
Function
Load flag. Cleared low by the load page buffer command and set high by the next memory write. This flag signals that
the page buffer was previously loaded with data by the load page buffer command.
Success flag. Cleared low at the start of a programming cycle and will only be set high if the programming cycle
completes without interruption from the brownout detector.
Write Inhibit flag. Cleared low by the brownout detector (BOD) whenever programming is inhibited due to V
below the minimum required programming voltage. If a BOD episode occurs during programming, the SUCCESS flag
will remain low after the cycle is complete. WRTINH low also forces BUSY low.
Busy flag. Cleared low whenever the memory is busy programming or if write is currently inhibited.
Status
7
Register
The current state of the memory may be accessed by reading the status register. The status reg-
ister is shown in
The AT89LP2052/LP4052 implements DATA polling to indicate the end of a programming cycle.
While the device is busy, any attempted read of the last byte written will return the data byte with
the MSB complemented. Once the programming cycle has completed, the true value will be
accessible. During Erase the data is assumed to be FFH and DATA polling will return 7FH.
When writing multiple bytes in a page, the DATA value will be the last data byte loaded before
programming begins, not the written byte with the highest physical address within the page.
Parallel Programming Mode is enabled by applying V
required during parallel mode are shown in
configured as an 8-bit wide bidirectional command bus. Data on P1 is strobed by a positive
pulse on the XTAL1 pin. No other clock is required. The interface is enabled by pulling CS (P3.2)
low. P3.1 acts as RDY/BSY, and will be pulled low to indicate that the device is busy regardless
of the state of CS.
6
Table
5
23-2.
4
LOAD
Figure
3
23-2. During parallel programming, Port 1 is
SUCCESS
2
PP
to the RST pin. The connections
WRTINH
1
3547H–MICRO–5/07
BUSY
0
CC
falling

Related parts for at89lp2052-20xi