9.4 Address Decoder
The Memory Controller is linked to the other internal modules via its AHB slave
interface. The internal address IMEMADD[31:0] of the external memory to be
accessed are transfered via the 32-bit AHB address bus. IMEMADD[31:0] always
represents a byte address.
IMEMADD[31:0] is supplied to the chip select decoder, that generates the external
chip select signals MCSn, in accordance with the settings of the MEMSCSLRn,
MEMCSALIASn and MEMSMSKRn registers.
IMEMADD[31:0] is also passed on to an address adjustment unit, that eliminates
unnecessary least significant address bits with regard to the data bus width of the
externally connected memory devices, as defined in MEMSCONR respectively
MEMSMCTRL registers.
IMEMADDR[31:0]
AHB sla
ve interf
ace
Chip select
decoder
Address
adjustment
MCSn
MA[24:0]
MEMCSALIASn
MEMSCSLRn
MEMSMSKRn.MEMSIZE
MEMSMCTRL.SDATAW
MEMSCONR.DDATAW
Figure 9-10 Address decoder
9.4.1 Chip select configuration
Each chip select area MCSn can be configured to operate with different types of
external memory devices.
The configuration for each chip select area is achieved by means of a register set,
dedicated to each MCSn.
Following separate registers, dedicated to each MCSn, are provided:
•
chip select mask registers MEMSMSKRn
•
chip select base address registers MEMSCSLRn
•
chip select alias registers MEMCSALIASn
The type of memory and its size for MCSn is chosen by the chip select mask
registers MEMSMSKRn:
•
memory type:
-
MEMSMSKRn.MEMTYPE[2:0] = 000
B
: SDRAM for MCSn
-
MEMSMSKRn.MEMTYPE[2:0] = 001
B
: static RAM for MCSn
-
MEMSMSKRn.MEMTYPE[2:0] = 010
B
: flash for MCSn
External Memory Interface Controller
Chapter 9
Preliminary User's Manual S19203EE1V3UM00
307
Summary of Contents for uPD72257
Page 39: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 39...
Page 44: ...Chapter 2 Pin Functions 44 Preliminary User s Manual S19203EE1V3UM00...
Page 46: ...Chapter 2 Pin Functions 46 Preliminary User s Manual S19203EE1V3UM00...
Page 49: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 49...
Page 52: ...Chapter 2 Pin Functions 52 Preliminary User s Manual S19203EE1V3UM00...
Page 54: ...Chapter 2 Pin Functions 54 Preliminary User s Manual S19203EE1V3UM00...
Page 331: ...External Memory Interface Controller Chapter 9 Preliminary User s Manual S19203EE1V3UM00 331...
Page 343: ......