ATTINY24-20PU Atmel, ATTINY24-20PU Datasheet - Page 145

IC MCU AVR 2K FLASH 20MHZ 14-DIP

ATTINY24-20PU

Manufacturer Part Number
ATTINY24-20PU
Description
IC MCU AVR 2K FLASH 20MHZ 14-DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY24-20PU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
12
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
14-DIP (0.300", 7.62mm)
Processor Series
ATTINY2x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
2
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIP770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAGATAVRISP2 - PROGRAMMER AVR IN SYSTEMATSTK505 - ADAPTER KIT FOR 14PIN AVR MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
16.13 Register Description
16.13.1
8006K–AVR–10/10
ADMUX – ADC Multiplexer Selection Register
• Bits 7:6 – REFS1, REFS0: Reference Selection Bits
These bits select the voltage reference for the ADC, as shown in
Table 16-3.
If these bits are changed during a conversion, the change will not go in effect until this
conversion is complete (ADIF in ADCSR is set). Also note, that when these bits are changed,
the next conversion will take 25 ADC clock cycles.
Special care should be taken when changing differential channels. Once a differential channel
has been selected the input stage may take a while to stabilize. It is therefore recommended to
force the ADC to perform a long conversion when changing multiplexer or voltage reference set-
tings. This can be done by first turning off the ADC, then changing reference settings and then
turn on the ADC. Alternatively, the first conversion results after changing reference settings
should be discarded.
It is not recommended to use an external AREF higher than (V
ential gain, as this will affect ADC accuracy.
Internal voltage reference options may not be used if an external voltage is being applied to the
AREF pin.
• Bits 5:0 – MUX5:0: Analog Channel and Gain Selection Bits
The value of these bits selects which combination of analog inputs are connected to the ADC. In
case of differential input, gain selection is also made with these bits. Selections on
page 146
the offset calibration selections are located. Selecting the single-ended channel ADC8 enables
the temperature measurement. See
changed during a conversion, the change will not go into effect until this conversion is complete
(ADIF in ADCSRA is set).
Special care should be taken when changing differential channels. Once a differential channel
has been selected the input stage may take a while to stabilize. It is therefore recommended to
force the ADC to perform a long conversion when changing multiplexer settings. This can be
Bit
0x07 (0x27)
Read/Write
Initial Value
REFS1
0
0
1
1
show values for single endid channels and where the differential channels as well as
REFS0
Voltage Reference Selections for ADC
REFS1
0
1
0
1
R/W
7
0
Voltage Reference Selection
V
External voltage reference at PA0 (AREF) pin, internal reference turned off
Internal 1.1V voltage reference
Reserved
CC
REFS0
R/W
6
0
used as analog reference, disconnected from PA0 (AREF)
MUX5
R/W
5
0
Table 16-4 on page 146
MUX4
R/W
4
0
MUX3
R/W
3
0
MUX2
R/W
2
0
CC
Table
for details. If these bits are
- 1V) for channels with differ-
ATtiny24/44/84
MUX1
R/W
16-3.
1
0
MUX0
R/W
0
0
Table 16-4 on
ADMUX
145

Related parts for ATTINY24-20PU