ATTINY861-15MZ Atmel, ATTINY861-15MZ Datasheet - Page 164

MCU AVR 8K FLASH 15MHZ 32-QFN

ATTINY861-15MZ

Manufacturer Part Number
ATTINY861-15MZ
Description
MCU AVR 8K FLASH 15MHZ 32-QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY861-15MZ

Package / Case
32-VQFN Exposed Pad, 32-HVQFN, 32-SQFN, 32-DHVQFN
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Speed
16MHz
Number Of I /o
16
Eeprom Size
512 x 8
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
512 x 8
Program Memory Size
8KB (8K x 8)
Data Converters
A/D 11x10b
Oscillator Type
Internal
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Connectivity
USI
Core Size
8-Bit
Processor Series
ATTINY8x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
SPI
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
16
Number Of Timers
2
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT, ATAVRMC320
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 11 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY861-15MZ
Manufacturer:
ATMEL
Quantity:
1 465
21.1
21.1.1
164
Addressing the Flash During Self-Programming
ATtiny261/461/861
EEPROM Write Prevents Writing to SPMCSR
The page address must be written to PCPAGE. Other bits in the Z-pointer must be written to
zero during this operation.
• The CPU is halted during the Page Write operation.
The Z-pointer is used to address the SPM commands.
Since the Flash is organized in pages (see
be treated as having two different sections. One section, consisting of the least significant bits, is
addressing the words within a page, while the most significant bits are addressing the pages.
This is shown in
addressed independently. Therefore it is of major importance that the software addresses the
same page in both the Page Erase and Page Write operation.
The LPM instruction uses the Z-pointer to store the address. Since this instruction addresses the
Flash byte-by-byte, also the LSB (bit Z0) of the Z-pointer is used.
Figure 21-1. Addressing the Flash During SPM
Note:
Note that an EEPROM write operation will block all software programming to Flash. Reading the
Fuses and Lock bits from software will also be prevented during the EEPROM write operation. It
is recommended that the user checks the status bit (EEPE) in the EECR Register and verifies
that the bit is cleared before writing to the SPMCSR Register.
Bit
ZH (R31)
ZL (R30)
Z - REGISTER
1. The different variables used in
PROGRAM MEMORY
BIT
15
Z15
Z7
7
PAGE
PROGRAM
COUNTER
15
Figure
PAGE ADDRESS
WITHIN THE FLASH
ZPCMSB
14
Z14
Z6
6
PCMSB
21-1. Note that the Page Erase and Page Write operations are
PCPAGE
13
Z13
Z5
5
Figure 21-1
ZPAGEMSB
12
Z12
Z4
4
PAGEMSB
Table 22-7 on page
PCWORD
WORD ADDRESS
WITHIN A PAGE
(1)
are listed in
11
Z3
3
Z11
1
0
0
INSTRUCTION WORD
10
Z10
Z2
2
PAGE
Table 22-7 on page
171), the Program Counter can
9
Z9
Z1
1
PCWORD[PAGEMSB:0]:
00
01
02
PAGEEND
8
Z8
Z0
0
171.
2588B–AVR–11/06

Related parts for ATTINY861-15MZ