lpcware

Does LPC4357 support Burst Read and Single Write Mode while accessing SDRAM?

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by Rsing.Yang on Thu Feb 20 23:33:10 MST 2014
Hello guys!
My SDRAM driver work normally in Burst Read and Burst Write Mode except the condition below:

                px = (UINT_SDRAM*)(SDRAM_ADDR_BASE);
Uart1SendString("Test Running");
for(i=0x1000000;i>0;i-=1)
{
k=k%100;
*px = (k) ;
px+=2;   //if px+=1; SDRAM works well
                                     //if px+=2 or 3 or 4 or other number bigger than 1 Data couldn't be writen to SDRAM
++k;
}

Here is My Mode Register setting(Burst Read and Burst Write Mode):
temp = *((volatile uint32_t *)(SDRAM_ADDR_BASE | (0x32<<13))); /* 4 burst, 3 CAS latency */

I've been tried to modify the value of Mode Register(0x32-->0x232, which changes sdram's writen mode from burst o single according to the datasheet).But it helps nothing.

I wonder if LPC4357 support Burst Read and Single Write Mode while accessing SDRAM.Does anyone know about this?

Thanks! And sorry for my poor English.

Outcomes