Thanks for the input!
jom
Yeah, actually (and possibly mistakenly) I did. However, the question "what is good enough?" wasn't really relevant to me. I just wanted to get some of the available software (in this case MATLAB) to work and see what I could do with it. The original intention of this thread was to find out about the software surround this device. I have a difficult time figuring that all out (I guess that's what they call it "abstraction"..heh) hence the thread.bpadalino wrote:Are you trying to use the device as a spectrum analyzer expecting spectrum analyzer like results?
Can I then assume these settings are already in play as a default (ie the long term average)? If so, then I can then adjust them accordingly....I hope. That would make sense.If you want the DC spike in the middle to go away, then remove the long term average mean from the input samples before you take the FFT. If you want the conjugate image to go away, then you will need to find the error in magnitude and phase between the in-phase and quadrature signals, compensate, and then send it into the FFT.
I did use the offset adjustments in the gui but that did not work. Then again, I'm sure there are many more interface code functions I do NOT know about (such as the aforementioned long-term average) I can still use...I think.Since it's all in MATLAB, and the MATLAB code is freely available, doing these two things before displaying the FFT is just an exercise in implementing that algorithm.
Of course I'm interested in "good enough". I deal with it every day. I'm struggling (just like I thought I would) with the software interfaces which is not my strength (hence the thread). So for this simple set up I just wanted to see if I could get the radio to work (using MATLAB in this case) and have it respond like I think it should (which could be admittedly incorrect) with a simple tone going in. Of course, what I think it "should" based on my experience may not be correct.While I know you said you aren't interested in what's good enough - you should be, especially as an MS student. Trying to attain perfection will get you nowhere.
If that is the case I'm not sure how I was able to make adjustments in the MATLAB gui. Maybe you are speaking of something else.There aren't any of the IQ corrections or long term DC averaging done in MATLAB.
Just to clarify I never once said I wanted anyone to "do all the work for me".bpadalino wrote:The software is just in the bladerf_fft M file. Specifically, for plotting the FFT, the relevant lines are here. It's pretty simple. If you can't figure out how to remove DC here, then I am not sure I can help you much at all without doing all the work for you.
I'm in the process of doing just that. I appreciate the links and info on Github.Read up on direct conversion RF receivers and the effects of IQ imbalance, specifically magnitude and phase imbalances as well as the DC offset problem for direct conversion receivers.
Actually I should have said that SA's are radios nothing but radios in a sense. SDRs can be used for such a thing but it is possible that given SA's are used as test equipment and have tough specifications a superhet type receiver might be a better choice than direct conversion in that case...but I digress.These radios are not spectrum analyzers
Thanks...I'm gonna need it.Good luck!
Hi Jom,jom wrote: Wed Aug 03, 2016 10:55 am I moved the "libusb-1.0.20", "pthreads-w32" and "bladeRF" to the default locations. The "bladeRF" does not have a "lib" folder after I installed it in the default location but I don't know why CMake is looking for it.
As noted in the output CMake could not load "D:/Program Files/PothosSDR/lib/libusb-1.0.dll". The file is there so I don't know why it couldn't load. Does this relate to the "libusb-1.0.20" it is using in the other path? In fact, I don't even know how CMake knows Pothos was placed on my "D" drive.![]()
FX3_SDK_PATH is blank and I don't know what to put there anyway.
Before I ran this above I deleted the cache and deleted what was in the "build" directory.