Content originally posted in LPCWare by MikeSimmonds on Mon Jul 20 08:51:06 MST 2015
I have exactly that configuration (two x 16 SDRAM = 32 bit bus; one of 16 static ram = 16 bit bus) but probably different devices and memory sizes.
I am using the address shift feature also. But not that the address shift only applies to the static ram, not the SDRAM!
I have A0-A18 for the static ram, and A0 to A12 for the SDRAM and you must have A13 to A14 for the Bank select bits BA0/1.
Line A12 is a no-connect (on the SDRAM), but allows for larger SDRAMs to be fitted without PCB revision.
SDRAM = 2 x MT48LC16M16 [256 Mbits each = 32 MB], SRAM = BS616LV4017EI [512K; 256Kx16].
Hope that helps.
EDIT: the address shift applies (or not) to all four Static Ram Chip selects -- cannot mix and match!
Mike.