ATTINY12 ATMEL Corporation, ATTINY12 Datasheet - Page 49
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATTINY12
Manufacturer Part Number
ATTINY12
Description
8-bit AVR Microcontroller with 1K Byte Flash
Manufacturer
ATMEL Corporation
Datasheet
1.ATTINY12.pdf
(91 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY12-8PC
Manufacturer:
ATM
Quantity:
27 705
Company:
Part Number:
ATTINY12-8PC
Manufacturer:
AD
Quantity:
56
Part Number:
ATTINY12-8PC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY12-8SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATTINY12-8SI
Manufacturer:
ATMEL
Quantity:
1 729
Company:
Part Number:
ATTINY12-8SU
Manufacturer:
ATMEL
Quantity:
5
Company:
Part Number:
ATTINY128SC
Manufacturer:
ATMEL
Quantity:
7 373
Part Number:
ATTINY12L-4SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATTINY12L-4SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATTINY12V-1SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
High-voltage Serial
Programming Algorithm
1006D–AVR–07/03
To program and verify the ATtiny11/12 in the High-voltage Serial Programming mode,
the following sequence is recommended (See instruction formats in Table 23):
1. Power-up sequence: Apply 4.5 - 5.5V between V
2. The Flash array is programmed one byte at a time by supplying first the address,
3. The EEPROM array (ATtiny12 only) is programmed one byte at a time by supply-
4. Any memory location can be verified by using the Read instruction which returns
5. Power-off sequence:Set PB3 to “0”.
When writing or reading serial data to the ATtiny11/12, data is clocked on the rising
edge of the serial clock, see Figure 28, Figure 29 and Table 24 for details.
to “0” and wait at least 100 ns. Toggle PB3 at least four times with minimum 100
ns pulse-width. Set PB3 to “0”. Wait at least 100 ns. Apply 12V to PB5 and wait
at least 100 ns before changing PB0. Wait 8 µs before giving any instructions.
then the low and high data byte. The write instruction is self-timed, wait until the
PB2 (RDY/BSY) pin goes high.
ing first the address, then the data byte. The write instruction is self-timed, wait
until the PB2 (RDY/BSY) pin goes high.
the contents at the selected address at serial output PB2.
Turn V
Set PB5 to “1”.
CC
power off.
CC
and GND. Set PB5 and PB0
ATtiny11/12
49