discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] USRP2 - external clock pps python example


From: Burak TUYSUZ
Subject: Re: [Discuss-gnuradio] USRP2 - external clock pps python example
Date: Mon, 18 Apr 2011 13:53:15 -0400

In UHD for the time stamps you suggested to use the cpp interface which is fine and there is also an example.
How can I make sure that external clock is locked properly in cpp.
Thanks in advance
-Burak

On Wed, Apr 13, 2011 at 2:37 PM, Josh Blum <address@hidden> wrote:


On 04/13/2011 11:31 AM, Burak TUYSUZ wrote:
> It does not say if it is the falling edge or the rising edge of the
> pps. Is it possible to specify that or is it defined?
>
>
The convenience function sets the positive edge which seems to be every
device out there.

For advanced configuration, see the c++ doxygen, so you can extrapolate
what the equivalent code in python should be.
http://www.ettus.com/uhd_docs/doxygen/html/structuhd_1_1clock__config__t.html

-Josh

> On Tue, Apr 12, 2011 at 9:57 PM, Josh Blum <address@hidden> wrote:
>>
>>
>> On 04/12/2011 06:06 PM, Burak TUYSUZ wrote:
>>> Hi Josh,
>>> Is it possible to trigger storing data with pps using GRC I could nor
>>> find a related email.
>>
>> Not from GRC
>>
>>> If so should that be included in FPGA or in software. A related work
>>> would be great
>>
>> The rx_timed_samples.cpp example in uhd shows how to request samples at
>> a specific time.
>>
>> -Josh
>>
>>>
>>>
>>> On Mon, Apr 11, 2011 at 9:43 PM, Josh Blum <address@hidden> wrote:
>>>>
>>>>
>>>> On 04/11/2011 02:35 PM, Burak TUYSUZ wrote:
>>>>> Is there any example python code showing the usage of external clock
>>>>> and pps inputs of USRP2
>>>>> Thank you in advance
>>>>> -Burak
>>>>>
>>>>
>>>> A good python example would be code generated by grc when you setup the
>>>> "ref clock" and "sync" parameters in the uhd usrp source/sink blocks.
>>>>
>>>> http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Gnuradio-UHD
>>>>
>>>> -Josh
>>>>
>>>> _______________________________________________
>>>> Discuss-gnuradio mailing list
>>>> address@hidden
>>>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>>
>>>
>>>
>>>
>>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]