Electronic Components Datasheet Search
  English  ▼

X  

ATmega32U2 Datasheet(PDF) 65 Page - ATMEL Corporation

Part # ATmega32U2
Description  8-bit Microcontroller with 8/16/32K Bytes of ISP Flash and USB Controller
PDF  314 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega32U2 Datasheet(HTML) 65 Page - ATMEL Corporation

Back Button ATmega32U2 Datasheet HTML 61Page - ATMEL Corporation ATmega32U2 Datasheet HTML 62Page - ATMEL Corporation ATmega32U2 Datasheet HTML 63Page - ATMEL Corporation ATmega32U2 Datasheet HTML 64Page - ATMEL Corporation ATmega32U2 Datasheet HTML 65Page - ATMEL Corporation ATmega32U2 Datasheet HTML 66Page - ATMEL Corporation ATmega32U2 Datasheet HTML 67Page - ATMEL Corporation ATmega32U2 Datasheet HTML 68Page - ATMEL Corporation ATmega32U2 Datasheet HTML 69Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 314 page
background image
65
7799B–AVR–07/09
ATmega8U2/16U2/32U2
Notes:
1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at
reset, see “Memory Programming” on page 246.
2. When the IVSEL bit in MCUCR is set, Interrupt Vectors will be moved to the start of the Boot
Flash Section. The address of each Interrupt Vector will then be the address in this table
added to the start address of the Boot Flash Section. Moreover, contrary to other 8K/16K
devices, the interrupt vectors spacing remains identical (2 words) for both 8KB and 16KB
versions.
Table 11-2 shows reset and Interrupt Vectors placement for the various combinations of
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the Interrupt
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.
Note:
1. The Boot Reset Address is shown in Table 23-8 on page 239. For the BOOTRST Fuse “1”
means unprogrammed while “0” means programmed.
11.2.1
Moving Interrupts Between Application and Boot Space
The General Interrupt Control Register controls the placement of the Interrupt Vector table.
11.3
Register Description
11.3.1
MCUCR – MCU Control Register
• 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
Loader section of the Flash. The actual address of the start of the Boot Flash Section is deter-
mined by the BOOTSZ Fuses. Refer to the section “Memory Programming” on page 246 for
details. To avoid unintentional changes of Interrupt Vector tables, a special write procedure must
be followed to change the IVSEL bit:
27
$0034
ANALOG COMP
Analog Comparator
28
$0036
EE READY
EEPROM Ready
29
$0038
SPM READY
Store Program Memory Ready
Table 11-2.
Reset and Interrupt Vectors Placement(1)
BOOTRST
IVSEL
Reset Address
Interrupt Vectors Start Address
1
0
0x0000
0x0002
1
1
0x0000
Boot Reset Address + 0x0002
0
0
Boot Reset Address
0x0002
0
1
Boot Reset Address
Boot Reset Address + 0x0002
Table 11-1.
Reset and Interrupt Vectors (Continued)
Vector
No.
Program
Address(2)
Source
Interrupt Definition
Bit
7
6543
210
0x35 (0x55)
JTD
–
–
PUD
–
–
IVSEL
IVCE
MCUCR
Read/Write
R/W
R
R
R/W
R
R
R/W
R/W
Initial Value
0
0000
000



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com