I am attempting to do an FPGA loopback (mode 2 loopback for the ad9361_bist_loopback function) in no-os. I want to go tx->rx instead of rx->tx so I am using the reg address 0x80000418 + 0x4*chan and the adc_write function from the adc core to enable (0x1) channels. Am I going about this the correct way or should I be using a different write function, such as the ad9361_spi_write function or should I just write to the register directly using Xil_Out32?
Thanks for the help,
I wrote my question wrong.
[edited by: scott.b at 9:17 PM (GMT -5) on 11 Jan 2022]