ATmega32 Atmel Corporation, ATmega32 Datasheet - Page 30
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega32
Manufacturer Part Number
ATmega32
Description
Manufacturer
Atmel Corporation
Specifications of ATmega32
Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
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
3
Output Compare Channels
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATmega32-16AC
Manufacturer:
COMPAL
Quantity:
500
Part Number:
ATmega32-16AU
Manufacturer:
ATMEL
Quantity:
20 000
Part Number:
ATmega32-16PI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega32-16PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Oscillator Calibration
Register – OSCCAL
2503Q–AVR–02/11
When this Oscillator is selected, start-up times are determined by the SUT fuses as shown in
Table
Table 10. Start-up Times for the Internal Calibrated RC Oscillator Clock Selection
Note:
• Bits 7:0 – CAL7..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. During Reset, the 1MHz calibration value which is located
in the signature row High Byte (address 0x00) is automatically loaded into the OSCCAL Regis-
ter. If the internal RC is used at other frequencies, the calibration values must be loaded
manually. This can be done by first reading the signature row by a programmer, and then store
the calibration values in the Flash or EEPROM. Then the value can be read by software and
loaded into the OSCCAL Register. When OSCCAL is zero, the lowest available frequency is
chosen. Writing non-zero values to this register will increase the frequency of the Internal Oscil-
lator. Writing $FF 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 frequency. Otherwise, the EEPROM or Flash write may fail.
Note that the Oscillator is intended for calibration to 1.0, 2.0z, 4.0, or 8.0MHz. Tuning to other
values is not guaranteed, as indicated in
Table 11. Internal RC Oscillator Frequency Range.
Bit
Read/Write
Initial Value
OSCCAL Value
SUT1..0
10
00
01
11
(1)
10. XTAL1 and XTAL2 should be left unconnected (NC).
$FF
$00
$7F
1. The device is shipped with this option selected.
CAL7
R/W
Start-up Time from
7
Power-down and
Power-save
Min Frequency in Percentage of
6 CK
6 CK
6 CK
CAL6
R/W
Nominal Frequency (%)
6
CAL5
R/W
5
100
Device Specific Calibration Value
50
75
CAL4
R/W
Additional Delay
4
Table
(V
from Reset
CC
4.1ms
Reserved
65ms
= 5.0V)
CAL3
11.
–
R/W
3
Max Frequency in Percentage of
CAL2
R/W
2
Nominal Frequency (%)
Recommended Usage
BOD enabled
Fast rising power
Slowly rising power
CAL1
R/W
1
100
150
200
ATmega32(L)
CAL0
R/W
0
OSCCAL
30