ATmega16U2 Atmel Corporation, ATmega16U2 Datasheet - Page 38

no-image

ATmega16U2

Manufacturer Part Number
ATmega16U2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega16U2

Flash (kbytes)
16 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
22
Ext Interrupts
21
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
5
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16U2
Manufacturer:
ATMEL
Quantity:
853
Part Number:
ATMEGA16U2
Manufacturer:
ST
0
Part Number:
ATmega16U2-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega16U2-MU
Manufacturer:
RALINK
Quantity:
2 400
Company:
Part Number:
ATmega16U2-MU
Quantity:
250
8.11.2
8.11.3
8.11.4
7799D–AVR–11/10
CLKSEL1 – Clock Selection Register 1
CLKSTA – Clock Status Register
OSCCAL – Oscillator Calibration Register
lator is selected by the fuse bits configuration. The firmware has to check if the clock is correctly
started before selected it.
• Bit 7:4 – RCCKSEL[3:0]: CKSEL for RC oscillator
Clock configuration for the RC Oscillator. After a reset, this part of the register is loaded with the
0010b value that corresponds to the RC oscillator. Modifying this value by firmware before
switching to RC oscillator is prohibited because the RC clock will not start.
• Bit 3:0 – EXCKSEL[3:0]: CKSEL for External oscillator / Low Power Oscillator
Clock configuration for the External Oscillator / Low Power Oscillator. After a reset, if the Exter-
nal oscillator / Low Power Oscillator is selected by fuse bits, this part of the register is loaded
with the fuse configuration. Firmware can modify it to change the start-up time after the clock
switch.
• Bit 7:2 - Res: Reserved bits
These bits are reserved and will always read as zero.
• Bit 1 – RCON: RC Oscillator On
This bit is set by hardware to one if the RC Oscillator is running.
This bit is set by hardware to zero if the RC Oscillator is stoped.
• Bit 0 – EXTON: External Oscillator / Low Power Oscillator On
This bit is set by hardware to one if the External Oscillator / Low Power Oscillator is running.
This bit is set by hardware to zero if the External Oscillator / Low Power Oscillator is stoped.
• 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
Bit
(0xD1)
Read/Write
Initial Value
Bit
(0xD2)
Read/Write
Initial Value
Bit
(0x66)
Read/Write
Initial Value
Table 26-1 on page
RCCKSE
R/W
L3
7
0
CAL7
R/W
R
7
7
0
-
RCCKSE
R/W
L2
6
0
CAL6
R/W
R
6
6
0
-
RCCKSE
266. The application software can write this register to change
R/W
L1
CAL5
5
1
R/W
R
5
5
0
-
Device Specific Calibration Value
RCCKSE
R/W
CAL4
L0
0
R/W
4
R
4
4
0
-
EXCKSE
ATmega8U2/16U2/32U2
R/W
CAL3
R/W
L3
3
0
R
3
3
-
EXCKSE
See Bit Description
CAL2
R/W
R/W
L2
2
0
R
2
2
-
EXCKSE
RCON
CAL1
R/W
R/W
L1
R
1
1
1
0
EXCKSE
EXTON
CAL0
R/W
R/W
R
L0
0
0
0
0
OSCCAL
CLKSTA
CLKSEL1
38

Related parts for ATmega16U2