Thank to the observations made by Matteo, we have made more measurements to characterize the VGA gain update from high gain to low gain in the case of the B4 signals
The setup is the following
- Demod board CH00 input: 0.1V@112MHz demodulated at 112MHz
- Demod board CH02 input : 0.1V@56MHz passing through a selective filter @56MHz demodulated at 56MHz
- An Acl server to compute the magnitude of the demodulated signals
The attached plot show for each input the FFT of the channel acquired at 400MHz, the ADC maximun value and minimal value multiplied by -1 and the magnitude of the extracted line.
One clearly see that the gain modification between 0x89 HG to 0x40 LG is larger than the expected difference of 0.45%
The following table show the measured magnitude for the 2 modes of gain
As consequence all the B4 demodulated channels are lower than previously by 7% for the 112MHz, by 4.6% for the 56MHz
The correction factors can be applied easily only for the B4 signals by
- in the SPRB_dbox_bench configuration file , updating for each DBOX_DEMOD_SIGNAL the slope parameter then reloading the configuration
- and then reloading the SSFS_Ctrl configuration file