ATmega406 Atmel Corporation, ATmega406 Datasheet - Page 52

no-image

ATmega406

Manufacturer Part Number
ATmega406
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega406

Flash (kbytes)
40 Kbytes
Pin Count
48
Max. Operating Frequency
1 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
18
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
12
Adc Speed (ksps)
1.9
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-30 to 85
I/o Supply Class
4.0 to 25
Operating Voltage (vcc)
4.0 to 25
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Pwm Channels
2
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega406-1AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega406-1AAU
Manufacturer:
AT
Quantity:
20 000
52
Address
0x0000
0x0002
0x0004
0x0006
0x0008
0x000A
0x000C
0x000E
0x0010
0x0012
0x0014
0x0016
0X0018
0x001A
0x001C
0x001E
0x0020
0x0022
0x0024
0x0026
0x0028
0x002A
0x002C
;
0x002E
0x002F
0x0030
0x0031
0x0032
0x0033
0x0034
;
ATmega406
Labels
RESET:
...
Code
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
ldi
out
ldi
out
sei
<instr>
...
Vectors are not used, and regular program code can be placed at these locations. This is also
the case if the Reset Vector is in the Application section while the Interrupt Vectors are in the
Boot section or vice versa.
Table 11-2.
Note:
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATmega406 is:
BOOTRST
RESET
BPINT
EXT_INT0
EXT_INT1
EXT_INT2
EXT_INT3
PCINT0
PCINT1
WDT
WAKE_UP
TIM1_COMP
TIM1_OVF
TIM0_COMPA
TIM0_COMPB
TIM0_OVF
TWI_BUS_CD
TWI
VADC
CCADC_CONV
CCADC_REC_CUR
CCADC_ACC
EE_RDY
SPM_RDY
r16, high(RAMEND)
SPH,r16
r16, low(RAMEND)
SPL,r16
xxx
...
1
1
0
0
1. The Boot Reset Address is shown in
means unprogrammed while “0” means programmed.
Reset and Interrupt Vectors Placement
IVSEL
0
1
0
1
Comments
; Reset Handler
; Battery Protection Interrupt Handler
; External Interrupt Request 0 Handler
; External Interrupt Request 1 Handler
; External Interrupt Request 2 Handler
; External Interrupt Request 3 Handler
; Pin Change Interrupt 0 Handler
; Pin Change Interrupt 1 Handler
; Watchdog Time-out Interrupt
; Wake-up Timer Overflow
; Timer1 Compare Handler
; Timer1 Overflow Handler
; Timer0 CompareA Handler
; Timer0 CompareB Handler
; Timer0 Overflow Handler
; Two-wire Bus Connect/Disconnect Handler
; Two-wire Serial Interface Handler
; Voltage ADC Conversion Complete Handler
; CC-ADC Instantaneous Current Conversion Complete Handler
; CC-ADC Regular Current Handler
; CC-ADC Accumulate Current Conversion Complete Handler
; EEPROM Ready Handler
; Store Program Memory Ready Handler
; Main program start
; Set Stack Pointer to top of RAM
; Enable interrupts
Reset Address
0x0000
0x0000
Boot Reset Address
Boot Reset Address
Table 27-7 on page
(1)
Interrupt Vectors Start Address
0x0002
Boot Reset Address + 0x0002
0x0002
Boot Reset Address + 0x0002
193. For the BOOTRST Fuse “1”
2548E–AVR–07/06

Related parts for ATmega406