Author Topic: Running DDR2 below rated speed?  (Read 1459 times)

0 Members and 1 Guest are viewing this topic.

Offline petersanchTopic starter

  • Regular Contributor
  • *
  • Posts: 62
  • Country: 00
Running DDR2 below rated speed?
« on: March 18, 2021, 11:32:42 am »
Is it possible to run a SDRAM rated for DDR2-800 at lower speed than 400MHz reliably, for example 333MHz or 200MHz?
Looking at part IS43DR16640C-25 as an example. Data sheet writes
Quote
Timing – Cycle time
2.5ns @CL=5 DDR2-800D
2.5ns @CL=6 DDR2-800E
3.0ns @CL=5 DDR2-667D
3.75ns @CL=4  DDR2-533C
5ns @CL=3  DDR2-400B
.
Does that mean that by adjusting CL in the FPGA memory controller that as low as DDR2-400 is supported?


Cheers
 

Offline Berni

  • Super Contributor
  • ***
  • Posts: 5028
  • Country: si
Re: Running DDR2 below rated speed?
« Reply #1 on: March 18, 2021, 11:43:34 am »
You can run SDRAM slower no problem.

This is just the best clock speeds you can get with the given timing settings. The RAM array inside has a certain latency to it, so once you start going at high clock speeds this latency becomes a problem, so more clock cycles need to be inserted to satisfy it the required delay before accessing data.

If you are going to go even slower just pick the lowest available CL setting so that you don't have unnecessary latency and clock it as slow as you want.

Tho the clock still has to be within reason since the chips probably use a lot of dynamic digital circuitry, so going below 1MHz would likely break something, while because its DDR means you still have very strict nanosecond level timing requirements on the pins, so you still need to use the proper DDR pins on a FPGA even if you are running it at a snails pace clock speed. But for non hardIP DDR RAM controllers the 400MHz indeed sounds like a pretty fast speed on a cheep pedestrian chip.
 
The following users thanked this post: petersanch, hal9001

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8414
Re: Running DDR2 below rated speed?
« Reply #2 on: March 18, 2021, 01:22:31 pm »
Slower but within the same order of magnitude is no problem at all. On the other hand, if you want to go really slow, the refresh interval is likely to be the lower limit.
 
The following users thanked this post: hal9001

Offline jziegler

  • Newbie
  • Posts: 9
  • Country: us
Re: Running DDR2 below rated speed?
« Reply #3 on: March 18, 2021, 04:43:15 pm »
Yes, all DDR2 chips are backward compatible to the lowest DDR2 data rates.  Adjust CAS latency as in the data sheet.

When designing DDR2 / DDR3 into FPGA and embedded microcontroller systems, the controllers frequently will only handle around the minimum speeds for the standard.  And as time moves on, only faster and faster memory parts are available.

DDR2 can probably handle lower rates to a point.  DDR3 specifically calls out 300MHz as the minimum allowed.  I've never tried to go slower than that.
 
The following users thanked this post: Someone, petersanch, hal9001

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15360
  • Country: fr
Re: Running DDR2 below rated speed?
« Reply #4 on: March 18, 2021, 06:22:44 pm »
Yeah, the limiting point will be the refresh cycles. As long as your controller can ensure that the right number of refresh cycles are executed within the specified time interval, there should be no problem.

Of course, since the required number of refresh cycles will be the same, the slower the clock, the more refresh cycles will affect overall data throughput. At some point, there won't be enough cycles left to issue any other command than auto refresh.

 
The following users thanked this post: petersanch, hal9001

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 17167
  • Country: us
  • DavidH
Re: Running DDR2 below rated speed?
« Reply #5 on: March 21, 2021, 04:54:34 am »
Does that mean that by adjusting CL in the FPGA memory controller that as low as DDR2-400 is supported?

In addition to the above, there is nothing which prevents using a higher CL at lower frequencies; it will just mean higher access times.  The CL specifications are the minimum at a given frequency.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf