element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General How do I synchronize transmit and receive capture with RFSoC Explorer?
  • 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 Suggested Answer
  • Replies 2 replies
  • Answers 2 answers
  • Subscribers 348 subscribers
  • Views 535 views
  • Users 0 members are here
  • ultrascale
  • ultrascale-rfsoc-dev-kit
  • xilinx
  • sdr
  • rfsoc
Related

How do I synchronize transmit and receive capture with RFSoC Explorer?

haoli_nuro
haoli_nuro over 5 years ago

The requirement is to synchronize an ADC capture coincident with the start of DAC transmission.

Is there a way to do this with RFSoC Explorer?

  • Sign in to reply
  • Cancel
  • clem57
    0 clem57 over 5 years ago

    https://www.hackster.io/news/microzed-chronicles-rfsoc-explorer-d4823efebf47  has some information

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • mbrown
    0 mbrown over 5 years ago

    This is a very relevant request!

     

    The short answer is no. Read on for a little background and a potential workaround...

     

    The firmware running on the RFSoC device is Linux-based, and communicates to a rather intricate design in the Programmable Logic (PL). In order to synchronize RF-ADC Rx with RF-DAC Tx, you'd need add a small trigger mechanism in the PL. The silicon supports various event types for updating the RFDC subsystem, one being a PL-based trigger.

     

    If your goal is to setup a transmit and repeat buffer at the RF-DAC and then look for a particular waveform or preamble after capturing a buffer of samples at the RF-ADC, then one solution would be to create a waveform with a duration less than half the depth of the RF-ADC buffer, thus ensuring that your repeated waveform will be captured in it's entirety.

     

    RFSoC Explorer (v1.0.0) captures 1M samples at the RF-ADC buffer. When we expose the API in the next release you'll be able to specify the number of samples. Does RFSoC Explorer have an API for programmatic access in MATLAB & Simulink

     

    For now, here's an example approach.

     

    Example:

     

    FsADC = 3932.16 Ms/s

    FsDAC = 4546.56 Ms/s

     

    Buffer duration (sec) = nSamples / rate (Msamples/sec)

     

    Rx buffer duration (sec)  = 1 Msamples / 3932.16 Msamples/s = 254.31us

     

    Max Tx buffer (nSamples) = [Rx buffer duration / 2] * FsDAC = [254.31us/2] * 4546.56 Ms/s = 578,125 samples (or less)

     

    Of course if FsADC = FsDAC, the sample rate drops out of the equation and you simply create a transmit buffer < 500ksamples.

     

    /Matt

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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