How do I enable the 4MB SRAM on the MPC5676R DAT516?

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

How do I enable the 4MB SRAM on the MPC5676R DAT516?

524 Views
lukeng
Contributor I

Hi,

I am wondering how to enable the 4MB of SRAM soldered onto the MPC5676R DAT516 daughter card.  I have gone through the manual it indicates JP4 is the SRAM_SEL jumper but no details on how to actually get this to work.  Do I jump 1-2, 2-3 leave it open?  Then, do I map the 4MB into the SRAM area (0x40000000) or is this considered External (0x20000000).  This may be basic stuff but its a mystery to me.

Any help would be appreciated.  Thanks.

Luke

1 Reply

373 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

It depends whether you have configured CS0 or CS1.

You may see my example code here, it initialized external RAM in main.c file, function External_SRAM_init:
https://community.nxp.com/docs/DOC-102745 

My initialization uses CS0 thus JP4 needs to be in position 1-2. Then you’ll access address 0x20000000 and higher.