element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
PicoZed SDR Software-Defined Radio Can't drop sample rate below ~2.1MSPS
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 6 replies
  • Subscribers 324 subscribers
  • Views 557 views
  • Users 0 members are here
Related

Can't drop sample rate below ~2.1MSPS

Former Member
Former Member over 9 years ago

I'm running against a processing speed issue with the PicoZed SDR that would likely work better with a lower sampling rate. I'm unable to set the sample rate below about 2.1 MSPS right now, though. The actual minimum seems to be somewhere between 2.083 and 2.084 MSPS. The examples in the GRC files that come with the Analog SD card start at ~1.5 MSPS, which doesn't work at all. Do I need to set another clock somewhere to get lower sample rates? If so, how do I do that?

Thanks in advance.

  • Sign in to reply
  • Cancel

Top Replies

  • andrew_senior
    andrew_senior over 8 years ago +1 verified
    Not sure if you're still looking for an answer to this 5 months on, but just in case, the reason you can't go below 2.084 Msps is two fold: 1. The minimum ADC rate is 25 MHz, according to this post from…
  • mbrown
    0 mbrown over 9 years ago

    The lowest sample rate for GRC is 1.536MSPS. There's some information on your question in the Analog Devices EngineerZone forum post linked below:

    (Note: the PicoZed SDR architecture is nearly identically to ZedBoard + FMCOMMS2)

    https://ez.analog.com/thread/66421

     

    Thanks,
    Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Thanks for the reply. I'm actually not able to use 1.536. Anything lower than ~2.084 gives me "Unable to write attribute in_voltage_sampling_frequency: -22" and the same for "out_voltage_sampling_frequency". This is using the "FMComms2/3/4 Source" and "...Sink" blocks inside GRC.

    When I run the ADI IIO Oscilloscope tool, I also am unable to go below ~2.084 MSPS. Any setting below that causes the value to reload and return to its previous value.

    Possibly related is that I can't set the manual Rx gain to anything except 71.0. I also can't set the Tx attenuation in the GRC Sink ... I just get "Unable to write attribute out_voltage0_hardwaregain: -22" and the same for "out_voltage1_hardwaregain".

    The ADI IIO tool is interesting and seems to offer a ton of control over the hardware. Is there a good reference that can help me understand what its controls do?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago

    For the record, I found this documentation on the FMComms2/3/4 IIO stuff. My other questions remain, though.

    https://wiki.analog.com/resources/tools-software/linux-software/fmcomms2_plugin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • mbrown
    0 mbrown over 9 years ago in reply to Former Member

    Thanks for the update. Were you able to get any answers from Analog Devices EngineerZone?. The IIOscope and GRC designs are provided by and supported by ADI on their EngineerZone forum, which is usually very responsive.

     

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 9 years ago in reply to mbrown

    I have not posted there, but I've still got the issue that I can't get the clock to go below ~2.084 MSPS. I can't reach 1.536 MSPS. I also can't seem to set the gains, even if I go straight to the devices in the Linux filesystem tree. Any help on either of those two issues?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • andrew_senior
    0 andrew_senior over 8 years ago

    Not sure if you're still looking for an answer to this 5 months on, but just in case, the reason you can't go below 2.084 Msps is two fold:

    1. The minimum ADC rate is 25 MHz, according to this post from ADI: https://ez.analog.com/docs/DOC-12763 (This restriction is enforced by the Linux driver)

    2. To get decimation/interpolation factors greater than 12 in the Rx/Tx chains, you need to enable the Rx/Tx FIRs and use decimation/interpolation of 2 or 4.

    So, if you use the Rx FIR with a decimation of 4, you can get a sample rate of 25 MHz/48 = 520.833 kHz.

    Of course the FIR must be loaded with appropriate filter coefficients when it is enabled.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube