I have a two part questions.
I read in one of the forum posts that sample rate must be between 40 - 500 MHz. Is this correct?
2nd question - I'm trying to load one of the existing profiles (Tx_BW100_IR122p88_Rx_BW100_OR122p88_ORx_BW100_OR122p88_DC122p88.txt) and then change the TX Sample Rate down to 12 MHz or a factor of 12 > than 40 MHz. I tried changing TX Input Sample Rate field from Advanced ADRV9009 tab of IIO Osc after loading the profile to 12000 KHz and even 48000 KHz but the value did not stay. The text field is editable but the value always reverts back to 122800 KHz. Do I need to generate my own profile for a lower sample rate. I have already pulled the latest code from github and generated the latest linux kernel.
1. For TX the max input rate is 491.52 MS/s. I don't believe minimums are specified.
2. Any changes to sample rate should be applied through a profile. The advanced setting of IIO-Scope will manipulate the device independent of the rules of the profiles (and part). Changes usually will result in the transceiver failing on restart, then IIO-Scope will force a transceiver reboot back to a known working profile. If you want to change one of these settings, create a new profile unless you really know what you are doing.
Thanks Travis. I started creating a new profile and found that Profile Configuration Wizard throws and error if Tx Input Sample Rate is < 39.063 MHz. The exact error message I got when I entered 12 MHz is
"Tx input rate should be greater than 39.063 Mhz and less than 500 MHz. Tx input rate was 12.00"
So, I suppose even though datasheet does not state sampling rate limits, the profile wizard checks for them.
I tried using your profile as is but ended up getting an error message "Failed to load profile using the selected file." How and where do I set AD9528 and JESD configurations. I don't see an option in IIO Osc (v 0.10) to configure JESD.
Please refer to below links
I made the modification according to your instructions but I'm always getting "Failed to load profile using the selected file." After I get this error message I'm unable to load existing profile unless I exit out of IIO Osc and recycle power on ZCU102.
There is a minimum JESD Lane Rate of 3125Mbps, if you choose your baseband rate too low you can hit this minimum value.
To fix this you need to decrease the number of JESD204 lanes used. From 2 to 1 or from 4 to 2 on TX. However this requires rebuilding the HDL design and some updates to the JESD parameters which are currently handled in device tree.
There is a hdl branch which uses one lane it can be found here:
If you need further assistance with the HDL design please post your questions on the HDL forum.
What is the vivado version should be used to compile the HDL?
That branch was built with 2018.2. If you use master, use Vivado 2018.3.
Some documentation for changing the HDL JESD204B parameters: https://wiki.analog.com/resources/fpga/docs/hdl/generic_jesd_bds
Thanks for your reply, Adrian. I am editing the device tree to match up with the JESD204B parameters in the HDL. I found the jesd204-framer-a-k parameter in the dtsi file but I don't see any description in the above JEF204B document. What is this parameter and how to calculate that? Thanks