ATtiny87 Atmel Corporation, ATtiny87 Datasheet - Page 273
![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
8265B–AVR–09/10
0x3D (0x5D)
0x3C (0x5C)
0x2D (0x4D)
0x2C (0x4C)
0x1D (0x3D)
0x1C (0x3C)
0x3E (0x5E)
0x3B (0x5B)
0x3A (0x5A)
0x2E (0x4E)
0x2B (0x4B)
0x2A (0x4A)
0x1E (0x3E)
0x1B (0x3B)
0x3F (0x5F)
0x39 (0x59)
0x38 (0x58)
0x37 (0x57)
0x36 (0x56)
0x35 (0x55)
0x34 (0x54)
0x33 (0x53)
0x32 (0x52)
0x31 (0x51)
0x30 (0x50)
0x2F (0x4F)
0x29 (0x49)
0x28 (0x48)
0x27 (0x47)
0x26 (0x46)
0x25 (0x45)
0x24 (0x44)
0x23 (0x43)
0x22 (0x42)
0x21 (0x41)
0x20 (0x40)
0x1F (0x3F)
Address
(0x7C)
(0x7B)
(0x7A)
(0x79)
(0x78)
(0x77)
(0x76)
(0x75)
(0x74)
(0x73)
(0x72)
(0x71)
(0x70)
(0x6F)
(0x6E)
(0x6D)
(0x6C)
(0x6B)
(0x6A)
(0x69)
(0x68)
(0x67)
(0x66)
(0x65)
(0x64)
(0x63)
(0x62)
(0x61)
(0x60)
CLKSELR
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
ADCSRB
ADCSRA
SPMCSR
EEARH
PCMSK1
PCMSK0
OSCCAL
CLKCSR
TCCR0B
TCCR0A
AMISCR
ADMUX
TIMSK1
TIMSK0
WDTCR
MCUCR
MCUSR
GPIOR2
GPIOR1
GPIOR0
OCR0A
GTCCR
CLKPR
EEARL
Name
EICRA
PCICR
DWDR
TCNT0
EIMSK
ADCH
SMCR
PCIFR
ADCL
SREG
ACSR
SPDR
SPSR
SPCR
EEDR
EECR
EIFR
PRR
SPH
SPL
(1)
ADC7 / ADC1
GPIOR27
GPIOR17
GPIOR07
PCINT15
CLKCCE
COM0A1
- / ADC9
CLKPCE
OCR0A7
DWDR7
TCNT07
PCINT7
FOC0A
EEAR7
EEDR7
REFS1
ADEN
Bit 7
CAL7
WDIF
SPD7
SP15
SPIE
ACD
SPIF
TSM
SP7
BIN
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
I
ADC6 / ADC0
GPIOR26
GPIOR16
GPIOR06
PCINT14
COM0A0
- / ADC8
RWWSB
OCR0A6
DWDR6
TCNT06
PCINT6
EEAR6
EEDR6
REFS0
ACIRS
ACME
WCOL
ADSC
COUT
BODS
Bit 6
CAL6
WDIE
SP14
SPD6
SP6
SPE
–
–
–
–
–
–
–
–
T
–
–
–
–
–
–
–
–
–
–
GPIOR25
GPIOR15
GPIOR05
PCINT13
- / ADC7
ADC5 / -
OCR0A5
DWDR5
TCNT05
PCINT5
BODSE
ADLAR
ADATE
CSUT1
EEAR5
EEDR5
EEPM1
SIGRD
ACIR1
PRLIN
WDP3
DORD
Bit 5
ICIE1
CAL5
SP13
SPD5
ACO
SP5
H
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
GPIOR24
GPIOR14
GPIOR04
PCINT12
CLKRDY
OCR0A4
- / ADC6
ADC4 / -
TCNT04
DWDR4
PCINT4
EEPM0
CSUT0
EEAR4
EEDR4
PRSPI
WDCE
ACIR0
MSTR
MUX4
CTPB
SPD4
Bit 4
CAL4
SP12
ADIF
PUD
SP4
ACI
S
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
GPIOR23
GPIOR13
GPIOR03
PCINT11
OCR0A3
- / ADC5
ADC3 / -
CLKPS3
TCNT03
PRTIM1
DWDR3
PCINT3
CSEL3
CLKC3
EEAR3
EEDR3
WDRF
EERIE
ISC11
MUX3
SPD3
CPOL
Bit 3
CAL3
SP11
RFLB
ADIE
WDE
ACIE
SP3
V
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
GPIOR22
GPIOR12
GPIOR02
AREFEN
PCINT10
OCR0A2
- / ADC4
ADC2 / -
CLKPS2
TCNT02
OCIE1B
PCINT2
PRTIM0
PGWRT
DWDR2
EEMPE
ADTS2
ADPS2
CSEL2
CLKC2
EEAR2
EEDR2
MUX2
ISC10
WDP2
BORF
CPHA
SPD2
Bit 2
CAL2
SP10
ACIC
CS02
SM1
SP2
N
–
–
–
–
–
–
–
–
–
–
–
ADC9 / ADC3
GPIOR21
GPIOR11
GPIOR01
XREFEN
OCR0A1
ADC1 / -
CLKPS1
TCNT01
OCIE1A
OCIE0A
DWDR1
WGM01
PCINT9
PCINT1
PGERS
ADTS1
ADPS1
CLKC1
EXTRF
EEAR1
EEDR1
PRUSI
CSEL1
PCIE1
WDP1
ACIS1
PCIF1
MUX1
ISC01
SPD1
SPR1
PSR0
EEPE
INTF1
Bit 1
CAL1
CS01
SM0
INT1
SP9
SP1
Z
–
–
–
–
ADC8 / ADC2
GPIOR20
GPIOR10
GPIOR00
CLKPS0
OCR0A0
ISRCEN
DWDR0
TCNT00
WGM00
PCINT8
PCINT0
PRADC
SPMEN
ADPS0
EEAR8
EEAR0
EEDR0
ADTS0
ADC0 /
CSEL0
CLKC0
TOIE1
TOIE0
PCIE0
WDP0
ACIS0
MUX0
ISC00
PORF
SPI2X
EERE
INTF0
PCIF0
Bit 0
CAL0
SPD0
SPR0
CS00
PSR1
INT0
SP8
SP0
SE
C
–
–
page
page
page
page
page 205
page 207
page 208
page 208
page 138
page 105
page 219
page 216
page 213
page 147
page 147
page 145
page 103
page 103
page 102
page 100
209,
190,
106,
page 65
page 65
page 63
page 64
page 37
page 47
page 40
page 38
page 38
page 57
page 11
page 11
page 52
page 46
page 23
page 23
page 21
page 21
page 22
page 22
page 23
page 63
page 64
page 65
page 9
Page
47,
page 213
page 210
page 75
page 109
273