ATtiny13 Atmel Corporation, ATtiny13 Datasheet - Page 112

no-image

ATtiny13

Manufacturer Part Number
ATtiny13
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny13

Flash (kbytes)
1 Kbytes
Pin Count
8
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
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
No
Crypto Engine
No
Sram (kbytes)
0.06
Eeprom (bytes)
64
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
1
Output Compare Channels
2
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny13-10SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-12SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-16PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-20MI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-20PU
Manufacturer:
NXP
Quantity:
2 000
Part Number:
ATtiny13-20PU
Manufacturer:
Atmel
Quantity:
37 287
Part Number:
ATtiny13-20SSI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13-20SSU
Quantity:
2 180
Company:
Part Number:
ATtiny13-20SSU
Quantity:
100
Company:
Part Number:
ATtiny13-20SSU
Quantity:
739
Part Number:
ATtiny13-20SSU-SL383
Manufacturer:
ATMEL
Quantity:
4 132
Part Number:
ATtiny13A-MMU
Manufacturer:
DP
Quantity:
34 000
Part Number:
ATtiny13A-MMUR
Manufacturer:
TI
Quantity:
4 430
Company:
Part Number:
ATtiny13A-PU
Quantity:
15 000
Table 17-13. High-Voltage Serial Programming Instruction Set for ATtiny13 (Continued)
Note:
Note:
17.8
17.8.1
112
Instruction
Read Signature
Bytes
Read
Calibration Byte
Load “No
Operation”
Command
a = address high bits, b = address low bits, d = data in high bits, e = data in low bits, p = data out high bits, q = data out low bits,
x = don’t care, 1 = Lock Bit1, 2 = Lock Bit2, 3 = CKSEL0 fuse, 4 = CKSEL1 fuse, 5 = SUT0 fuse, 6 = SUT1 fuse, 7 = CKDIV8,
fuse, 8 = WDTON fuse, 9 = EESAVE fuse, A = SPIEN fuse, B = RSTDISBL fuse, C = BODLEVEL0 fuse, D= BODLEVEL1 fuse,
E = MONEN fuse, F = SELFPRGEN fuse
The EEPROM is written page-wise. But only the bytes that are loaded into the page are actually written to the EEPROM. Page-
wise EEPROM access is more efficient when multiple bytes are to be written to the same page. Note that auto-erase of
EEPROM is not available in High-voltage Serial Programming, only in SPI Programming.
Considerations for Efficient Programming
ATtiny13
Chip Erase
SDI
SII
SDO
SDI
SII
SDO
SDI
SII
SDO
0_0000_1000_00
0_0000_1000_00
0_0000_0000_00
0_0100_1100_00
0_0100_1100_00
0_0100_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.1/5
The loaded command and address are retained in the device during programming. For efficient
programming, the following should be considered.
The Chip Erase will erase the Flash and EEPROM
not reset until the Program memory has been completely erased. The fuse bits are not changed.
A Chip Erase must be performed before the Flash and/or EEPROM are re-programmed.
Note:
• The command needs only be loaded once when writing or reading multiple memory
• Skip writing the data value 0xFF that is the contents of the entire EEPROM (unless the
• Address High byte needs only be loaded before programming or reading a new 256 word
1. Load command “Chip Erase” (see
2. Wait after Instr. 3 until SDO goes high for the “Chip Erase” cycle to finish.
3. Load Command “No Operation”.
locations.
EESAVE fuse is programmed) and Flash after a Chip Erase.
window in Flash or 256 byte EEPROM. This consideration also applies to Signature bytes
reading.
1. The EEPROM memory is preserved during Chip Erase if the EESAVE fuse is programmed.
0_0000_00bb_00
0_0000_000b_00
0_0000_1100_00
0_0000_1100_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.2/6
Instruction Format
0_0000_0000_00
0_0110_1000_00
0_0000_0000_00
0_0111_1000_00
x_xxxx_xxxx_xx
x_xxxx_xxxx_xx
Instr.3
Table 17-13 on page
q_qqqq_qqqx_xx
p_pppp_pppx_xx
0_0000_0000_00
0_0000_0000_00
0_0110_1100_00
0_0111_1100_00
(1)
memories plus lock bits. The lock bits are
Instr.4
110).
Operation Remarks
Repeats Instr 2 4 for each
signature byte address.
2535J–AVR–08/10

Related parts for ATtiny13