Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

ATMEGA640 Datasheet(PDF) 31 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 31 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 27Page - Microchip Technology ATMEGA640 Datasheet HTML 28Page - Microchip Technology ATMEGA640 Datasheet HTML 29Page - Microchip Technology ATMEGA640 Datasheet HTML 30Page - Microchip Technology ATMEGA640 Datasheet HTML 31Page - Microchip Technology ATMEGA640 Datasheet HTML 32Page - Microchip Technology ATMEGA640 Datasheet HTML 33Page - Microchip Technology ATMEGA640 Datasheet HTML 34Page - Microchip Technology ATMEGA640 Datasheet HTML 35Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 31 / 436 page
background image
31
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
Figure 9-6.
External Data Memory Cycles with SRWn1 = 1 and SRWn0 = 1(1)
Note:
1. SRWn1 = SRW11 (upper sector) or SRW01 (lower sector), SRWn0 = SRW10 (upper sector) or SRW00 (lower sec-
tor).
The ALE pulse in period T7 is only present if the next instruction accesses the RAM (internal or external).
9.1.5
Using all Locations of External Memory Smaller than 64Kbytes
Since the external memory is mapped after the internal memory as shown in Figure 9-1 on page 27, the external
memory is not addressed when addressing the first 8,704 bytes of data space. It may appear that the first 8,704
bytes of the external memory are inaccessible (external memory addresses 0x0000 to 0x21FF). However, when
connecting an external memory smaller than 64Kbytes, for example 32Kbytes, these locations are easily accessed
simply by addressing from address 0x8000 to 0xA1FF. Since the External Memory Address bit A15 is not con-
nected to the external memory, addresses 0x8000 to 0xA1FF will appear as addresses 0x0000 to 0x21FF for the
external memory. Addressing above address 0xA1FF is not recommended, since this will address an external
memory location that is already accessed by another (lower) address. To the Application software, the external
32Kbytes memory will appear as one linear 32Kbytes address space from 0x2200 to 0xA1FF. This is illustrated in
Figure 9-7.
Figure 9-7.
Address Map with 32Kbytes External Memory
ALE
T1
T2
T3
WR
T7
A15:8
Address
Prev. addr.
DA7:0
Address
Data
Prev. data
XX
RD
DA7:0 (XMBK = 0)
Data
Prev. data
Address
Data
Prev. data
Address
DA7:0 (XMBK = 1)
System Clock (CLKCPU)
T4
T5
T6
0x0000
0x21FF
0xFFFF
0x2200
0x7FFF
0x8000
0x90FF
0x9100
0x0000
0x7FFF
Internal Memory
(Do Not Use)
AVR Memory Map
External 32K SRAM
External
Memory



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