ATTINY12L-4PU Atmel, ATTINY12L-4PU Datasheet - Page 53

MCU 8-Bit ATtiny AVR RISC 1KB Flash 3.3V/5V 8-Pin PDIP

ATTINY12L-4PU

Manufacturer Part Number
ATTINY12L-4PU
Description
MCU 8-Bit ATtiny AVR RISC 1KB Flash 3.3V/5V 8-Pin PDIP
Manufacturer
Atmel
Datasheet

Specifications of ATTINY12L-4PU

Package
8PDIP
Device Core
AVR
Family Name
ATtiny
Maximum Speed
4 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
6
Interface Type
SPI
Number Of Timers
1
Program Memory Size
1 KB
Program Memory Type
Flash
Operating Temperature
-40 to 85 °C
Processor Series
ATTINY1x
Core
AVR8
Maximum Clock Frequency
4 MHz
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Package / Case
PDIP-8
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
 Details
Table 23. High-voltage Serial Programming Instruction Set for ATtiny11/12 (Continued)
Note:
1006F–AVR–06/07
Instruction
Read EEPROM
byte (ATtiny12)
Write Fuse bits
(ATtiny11)
Write Fuse bits
(ATtiny12)
Write Lock bits
Read Fuse bits
(ATtiny11)
Read Fuse bits
(ATtiny12)
Read Lock bits
Read Signature
Bytes
Read
Calibration Byte
(ATtiny12)
a = address high bits
b = address low bits
i = data in
o = data out
x = don’t care
1 = Lock Bit1
2 = Lock Bit2
3 = CKSEL0 Fuse
4 = CKSEL1 Fuse
5 = CKSEL2 Fuse
9, 6 = RSTDISBL Fuse
7 = FSTRT Fuse
8 = CKSEL3 Fuse
A = SPIEN Fuse
B = BODEN Fuse
C = BODLEVEL Fuse
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
PB0
PB1
PB2
0_0000_0000_00
0_0110_1000_00
0_0100_0000_00
0_0100_1100_00
0_0100_0000_00
0_0100_1100_00
0_0010_0000_00
0_0100_1100_00
0_0000_0100_00
0_0100_1100_00
0_0000_0100_00
0_0100_1100_00
0_0000_0100_00
0_0100_1100_00
0_0000_1000_00
0_0100_1100_00
0_0000_1000_00
0_0100_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.1
0_CBA9_8543_00
o_oooo_ooox_xx
0_0000_0000_00
0_0110_1100_00
0_0007_6543_00
0_0010_1100_00
0_0010_1100_00
0_0000_0210_00
0_0010_1100_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0111_1000_00
0_0000_00bb_00
0_0000_1100_00
0_0000_0000_00
0_0000_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.2
Instruction Format
C_BA98_543x_xx
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0111_1100_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0111_1000_00
x_xx76_543x_xx
x_xxxx_21xx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.3
o_oooo_ooox_xx
o_oooo_ooox_xx
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0111_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.4
Operation Remarks
Repeat Instr.2 for each new
address
Wait
Write fuse bits cycle to finish. Write
7 - 3 = “0” to program the fuse bit.
Wait after Instr.4 until PB2 goes
high. Write C - A, 9, 8, 5 - 3 = “0” to
program the fuse bit.
Wait after Instr.4 until PB2 goes
high. Write 2, 1 = “0” to program
the lock bit.
Reading 7 - 3 = “0” means the fuse
bit is programmed.
Reading C - A, 9, 8, 5 - 3 = “0”
means the fuse bit is programmed.
Reading 2, 1 = “0” means the lock
bit is programmed.
Repeat Instr.2 - Instr.4 for each
signature byte address
t
WLWH_PFB
ATtiny11/12
after Instr.3 for the
53

Related parts for ATTINY12L-4PU