ATTINY5-TS8R Atmel, ATTINY5-TS8R Datasheet - Page 21
ATTINY5-TS8R
Manufacturer Part Number
ATTINY5-TS8R
Description
IC MCU AVR 512B FLASH SOT-23-6
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet
1.ATTINY9-MAHR.pdf
(169 pages)
Specifications of ATTINY5-TS8R
Package / Case
SOT-23-6
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Speed
12MHz
Number Of I /o
4
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
32 x 8
Program Memory Size
512B (512 x 8)
Data Converters
A/D 4x8b
Oscillator Type
Internal
Peripherals
POR, PWM, WDT
Core Size
8-Bit
Processor Series
ATTINY5x
Core
AVR8
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY5-TS8R
Manufacturer:
Atmel
Quantity:
8 105
- Current page: 21 of 169
- Download datasheet (5Mb)
6.5
6.5.1
6.5.2
8127D–AVR–02/10
Register Description
CLKMSR – Clock Main Settings Register
OSCCAL – Oscillator Calibration Register
• Bit 7:2 – Res: Reserved Bits
These bits are reserved and always read zero.
• Bit 1:0 – CLKMS[1:0]: Clock Main Select Bits
These bits select the main clock source of the system. The bits can be written at run-time to
switch the source of the main clock. The clock system ensures glitch free switching of the main
clock source.
The main clock alternatives are shown in
Table 6-3.
To avoid unintentional switching of main clock source, a protected change sequence must be
followed to change the CLKMS bits, as follows:
.
• Bits 7:0
The oscillator calibration register is used to trim the calibrated internal oscillator and remove pro-
cess 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 application software can write this register to change the oscillator frequency. The oscillator
can be calibrated to frequencies as specified in
Oscillator,” on page
The CAL[7:0] bits are used to tune the frequency of the oscillator. A setting of 0x00 gives the
lowest frequency, and a setting of 0xFF gives the highest frequency.
Bit
0x37
Read/Write
Initial Value
Bit
0x39
Read/Write
Initial Value
1. Write the signature for change enable of protected I/O register to register CCP
2. Within four instruction cycles, write the CLKMS bits with the desired value
CLKM1
0
0
1
1
–
Table 16-2, “Calibration Accuracy of Internal RC Oscillator,” on page
CAL[7:0]: Oscillator Calibration Value
CAL7
Selection of Main Clock
R/W
R
7
–
0
7
0
119. Calibration outside the range given is not guaranteed.
CLKM0
CAL6
R/W
R
0
1
0
1
6
–
0
6
0
CAL5
R/W
R
5
–
0
5
0
Main Clock Source
Calibrated Internal 8 MHzOscillator
Internal 128 kHz Oscillator (WDT Oscillator)
External clock
Reserved
CAL4
R/W
4
–
R
0
4
0
Table
CAL3
R/W
Table 16-2, “Calibration Accuracy of Internal RC
6-3.
R
3
–
0
3
0
CAL2
R/W
R
2
–
0
2
0
CLKMS1
CAL1
R/W
R/W
1
0
1
0
ATtiny4/5/9/10
CLKMS0
CAL0
R/W
R/W
0
0
0
0
OSCCAL
CLKMSR
119.
21
Related parts for ATTINY5-TS8R
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
IC MCU AVR 512B FLASH SOT-23-6
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 512B FLASH 8UDFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU AVR 512B FLASH 8UDFN
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet: