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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to