NXP Eval Board problem with KEIL RTX+FS and LCD..

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

NXP Eval Board problem with KEIL RTX+FS and LCD..

359 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by picman on Sun Feb 24 17:20:45 MST 2013
I've got the keil RTX OS running with the FS File system for the SDcard. When i enable the external SDRAM (for the LCD interface) it kills the SDCARD, from what i can see the EMC-bus and the SDIO bus are not connected, can anyone see any reason for this?

I have attatched the project if anyone cares to look.
Thanks..

Original Attachment has been moved to: RTX_Blinky-sd.zip

Labels (1)
0 Kudos
1 Reply

273 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by picman on Tue Feb 26 03:39:06 MST 2013
Further to my previous post, i have found that both the SDCARD and the SDRAM use clock2 but they are on different pins..

SDCARD pin init:
LPC_SCU->SFSCLK_2  = (1 << 7) | (1 << 6) | (1 << 5) | (1 << 4) | 0x4; /* PC.0  = SD_CLK            */

SDRAM pin init:
LPC_SCU->SFSCLK_0 = MD_PLN_FAST;
LPC_SCU->SFSCLK_1 = MD_PLN_FAST;
LPC_SCU->SFSCLK_2 = MD_PLN_FAST;  // <<<<----- same clock
LPC_SCU->SFSCLK_3 = MD_PLN_FAST;


Can i use the same clock for both the SDRAM and the SDCARD??
0 Kudos