ATTINY87-15SZ Atmel, ATTINY87-15SZ Datasheet - Page 193
![MCU AVR 8K FLASH 15MZ 32-SOIC](/photos/6/80/68042/453-20-soic_sml.jpg)
ATTINY87-15SZ
Manufacturer Part Number
ATTINY87-15SZ
Description
MCU AVR 8K FLASH 15MZ 32-SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY167-15MD.pdf
(283 pages)
Specifications of ATTINY87-15SZ
Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, LIN, SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
16
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 193 of 283
- Download datasheet (5Mb)
17.3
7728G–AVR–06/10
Operation
The ADC converts an analog input voltage to a 10-bit digital value through successive approx-
imation. The minimum value represents AGND and the maximum value represents the voltage
on AVcc, the voltage refrence on AREF pin or an internal 1.1V / 2.56V voltage reference.
The voltage reference for the ADC may be selected by writing to the REFS[1..0] bits in
ADMUX and AREFEN bit in AMISCR. The AVcc supply, the AREF pin or an internal 1.1V /
2.56V voltage reference may be selected as the ADC voltage reference.
The analog input channel and differential gain are selected by writing to the MUX[4..0] bits in
ADMUX register. Any of the 11 ADC input pins ADC[10..0] can be selected as single ended
inputs to the ADC. The positive and negative inputs to the differential gain amplifier are
described in
If differential channels are selected, the differential gain stage amplifies the voltage difference
between the selected input pair by the selected gain factor 8x or 20x, according to the setting
of the MUX[4..0] bits in ADMUX register. This amplified value then becomes the analog input
to the ADC. If single ended channels are used, the gain amplifier is bypassed altogether.
The on-chip temperature sensor is selected by writing the code defined in
MUX[4..0] bits in ADMUX register when its dedicated ADC channel is used as an ADC input.
A specific ADC channel (defined in
ies of an external resistance flowing by a current driving by the Internal Current Source
(ISRC).
The ADC is enabled by setting the ADC Enable bit, ADEN in ADCSRA register. Voltage refer-
ence and input channel selections will not go into effect until ADEN is set. The ADC does not
consume power when ADEN is cleared, so it is recommended to switch off the ADC before
entering power saving sleep modes.
The ADC generates a 10-bit result which is presented in the ADC Data Registers, ADCH and
ADCL. By default, the result is presented right adjusted, but can optionally be presented left
adjusted by setting the ADLAR bit in ADMUX register.
If the result is left adjusted and no more than 8-bit precision is required, it is sufficient to read
ADCH. Otherwise, ADCL must be read first, then ADCH, to ensure that the content of the data
registers belongs to the same conversion. Once ADCL is read, ADC access to data registers
is blocked. This means that if ADCL has been read, and a conversion completes before ADCH
is read, neither register is updated and the result from the conversion is lost. When ADCH is
read, ADC access to the ADCH and ADCL Registers is re-enabled.
The ADC has its own interrupt which can be triggered when a conversion completes. When
ADC access to the data registers is prohibited between reading of ADCH and ADCL, the inter-
rupt will trigger even if the result is lost.
Table
17-5.
Table
17-5) is used to measure the voltage to the boundar-
ATtiny87/ATtiny167
Table 17-5
to the
193
Related parts for ATTINY87-15SZ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny87](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny87 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY87-15MZ](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8K FLASH 15MZ 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY87-XU](/photos/39/70/397036/tssop20_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 20TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY87-15XZ](/photos/6/80/68045/313-20-tssop_tmb.jpg)
Part Number:
Description:
MCU AVR 8K FLASH 15MZ 20-TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY87-SU](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 20SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY87-SUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 20SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY87-XUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 20TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY87-MU](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 32QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY87-MUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K FLASH 32QFN
Manufacturer:
Atmel
Datasheet:
![ATSTK600](/photos/9/20/92038/atstk600_tmb.jpg)
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet: