sinara-hw / sinara

Sayma AMC/RTM issue tracker
Other
42 stars 7 forks source link

sayma v2.0: implement new synchronisation scheme #594

Closed hartytp closed 5 years ago

hartytp commented 6 years ago

We now have a proven scheme for board-board synchronisation:

How does that all sound??

sbourdeauducq commented 6 years ago

@sbourdeauducq is there any need to route the DAC/ADC SYNC lines over the AMC<->RTM connector, or can they just go to the RTM FPGA?

The ADCs will be stripped. The DAC sync lines (FF) should be driven by the AMC FPGA to reduce dependency on DRTIO.

dhslichter commented 6 years ago

the FF D input (FPGA SYSREF) can be a simple LVCMOS signal, since it doesn't need to be that fast or low-jitter so there's no need to make it differential. I'm matching LVCMOS to the FF LVPECL input with a simple potential divider. NB this signal should be DC coupled from the FPGA to the FF

Does this not raise potential issues if the rise/fall times or the output jitter becomes comparable to the DAC clock period (~400 ps at max clock rate)? It seems to me that we can tolerate a lot of jitter, and not-great rise/fall times, but to run at the max clock rate we still need to pay some attention to these things, and it might be better (i.e. more margin for error) to use a higher-performance differential signal from SYSREF from FPGA. Is there a downside/problem with doing this? If not, I would advocate for it, just in case it makes a difference for robustness...

hartytp commented 6 years ago

@dhslichter no. The FF retimes the FPGA signal onto the 150MHz ref clk, so the FPGA SYSREF just needs to meet S/H w.r.t. the 150MHz clock. The FF SYSREF output needs to meet S/H at 2.4GHz, which is why we chose a FF with jitter in the single-digit ps...

dhslichter commented 6 years ago

@hartytp ack, sorry about the confusion, proceed :)

gkasprow commented 6 years ago

@hartytp any preference in selection of the fanout chip?

hartytp commented 6 years ago

Which fanout? The fanout for the reference that feeds the main PLL?

As a rule, any fanout that is in the critical path that provides the DAC clock should be a low noise one like an ADCLK. Anything that is only involved in the SYSREF path can be a LVDS one (jitter must be much lower than 100ps).

gkasprow commented 6 years ago

I mean the one that splits HMC830 to DACs. I assume we can leave theADCLK948 as it is now.

hartytp commented 6 years ago

@gkasprow let's double check that the DACs can actually handle LVPECL clock signals. I don't think we need a mux here, and we only need two outputs, so an ADCLK925 is probably more appropriate than an ADCLK948.

gkasprow commented 5 years ago

@hartytp ADCLK948 costs nearly the same as ADCLK925, but it has mux and we can route both HMC830 and ADF4356 and have ability to choose which one to use by software. And we already use ADCLK948 in the design.

hartytp commented 5 years ago

ADCLK948 costs nearly the same as ADCLK925 And we already use ADCLK948 in the design.

Okay. I don't really like using the ADCLK948 as a 2-output fanout by my objections are mainly cosmetic (to much board area, looks odd on the schematic to have so many unused outputs). Agreed, it's worth saving a BOM line, so let's use the ADCLK948.

but it has mux and we can route both HMC830

True.