I am using AD9375 custom board/ZC706 with the TES on windows.
I would like to use the ironpython script to send command over I2C, is it possible? Do you have an example?
Thanks for your help.
TES GUI supports zynq zc706. Which transreceiver product are you using?
This forum is not for AD7291 and neither TES GUI will for AD7291. Please post in respective forum.
AD9375 supports only SPI interface. I2C for configuration is not supported.
The AD9375 uses a SPI to communicate with the baseband processor (BBP). This interface can be configured as a 4-wire interface with dedicated receive and transmit ports, or it can be configured as a 3-wire interface with a bidirectional data communications port.
Thanks for replying,
ADRV9375 eval board uses a I2C memory so I would like to communicate with it using the I2C from TES script.
I made a simple HDL/SDK application to communicate with the memeory but I would like now use TES. It would make my life easier.
I hope that I am clearer.
TES does not expose I2C interface to communicate with EEPROM in TES GUI.
FPGA memory is mapped via device tree in Linux and TES uses Xilinx AXI interface to access the same.
We provide a 'AdiCmdServerClient.dll' which expose these FPGA access functions.
This dll is already imported in python scripts
import clrclr.AddReferenceToFileAndPath("C:\\Program Files (x86)\\Analog Devices\\AD9371 Transceiver Evaluation Software\\AdiCmdServerClient.dll")from AdiCmdServerClient import AdiCommandServerClient
You can refer our documentation available via TES help menu( Help-> Dll Help File) to understand more about API functions for accessing FPGA resources in TES GUI.
Thanks for your response. As an example, I am trying to read ADC value from AD7291 that is on the eval board and I cannot figure out how to do it from AdiCommandServerClient.
I should use fpgaWrite and fpgaRead function, isnt it?
But then how do I know the starting address of the axi register for I2C?
I am missing something, would you have a quick example that I can start with?
Retrieving data ...