Hello,
I am seeing an issue with calibration repeatability with the Initialization Set Up. I am configuring the ADC for JMODE0 and sampling a CW signal. If I repeat the Initialization Set Up, I see a 6 dBm amplitude variation on the sampled signal. I am using the following Initialization:
adc.write(0x200, 0x00); // clear JESD_EN - Always clear JESD_EN before clearing CAL_EN
adc.write(0x061, 0x00); // clear CAL_EN
adc.write(0x201, 0x00); // set JMODE0
adc.write(0x062, 0x01); // CAL_CFG: FG
adc.write(0x061, 0x01); // set CAL_EN - Always set CAL_EN before setting JESD_EN
adc.write(0x200, 0x01); // set JESD_EN
adc.write(0x2B0, 0x00); // turn off sysref cal
adc.write(0x06c, 0x00);
adc.write(0x06c, 0x01); //trigger ADC FG calibration
// Wait for FG Calibration to complete by monitoring 0x06a bit 0
// Calibrate sysref
adc.write(0x2B1, 0x05); // config the cal
adc.write(0x2B0, 0x01); // start sysref cal
// Wait for sysref calibration to complete by monitoring 0x2B4 bit 1
If I re-run the above steps, I will see one of two possible amplitudes on my sampled signal. I would appreciate any suggestions on what might be happening. Thank you.