WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2013-May-07 13:22:19

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Input signal to WARP clock board

Hi guys,

We want to replace TCXO with some better and synchronized clocks.
What is the type of signal that should be fed into the clock board? (sinusoid or rectangular). Based on what I read from the wiki page of WARPLab, it needs both 20MHz and 40MHz.

Thx.

Rui

Offline

 

#2 2013-May-07 13:32:19

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

Re: Input signal to WARP clock board

Either waveform is fine. You'll achieve lower jitter with the fast slew of a square wave. To fully synchronize nodes you must supply both the RF reference clock and sampling clock. The RF ref must be 20MHz (same as the on-board oscillator) or 40MHz (requires minor change to radio_controller code). The sampling clock can be any value supported by the ADCs/DACs and by your FPGA design. The on-board oscillator is 40MHz, the value assumed by all the WARP reference designs.

Offline

 

#3 2013-May-08 12:46:50

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi Murphpo,

Are there two on-board oscillators? One has a output of 20MHz, and the other has a output of 40MHz.
To fully synchronized the boards, do you suggest feed RF reference clock and sampling clock from the same clock source?
Thx.

Rui

murphpo wrote:

Either waveform is fine. You'll achieve lower jitter with the fast slew of a square wave. To fully synchronize nodes you must supply both the RF reference clock and sampling clock. The RF ref must be 20MHz (same as the on-board oscillator) or 40MHz (requires minor change to radio_controller code). The sampling clock can be any value supported by the ADCs/DACs and by your FPGA design. The on-board oscillator is 40MHz, the value assumed by all the WARP reference designs.

Offline

 

#4 2013-May-08 13:00:00

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

Re: Input signal to WARP clock board

Are there two on-board oscillators? One has a output of 20MHz, and the other has a output of 40MHz.

Yes. This is explained in the Clock Board User Guide.

To fully synchronized the boards, do you suggest feed RF reference clock and sampling clock from the same clock source?

This is certainly an option. You can also use different clocks if your application requires a sampling frequency that isn't a multiple of 40MHz.

Offline

 

#5 2013-May-16 13:41:29

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi Murphpo,

We plan to use GPS disciplined oscillators (GPSDO) to achieve clock sync across distributive boards. But the GPSDOs we have found so far only provide 10MHz reference clock. I guess we need to add X4 frequency multipliers to get 40MHz output and feed it to both the sampling reference clock and radio RF reference clock on the board.

But we are afraid that frequency multipliers may kill the clock synchronization across distributive clock sources, as we do not have too many experiences dealing with clocks and frequency multipliers. Do you happen to know if someone else has done similar designs before?
Thx.

Rui

murphpo wrote:

Are there two on-board oscillators? One has a output of 20MHz, and the other has a output of 40MHz.

Yes. This is explained in the Clock Board User Guide.

To fully synchronized the boards, do you suggest feed RF reference clock and sampling clock from the same clock source?

This is certainly an option. You can also use different clocks if your application requires a sampling frequency that isn't a multiple of 40MHz.

Offline

 

#6 2013-May-16 21:43:46

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

Re: Input signal to WARP clock board

I'm not aware of anyone who has used that setup. It seems like it should work. What are the jitter characteristics of the 10MHz clock output?

Offline

 

#7 2013-May-21 16:49:37

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi Murphpo,

From the datasheet of the GPS disciplined oscillator, it says the frequency stability over temperature is (+-6E-9), and the frequency stability over 24hrs (<1E-12), when the oscillator is locked to the GPS signal.
Its measured ADEV 1s<7E-12 (25 degree, no motion/airflow)
Feel free to give some comments.

Rui

murphpo wrote:

I'm not aware of anyone who has used that setup. It seems like it should work. What are the jitter characteristics of the 10MHz clock output?

Offline

 

#8 2013-Jul-23 15:10:40

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi Murphpo,

Since I want to feed both sampling clock and RF reference clock from the same external reference clock, but my external clock unit only has one output port, can I just feed J2 on WARP clock board with my 40MHz external ref clock, and then connect J4 with J3? If I understand the setup correctly, J4 outputs an identical signal to that of J2

murphpo wrote:

Are there two on-board oscillators? One has a output of 20MHz, and the other has a output of 40MHz.

Yes. This is explained in the Clock Board User Guide.

To fully synchronized the boards, do you suggest feed RF reference clock and sampling clock from the same clock source?

This is certainly an option. You can also use different clocks if your application requires a sampling frequency that isn't a multiple of 40MHz.

Thx.

Rui

Offline

 

#9 2013-Jul-23 15:31:57

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

Re: Input signal to WARP clock board

Since I want to feed both sampling clock and RF reference clock from the same external reference clock, but my external clock unit only has one output port, can I just feed J2 on WARP clock board with my 40MHz external ref clock, and then connect J4 with J3? If I understand the setup correctly, J4 outputs an identical signal to that of J2

That should work. We've seen other users do this successfully.

You will need to modify the radio_controller driver to configure the MAX2829 for a 40MHz reference clock. The code for this is already in the driver but is commented out by default. See radio_controller_basic.c.

Offline

 

#10 2013-Jul-24 13:45:06

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Thanks for the reply.
After I change the radio_controller driver to configure the MAX2829 for a 40MHz reference clock, does the matlab control code for setting frequency channel needs to modified?

Rui

murphpo wrote:

Since I want to feed both sampling clock and RF reference clock from the same external reference clock, but my external clock unit only has one output port, can I just feed J2 on WARP clock board with my 40MHz external ref clock, and then connect J4 with J3? If I understand the setup correctly, J4 outputs an identical signal to that of J2

