[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] External Clock in GRC
From: |
Eric Schneider |
Subject: |
Re: [Discuss-gnuradio] External Clock in GRC |
Date: |
Tue, 25 May 2010 09:10:49 -0600 |
Damien,
I use:
<param>
<name>Clock Source</name>
<key>usrp2_clock_src</key>
<value>usrp2.MC_WE_DONT_LOCK</value>
<type>enum</type>
<option>
<name>Internal</name>
<key>usrp2.MC_WE_DONT_LOCK</key>
</option>
<option>
<name>External SMA</name>
<key>usrp2.MC_WE_LOCK_TO_SMA</key>
</option>
<option>
<name>External MIMO</name>
<key>usrp2.MC_WE_LOCK_TO_MIMO</key>
</option>
</param>
and <make>:
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, 2010-05-25 at 05:28 -0700, Damien S. wrote:
> 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>
> <name>Clock type</name>
> <key>clk_type</key>
> <type>enum</type>
> <option>
> <name>Internal</name>
> <key>internal</key>
> <opt>fcn:usrp2.MC_WE_DONT_LOCK</opt>
> </option>
> <option>
> <name>External</name>
> <key>external</key>
> <opt>fcn:usrp2.MC_WE_LOCK_TO_SMA</opt>
> </option>
> <-/param>
> And i added this command in the <make> 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.