ATtiny87 Atmel Corporation, ATtiny87 Datasheet - Page 238

no-image

ATtiny87

Manufacturer Part Number
ATtiny87
Description
Manufacturer
Atmel Corporation
Datasheets

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
Part Number:
ATtiny87-A15MZ
Manufacturer:
Atmel
Quantity:
12 127
Part Number:
ATtiny87-A15SZ
Manufacturer:
Atmel
Quantity:
3 722
Part Number:
ATtiny87-A15XZ
Manufacturer:
Atmel
Quantity:
8 895
Part Number:
ATtiny87-SU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
ATtiny87-SUR
Manufacturer:
Atmel
Quantity:
323
Part Number:
ATtiny87-XUR
Manufacturer:
ATMEL
Quantity:
8 272
21.7.15
21.8
238
Serial Downloading
ATtiny87/ATtiny167
Reading the Temperature Sensor Parameter Bytes
The algorithm for reading the Temperature Sensor parameter bytes is as follows (refer to
gramming the Flash” on page 232
Both the Flash and EEPROM memory arrays can be programmed using the serial SPI bus
while RESET is pulled to GND. The serial interface consists of pins SCK, MOSI (input) and
MISO (output). After RESET is set low, the Programming Enable instruction needs to be exe-
cuted first before program/erase operations can be executed.
Note:
Figure 21-7. Serial Programming and Verify
Note:
Table 21-13. Pin Mapping Serial Programming
When programming the EEPROM, an auto-erase cycle is built into the self-timed program-
ming operation (in the Serial mode ONLY) and there is no need to first execute the Chip Erase
instruction. The Chip Erase operation turns the content of every memory location in both the
Program and EEPROM arrays into 0xFF.
1. A: Load Command “0000 1000
2. B: Load Address Low Byte, 0x0003 or 0x0005.
3. Set OE to “0”, and BS1 to “1”. The Temperature Sensor parameter byte can now be
4. Set OE to “1”.
read at DATA.
In
dedicated for the internal SPI interface.
If the device is clocked by the internal Oscillator, it is no need to connect a clock source to the
XTAL1 pin
Symbol
MOSI
MISO
SCK
Table
21-13, the pin mapping for SPI programming is listed. Not all parts use the SPI pins
MOSI
MISO
SCK
Pin Name
PA4
PA2
PA5
for details on Command and Address loading):
PA4
PA2
PA5
RESET / PB7
GND
b
”.
I/O
O
I
I
Function
Serial Data In
Serial Data Out
Serial Clock
(Note:)
Vcc
+1.8 - +5.5V
8265B–AVR–09/10
“Pro-

Related parts for ATtiny87