ATmega649 Atmel Corporation, ATmega649 Datasheet - Page 53

no-image

ATmega649

Manufacturer Part Number
ATmega649
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega649

Flash (kbytes)
64 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)
4
Eeprom (bytes)
2048
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:
ATmega649-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega649-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega649-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega649-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega649-16MU
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATmega6490-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega6490-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega6490-16AU
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATmega6490-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega6490-16AUR
Manufacturer:
Atmel
Quantity:
1 500
Part Number:
ATmega6490A-AU
Manufacturer:
Atmel
Quantity:
1 250
Part Number:
ATmega6490A-AUR
Manufacturer:
Maxim
Quantity:
43
2552K–AVR–04/11
Self-Programming” on page 278
tables, a special write procedure must be followed to change the IVSEL bit:
Interrupts will automatically be disabled while this sequence is executed. Interrupts are disabled
in the cycle IVCE is set, and they remain disabled until after the instruction following the write to
IVSEL. If IVSEL is not written, interrupts remain disabled for four cycles. The I-bit in the Status
Register is unaffected by the automatic disabling.
Note:
• Bit 0 – IVCE: Interrupt Vector Change Enable
The IVCE bit must be written to logic one to enable change of the IVSEL bit. IVCE is cleared by
hardware four cycles after it is written or when IVSEL is written. Setting the IVCE bit will disable
interrupts, as explained in the IVSEL description above. See Code Example below.
Assembly Code Example
C Code Example
1. Write the Interrupt Vector Change Enable (IVCE) bit to one.
2. Within four cycles, write the desired value to IVSEL while writing a zero to IVCE.
Move_interrupts:
;Get MCUCR
in r16, MCUCR
mov r17, r16
void Move_interrupts(void)
{
}
; Enable change of Interrupt Vectors
ori r16, (1<<IVCE)
out MCUCR, r16
; Move interrupts to Boot Flash section
ori r17, (1<<IVSEL)
out MCUCR, r17
ret
/* Enable change of Interrupt Vectors */
MCUCR |= (1<<IVCE);
/* Move interrupts to Boot Flash section */
MCUCR |= (1<<IVSEL);
If Interrupt Vectors are placed in the Boot Loader section and Boot Lock bit BLB02 is programmed,
interrupts are disabled while executing from the Application section. If Interrupt Vectors are placed
in the Application section and Boot Lock bit BLB12 is programed, interrupts are disabled while
executing from the Boot Loader section. Refer to the section
Write Self-Programming” on page 278
for details. To avoid unintentional changes of Interrupt Vector
for details on Boot Lock bits.
ATmega329/3290/649/6490
“Boot Loader Support – Read-While-
53

Related parts for ATmega649