ATtiny85 Atmel Corporation, ATtiny85 Datasheet - Page 164

no-image

ATtiny85

Manufacturer Part Number
ATtiny85
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny85

Flash (kbytes)
8 Kbytes
Pin Count
8
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
3
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny85-15SZ
Manufacturer:
ATMEL
Quantity:
30
Part Number:
ATtiny85-20PU
Manufacturer:
CUI
Quantity:
1 000
Part Number:
ATtiny85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny85V-10SH
Manufacturer:
Intel
Quantity:
62
Part Number:
ATtiny85V-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Table 20-16. High-voltage Serial Programming Instruction Set for ATtiny25/45/85 (Continued)
164
Instruction
Write
EEPROM
Byte
Load “Read
EEPROM”
Command
Read
EEPROM
Byte
Write Fuse
Low Bits
Write Fuse
High Bits
Write Fuse
Extended Bits
Write Lock
Bits
Read Fuse
Low Bits
Read Fuse
High Bits
Read Fuse
Extended Bits
Read Lock
Bits
Read
Signature
Bytes
Read
Calibration
Byte
Load “No
Operation”
Command
ATtiny25/45/85
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
0_bbbb_bbbb_00
0_bbbb_bbbb_00
0_0000_1100_00
0_0000_0000_00
0_0110_0100_00
0_0000_0011_00
0_0100_1100_00
0_0000_1100_00
0_0100_0000_00
0_0100_1100_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_0100_00
0_0100_1100_00
0_0000_1000_00
0_0100_1100_00
0_0000_1000_00
0_0100_1100_00
0_0000_0000_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
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.1/5
0_IHGF_EDCB_00
0_A987_6543_00
0_0000_00bb_00
0_aaaa_aaaa_00
0_0001_1100_00
0_0000_0000_00
0_0110_1100_00
0_aaaa_aaaa_00
0_0001_1100_00
0_0010_1100_00
0_0010_1100_00
0_0000_000J_00
0_0010_1100_00
0_0000_0021_00
0_0010_1100_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0111_1010_00
0_0000_0000_00
0_0110_1010_00
0_0000_0000_00
0_0111_1000_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
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.2/6
Instruction Format
I_HGFE_DCBx_xx
0_eeee_eeee_00
0_0010_1100_00
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0111_0100_00
0_0000_0000_00
0_0110_0110_00
0_0000_0000_00
0_0110_0100_00
0_0000_0000_00
0_0110_1100_00
A_9876_543x_xx
0_0000_0000_00
0_0111_1110_00
0_0000_0000_00
0_0110_1110_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_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_xxJx_xx
x_xxxx_x21x_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.3
q_qqqq_qqq0_00
q_qqqq_qqqx_xx
p_pppp_pppx_xx
0_0000_0000_00
0_0110_1101_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_1110_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
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.4
Operation Remarks
Repeat Instr. 1 - 6 for each
new address. Wait after Instr.
6 until SDO goes high.
Instr. 6
Enter EEPROM Read mode.
Repeat Instr. 1, 3 - 4 for each
new address. Repeat Instr. 2
for a new 256 byte page.
Wait after Instr. 4 until SDO
goes high. Write A - 3 = “0” to
program the Fuse bit.
Wait after Instr. 4 until SDO
goes high. Write I - B = “0” to
program the Fuse bit.
Wait after Instr. 4 until SDO
goes high. Write J = “0” to
program the Fuse bit.
Wait after Instr. 4 until SDO
goes high. Write 2 - 1 = “0” to
program the Lock bit.
Reading A - 3 = “0” means
the Fuse bit is programmed.
Reading I - B = “0” means the
Fuse bit is programmed.
Reading J = “0” means the
Fuse bit is programmed.
Reading 2, 1 = “0” means the
Lock bit is programmed.
Repeats Instr 2 4 for each
signature byte address.
2586N–AVR–04/11
(4)

Related parts for ATtiny85