ATmega329 Atmel Corporation, ATmega329 Datasheet - Page 108

no-image

ATmega329

Manufacturer Part Number
ATmega329
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega329

Flash (kbytes)
32 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
54
Ext Interrupts
17
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Segment Lcd
100
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
1.8 to 5.5
Operating Voltage (vcc)
1.8 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
Part Number:
ATmega329-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega329-16AU
Manufacturer:
ST
Quantity:
2 100
Part Number:
ATmega329-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega329-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3290-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3290-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega3290-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega3290-16AU
Manufacturer:
AT
Quantity:
20 000
Part Number:
ATmega3290P-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega3290PV-10AU
Manufacturer:
SIPEX
Quantity:
17 600
Part Number:
ATmega3290PV-10AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
15.1
15.1.1
108
Register Description
ATmega329/3290/649/6490
GTCCR – General Timer/Counter Control Register
Enabling and disabling of the clock input must be done when T1/T0 has been stable for at least
one system clock cycle, otherwise it is a risk that a false Timer/Counter clock pulse is generated.
Each half period of the external clock applied must be longer than one system clock cycle to
ensure correct sampling. The external clock must be guaranteed to have less than half the sys-
tem clock frequency (f
sampling, the maximum frequency of an external clock it can detect is half the sampling fre-
quency (Nyquist sampling theorem). However, due to variation of the system clock frequency
and duty cycle caused by Oscillator source (crystal, resonator, and capacitors) tolerances, it is
recommended that maximum frequency of an external clock source is less than f
An external clock source can not be prescaled.
Figure 15-2. Prescaler for Timer/Counter0 and Timer/Counter1
Note:
• Bit 7 – TSM: Timer/Counter Synchronization Mode
Writing the TSM bit to one activates the Timer/Counter Synchronization mode. In this mode, the
value that is written to the PSR2 and PSR10 bits is kept, hence keeping the corresponding pres-
caler reset signals asserted. This ensures that the corresponding Timer/Counters are halted and
can be configured to the same value without the risk of one of them advancing during configura-
tion. When the TSM bit is written to zero, the PSR2 and PSR10 bits are cleared by hardware,
and the Timer/Counters start counting simultaneously.
• Bit 0 – PSR10: Prescaler Reset Timer/Counter1 and Timer/Counter0
Bit
0x23 (0x43)
Read/Write
Initial Value
PSR10
clk
T0
T1
I/O
1. The synchronization logic on the input pins (
Synchronization
Synchronization
TSM
R/W
7
0
ExtClk
6
R
0
< f
clk_I/O
R
5
0
/2) given a 50/50% duty cycle. Since the edge detector uses
clk
Clear
T1
R
4
0
R
T1/T0)
3
0
is shown in
R
2
0
(1)
PSR2
R/W
1
0
Figure
PSR10
R/W
0
0
15-1.
clk
T0
clk_I/O
GTCCR
2552K–AVR–04/11
/2.5.

Related parts for ATmega329