| Electronic Components Datasheet Search |
|
AT91SAM7A2-AI Datasheet(PDF) 26 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT91SAM7A2-AI Datasheet(HTML) 26 Page - ATMEL Corporation |
|
26 / 369 page ![]() 26 PRELIMINARY AT91SAM7A2 6021A–ATARM–07/04 Advanced Memory Controller (AMC) Overview The AT91SAM7A2 microcontroller is provided with an Advanced Memory Controller (AMC) enabling the software to configure external and internal memory mapping (at boot level). The external 16-bit data bus interface is called the External Bus Interface (EBI) and is the physical layer used to connect external devices to the AT91SAM7A2 microcontrol- ler. Subsequently, the EBI generates the signals which control the access to the external memory or peripheral devices. The EBI is fully programmable through the Advanced Memory Controller and can address up to 6 Mbytes. It has four chip selects and a 20-bit address bus. The AT91SAM7A2 can only boot on a 16-bit external memory device connected to the NCS0 signal. All the other chip select lines can be configured to access 8 or 16-bit mem- ory devices. Boot on NCS0 Automatically, the AT91SAM7A2 boots on a 16-bit external memory device connected on NCS0. At reset, access through NCS0 is configured as follows (in the AMC_CSR0 register). • 8 wait states (WSE = 1, NWS = 7) • 16-bit data bus width • Base address is at 0x00000000 • Byte access type is configured as Byte Write Access, BAT = 0 • The number of data float time is 0. • The EBI is configured in normal read protocol (DRP = 0 in AMC_MCR register). The user can modify the chip select 0 configuration, programming the AMC_CSR0 with exact boot memory characteristics. The base address becomes effective after the remap command (set to a logical 1 the RCB in AMC_RCR), but the other parameters are changed immediately after the write access in the AMC_CSR0 register. External Memory Mapping The memory map associates the internal 32-bit address space with the external 20-bit address bus. The memory map is defined by programming the base address and page size of the external memories. If the physical memory device is smaller than the programmed page size, it wraps around and appears to be repeated within the page. The AMC correctly handles any valid access to the memory device within the page. In the event of an access request to an address outside any programmed page, a data abort signal is generated. Two types of abort are possible: instruction prefetch abort and data abort. The corresponding exception vector addresses are respectively 0x0000000C and 0x00000010. It is up to the system programmer to program the error handling routine to use in case of an abort (see the ARM7TDMI datasheet for further information). The AT91SAM7A2 microcontroller must be wired so that the NCS0 accesses a non vol- atile 16-bit memory as shown in Figure 9 “EBI Connection for External 16-bit Memory Device, 16-bit Access Only,” on page 27 or Figure 10 “EBI Connection for 2x8-bit Exter- nal Memory Devices, 16-bit Access Only,” on page 28. |
|
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 |
| 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 |