I am now trying to use Iron python to script to send and receive data. I am able to create an Iron python script that initializes the chip and the turns everything on and starts the radio. The next step I believe is to send data out. I see the commands and everything to do this but I am having a hard time putting them together in the correct order. Do you have a script that will do that?
Also, I have a txt file with the data in I Q format and am not sure how to link it into the python script. Do I just load this file using the open and f.read command in Ironpython?
A more broad question I have, what is the purpose of Iron Python compared to the C format that is seen in the UG-992 document? I am more familiar with C and would be more comfortable with programing using this language. I see starting on page 6 of that user guide the folder and file structure for using this. Where do these file reside and if I wanted to edit or use this method how would I be able to do this?
Easiest way to create a iron python script is to configure GUI as per need including JESD, GPIO etc. and then click on 'Tools-> Create Script->Python' menu item . It will generate a script which has current GUI configuration.
Please wait till I can look into your requirement for Tx a waveform.
Same way you can generate 'C' code from Tools menu but this you need to integrate as Linux driver or integrate as No-OS code for other operating systems. We do provide a reference Linux Implementation and also a No-OS implementation.
Python allow you to test on the run in GUI itself without all integration and build efforts.
Linux Driver:https://wiki.analog.com/resources/eval/user-guides/mykonos
No-OS setup :
https://wiki.analog.com/resources/eval/user-guides/mykonos/no-os-setup
Hi,
Customer is trying to evaluate the performance by measuring the BER curve. What is your recommendation for creating an input data pattern (on the DAC side) and reading the output pattern (on the ADC side). If ACE tool not supported 9371 (please confirm) it could be a very simple process. Please let us know if you have a procedure for this measurement. Thanks.
Are you using Evaluation board for your tests ? There are two flavors one Windows based TES GUI and the other one Linux based IIO GUI.
You can load waveform using the GUI for testing the transmitter . Few LTE waveform files are available in below link.
LTE waveform files for AD9371/5 (122.88MSPS)
For receive test you can load signal from signal generator or loop back tx signal after attenuating to Rx port . The GUI's provide option to capture I,Q data. You can use save option in the rx data window, and you use the IQ data for further analysis in matlab.
FYR
Example python scripts for saving snapshots of IQ data (AD9371)
Hi Vinod,
where can I find: MYK_SendTxData.py?
can yuou direct me to all python scripts related to AD9375 and AD9371?
Thanks
Python script examples are available in User Guide UG-992.
As mentioned above GUI allows to generate required python scripts. No other specific repository for Python scripts,