ATTINY5-MAH Atmel, ATTINY5-MAH Datasheet - Page 18

IC MCU AVR 512B FLASH 8UDFN

ATTINY5-MAH

Manufacturer Part Number
ATTINY5-MAH
Description
IC MCU AVR 512B FLASH 8UDFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY5-MAH

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Peripherals
POR, PWM, WDT
Number Of I /o
4
Program Memory Size
512B (256 x 16)
Program Memory Type
FLASH
Ram Size
32 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-UFDFN Exposed Pad
Core
AVR8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
6.1.4
6.2
6.2.1
6.2.2
18
Clock Sources
ATtiny4/5/9/10
ADC Clock – clk
Calibrated Internal 8 MHz Oscillator
External Clock
The ADC is provided with a dedicated clock domain. This allows halting the CPU and I/O clocks
in order to reduce noise generated by digital circuitry. This gives more accurate ADC conversion
results.
The ADC is available in ATtiny5/10, only.
All synchronous clock signals are derived from the main clock. The device has three alternative
sources for the main clock, as follows:
See
The calibrated internal oscillator provides an approximately 8 MHz clock signal. Though voltage
and temperature dependent, this clock can be very accurately calibrated by the user. See
16-2 on page
This clock may be selected as the main clock by setting the Clock Main Select bits CLKMS[1:0]
in CLKMSR to 0b00. Once enabled, the oscillator will operate with no external components. Dur-
ing reset, hardware loads the calibration byte into the OSCCAL register and thereby
automatically calibrates the oscillator. The accuracy of this calibration is shown as Factory cali-
bration in
When this oscillator is used as the main clock, the watchdog oscillator will still be used for the
watchdog timer and reset time-out. For more information on the pre-programmed calibration
value, see section
To use the device with an external clock source, CLKI should be driven as shown in
The external clock is selected as the main clock by setting CLKMS[1:0] bits in CLKMSR to 0b10.
Figure 6-2.
When applying an external clock, it is required to avoid sudden changes in the applied clock fre-
quency to ensure stable operation of the MCU. A variation in frequency of more than 2% from
one clock cycle to the next can lead to unpredictable behavior. It is required to ensure that the
MCU is kept in reset during such changes in the clock frequency.
ADC
• Calibrated Internal 8 MHz Oscillator (see
• External Clock (see
• Internal 128 kHz Oscillator (see
Table 6-3 on page 21
Table 16-2 on page
119,
External Clock Drive Configuration
“Calibration Section” on page
Figure 17-39 on page 143
page
on how to select and change the active clock source.
EXTERNAL
18)
119.
SIGNAL
CLOCK
page
19)
page
and
111.
Figure 17-40 on page 143
18)
CLKI
GND
for more details.
8127D–AVR–02/10
Figure
Table
6-2.

Related parts for ATTINY5-MAH