I wanted to let the analog devices hdl and linux driver team know that there seems to be a lack of clarity in the ad-dac-fmc_ebz document, referenced ad9144 linux driver, and ad9136 dts files in regards to easy to understand end-user support.
as referenced from gigthub hdl/project/dac_fmc_ebz/zc706 readme.md file
and ad9144 linux driver that now supports ad9136 etc.
In regards to a AD9136 FMC card the user cannot really tell how to set up input clock frequency to the boards AD9516 clock divider or what mode to set the hdl project common/config.tcl file to for it to work correctly with the provided linux arch/arm/boot/dts zc706 ad9136 files.
This also applies to a lesser degree to the other supported FMC DAC boards under the ad-dac-fmc-ebz hdl project. At least the AD9172 linux driver document says the dts support file to use for an JESD204 operational mode so you have an idea of how to set the hdl config.tcl correctly.
This should also be linked from the main product page and wiki supported linux drivers, no AD9136 driver support listed yet.
It should be easy for one to figure out the JESD204 operational mode, number of lanes used, interpolation used, FPGA clock, DAC clock, and PLL/Clock divider input clock from the ad-dac-fmc-ebz wiki page or other new/updated wiki documentation for the given supported DAC part.
Note: I already have a highly custom AD9136 hdl and linux driver working for the AD9136 FMC board using a Xilinx zcu106 dev board. My main interest is moving to the analog devices JESD204 hdl IP and linux driver from the Xilinx JESD204 and custom linux driver i now have. Hence wanted to build the default ad9136 hdl for the given linux dts files on supported zc706 to see if they worked first.
Thanks for your response. I realize that that the group is just setting up the HDL/Linux support and WIKI documents for the various DAC only FMC cards. My hope is in the long run ad-dac-fmb…
Thank you for the feedback.
At this point we've validated the HDL project with the devices and modes that have the DTS links (basically two modes for the AD9172 evaluation board) will be part of 2019_r1 release.
We're working on extending the number of evaluation boards supported. Until specific examples are available for each evaluation board, we are trying to support each specific case through EZ.
The AD9136 hasn't been released yet, but we can help you set it up. Do you have a preferred mode you want to use it in ? Our transport layer is not yet very flexible and you need to recompile the HDL for different modes.
Thanks for your response. I realize that that the group is just setting up the HDL/Linux support and WIKI documents for the various DAC only FMC cards. My hope is in the long run ad-dac-fmb-ebz support document could be clearer about the default modes that are supported by the Linux provided dts files for a given device.
It would be nice if the ad-dac-fmb-ebz support document had more details in regards to which modes are supported by a given default linux dts file. Also, which linux driver each of the different DAC FMC devices is using AD9144 or AD9172 etc.
In general there are a lot of little things in the WIKI https://wiki.analog.com/resources/fpga/docs/build that should be updated if you start it from the top and try to work down in it. Like being able to get to the ad-dac-fmb-ebz support document from it.
You know if you try and do a now not recommend manual build inside of Vivado, source ./system_project.tcl, the new scripts cause it to halt since it can find the git stuff to make the ROM with. Yet this method is still documented in https://wiki.analog.com/resources/fpga/docs/build.
Anyway, just like keeping your team busy.
At this point there is a dts file setup for the AD9136 FMC on ZC706 in the Linux master checkout which I was just interested in building up to see if it worked. Given the way in which these linux AD9136 dts/dtsi files are done it is difficult to understand what JESD204 mode they are setup for hence what to set the HDL config.tcl to.
I think the given ad9136 dts is setup for JESD204 mode 8 with an external to FMC clock input of 1.4GHz into the boards AD9516 clock divider, just not quite sure. Do you know which mode the default ad9136 dts/dtsi files support?
Note the way in which the newer AD9172 FMC card is supported with separate linux driver and two dts different files it is not that confusing.
Thanks for you time,
We're looking at the manual build inside Vivado issue, we weren't aware of it.
I think the AD9136 is most likely 11, as it has M=2 https://github.com/analogdevicesinc/linux/blob/master/arch/arm/boot/dts/adi-common-dac-fmc-ebz.dtsi#L37
Unfortunately, I don't have an evaluation board to test and the person that created the project is not available.
When we'll have new boards released, we'll have an improved documentation.