I tried to measure signal from my signal generator with AD-FMCOMMS4-EBZ and zynq-7000(zedboard). But the measurement which is showed in IIO Osciloscope is not true. There are two screenshots of measurement and signal generator in attached file. The faulty thing is that, I am sending "0 dbm" from signal generator but I read in IIO as "-9.87dbm". Balun's insertion loss is 1.4dbm in frequency I want to measure(1001mhz). There is a loss of (9.87-1.4 = 8.37dbm ). I couldn't understand what's the reason of this loss. Thank you.
Are you using the chip in AGC or MGC mode? What is the gain that you have set? Share a screenshot of the configuration in IIO GUI.
it is MGC mode. Screenshot of configuration in IIO is in attached file.
Can you Readback the gain set using API?
Make sure that you are using the latest version of IIO:
I readback the document and implementing in attached file. it can seen the screenshot. gain is 0 dbm. but I see -9.87dbFS. could you enlighten us about this problem? Thank you
Check for the cable loss. I guess the cable that you are using for sending the signal to the RX port is heavily attenuating the input signal.