ATtiny87 Atmel Corporation, ATtiny87 Datasheet - Page 86
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATtiny87
Manufacturer Part Number
ATtiny87
Description
Manufacturer
Atmel Corporation
Specifications of ATtiny87
Flash (kbytes)
8 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
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
3
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATtiny87-A15MZ
Manufacturer:
Atmel
Quantity:
12 127
Company:
Part Number:
ATtiny87-A15SZ
Manufacturer:
Atmel
Quantity:
3 722
Company:
Part Number:
ATtiny87-A15XZ
Manufacturer:
Atmel
Quantity:
8 895
Part Number:
ATtiny87-SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
ATtiny87-SUR
Manufacturer:
Atmel
Quantity:
323
Company:
Part Number:
ATtiny87-XUR
Manufacturer:
ATMEL
Quantity:
8 272
- Current page: 86 of 292
- Download datasheet (6Mb)
9.4
9.4.1
9.4.2
9.4.3
9.4.4
9.4.5
9.4.6
86
Register Description
ATtiny87/ATtiny167
PORTA – Port A Data Register
DDRA – Port A Data Direction Register
PINA – Port A Input Pins Register
PORTB – Port B Data Register
DDRB – Port B Data Direction Register
PINB – Port B Input Pins Register
Bit
0x02 (0x22)
Read/Write
Initial Value
Bit
0x01 (0x21)
Read/Write
Initial Value
Bit
0x00 (0x20)
Read/Write
Initial Value
Bit
0x05 (0x25)
Read/Write
Initial Value
Bit
0x04 (0x24)
Read/Write
Initial Value
Bit
0x03 (0x23)
Read/Write
Initial Value
PORTA7
PORTB7
PINA7
PINB7
DDA7
DDB7
R/(W)
R/(W)
R/W
R/W
R/W
R/W
N/A
N/A
7
0
7
0
7
7
0
7
7
0
PORTA6
PORTB6
PINA6
PINB6
DDA6
DDB6
R/(W)
R/(W)
R/W
R/W
R/W
R/W
N/A
N/A
6
0
6
0
6
6
0
6
0
6
PORTA5
PORTB5
PINA5
PINB5
DDA5
DDB5
R/(W)
R/(W)
R/W
R/W
R/W
R/W
N/A
N/A
5
0
5
0
5
5
0
5
0
5
PORTA4
PORTB4
PINA4
PINB4
DDA4
DDB4
R/(W)
R/(W)
R/W
R/W
R/W
N/A
R/W
N/A
4
0
4
0
4
4
0
4
4
0
PORTA3
PORTB3
PINA3
PINB3
DDA3
DDB3
R/(W)
R/(W)
R/W
R/W
R/W
R/W
N/A
N/A
3
0
3
0
3
3
0
3
3
0
PORTA2
PORTB2
PINA2
PINB2
DDA2
R/(W)
DDB2
R/(W)
R/W
R/W
R/W
R/W
N/A
N/A
2
0
2
0
2
2
0
2
2
0
PORTA1
PORTB1
PINA1
PINB1
DDA1
R/(W)
DDB1
R/(W)
R/W
R/W
R/W
N/A
R/W
N/A
1
0
1
0
1
1
0
1
1
0
PORTA0
PORTB0
PINA0
PINB0
DDA0
DDB0
R/(W)
R/(W)
R/W
R/W
R/W
N/A
R/W
N/A
0
0
0
0
0
0
0
0
0
0
8265B–AVR–09/10
PORTA
PORTB
DDRA
DDRB
PINA
PINB
Related parts for ATtiny87
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
![ATF22V10B-25PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51ED2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT24C01](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
![U6046B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: