[SI-LIST] Re: DDR2 inteface consultant needed

This DDR2 clock issue is interesting and it worries for me.  I have done 
very extensive testing of this issue (2.5GHz scope, 1.5GHz fet probes, 
1.7 GHz diff probes, homemade resistive probes, GND loop is always 
minimized). I tested it with different memory modules with chips on them 
from different manufacturers and even without memory at all (but then I 
needed to terminate the clocks on my board). It seems that (at least in 
my case) Spartan3 drives signals powered from 1.8V in a strange way:
 - falling edge is a clean transaction from HI to LOW state
 - rising edge is strange it seems that at first it goes to HiZ state 
and after some time it is driven HI

I have done the following tests:

First test was done without memory (so there was no differential 
termination between lines and they didn't branch), each line of the 
differential clock pair was terminated by 50Ohm to GND then I captured 
waveforms at the terminators (end of line). I observed that 
complementary output does not follow the positive output.


Then I took one line of the differential pair, stimulated it using a 
clock signal, I again removed the memory module and terminated the line 
at the very end to Vtt (1/2 VDD). The result was that I got a 'shelf' at 
Vtt level. That shelf lasted for about 1ns (quite long). Then I 
terminated the same line to GND and as a result I got no shelf but duty 
cycle distortion, i.e. line was in LOW state longer than in HI state.

The art drawing shows the measurements.

                  +--------+
                  |        |
               +--+        |
  term to VTT  |           |
       --------+           +------

                  +--------+
                  |        |
                  |        |
  term to GND     |        |
        ----------+        +------


It seems to me that all SSTL18 signals driven by my Spartan3 are 
affected by this phenomena. Since most of signals have a series 
termination 22R on the memory module it helps a little to 'smooth' the 
shelf, probably by creating a low pass filter together with a load 
capacitance. Differential clock signals do not have this series 
resistance placed close to load and they look very distorted. I think 
that for some time one signal from the pair is not driven by FPGA but 
only by differential terminator at the very end of the line (and by 
strong driver of a complementary signal). As I mentioned before 
differentially this clock signal looks good.

The question is whether it may create some problems or can I live with it?


Regarding the crosstalk. I tried to measure it and to find sources of 
it. It is very hard to correlate this crosstalk with PCB, I suppose that 
majority of it comes form the controller itself (the strongest 
aggressors are the neighboring FPGA pins not always neighboring PCB traces).

I have one question to the group regarding a crosstalk: If two lines 
(victim and aggressor) are routed as strip lines and the victim has 
series terminator at the beginning of the line should we observe a 
crosstalk at the end of the victim line? My understanding is that in an 
ideal situation we shouldn't see any crosstalk at the victim's end 
because in such configuration there is no FEXT and NEXT which is 
inducted does not reflect back from the beginning of the line because it 
is absorbed by the termination (Rs+driver resistance) so it does not 
appear at the end of victim.

thanks,
Robert Szumowicz

Yasir_Mirza@xxxxxxxx wrote:
> #1 is interesting, have you tested on different memory modules from
> different vendors. The only thing I can think of is PMOS/NMOS process
> differences. I wouldn't be too worried about it since virtually all
> memory measurements are done differentially but it is something
> interesting to investigate. Ah, another thought came to my mind. What is
> your test setup. What scope/probes are you using. I have seen plenty of
> bad memory measurements due to bad probing/not having enough bandwidth,
> etc.
>
> Yasir Mirza
>
>
> -----Original Message-----
> From: si-list-bounce@xxxxxxxxxxxxx [mailto:si-list-bounce@xxxxxxxxxxxxx]
> On Behalf Of Robert Szumowicz
> Sent: Thursday, March 29, 2007 4:39 AM
> To: si-list@xxxxxxxxxxxxx
> Subject: [SI-LIST] DDR2 inteface consultant needed
>
> Hi all,
>
> I'm designing my first DDR2 memory interface and I have just finished 
> debugging a prototype board and taking measurements of it. Since I don't
>
> have enough experience in the area and my measurements sometimes worry 
> me I would like somebody to assist me in interpreting measurements and 
> to help to improve the layout on the final PCB.
>
> The interface is point to point between FPGA (Spartan3) and DDR2 SODIMM 
> memory module (8 memory chips, 64 data bits) and runs at 150MHz. All 
> lines use a controlled impedance and are routed in offset strip line 
> manner (two signal layers between two planes). Parallel terminations to 
> Vtt are used at both ends of data/strobe lines and in addition there is 
> 22R series resistor on the memory module itself. Address and control 
> lines are terminated to Vtt at the end of the line and there is a series
>
> resistor on memory module. By end of the line I mean a SODIMM connector 
> because the real end of the line is on memory module and is not
> accessible.
>
> Interface seems to work. I tested a few prototype boards with several 
> memory modules, I ran long term tests even at stressed conditions: 1.8V 
> at its margins, Vref intentionally modified, temperature of chips 
> changed. I am not fully happy of my measurements and not confident if 
> the interface is robust enough.
>
> The things which worry me are the following:
>
> 1) Differential clock signals which are terminated differentially (at 
> the memory module) look very strange when observed using single ended 
> probes. One edge of the clock signal is clean, opposite edge of clock 
> signal suffers monotonicity problems. When looking at two signals at the
>
> same time falling edge on one signal form the pair is clean and fast, 
> rising edge of complementary signal is slow and distorted. I would like 
> to know whether it is acceptable if when measuring this clock using 
> differential probe does not show any alarming effects and what side 
> effect may it create?
>
> 2)
> During write to memory there is a significant crosstalk seen at the 
> memory module. I am especially worried about crosstalk on strobes which 
> comes from data lines and which distorts the strobes in the way that 
> they approach Vref level. I haven't observed Vref+VIH(DC) or 
> Vref-VIL(DC) violation but I am not confident if my test setup shows the
>
> worst case maximum value. I would like to reduce this crosstalk if
> possible.
>
> 3)
> During read from memory I do not observe a clean edges of incoming 
> signals (strobes and data) when measured at FPGA via or at the very end 
> of the line, i.e. at the termination resistor. I suspect that a package 
> transmission line has some effect here. If it is a case then I am unable
>
> to correctly measure signals seen by the receiver. I haven't seen such 
> effect on SI simulations and this effect varies from receiver pin to
> pin.
>
> 4)
> During read from memory I observe a lot of crosstalk on the strobes 
> causing them to be non monotonic and the non monotonicity even crosses 
> Vref level. It seems to be a big issue since strobes are single ended 
> signals in my case and JEDEC standard (JESD79-2B) on figure 80 prohibits
>
> them from being non monotonic between VIL(DC) and VIH(DC). Taking into 
> account that I suspect that I do not see using an oscilloscope the same 
> what receiver's die sees I am unable with my limited experience to judge
>
> if it is acceptable or not. Of course I would like to reduce this 
> crosstalk if possible.
>
> 5)
> I am observing elevated amount of noise on Vref voltage. It would be 
> great to clean it. First problem is that my noise floor is significant 
> even if I do not measure Vref noise but only a probe pickup which easily
>
> catches noise from neighboring switching voltage regulators. Second 
> doubt is that Vref noise is raised if DDR2 interface is active and I am 
> not sure if I pick up the noise from the air or it is really coupled to 
> my Vref voltage. Third problem with Vref noise measurements is that it 
> greatly varies depending where it is measured (across decoupling 
> capacitor shows the least amount of noise). JEDEC does not say where to 
> measure Vref noise so I am unsure how to measure it to comply with the 
> standard.
>
> I would be grateful if somebody experienced in this are would like to 
> help. I am looking both: a professional help on a consulting basis and 
> advices from the group. I am willing to provide additional detailed 
> information and oscilloscope measurements if somebody is interested in 
> helping.
>
> thank you in advance,
> Robert Szumowicz 
>
>
>
> ------------------------------------------------------------------
> To unsubscribe from si-list:
> si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
>
> or to administer your membership from a web page, go to:
> http://www.freelists.org/webpage/si-list
>
> For help:
> si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field
>
>
> List technical documents are available at:
>                 http://www.si-list.net
>
> List archives are viewable at:     
>               http://www.freelists.org/archives/si-list
> or at our remote archives:
>               http://groups.yahoo.com/group/si-list/messages
> Old (prior to June 6, 2001) list archives are viewable at:
>               http://www.qsl.net/wb6tpu
>   
>
>   

------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field

or to administer your membership from a web page, go to:
http://www.freelists.org/webpage/si-list

For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field


List technical documents are available at:
                http://www.si-list.net

List archives are viewable at:     
                http://www.freelists.org/archives/si-list
or at our remote archives:
                http://groups.yahoo.com/group/si-list/messages
Old (prior to June 6, 2001) list archives are viewable at:
                http://www.qsl.net/wb6tpu
  

Other related posts: