DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ATTINY22 データシートの表示(PDF) - Atmel Corporation

部品番号
コンポーネント説明
メーカー
ATTINY22 Datasheet PDF : 59 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
ATtiny22/22L
Table 17. Low-Voltage Serial Programming Instruction Set ATtiny22/L
Instruction Format
Instruction
Byte 1
Byte 2
Byte 3
Byte 4
Operation
Programming
Enable
1010 1100
0101 0011
xxxx xxxx
xxxx xxxx
Enable Serial Programming while
RESET is low.
Chip Erase
1010 1100
100x xxxx
xxxx xxxx
xxxx xxxx
Chip erase both Flash and
EEPROM memory arrays.
Read Program
Memory
0010 H000
0000 00aa
bbbb bbbb
oooo oooo
Read H (high or low) data o from
Program memory at word address
a:b.
Write Program
Memory
0100 H000
0000 00aa
bbbb bbbb
iiii iiii
Write H (high or low) data i to
Program memory at word address
a:b.
Read
EEPROM Memory
1010 0000
0000 0000
xbbb bbbb
oooo oooo
Read data o from EEPROM
memory at address b.
Write
EEPROM Memory
1100 0000
0000 0000
xbbb bbbb
iiii iiii
Write data i to EEPROM memory at
address b.
Read Lock and
Fuse Bits
0101 1000
xxxx xxxx
xxxx xxxx
12Sx xxxR
Read Lock and Fuse bits. ‘0’ =
programmed, ‘1’ = unprogrammed.
Write Lock Bits
1010 1100
1111 1211
xxxx xxxx
xxxx xxxx
Write Lock bits. Set bits 1,2 = ‘0’ to
program Lock bits.
Write RCEN Bit
1010 1100
1011 111R
xxxx xxxx
xxxx xxxx
Write RCEN Fuse. Set bit R = ‘0’ to
program, ‘1’ to unprogram.(1)
Read Signature
Bytes
0011 0000
xxxx xxxx
xxxx xxbb
oooo oooo
Read Signature byte o from
address b(2)
Note:
a = address high bits
b = address low bits
H = 0 - Low byte, 1- High byte
o = data out
i = data in
x = don’t care
1 = lock bit 1
2 = lock bit 2
R = RCEN Fuse
S = SPIEN Fuse
Notes: 1. When the state of the RCEN bit is changed, the device must be power cycled for the changes to have any effect.
2. The signature bytes are not readable in Lock mode 3, i.e. both Lock bits programmed.
41

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]