Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - SDram refresh interval

 
Thread Tools Search this Thread
Old 08-05-2008, 09:29 AM   #1
Default SDram refresh interval


I am hoping someone here can help me with this question. Is this posted in the correct place?

My receiver uses a TM4M16SD-70 sdram. Which I believe is 8 meg.

According to the STI5518 Register Manual the Memory Interval is set by writing to the VID_CFG_MCF register. It states the following example for to determine the value to use:

If 2048 rows must be refreshed every 32 ms for a SDRAM clock of 100MHz, the following value must be stored:

32 * ( .001/2048 ) * (100000000/24) = 65

In my case:
If 8 meg of rows must be refreshed every X ms for a SDRAM clock of 121.5MHz, where X = 32 ms (I think, is this correct for this chip?)
it uses the following formula:

interval = ((121500 * 500 decimal - 1280 decimal) >> 12 decimal) and 127 decimal

(">>" means to shift result 12 bits to the right)

I am trying to understand what the different values in this formula represent.
I know that 121500 is the frequency determined by the formula:
frequency = clock frequency / 1000 where clock frequency = 121500000 hz

can anybody explain what the other values represent?
500 = ?
1280 = ?

How does this formula relate to the other formula?


KnowNothing

Last edited by KnowNothing : 08-05-2008 at 09:41 AM.
KnowNothing is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SDram refresh interval KnowNothing Hardware 0 08-10-2008 07:17 AM
Program to find refresh rate AG A+ Certification 9 01-29-2004 04:30 PM
Re: thinking about getting XP but weary of the low refresh rate bug =( controlc A+ Certification 0 01-09-2004 12:27 PM
Re: thinking about getting XP but weary of the low refresh rate bug =( Geoff A+ Certification 1 01-01-2004 06:40 AM
Ebay U.K For Auction :- 512 MB Pc133 SDRAM And 73gb Scsi Harddrives.Low Reserves Paul DVD Video 0 09-09-2003 10:32 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46