That should work. We've seen other users do this successfully.

You will need to modify the radio_controller driver to configure the MAX2829 for a 40MHz reference clock. The code for this is already in the driver but is commented out by default. See radio_controller_basic.c.

Offline

 

#11 2013-Jul-24 14:48:19

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

Re: Input signal to WARP clock board

Nope- the PLL tuning words don't change with a 40MHz reference frequency, only the reference divider (the value affected by the radio_controller driver change).

Offline

 

#12 2013-Nov-19 12:38:31

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi Murphpo,

If I want feed an external 40MHz clock source to J2 on the clock board v1.1, should I change some settings to disable its internal clock signal?
Meanwhile since I would like to feed forward the same 40MHz clock to the sampling reference clock via connecting J4 and J3. Is there any need to enable the feed forward property of J4 port on the clock board.
Thanks.

Rui

Offline

 

#13 2013-Nov-20 13:01:03

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

Re: Input signal to WARP clock board

Just to clarify, you want (Ext 40MHz -> J2 -> RF ref clock buffer -> J4 -> J3 -> Sampling clock buffer)?

If so, this is possible. You would need to configure the Clock Board to select J2 and J3 as the clock sources (i.e. both RF ref and sampling clocks external) and enable the J4 output. You would also need to make a physical connection from J4 -> J3 using a short coax cable.

Offline

 

#14 2013-Nov-20 13:05:09

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Yes. That is what we have in mind for the design.
Thanks for the clarification.

Rui

murphpo wrote:

Just to clarify, you want (Ext 40MHz -> J2 -> RF ref clock buffer -> J4 -> J3 -> Sampling clock buffer)?

If so, this is possible. You would need to configure the Clock Board to select J2 and J3 as the clock sources (i.e. both RF ref and sampling clocks external) and enable the J4 output. You would also need to make a physical connection from J4 -> J3 using a short coax cable.

Offline

 

#15 2013-Nov-20 17:58:16

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi  Murphpo,

Can you be more specific on how to configure the clock board to select J2 and J3 as the clock sources, and how to activate the J4 output? Do they need a change of the hardware/software codes?
I have seen your reply in another thread that the first one just requires the setting of two switches on Radio Board on slot 2.
Thanks a lot.

Rui

murphpo wrote:

Just to clarify, you want (Ext 40MHz -> J2 -> RF ref clock buffer -> J4 -> J3 -> Sampling clock buffer)?

If so, this is possible. You would need to configure the Clock Board to select J2 and J3 as the clock sources (i.e. both RF ref and sampling clocks external) and enable the J4 output. You would also need to make a physical connection from J4 -> J3 using a short coax cable.

Offline

 

#16 2013-Nov-21 20:59:51

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

Re: Input signal to WARP clock board

Recent WARPLab reference designs use the top two positions of the DIP switch on the Radio Board in slot 2 to configure the source of the RF and sampling clocks. Assert the switch to select the off-board clock source. For the configuration you describe above you want both clocks configured for off-board sources. I don't recall if the clock forwarding ports (J2) are enabled by default. If not you need to enable them via the GUI for the clk_board_config core in XPS (double click the core in System Assembly View, enable the outputs you want, click OK, then re-built hardware).

Offline

 

#17 2013-Dec-05 19:08:35

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hi Murphpo,

For the top two switches on radio board in slot 2 for WARP v2.2, do you mean switch 4 and 3 of that dip switch??
Thanks.

Rui

murphpo wrote:

Recent WARPLab reference designs use the top two positions of the DIP switch on the Radio Board in slot 2 to configure the source of the RF and sampling clocks. Assert the switch to select the off-board clock source. For the configuration you describe above you want both clocks configured for off-board sources. I don't recall if the clock forwarding ports (J2) are enabled by default. If not you need to enable them via the GUI for the clk_board_config core in XPS (double click the core in System Assembly View, enable the outputs you want, click OK, then re-built hardware).

Offline

 

#18 2013-Dec-06 08:39:37

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

Re: Input signal to WARP clock board

For the top two switches on radio board in slot 2 for WARP v2.2, do you mean switch 4 and 3 of that dip switch??

Yes.

Edit: Actually, no - see below.

Offline

 

#19 2013-Dec-06 13:50:29

wang78
Member
Registered: 2012-Sep-11
Posts: 74

Re: Input signal to WARP clock board

Hmm That is weird.
Later last night I used our spare board for the test. It is actually switch 1 and 2 of that dip switchthat give me the selection of off-board clock input. I tried switch 3 and 4, the radio reference clock output port still gave me 20MHz instead of 40MHz (our external clock).
Thanks.

Rui

murphpo wrote:

For the top two switches on radio board in slot 2 for WARP v2.2, do you mean switch 4 and 3 of that dip switch??

Yes.

Offline

 

#20 2013-Dec-06 17:45:49

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

Re: Input signal to WARP clock board

You're right- I was mistaken above. I mis-remembered which switches are used. Your observation agrees with this post:

Just to clarify- starting with WARPLab v6.3 for WARP v1/v2, the RF and sampling clock sources can be selected using the bottom two DIP switch positions on the Radio Board in slot 2. I believe the RF clock is selected by the bottom switch, the sampling clock by the next one up. These switches are sampled only at configuration time- you must re-download the bitstream to change a clock source. These switches override the parameters set in the XPS project (actually, in DIP-switch-selection-mode the clock_board_config core ignores the clk_source parameters completely and uses only the DIP switch setting).

Offline

 

Board footer