Skip to main content
_andreas
Senior
September 30, 2022
Solved

Is there a simpler way to compute the gain factor in the SCALE stage of the MDF?

To me, it looks like each gain step shifts by "half" a bit, so we could compute the gain as

floor((DSfilt - DScic)*2);

e.g. with RSFLT as target and Sinc5/Dec5 + 14bit ADC1:

floor((22 - 25.6)*2) = -7;

This topic has been closed for replies.
_andreas
_andreasBest answer
Senior
October 5, 2022

0693W00000UnQetQAF.pngYes, this should work.

3 replies

_andreas
_andreasAuthor
Senior
September 30, 2022

0693W00000UFWwCQAX.png

_andreas
_andreasAuthor
Senior
September 30, 2022
20*log10(2) = 6.0206 dB

If we shift by one bit, this would be the resulting gain in dB

_andreas
_andreasAuthorBest answer
Senior
October 5, 2022

0693W00000UnQetQAF.pngYes, this should work.