Giter Club home page Giter Club logo

Comments (4)

mbaz avatar mbaz commented on September 23, 2024 1

Since the LFSR RF loopback is working, I think we can close this and re-open if the problem resurfaces.

from soapysdr.jl.

sjkelly avatar sjkelly commented on September 23, 2024

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.

mbaz avatar mbaz commented on September 23, 2024

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:
image
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 writeing 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.

sjkelly avatar sjkelly commented on September 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.