Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHello to all,
I'm using a USRP B210 Board and I need to use the external 10Mhz
reference, I'm using as base for my application (almost complete) the
rx_sample_c.c and by reading the Ettus manual cant figure out how to
select the external SMA reference, (I'm no expert in C code, just to
make things do what I need).
Any help will be appreciated.
Best regards,
Guillermo Gancio.<div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
Hi Guillermo,
In general, you should only use the C API instead of the native C++ API
(UHD is C++) if you're really bound to using C; if you can choose, don't
use the C API but stick with UHD in its native language.
That being said, you'll find the documentation for the
uhd_usrp_set_clock_source method in [1]; use it like
uhd_usrp_set_clock_source(usrp_handle, "external", 0); // 0: first USRP.
Best regards,
Marcus
[1]
http://files.ettus.com/manual/usrp_8h.html#aa1ea9e74914bed971d8b11bfa33d410d
On 21.04.2016 15:21, Guillermo Gancio via USRP-users wrote:
Hello to all,
I'm using a USRP B210 Board and I need to use the external 10Mhz
reference, I'm using as base for my application (almost complete) the
rx_sample_c.c and by reading the Ettus manual cant figure out how to
select the external SMA reference, (I'm no expert in C code, just to
make things do what I need).
Any help will be appreciated.
Best regards,
Guillermo Gancio.<div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br />
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com