WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2017-May-28 06:20:56

harryzwh
Member
Registered: 2016-Jul-04
Posts: 8

Maximum length between two CM-MMCX

Dear

We are now using WARP boards to build a distributed MIMO system and we want to use CM-MMCX to synchronize two boards. In that case, what will be the maximum distance between two boards (i.e. the maximum length of the coaxial cable)? For the output of CM-MMCX, what is the difference between "RF ref" and "Samp ref"? I try to use both as the external reference signal for a CM-PLL module, it seems both output can drive the CM-PLL (successfully boot up to display the ID on 7-segment displays). If I want to use a CM-MMCX as master clock to drive a CM-PLL module, which output I should use?

Thanks

Offline

 

#2 2017-May-30 08:44:39

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Maximum length between two CM-MMCX

In that case, what will be the maximum distance between two boards (i.e. the maximum length of the coaxial cable)?

The max length depends on many parameters (quality of the coax cable & connectors, interference sources along the cable, etc). The clock inputs on the AD9512 buffers (the clock distribution IC on the WARP v3 board) are fairly sensitive, requiring only 150mVp-p to operate at spec. We have seen cables >10m work fine, but can't guarantee this for all cables.

For the output of CM-MMCX, what is the difference between "RF ref" and "Samp ref"? I try to use both as the external reference signal for a CM-PLL module, it seems both output can drive the CM-PLL (successfully boot up to display the ID on 7-segment displays). If I want to use a CM-MMCX as master clock to drive a CM-PLL module, which output I should use?

The RF Ref input drives the MAX2829 reference clock inputs. The Samp ref input drives the ADC/DAC clock reference and the FPGA. The CM-MMCX supports different inputs/outputs for these clocks. However in most applications the RF and sampling reference clocks should be synchronous (often driven by the same clock). The CM-PLL drives both clocks from a single oscillator whose frequency is controlled by a single reference clock (typically driven by an off-board reference source).

Either CM-MMCX output is electrically/mechanically compatible with the CM-PLL reference input. However you must adjust the frequency of either the CM-MMCX output or the CM-PLL configuration accordingly. Our reference designs configure the PLL on the CM-PLL module for a 10MHz reference input. Refer to the user guide for more details.

Offline

 

#3 2017-May-30 23:12:16

harryzwh
Member
Registered: 2016-Jul-04
Posts: 8

Re: Maximum length between two CM-MMCX

Thank you for providing the experience of using a long coaxial cable between two clock modules.

Actually, I am a little bit confused about the difference between "RF ref" and "Samp ref". Let me first present the setting of clock modules.
For CM-MMCX, the setting is "0,1" so that is will use the on-board 80MHz TCXO as ref. I use it as master clock.
For CM-PLL, the setting is "0,0,0,1,1,1". The first three bits follow the user guide that you provided, while for the the last three bits, I used the configuration from https://warpproject.org/trac/wiki/cores … controller.
Without changing the above setting, both "RF ref" and "Samp ref" outputted from CM-MMCX can drive the CM-PLL. In that case, does it mean the output from both "RF ref" and "Samp ref" are actually the same (with the same frequency at 80MHz)?  Can I use both output from a CM-MMCX to synchronize two other boards equipped with CM-PLL modules?

Offline

 

#4 2017-May-31 09:10:04

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Maximum length between two CM-MMCX

Actually, I am a little bit confused about the difference between "RF ref" and "Samp ref".

This is explained in the WARP v3 user guide clocking section. The WARP v3 PCB has separate clock distribution circuits for the radio reference and sampling reference clocks. By default both distribution circuits are driven by the same 80MHz TCXO.

Can I use both output from a CM-MMCX to synchronize two other boards equipped with CM-PLL modules?

Yes, but this configuration cannot be achieved using just the switches on the clock modules - you will need to modify the design source code.

I would encourage you to start by reviewing the available docs:
-CM-MMCX user guide
-CM-PLL user guide
-WARP v3 clocking
-w3_clock_config core

Then draw a diagram of what connections you plan to make between modules and what clock frequency each connection will use. From there you can modify the source code to achieve the selections of inputs, outputs and frequencies you need.

One approach would be to configure both CM-MMCX outputs as 10MHz driving the MMCX inputs on two CM-PLL modules. To achieve 10MHz outputs from the CM-MMCX you must change the C code to enable the outputs and set the dividers:

Code:

// Configure clock module header outputs as 10MHz (80MHz / 8)
clk_config_dividers(CLK_BASEADDR, 8, CLK_SAMP_OUTSEL_CLKMODHDR | CLK_RFREF_OUTSEL_CLKMODHDR);

// Enable Sampling and RF Ref clock outputs to clock module header
clk_config_outputs(CLK_BASEADDR, CLK_OUTPUT_ON, (CLK_SAMP_OUTSEL_CLKMODHDR | CLK_RFREF_OUTSEL_CLKMODHDR));

If you're using WARPLab the clock configuration code is in node_clk_initialize() in wl_node.c.

Offline

 

Board footer