I use bf 532 and K4S561632C SDRAM.It's a 4M*16bit*4bank sdram.
When i write more than 8kB data,the data will go wrong.What's the problem?
I did not see a problem with the schematic. Even the pin numbers are correct at the memory.
Have you checked the pins on the BF533? Do all your boards behave like this?
The registers could be a problem but I will not be able to look at all of them today. EBIU_SDBCTL looks correct.
I want to test the sdram ,so I write data to sdram .And find the problem.I only set the three registers .Anything else should i do?
Perhaps someone else can help with your software project. I am not much good at that.
There are other clocks to set and things to enable but they do not explain what you see.
Tell me more about how the data looks wrong. Are the first 8K bytes always good? Does it get overwritten with the second 8K? Does it change randomly over time from lack of refresh? Does it ever fail in a different way? If the same bit is failing, you could have a short on your board.
Thank you for the additional schematic section. It does not show the address lines but does show 2 things that should be fixed.
C2 on XTAL out was shown on the EZ-Kit schematic but is marked DNP. DNP stands for Do Not Populate. C2 should be removed before you do any more work. Do not apply power to your board without removing C2.
The boot mode pins also need some work. There is no pullup to bring these pins to logic 1 if the switch is open. Therefore if the switch is open the BMODE pin will be undefined.
Neither of these would cause the SDRAM problem.
First 8K bytes not always good.
I write 0x0000~0x1000 to sdram from0x00000000.When the data over 8kB,the data will become 0010 01xx 02xx 03xx 04xx .....(xx means i forgot ,but it is not zero).
I think it's the same bit failing.Maybe is the D13,but D13 is not bad.
I don't know if it change randomly over time from lack of refresh.
Is this issue still outstanding for you? Hopefully this issue is resolved by now, but if it is still outstanding can you please contact Support via the link below and include a link to this thread. Please select the option "I have a processor issue (IC, System Design, Applications, etc.)" when completing the form.
Retrieving data ...