Hi Alex,
I think I found a part of the problem in "ad9122_tune_dci". This function always returns an error the first time the software is launched. But if we launch it again, without turn off the board, we haven't any error if we change this part :
if(conv->pcore_set_sed_pattern)
{
conv->pcore_set_sed_pattern(0,
dac_sed_pattern[i].i0, dac_sed_pattern[i].i1);
conv->pcore_set_sed_pattern(1,
dac_sed_pattern[i].q0, dac_sed_pattern[i].q1);
}
by this (the same in dac_sed" in test.c)
Xil_Out32((0x74200000 + 0x4410), dac_sed_pattern[i].i1<<16|dac_sed_pattern[i].i0); // pattern
Xil_Out32((0x74200000 + 0x4450), dac_sed_pattern[i].q1<<16|dac_sed_pattern[i].q0); // pattern
Xil_Out32((0x74200000 + 0x4048), 0x1); // format, sel
Xil_Out32((0x74200000 + 0x4044), 0x1); // enable
So now, the "ad9122_tune_dci" function doesn't return errors, except the first time after the board is turned on. But I still have the problem illustrated by the screens. I keep seeking on my side.
Erwan