Hi everyone,
I'm working with a Xilinx ZCU102 board connected to the AD-FMC-DAQ3 board, and I'm trying to configure the AD9512 DAC IC via SPI. I'm facing a strange issue: when I write data to any register address, the value I read back is incorrect.
To debug, I started checking the read-only registers. For example:
- The CHIPTYPE register should return
0x04, but I'm getting0x03. - The PRODID_L register should return
0x52, but I'm reading0xC5.
This pattern continues across all registers — none of the values match the expected defaults.
I'm using the same SPI code that successfully communicates with the clock IC and ADC IC on the same board, so I believe the SPI setup is generally correct. Only the DAC IC (AD9512) is giving me trouble. SCLK is 5MHz.
Has anyone encountered similar behavior with the AD9512 or have suggestions on what might be going wrong? Could this be a hardware issue, a misconfiguration, or something specific to the AD9512's SPI protocol?
Thanks in advance!