ATTIny13-12PI ATMEL Corporation, ATTIny13-12PI Datasheet - Page 111

no-image

ATTIny13-12PI

Manufacturer Part Number
ATTIny13-12PI
Description
8-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Programming the EEPROM
Reading the Flash
Reading the EEPROM
Programming and Reading
the Fuse and Lock Bits
Reading the Signature Bytes
and Calibration Byte
Power-off sequence
2535B–AVR–01/04
The EEPROM is organized in pages, see Table 51 on page 107. When programming
the EEPROM, the data is latched into a page buffer. This allows one page of data to be
programmed simultaneously. The programming algorithm for the EEPROM Data mem-
ory is as follows (refer to Table 55):
1. Load Command “Write EEPROM”.
2. Load EEPROM Page Buffer.
3. Program EEPROM Page. Wait after Instr. 2 until SDO goes high for the “Page
4. Repeat 2 through 3 until the entire EEPROM is programmed or until all data has
5. End Page Programming by Loading Command “No Operation”.
The algorithm for reading the Flash memory is as follows (refer to Table 55):
1. Load Command "Read Flash".
2. Read Flash Low and High Bytes. The contents at the selected address are avail-
The algorithm for reading the EEPROM memory is as follows (refer to Table 55):
1. Load Command “Read EEPROM”.
2. Read EEPROM Byte. The contents at the selected address are available at
The algorithms for programming and reading the Fuse Low/High bits and Lock bits are
shown in Table 55.
The algorithms for reading the Signature bytes and Calibration byte are shown in Table
55.
Set SCI to “0”. Set RESET to “1”. Turn V
Programming” cycle to finish.
been programmed.
able at serial output SDO.
serial output SDO.
CC
power off.
ATtiny13
111

Related parts for ATTIny13-12PI