Comments (4)
Since the LFSR RF loopback is working, I think we can close this and re-open if the problem resurfaces.
from soapysdr.jl.
Note that there is a SOAPY_SDR_MORE_FRAGMENTS
flag that is set in USRP: https://github.com/pothosware/SoapyUHD/blob/26b48cc11d3072b03b21793d980887a2e00091c8/SoapyUHDDevice.cpp#L292
It may be good to check this as well and modify our read loop accordingly.
from soapysdr.jl.
This is the result of a test where three blocks are looped back, using highlevel_loopback.jl
. Each block is 10 ms and 10,000 samples long; sampling frequency is 1 MHz. The first and last blocks are all zeros, while the middle one is a sine wave. The plot is zoomed into the sine wave block:
Note that the sine wave lasts less than expected: it starts at sample 11,400 and ends at sample 19,200. Moreover, there is a glitch at sample 21,400, where the block should have ended.
If, instead of write
ing three blocks, first one large block is built in Julia and then it is sent once to SoapySDR, then the sine wave has the expected duration, and there are no glitches.
Test code here: https://gist.github.com/mbaz/3f2edfcc5d33412f02dd145cd8b571a1
from soapysdr.jl.
Note: the USRP drivers have been updated in Julia. This issue was specifically mentioned in the UHD patch notes. Hopefully this is now fixed
from soapysdr.jl.
Related Issues (20)
- `read` seems to return samples from the past HOT 3
- `read` with RTLSDR sometimes returns `TIMEOUT` or `OVERFLOW` HOT 6
- SoapySupport Modules: API and includes
- Large StreamBuffer requests do not block until fulfilled HOT 4
- UHD error when running `Devices()` HOT 1
- TagBot trigger issue HOT 12
- Integrate with SampledSignals.jl? HOT 3
- Fixing to MTU is the wrong approach HOT 3
- Error when trying to change a Channel parameter of type Bool HOT 3
- Use Clang.jl for bindings? HOT 1
- Should `_unmake` calls be finalizers?
- Setting Rx- & Tx-SamplingRate individually HOT 1
- `STREAM_ERROR` on 0.2 with USRP/UHD HOT 1
- High Level Direct Buffer Access API
- Make Filtering Drivers easier
- segfault when collecting Devices HOT 2
- API Audit
- `read` and `write` taking `NTuple` is a type instability footgun
- Udev Rules and Kernel Blacklists
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 soapysdr.jl.