[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] UHD + USRP2: altering AD9510+AD9777 config settin
From: |
Nick Foster |
Subject: |
Re: [Discuss-gnuradio] UHD + USRP2: altering AD9510+AD9777 config settings |
Date: |
Wed, 09 Mar 2011 10:19:23 -0800 |
On Wed, 2011-03-09 at 23:16 +1100, Vladimir Negnevitsky wrote:
> (Apologies for this repeat message; my original message didn't seem to
> appear on the mailing list archive.)
>
> Hi folks,
>
> I'm writing a basic C++ UHD app to control some custom hardware on the
> USRP2/N210; I'm using the multi_usrp class. I need the USRP2 to
> continue sending out internally-generated data through the AD9777 DAC
> even after my host app closes. Problem is, UHD seems to tell the
> AD9777 to enter sleep mode at this point; is there any way to alter
> this default behaviour short of modifying the UHD source?
>
> A broader question is how to control the initial configuration of the
> AD9510 and AD9777 when the host connects to the USRP2. I understand
> this is a bit low-level for the spirit of UHD, but please let this
> newbie know if there's an elegant way to do this.
It's all in host/lib/usrp/usrp2/codec_ctrl.cpp. Just comment out some
stuff in the destructor. And on init, the setup is in the constructor.
Can I ask what you're up to with the custom settings?
--n
>
> Another option would be disabling host-based modification of the
> AD9510 and AD9777 settings entirely; I've modified the ZPU firmware to
> configure them upon boot-up so I don't really need it (though it may
> be useful to keep).
>
> Thanks in advance,
>
> Vlad
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio