Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-13 Thread Rob Heig via USRP-users
Hi, I've figured out what I was doing wrong No set_filter() once the taps are set (I mistakenly thought that this was implicitly done -- and checking the source code of UHD confirmed that the sptr returned by get_filter() is a sptr to a **copy** of the original filter, and not the actual

Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-12 Thread Rob Heig via USRP-users
Hi, Thank you both for your help! :) I had started myself patching UHD for the job like Sylvain did, but that scared me a bit since I didn't want to stump on the feet of the library and risk having some strange behaviour, therefore I preferred to ask first ;) Have a nice day! Rob On 12 September

Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-12 Thread Julian Arnold via USRP-users
Hey, In case you haven't already adopted the straight forward approach mentioned by Sylvain I just dug out the tool I mentioned and moved it to my github account [1]. I quickly compiled and linked against a recent version of UHD (3.9.6) to confirm that it still works. Build as usual: mkdir

Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-12 Thread Sylvain Munaut via USRP-users
Personally I'm using a patched UHD where I expose the SPI device : diff --git a/host/lib/usrp/b200/b200_impl.cpp b/host/lib/usrp/b200/b200_impl.cpp index a513e1336..01c1e3b51 100644 --- a/host/lib/usrp/b200/b200_impl.cpp +++ b/host/lib/usrp/b200/b200_impl.cpp @@ -549,6 +549,8 @@

Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-12 Thread Rob Heig via USRP-users
Hi Julian, Sure, no hurry, thanks a lot!!! :) Best, RH On 12 September 2017 at 12:12, Julian Arnold wrote: > Hey Rob, > > I remember creating a small example tool to use the filter API and to > write to the RX FIR. > If you can wait till the evening I'll dig it out at

Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-12 Thread Julian Arnold via USRP-users
Hey Rob, I remember creating a small example tool to use the filter API and to write to the RX FIR. If you can wait till the evening I'll dig it out at home and share it with you. Cheers, Julian Julian Arnold, M.Sc Institute for Networked Systems RWTH-Aachen University Kackertstrasse 9 52072

Re: [USRP-users] B210 -- AD9361 low-level access and changing filter configuration

2017-09-12 Thread Rob Heig via USRP-users
Hi again, Some more info that I've gathered in the meantime on the issue: - the crashes seem more related to the fact that I've been dumping the retrieved I/Q pairs on file, so we could leave it out for the moment; - what I did to test whether the FIR is working as expected or not, is to retrieve