I am now working with ZYNQ zc702 with AD9364. Since all the codes from AD github are based on AD9361, I wonder what change I need to make in order to use with AD9361. My understanding is the hardware driver is the same for ad9361 and ad9364 so I can use the same code. The following changes are what I've done when I run the example code (ad9361/sw/main.c)
1. change AD9361_InitParam.two_rx_two_tx_mode_enable to 0 (change to
2. Write the ADC_REG_CNTRL register with ADC_R1_MODE set to 1
Is there anywhere else need to change in the Linux code or in the fpga code (I use the code from analogdevicesinc/hdl · GitHub without change).
On the other side, in the fpga reference design, util_adc_pack supports either 4 or 8 channels. Can I use that block for ad9364, since ad9364 only have 2 channels?
Thanks in advance!