uhd icon indicating copy to clipboard operation
uhd copied to clipboard

Documentation of rfnoc clocks

Open TSlivede opened this issue 3 years ago • 1 comments

Issue Description

I tried to find an official documentation about what clock speed is used for the rfnoc_chdr clock, but couldn't find anything reliable.

Setup Details

current state of the documentation

Expected Behavior

I thought, that there should be some page where the different clocks used by the RFNoC are documented.

Actual Behaviour

I couldn't find any official looking documentation about the rfnoc_chdr clock. There are only few search results and only this KB page seems to say something about the clock ("[...] but rfnoc_chdr clock (200 MHz) should also work [...]").

Additional Notes

Is it correct, that rfnoc_chdr is clocked at 200MHz?

Also am I guessing correctly, that the radio clock ({ srcblk: _device_, srcport: radio, [...]) is the master_clock_rate from the device args? Is this documented somewhere?

TSlivede avatar Nov 09 '21 12:11 TSlivede

The speed of the rfnoc_chdr_clk clock depends on the USRP. So it's not always 200 MHz. You are right that this is not currently documented anywhere besides just looking at the source code. These are the clock rates I found for rfnoc_chdr_clk:

  • X3xx 187.5 MHz
  • N3xx 200 MHz
  • E31x 100 MHz
  • E320 200 Mhz

You are correct regarding master_clock_rate. So the radio_clk used by RFNoC will change depending on the configured master clock.

wordimont avatar Nov 16 '21 17:11 wordimont