lpcware

Interface 2Mb sdram to lpc1788

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by rgiovoni on Thu Jun 21 07:37:47 MST 2012
Hi all.
I have an application where is necessary to interface an
A43L0616B SDRAM to LPC1788 uController.

I have 2 questions about interfacing:

1)The memory chip has only a BA (bank select) pin because
  the chip is a 2 bank memory.
  This BA pin has to connect to P4[13]/A13 pin (on LPC1788 site)
  or to P4[14]/A14 pin?

2)The memory work in RBC (row/bank/collun) mode.
  Than it is necessary to take into account 1 or 2 bit,(for
  bank select) into shift number used to program mode register
  on the memory?.
  Pratically:
 
  the memory has 11 row and 8 collun on 2 bank and RBC configuration

  to program mode register it's necessary write the following line:
 
  Dummy = *((volatile unsigned long*)(SDRAM_BASE_ADDR | (0x22 << (10))));

  or to write the following line:

  Dummy = *((volatile unsigned long*)(SDRAM_BASE_ADDR | (0x22 << (11))));

  Thank's in advance for your help
                    
                      Robert


Outcomes