ATTINY2313-20PI Atmel, ATTINY2313-20PI Datasheet - Page 26

IC MCU AVR 2K FLASH 20DIP

ATTINY2313-20PI

Manufacturer Part Number
ATTINY2313-20PI
Description
IC MCU AVR 2K FLASH 20DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY2313-20PI

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
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
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Other names
ATTINY2313-24PI
ATTINY2313-24PI

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY2313-20PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Oscillator Calibration
Register – OSCCAL
26
ATtiny2313
When this Oscillator is selected, start-up times are determined by the SUT Fuses as shown in
Table
Table 7. Start-up times for the internal calibrated RC Oscillator clock selection
Note:
• Bits 6..0 – CAL6..0: Oscillator Calibration Value
Writing the calibration byte to this address will trim the internal Oscillator to remove process vari-
ations from the Oscillator frequency. This is done automatically during Chip Reset. When
OSCCAL is zero, the lowest available frequency is chosen. Writing non-zero values to this regis-
ter will increase the frequency of the internal Oscillator. Writing 0x7F to the register gives the
highest available frequency. The calibrated Oscillator is used to time EEPROM and Flash
access. If EEPROM or Flash is written, do not calibrate to more than 10% above the nominal fre-
quency. Otherwise, the EEPROM or Flash write may fail. Note that the Oscillator is intended for
calibration to 8.0/4.0 MHz. Tuning to other values is not guaranteed, as indicated in
Avoid changing the calibration value in large steps when calibrating the Calibrated Internal RC
Oscillator to ensure stable operation of the MCU. A variation in frequency of more than 2% from
one cycle to the next can lead to unpredictable behavior. Changes in OSCCAL should not
exceed 0x20 for each calibration.
Table 8. Internal RC Oscillator Frequency Range.
Bit
Read/Write
Initial Value
SUT1..0
OSCCAL Value
10
00
01
11
(1)
7.
0x3F
0x7F
0x00
1. The device is shipped with this option selected.
Start-up Time from Power-
down and Power-save
R
7
Min Frequency in Percentage of
6 CK
6 CK
6 CK
CAL6
R/W
6
Nominal Frequency
CAL5
R/W
100%
5
50%
75%
Device Specific Calibration Value
CAL4
R/W
4
Additional Delay from
Reset (V
Reserved
14CK + 4.1 ms
14CK + 65 ms
CAL3
R/W
3
14CK
CC
= 5.0V)
Max Frequency in Percentage of
CAL2
R/W
2
Nominal Frequency
CAL1
R/W
Recommended Usage
BOD enabled
Fast rising power
Slowly rising power
1
100%
150%
200%
CAL0
R/W
0
OSCCAL
2543L–AVR–08/10
Table
8.

Related parts for ATTINY2313-20PI