Hello! I'm using the Xilinx ZC706 evaluation board and AD9379A FMC evaluation board.
According to https://wiki.analog.com/resources/fpga/docs/build#windows_environment_setup, I have built a vivado HDL project.
Besides, I have built a no-OS project in SDK according to https://github.com/analogdevicesinc/no-OS/tree/master/ad9739a-fmc-ebz. But the makefile can't be used because "spi.h" is missed. I'm sure that I used the latest version.
So I add these .c and .h files to SDK project manually. And I have seen that the "spi.h" in https://github.com/analogdevicesinc/no-OS/tree/master/include isn't right and it can be represented by the "platform_drivers.h" in https://github.com/analogdevicesinc/no-OS/tree/master/common_drivers/platform_drivers. So the "include spi.h" in some .c files are modified to "include platform_drivers.h" by myself.
And I found that the "config.h" needs to be modified to meet the corresponding development board. After all the steps are done, I run the debug. But when running to the "dac_setup(&ad9739a_core)", "DAC Core Status errors" is shown in the SDK terminal. I don't know why.
Hi,You used make to build the HDL project right?can you do the same for no-OS https://github.com/analogdevicesinc/no-OS/commits/master/ad9739a-fmc-ebz/zc706?According to https://wiki.analog.com/resources/fpga/quick_validation.
Thanks for your reply.
I'm sure that I build the HDL project right. I have followed the steps in https://github.com/analogdevicesinc/no-OS/commits/master/ad9739a-fmc-ebz/zc706?. But when I type "make" and enter in the terminal in the "\no-OS\ad9739a-fmc-ebz\zc706" path, a fatal error happens "../src/ad9739a.h:49:10: fatal error: spi.h: No such file or directory". I don't know why.
Hi,There seems to be a bug in the no-OS master branch. can you please use the 2018_R2 branch.I will notify my colleagues from the no-Os team.
OK. Thank you very much!
The problem before has been soled, thank you. But a new problem occurs!
When the program goes to "ad9739a_setup(&ad9739a_device, &init_param)", "Error: Invalid CHIP ID (0xff)." is shown in the SDK terminal.