ATtiny13A Atmel Corporation, ATtiny13A Datasheet - Page 102

no-image

ATtiny13A

Manufacturer Part Number
ATtiny13A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny13A

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
Yes
Temp. Range (deg C)
-40 to 125
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:
ATtiny13A-MMU
Manufacturer:
DP
Quantity:
34 000
Part Number:
ATtiny13A-MMU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13A-MMUR
Manufacturer:
TI
Quantity:
4 430
Company:
Part Number:
ATtiny13A-PU
Quantity:
15 000
Part Number:
ATtiny13A-SFR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny13A-SHR
Manufacturer:
Laird Technologies Inc
Quantity:
400 000
Part Number:
ATtiny13A-SN
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
ATtiny13A-SS7R
Manufacturer:
Atmel
Quantity:
8 052
Part Number:
ATtiny13A-SSU
Manufacturer:
ATMEL
Quantity:
500
Part Number:
ATtiny13A-SSU
Manufacturer:
ST
0
Part Number:
ATtiny13A-SSU
Manufacturer:
ATMEL可看货
Quantity:
20 000
Company:
Part Number:
ATtiny13A-SSU
Quantity:
7 450
Company:
Part Number:
ATtiny13A-SSU
Quantity:
16 000
Part Number:
ATtiny13A-SSUR
Manufacturer:
ATMEL
Quantity:
8 000
Part Number:
ATtiny13A-SSUR
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
ATtiny13A-SSUR
Quantity:
3 900
Part Number:
ATtiny13A-SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
16.9
16.9.1
102
Register Description
ATtiny13A
SPMCSR – Store Program Memory Control and Status Register
The Store Program Memory Control and Status Register contains the control bits needed to con-
trol the Program memory operations.
• Bits 7:5 – Res: Reserved Bits
These bits are reserved bits in the ATtiny13A and always read as zero.
• Bit 4 – CTPB: Clear Temporary Page Buffer
If the CTPB bit is written while filling the temporary page buffer, the temporary page buffer will be
cleared and the data will be lost.
• Bit 3 – RFLB: Read Fuse and Lock Bits
An LPM instruction within three cycles after RFLB and SELFPRGEN are set in the SPMCSR
Register, will read either the lock bits or the fuse bits (depending on Z0 in the Z-pointer) into the
destination register. See
• Bit 2 – PGWRT: Page Write
If this bit is written to one at the same time as SELFPRGEN, the next SPM instruction within four
clock cycles executes Page Write, with the data stored in the temporary buffer. The page
address is taken from the high part of the Z-pointer. The data in R1 and R0 are ignored. The
PGWRT bit will auto-clear upon completion of a Page Write, or if no SPM instruction is executed
within four clock cycles. The CPU is halted during the entire Page Write operation.
• Bit 1 – PGERS: Page Erase
If this bit is written to one at the same time as SELFPRGEN, the next SPM instruction within four
clock cycles executes Page Erase. The page address is taken from the high part of the Z-
pointer. The data in R1 and R0 are ignored. The PGERS bit will auto-clear upon completion of a
Page Erase, or if no SPM instruction is executed within four clock cycles. The CPU is halted dur-
ing the entire Page Write operation.
• Bit 0 – SELFPRGEN: Self Programming Enable
This bit enables the SPM instruction for the next four clock cycles. If written to one together with
either CTPB, RFLB, PGWRT, or PGERS, the following SPM instruction will have a special
meaning, see description above. If only SELFPRGEN is written, the following SPM instruction
will store the value in R1:R0 in the temporary page buffer addressed by the Z-pointer. The LSB
of the Z-pointer is ignored. The SELFPRGEN bit will auto-clear upon completion of an SPM
instruction, or if no SPM instruction is executed within four clock cycles. During Page Erase and
Page Write, the SELFPRGEN bit remains high until the operation is completed.
Writing any other combination than “10001”, “01001”, “00101”, “00011” or “00001” in the lower
five bits will have no effect.
Bit
0x37
Read/Write
Initial Value
R
7
0
“EEPROM Write Prevents Writing to SPMCSR” on page 100
R
6
0
R
5
0
CTPB
R/W
4
0
RFLB
R/W
3
0
PGWRT
R/W
2
0
PGERS
R/W
1
0
SELFPRGEN
R/W
0
0
8126E–AVR–07/10
for details.
SPMCSR

Related parts for ATtiny13A