ATTINY85-20SU Atmel, ATTINY85-20SU Datasheet - Page 32

IC AVR MCU 8K 20MHZ 8SOIC

ATTINY85-20SU

Manufacturer Part Number
ATTINY85-20SU
Description
IC AVR MCU 8K 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY85-20SU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
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 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Processor Series
ATTINY8x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
USI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
6
Number Of Timers
2
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
4-ch x 10-bit
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIPATAVRBC100 - REF DESIGN KIT BATTERY CHARGER770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAG770-1004 - ISP 4PORT FOR ATMEL AVR MCU SPIATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATAVRISP2 - PROGRAMMER AVR IN SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
6.4
6.5
6.5.1
32
Clock Output Buffer
Register Description
ATtiny25/45/85
OSCCAL – Oscillator Calibration Register
The device can output the system clock on the CLKO pin (when not used as XTAL2 pin). To
enable the output, the CKOUT Fuse has to be programmed. This mode is suitable when the chip
clock is used to drive other circuits on the system. Note that the clock will not be output during
reset and that the normal operation of the I/O pin will be overridden when the fuse is pro-
grammed. Internal RC Oscillator, WDT Oscillator, PLL, and external clock (CLKI) can be
selected when the clock is output on CLKO. Crystal oscillators (XTAL1, XTAL2) can not be used
for clock output on CLKO. If the System Clock Prescaler is used, it is the divided system clock
that is output.
• Bits 7:0 – CAL[7:0]: Oscillator Calibration Value
The Oscillator Calibration Register is used to trim the Calibrated Internal RC Oscillator to
remove process variations from the oscillator frequency. A pre-programmed calibration value is
automatically written to this register during chip reset, giving the Factory calibrated frequency as
specified in
the oscillator frequency. The oscillator can be calibrated to frequencies as specified in
2 on page
Note that this oscillator is used to time EEPROM and Flash write accesses, and these write
times will be affected accordingly. If the EEPROM or Flash are written, do not calibrate to more
than 8.8 MHz. Otherwise, the EEPROM or Flash write may fail.
The CAL7 bit determines the range of operation for the oscillator. Setting this bit to 0 gives the
lowest frequency range, setting this bit to 1 gives the highest frequency range. The two fre-
quency ranges are overlapping, in other words a setting of OSCCAL = 0x7F gives a higher
frequency than OSCCAL = 0x80.
The CAL[6:0] bits are used to tune the frequency within the selected range. A setting of 0x00
gives the lowest frequency in that range, and a setting of 0x7F gives the highest frequency in the
range.
To ensure stable operation of the MCU the calibration value should be changed in small. A vari-
ation in frequency of more than 2% from one cycle to the next can lead to unpredicatble
behavior. Changes in OSCCAL should not exceed 0x20 for each calibration. It is required to
ensure that the MCU is kept in Reset during such changes in the clock frequency
Table 6-14.
Bit
0x31
Read/Write
Initial Value
OSCCAL Value
0x3F
0x7F
0x00
169. Calibration outside that range is not guaranteed.
Table 21-2 on page
Internal RC Oscillator Frequency Range
CAL7
R/W
7
with Respect to Nominal Frequency
CAL6
Typical Lowest Frequency
R/W
6
169. The application software can write this register to change
CAL5
R/W
100%
5
50%
75%
Device Specific Calibration Value
CAL4
R/W
4
CAL3
R/W
3
with Respect to Nominal Frequency
CAL2
R/W
2
Typical Highest Frequency
CAL1
R/W
1
100%
150%
200%
CAL0
R/W
0
2586M–AVR–07/10
Table 21-
OSCCAL

Related parts for ATTINY85-20SU