ATMEGA64-16MJ Atmel, ATMEGA64-16MJ Datasheet - Page 64

no-image

ATMEGA64-16MJ

Manufacturer Part Number
ATMEGA64-16MJ
Description
IC MCU AVR 64K 5V 16MHZ 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA64-16MJ

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Moving Interrupts
Between Application
and Boot Space
MCUCR – MCU
Control Register
2490Q–AVR–06/10
When the BOOTRST Fuse is programmed and the Boot section size set to 8 Kbytes, the most
typical and general program setup for the Reset and Interrupt Vector Addresses is:
When the BOOTRST Fuse is programmed, the Boot section size set to 8 Kbytes and the IVSEL
bit in the MCUCR Register is set before any interrupts are enabled, the most typical and general
program setup for the Reset and Interrupt Vector Addresses is:
The General Interrupt Control Register controls the placement of the Interrupt Vector table.
• Bit 1 – IVSEL: Interrupt Vector Select
When the IVSEL bit is cleared (zero), the Interrupt Vectors are placed at the start of the Flash
memory. When this bit is set (one), the Interrupt Vectors are moved to the beginning of the Boot
Bit
0x35 (0x55)
Read/Write
Initial Value
Address Labels Code
.org 0x0002
0x0002
0x0004
...
0x0044
;
.org 0x7000
0x7000 RESET: ldi
0x7001
0x7002
0x7003
0x7004
0x7005
Address Labels Code
;
.org 0x7000
0x7000
0x7002
0x7004
...
0x7044
0x7046 RESET: ldi
0x7047
0x7048
0x7049
0x704A
0x704B
SRE
R/W
7
0
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
jmp
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
SRW10
R/W
6
0
EXT_INT0 ; IRQ0 Handler
EXT_INT1 ; IRQ1 Handler
...
SPM_RDY
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
RESET
EXT_INT0 ; IRQ0 Handler
EXT_INT1 ; IRQ1 Handler
...
SPM_RDY ; Store Program Memory Ready Handler
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
xxx
xxx
R/W
SE
5
0
;
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
; Reset handler
;
; Set Stack Pointer to top of RAM
; Enable interrupts
SM1
R/W
4
0
Comments
Comments
SM0
R/W
3
0
SM2
R/W
2
0
IVSEL
R/W
1
0
ATmega64(L)
IVCE
R/W
0
0
MCUCR
64

Related parts for ATMEGA64-16MJ