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

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
102
ATtiny25/45/85
When OCR1A contains $00 or the top value, as specified in OCR1C register, the output
PB1(OC1A) is held low or high according to the settings of COM1A1/COM1A0. This is shown in
Table
Table 13-2.
In PWM mode, the Timer Overflow Flag - TOV1 is set when the TCNT1 counts to the OCR1C
value and the TCNT1 is reset to $00. The Timer Overflow Interrupt1 is executed when TOV1 is
set provided that Timer Overflow Interrupt and global interrupts are enabled. This also applies to
the Timer Output Compare flags and interrupts.
The PWM frequency can be derived from the timer/counter clock frequency using the following
equation:
The duty cycle of the PWM waveform can be calculated using the following equation:
...where T
Resolution indicates how many bits are required to express the value in the OCR1C register. It
can be calculated using the following equation:
Table 13-3.
PWM Frequency
13-2.
COM1A1
20 kHz
30 kHz
40 kHz
50 kHz
60 kHz
70 kHz
PCK
0
0
1
1
1
1
is the period of the fast peripheral clock (1/25.6 MHz = 39.1 ns).
PWM Outputs OCR1A = $00 or OCR1C
Timer/Counter1 Clock Prescale Select in the Asynchronous Mode
Clock Selection
D
PCK/16
PCK/16
PCK/8
PCK/8
PCK/8
PCK/4
COM1A0
=
1
1
0
0
1
1
(
----------------------------------------------------------------------------
R
OCR1A
f
=
(
OCR1C
=
log
----------------------------------- -
(
OCR1C + 1
2 OCR1C
+
(
1
f
TCK1
)
+
×
CS1[3:0]
1
T
0101
0101
0100
0100
0100
0011
)
TCK1
×
T
+
)
OCR1A
OCR1C
OCR1C
OCR1C
TCK1
1
$00
$00
$00
)
T
PCK
OCR1C
199
132
199
159
132
228
Output OC1A
RESOLUTION
2586M–AVR–07/10
H
H
H
L
L
L
7.6
7.1
7.6
7.3
7.1
7.8

Related parts for ATTINY85-20SU