PYNQ 3.0.1 & RFsoc4*2 & Windows 10
PYNQ version & Board name & Tool Version
I am working the RFsoc4*2 converter’s setting. I would like to change ADC mixer setting by using PYNQ, however I may not quite understand what does the number inside mixer represents. For example, I run the code that
base.radio.receiver.channel[0].adc_block.MixerSettings
It gives me follow information that:
{‘Freq’: -1228.8,
‘PhaseOffset’: 0.0,
‘EventSource’: 2,
‘CoarseMixFreq’: 0,
‘MixerMode’: 3,
‘FineMixerScale’: 1,
‘MixerType’: 2}
I don’t know what is a EventSource and what is the number for EventSource, CoarseMixFreq, MixerMode, FineMixerScale, and MixerType represents
Is there any documentation for this?
Thank you so much
Hi,
It is sad that these information is not detailed in the documentation. I had to dive into the source code to make some sense of it. See the links below:
/******************************************************************************
* Copyright (C) 2017 - 2022 Xilinx, Inc. All rights reserved.
* Copyright (C) 2022 - 2023 Advanced Micro Devices, Inc. All Rights Reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/*****************************************************************************/
/**
*
* @file xrfdc.h
* @addtogroup Overview
* @{
* @details
*
* The Xilinx� LogiCORE IP Zynq UltraScale+ RFSoC RF Data Converter IP core
* provides a configurable wrapper to allow the RF DAC and RF ADC blocks to be
* used in IP Integrator designs. Multiple tiles are available on each RFSoC
* and each tile can have a number of data converters (analog-to-digital (ADC)
* and digital-to-analog (DAC)). The RF ADCs can sample input frequencies up
* to 4 GHz at 4 GSPS with excellent noise spectral density. The RF DACs
This file has been truncated. show original
https://docs.amd.com/r/en-US/pg269-rf-data-converter/Data-Settings?tocId=xE7juy5mVbBfZOrQa8VOSg
You have to go back and forth between the source code and document to understand it.
Hope this helps
Best
1 Like
Thank you so much, that helps a lot
matthew
November 15, 2024, 12:29pm
4
If you have no more issue, can you please close that post by marking a reply as a solution to your issue?