ATtiny87 Atmel Corporation, ATtiny87 Datasheet - Page 287
![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
11 Timer/Counter1 Prescaler ................................................................... 107
12 16-bit Timer/Counter1 .......................................................................... 110
13 SPI - Serial Peripheral Interface .......................................................... 140
14 USI – Universal Serial Interface .......................................................... 149
15 LIN / UART - Local Interconnect Network Controller or UART ........ 162
10.9
10.10
10.11
11.1
11.2
12.1
12.2
12.3
12.4
12.5
12.6
12.7
12.8
12.9
12.10
12.11
13.1
13.2
13.3
14.1
14.2
14.3
14.4
14.5
15.1
15.2
15.3
15.4
15.5
Asynchronous Operation of Timer/Counter0 ...................................................98
Timer/Counter0 Prescaler .............................................................................100
Register Description ......................................................................................100
Overview ........................................................................................................107
Register Description ......................................................................................109
Features ........................................................................................................110
Overview ........................................................................................................110
Accessing 16-bit Registers ............................................................................112
Timer/Counter Clock Sources .......................................................................115
Counter Unit ..................................................................................................116
Input Capture Unit .........................................................................................117
Output Compare Units ...................................................................................119
Compare Match Output Unit ..........................................................................120
Modes of Operation .......................................................................................122
Timer/Counter Timing Diagrams ...................................................................130
Register Description ......................................................................................132
Features ........................................................................................................140
SS Pin Functionality ......................................................................................145
Data Modes ...................................................................................................148
Features ........................................................................................................149
Overview ........................................................................................................149
Functional Descriptions .................................................................................150
Alternative USI Usage ...................................................................................156
Register Description ......................................................................................156
LIN Features ..................................................................................................162
UART Features ..............................................................................................162
LIN Protocol ...................................................................................................163
LIN / UART Controller ....................................................................................164
LIN / UART Description .................................................................................170
iii