ATtiny48 Atmel Corporation, ATtiny48 Datasheet - Page 199
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATtiny48
Manufacturer Part Number
ATtiny48
Description
Manufacturer
Atmel Corporation
Specifications of ATtiny48
Flash (kbytes)
4 Kbytes
Pin Count
32
Max. Operating Frequency
12 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
28
Ext Interrupts
28
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Eeprom (bytes)
64
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
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
4
Input Capture Channels
1
Pwm Channels
2
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny48-10AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny48-12AU
Manufacturer:
ATMEL
Quantity:
3 046
Part Number:
ATtiny48-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny48-AUR
Manufacturer:
Atmel
Quantity:
5 975
Company:
Part Number:
ATtiny48-MU
Manufacturer:
Atmel
Quantity:
5
Company:
Part Number:
ATtiny48-MU
Manufacturer:
LT
Quantity:
416
Part Number:
ATtiny48-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny48-MUR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny48-PU
Manufacturer:
ATMEL
Quantity:
5 530
21.2.11
21.2.12
8008H–AVR–04/11
Programming the Lock Bits
Reading Fuse and Lock Bits
Figure 21-5. Programming the FUSES Waveforms
The algorithm for programming the lock bits is as follows (see
194
Lock bits can only be cleared by executing Chip Erase.
The algorithm for reading fuse and lock bits is as follows (see
194
Fuse and lock bit mapping is illustrated in
RESET +12V
• A: Load command “0010 0000”
• C: Load data low byte. Bit n = “0” programs the Lock bit. If LB1 and LB2 have been
• Give WR a negative pulse and wait for RDY/BSY to go high
• A: Load command “0000 0100”
• Set OE to “0”, BS2 to “0” and BS1 to “0”. Low fuse bits can now be read at DATA (“0” means
• Set OE to “0”, BS2 to “1” and BS1 to “1”. High fuse bits can now be read at DATA (“0” means
• Set OE to “0”, BS2 to “1”, and BS1 to “0”. Extended fuse bits can now be read at DATA (“0”
• Set OE to “0”, BS2 to “0” and BS1 to “1”. Lock bits can now be read at DATA (“0” means
• Set OE to “1”
RDY/BSY
programmed, it is not possible to program the Lock Bits by any External Programming mode
programmed)
programmed)
means programmed)
programmed)
PAGEL
for details on command and data loading):
for details on command loading):
CLKI
DATA
XA1
XA0
BS1
BS2
WR
OE
0x40
A
DATA
C
Write Fuse Low byte
XX
0x40
A
Figure
DATA
C
21-6, below.
Write Fuse high byte
XX
“Programming the Flash” on page
“Programming the Flash” on page
0x40
A
ATtiny48/88
DATA
C
Write Extended Fuse byte
XX
199