I am working on ZC706 and FMCOMMS2/3(I am trying with both daugterboards). When I try the no-os example of AD9361 in master branch(I also tried it with 2019_r1 as FMCOMMS2 but the result is the same) I get the following error:
ad9361_init : Unsupported PRODUCT_ID 0xFF ad9361_init : AD936x initialization error
I tried the SD card and it also didn't work in that case. The output is:
ad9361 spi0.0 : ad9361_probe : enter (ad9361) ad9361 spi0.0 : ad9361_probe : Unsupported PRODUCT_ID 0xFF
In my no-OS source files I changed the GPIO_RESET_PIN from 100 to 83 since it is defined below
Also I changed these lines in main.c so that the changes in parameters.h can be used.
//this corresponds to line 526 //They were all -1 before default_init_param.gpio_sync.number = GPIO_SYNC_PIN; default_init_param.gpio_cal_sw1.number = GPIO_CAL_SW1_PIN; default_init_param.gpio_cal_sw2.number = GPIO_CAL_SW2_PIN;
When i read the previous posts, It seems like an issue about spi driver. However, I could not find the part that neets to be changed. What should i do to run the no-OS example with ZC706&FMCOMMS2/3?
Any help would be appreciated,