ATTINY12L-4PU Atmel, ATTINY12L-4PU Datasheet - Page 52
![MCU 8-Bit ATtiny AVR RISC 1KB Flash 3.3V/5V 8-Pin PDIP](/photos/18/32/183297/pdip8_sml.jpg)
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
1.ATTINY12V-1SI.pdf
(94 pages)
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
Figure 27. High-voltage Serial Programming Waveforms
Table 23. High-voltage Serial Programming Instruction Set for ATtiny11/12
52
Instruction
Chip Erase
Write Flash
High and Low
Address
Write Flash Low
byte
Write Flash
High byte
Read Flash
High and Low
Address
Read Flash
Low byte
Read Flash
High byte
Write EEPROM
Low Address
(ATtiny12)
Write EEPROM
byte (ATtiny12)
Read EEPROM
Low Address
(ATtiny12)
SERIAL DATA OUTPUT
SERIAL CLOCK INPUT
SERIAL INSTR. INPUT
SERIAL DATA INPUT
ATtiny11/12
XTAL1/PB3
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
PB0
PB1
PB2
PB0
PB1
PB2
0_1000_0000_00
0_0100_1100_00
0_0001_0000_00
0_0100_1100_00
0_ i i i i_i i i i _00
0_0010_1100_00
0_ i i i i_i i i i _00
0_0011_1100_00
0_0000_0010_00
0_0100_1100_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0111_1000_00
0_0001_0001_00
0_0100_1100_00
0_ i i i i_i i i i _00
0_0010_1100_00
0_0000_0011_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
x_xxxx_xxxx_xx
Instr.1
0
MSB
MSB
MSB
1
o_oooo_ooox_xx
o_oooo_ooox_xx
0_00bb_bbbb_00
0_00bb_bbbb_00
0_0000_0000_00
0_0110_0100_00
0_0000_000a_00
0_0001_1100_00
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0111_0100_00
0_0000_000a_00
0_0001_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0111_1100_00
0_0000_1100_00
0_0000_0000_00
0_0110_0100_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
2
Instruction Format
3
0_bbbb_bbbb_00
0_bbbb_bbbb_00
0_0000_0000_00
0_0110_1100_00
0_0000_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
0_0000_0000_00
0_0111_1100_00
0_0000_0000_00
0_0000_1100_00
0_0000_0000_00
0_0110_1100_00
0_0000_0000_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
4
Instr.3
5
6
0_0000_0000_00
0_0100_1100_00
x_xxxx_xxxx_xx
Instr.4
7
LSB
LSB
LSB
8
Operation Remarks
Wait after Instr.4 until PB2 goes
high for the Chip Erase cycle to
finish.
Repeat Instr.2 for a new 256 byte
page. Repeat Instr.3 for each new
address.
Wait after Instr.3 until PB2 goes
high. Repeat Instr.1, Instr. 2 and
Instr.3 for each new address.
Wait after Instr.3 until PB2 goes
high. Repeat Instr.1, Instr. 2 and
Instr.3 for each new address.
Repeat Instr.2 and Instr.3 for each
new address.
Repeat Instr.1 and Instr.2 for each
new address.
Repeat Instr.1 and Instr.2 for each
new address.
Repeat Instr.2 for each new
address.
Wait after Instr.3 until PB2 goes
high
Repeat Instr.2 for each new
address.
9
10
1006F–AVR–06/07