Example
Following an example how to set up the various addressing registers.
Externally 32 MB SDRAM shall be assigned to MCS0 and 16 MB flash memory
to MCS1:
•
MEMSMSKR0 = 0000 000A
H
: 32 MB SDRAM, thus address bits
[31:25] are relevant for MCS0
•
MEMSMSKR1 = 0000 0049
H
: 16 MB flash with timing register set 0
thus address bits [31:24] are relevant for MCS1
The base chip select address range shall be 0000 0000
H
to 01FF FFFF
H
for the
SDRAM and 0400 0000
H
to 04FF FFFF
H
for the flash:
•
MEMSCSLR0 = 0000 0000
H
•
MEMSCSLR1 = 0400 0000
H
The alias chip select address range shall be 0200 0000
H
to 03FF FFFF
H
for the
SDRAM and 0500 0000
H
to 05FF FFFF
H
for the flash:
•
MEMCSALIAS0 = 0200 0000
H
•
MEMCSALIAS1 = 0500 0000
H
MEMSCSLR0 = 0000 0000
H
01FF FFFF
H
MEMCSALIAS0 = 0200 0000
H
MEMSCSLR1 = 0400 0000
H
03FF FFFF
H
04FF FFFF
H
MEMCSALIAS1 = 0500 0000
H
05FF FFFF
H
16 MB
flash
alias
32 MB
SDRAM
alias
32 MB
SDRAM
base
16 MB
flash
base
MCS1
16 MB
flash
MCS0
32 MB
SDRAM
Figure 9-12 Addressing example
Chapter 9
External Memory Interface Controller
310
Preliminary User's Manual S19203EE1V3UM00
Содержание uPD72257
Страница 39: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 39...
Страница 44: ...Chapter 2 Pin Functions 44 Preliminary User s Manual S19203EE1V3UM00...
Страница 46: ...Chapter 2 Pin Functions 46 Preliminary User s Manual S19203EE1V3UM00...
Страница 49: ...Pin Functions Chapter 2 Preliminary User s Manual S19203EE1V3UM00 49...
Страница 52: ...Chapter 2 Pin Functions 52 Preliminary User s Manual S19203EE1V3UM00...
Страница 54: ...Chapter 2 Pin Functions 54 Preliminary User s Manual S19203EE1V3UM00...
Страница 331: ...External Memory Interface Controller Chapter 9 Preliminary User s Manual S19203EE1V3UM00 331...
Страница 343: ......