I have a question. The sampled data(2's complement setting) is not what I expect.
I generated 0 dBm 500 MHz CW signal (Agilent 83623B). 0 dBm is approximately 0.3 Vpeak.
But I obtain max from 295 to -275(varing). Although It is not an exact power, the calculations show that:
Measure: V ref * (sample value / resolution) = 1.2V * (295/2048) = 0.1728xxx V
It might have miscalculated. Let me know If you know.
Anyway, I think something wrong when I configure the FMCADC2 Initialize code(SPI register).
Give me a hand.