SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
The EMIF controller interleaves the internal banks for SDRAM connected to both chip selects. From the system point of view, the external SDRAM is seen as one block of SDRAM. If two external 64-MiB devices are used, a 128-MiB memory block is observed. If two external 32-MiB devices are used, a 64-MiB block is observed.
Table 15-77 shows the SDRAM address space.
Chip select 1 is not supported on this device.
| Module Name | Base Address | Size |
|---|---|---|
| EMIF1-CS0-SDRAM | 0x8000 0000 | 0 to 1GiB, programmable in DMM (see Section 15.2, Dynamic Memory Manager) |
| EMIF1-CS1-SDRAM | 0xC000 0000 | 0 to 1GiB, programmable in DMM (see Section 15.2, Dynamic Memory Manager) |
When addressing SDRAM, if the EMIF_SDRAM_CONFIG[28:27] IBANK_POS bit field is set to 0, the EMIF uses the following three bit fields to determine the mapping from the source address to the SDRAM row, column, bank and chip select:
If the EMIF_SDRAM_CONFIG[28:27] IBANK_POS bit field is set to 1, 2, or 3, the EMIF uses the following four bit fields to determine the mapping from the source address to the SDRAM row, column, bank and chip select:
In all cases the EMIF considers its SDRAM address space to be a single logical block, regardless of the number of physical devices or whether the devices are mapped across one or two EMIF chip selects.