External Clock in GRC

Hello,
I’m trying to use the external clock input of the USRP2. Since i’m using
GRC, i tried to modify the xml usrp2_source block (the
usrp2_source_xxxx.xml
file) to add this feature. This is what I did:
I added a <-PARAM> section:
<-param>
Clock type
clk_type
enum

Internal
internal
fcn:usrp2.MC_WE_DONT_LOCK


External
external
fcn:usrp2.MC_WE_LOCK_TO_SMA

<-/param>
And i added this command in the section:
self.$(id).config_mimo($clk_type.fcn)

Can you tell me if there is a chance for this to work ? And if i am
using
the good command to use the external clock (i read that it was also
possible
to modify the firware to use the external clock) ?

Thanks in advance.
Damien S.

View this message in context:
http://old.nabble.com/External-Clock-in-GRC-tp28667726p28667726.html
Sent from the GnuRadio mailing list archive at Nabble.com.

Damien,

I use:

Clock Source usrp2_clock_src usrp2.MC_WE_DONT_LOCK enum Internal usrp2.MC_WE_DONT_LOCK External SMA usrp2.MC_WE_LOCK_TO_SMA External MIMO usrp2.MC_WE_LOCK_TO_MIMO

and :
self.$(id).config_mimo($usrp2_clock_src)

It works for me. To be complete it should probably have an option for
MC_PROVIDE_CLK_TO_MIMO, but I don’t use it so wasn’t motivated enough.

I thought this was going to be pushed into the repo master branch.
shrug

–Eric

On Tue, May 25, 2010 at 08:10, Eric S. [email protected]
wrote:

I thought this was going to be pushed into the repo master branch.
shrug

Hmm, perhaps this slipped through the cracks. It’s a good idea. Was
there a patch posted?

Johnathan

Johnathan C.-2 wrote:

Johnathan


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page

Not by me. Indeed i’m a noob in Linux and in Gnuradio so i simply don’t
know how to do that. Perhaps Eric is more qualified to do that ?


View this message in context:
http://old.nabble.com/External-Clock-in-GRC-tp28667726p28686557.html
Sent from the GnuRadio mailing list archive at Nabble.com.