Interface 2Mb sdram to lpc1788

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interface 2Mb sdram to lpc1788

448 Views
lpcware
NXP Employee
NXP Employee
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


Labels (1)
0 Kudos
2 Replies

419 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ariekanarie on Mon Sep 03 08:31:30 MST 2012
Hey Robert,

At this moment I'm facing problems with the setup with a lpc1787 and the A43L0616B chip from Amic.
As you are the only person which were talking about this chip, I was wondering if you've had it to work.

With kind regards,
Arjan
0 Kudos

419 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PhilYoung on Fri Jun 22 10:48:45 MST 2012
I don't know the device, but assume from the PN it is 16 bits wide.
A0 not used
A1..8 = collumn address
A9 = bank select
A10..A20 = Row address.

A9 ( bank select ) should be output on PIN A13 ( BS0 ),

so the correct left shift should be 10

regards

Phil.
0 Kudos