Hi all,

Is it possible to programmatically determine the "rfnoc_chdr_clk" rate from a 
UHD application? More specifically, I have a custom RFNoC block clocked from 
rfnoc_chdr_clk, and I'd like to programmatically determine its clock rate from 
the associated custom software driver so I can convert tick rate to physical 
units of time. I know it varies by radio model [1], and I'd like the driver 
code to be portable across a few models.

I've poked around quite a bit in the docs and code, and I haven't found an 
obvious solution in UHD 4. I guess I could dump it into a register within my 
RFNoC block, but I wanted to make sure I'm not missing something in the 
existing framework. Calling get_tick_rate() on the block control object just 
returns 0.

Thanks!
David

[1] 
https://kb.ettus.com/RFNoC_Frequently_Asked_Questions#What_are_the_clock_frequencies.3F

_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to