Comments (6)
So I think SetFrequencySX() or GetFrequencySX_MHz() didn't handle 7MHz correctly.
Correct, these functions configure only Rx/Tx PLL frequencies, and they
can't be configured that low. To achieve 7 MHz frequency additional chip
configuring is required. Perhaps a higher level function should be created
to handle all that.
So I think the call to set the RF frequency needs to clip the requested frequency to the closest possible frequency. When that happens, the default tuning algorithm in SoapySDR will automatically compensate for the error using the CORDIC.
If for some reason we don't like that automatic behaviour with the clipping and cordic correction outside of the driver, then SoapySDR::setFrequency(dir, chan, freq){} can be overloaded to implement something smart as well.
Is that basically the right idea here? And what is the actual/achievable lower bound that the LO can tune?
from limesuite.
@guruofquality are you suggesting that applications would have to do something different with this particular hardware at lower frequencies? That doesn't sound right.
@rjonaitis could you comment on LO bounds.
from limesuite.
@guruofquality are you suggesting that applications would have to do something different with this particular hardware at lower frequencies? That doesn't sound right.
Nope, just driver related work in lms7suite. The SoapyLime::setFrequency() call will just need to clip the target frequency to a possible frequency.
It probably gets a bit hairy to tune near the lower VCO band edge, so we might need a slightly conservative lower bound, and I think it might be a function of the clock rate.
from limesuite.
FWIW, I have been using fixed (100e3, 3.8e9) as the tunable LO range in the LMS7002M. I may have pulled that from the data sheet rather than testing edge cases. I also added this as an API call to add to the LMS700M class, so if its configurable, that can be added like getSXXRange(): #15
from limesuite.
could you comment on LO bounds.
PLLs can be tuned from around 30 MHz to 3.8 GHz
from limesuite.
This should do the trick: 27b488b
from limesuite.
Related Issues (20)
- LimeSDR-Mini PID is currently the default for all Generic FT601 devices HOT 3
- Compile error in "LMS64CProtocol_remote.cpp" HOT 1
- LimeUtil --update seg faults on Arch with libusb-1.0.25 HOT 8
- Calibration issue with srsenb in srsLTE
- Meaning of SOAPY_SDR_TIME_ERROR in readStreamStatus() HOT 1
- UE's can't connect to LimeSDR on a bandwhith 1,4Mhz HOT 1
- Docs incorrect for LMS_Calibrate
- 22.09.0 build issue when Connection Remote is enabled. HOT 4
- The port is busy. Connection LimeRFE + LimeSDR HOT 1
- Build Windows assets for 22.09 release
- Issue with Debian packages. HOT 4
- Issue with rv64 HOT 6
- lime::ADF4002 infinite loop
- how can I access LMS7002M's register directly
- LimeUtil --fpga requires hard resetting the device (LimeSDR Mini V2) HOT 1
- Make a new Lime Suite release. HOT 1
- RPM Package for Fedora
- Firmware missing upstream HOT 5
- LimeSuiteGUI not built HOT 1
- fix API functions LMS_StartStream() and LMS_StopStream() : HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from limesuite.