ATTINY44-15MZ Atmel, ATTINY44-15MZ Datasheet - Page 160
![MCU AVR 4K FLASH 15MHZ 20-QFN](/photos/12/32/123214/20-qfn-pc_sml.jpg)
ATTINY44-15MZ
Manufacturer Part Number
ATTINY44-15MZ
Description
MCU AVR 4K FLASH 15MHZ 20-QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY44-15MZ.pdf
(225 pages)
Specifications of ATTINY44-15MZ
Package / Case
20-QFN Exposed Pad
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Speed
16MHz
Number Of I /o
12
Eeprom Size
256 x 8
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
256 x 8
Program Memory Size
4KB (4K x 8)
Data Converters
A/D 8x10b
Oscillator Type
Internal
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Connectivity
USI
Core Size
8-Bit
Processor Series
ATTINY4x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
SPI, UART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
12
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
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY44-15MZ
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
ATTINY44-15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
20.4.1
20.4.2
20.4.3
160
Atmel ATtiny24/44/84 [Preliminary]
EEPROM Write Prevents Writing to SPMCSR
Reading the Lock and Fuse Bits from Software
Preventing Flash Corruption
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 opera-
tion. It is recommended that the user check the status bit (EEPE) in the EECR register and
verify that the bit is cleared before writing to SPMCSR.
It is possible to read both the lock and fuse bits from software. To read the lock bits, load the
Z-pointer with 0x0001 and set the RFLB and SPMEN bits in SPMCSR. When an LPM instruc-
tion is executed within three CPU cycles after the RFLB and SPMEN bits are set in SPMCSR,
the value of the lock bits will be loaded in the destination register. The RFLB and SPMEN bits
will auto-clear upon completion of reading the lock bits, or if no LPM instruction is executed
within three CPU cycles, or if no SPM instruction is executed within four CPU cycles. When
RFLB and SPMEN are cleared, LPM will work as described in the instruction set summary.
The algorithm for reading the fuse low byte (FLB) is similar to the one described above for
reading the lock bits. To read the fuse low byte, load the Z-pointer with 0x0000 and set the
RFLB and SPMEN bits in SPMCSR. When an LPM instruction is executed within three cycles
after the RFLB and SPMEN bits are set in the SPMCSR, the value of the fuse low byte will be
loaded in the destination register as shown below. See
description and mapping of the fuse low byte.
Similarly, when reading the fuse high byte (FHB), load 0x0003 in the Z-pointer. When an LPM
instruction is executed within three cycles after the RFLB and SPMEN bits are set in the
SPMCSR, the value of the fuse high byte will be loaded in the destination register as shown
below. See
Lock and fuse bits that are programmed will be read as zero. Lock and fuse bits that are
unprogrammed, will be read as one.
During periods of low V
too low for the CPU and the Flash to operate properly. These issues are the same as for
board-level systems using flash, and the same design solutions should be applied.
Flash program corruption can occur for two reasons when the voltage is too low. First, a regu-
lar write sequence to the flash requires a minimum voltage to operate correctly. Secondly, the
CPU itself can execute instructions incorrectly if the supply voltage is too low.
Bit
Rd
Bit
Rd
Bit
Rd
Table 21-4 on page 164
FLB7
FHB7
7
7
7
–
CC
FLB6
FHB6
, the Flash program can be corrupted because the supply voltage is
6
6
6
–
FLB5
FHB5
5
5
5
–
for detailed description and mapping of the fuse high byte.
FLB4
FHB4
4
–
4
4
FHB3
FLB3
3
–
3
3
Table 21-5 on page 165
FHB2
FLB2
2
–
2
2
FHB1
FLB1
LB2
1
1
1
FHB0
FLB0
LB1
7701E–AVR–02/11
0
0
0
for a detailed