Message-ID: <1108707097.677736.291320@z14g2000cwz.googlegroups.com>
Subject: Re: SDRAM Initialization Sequence
Date: Fri, 18 Feb 2005 06:11:37 +0000
From: "mantaray" <egeus@rocketmail.com>
References: <1108526019.671946.314850@z14g2000cwz.googlegroups.com> <1108542760.845518.288250@z14g2000cwz.googlegroups.com> <1108555108.832806.107860@l41g2000cwc.googlegroups.com>
Path: 74.82.202.154!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.arch.embedded.mbox.zip!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
Newsgroups: comp.arch.embedded,cn.bbs.comp.embedded
Organization: http://groups.google.com
Lines: 36
NNTP-Posting-Host: 155.69.5.123
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1108707101 8263 127.0.0.1 (18 Feb 2005 06:11:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 18 Feb 2005 06:11:41 +0000 (UTC)
In-Reply-To: <1108555108.832806.107860@l41g2000cwc.googlegroups.com>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=155.69.5.123;
 posting-account=iLlFTg0AAACk_5W6sjfgrqqUj4R5QSWD
Xref: 74.82.202.154 cn.bbs.comp.embedded:2945

Hello,

I posted early on regarding how to initialise SDRAM. Did some more
research and got the following observations, would like to verify
them...

MUC: Samsung S3C4510B
SDRAM: Samsung K4S281632F-TC75 128Mb (8Mx16 CAN=9)

There is a SDRAM Power-up Sequence timing diagram (4-34) in the 4510B
manual, am I right to interpret the that is definitely how the MCU will
assert those signals whenever it power up or rather after it is
informed that there is SDRAM onboard (by setting of the DRAMCON)?

As I observed, the sequence of 200us NOP, Precharge, 2xAuto Refresh and
MRS is the same as the sequence in SDRAM initialization sequence. But I
noticed that the signal assertion for the precharge is abit different
from the signals needed in the precharge command of the SDRAM. Eg. The
nDWE and A10/AP signals are supposed to go low, but it remains high in
the 4510B timing diagram.

If the sequence of the MCU is fixed, I think it means that we just
require to setup the DRAMCON register for the timing of each signals
and the initialization is taken care by the MCU automatically...?

But how do we take care of the difference in the assertion of signals
for the precharge command if we are unable to assert the pin to
whatever level we want?

Is setting the DRAMCON sufficient to use the SDRAM.

Thanks in advanced!

Rgds,
Leslie