I am using petalinux 2023.2 with divcetree overlays enabled
heres my device tree entry for the ad7298
Here are my settings for the IP in vivado
the ext_spi_clock is 25 MHz
Once i boot the devices I run these commands in order
fpgautil -b x.bit.bin
fpgautil -o x.dtbo
killall -s USR1 iiod ( this is because when i load the overlay the iiod service needs to restart to properly be available in iiooscilloscope or libiio)
Then when I run iio_info i get this
as you can see the values all seem valid. But when I try to read these values
this is what i get. You see how these dont correspond with the values in iio_info at all. I see the same results in iio oscope
why is this happening, i cant read or use these values at all, but i can see them fine when i do iio_info. Any help would be appreciated.