[USRP-users] N210 DDC gain

Josh Blum josh at ettus.com
Tue Sep 11 15:10:21 EDT 2012


> 
> It puzzles me because I would have expected the gain would be set so
> that a full-scale input to the ADC gives a full-scale 16-bit output,
> i.e. +/-32767, but at present the gain seems to be less than half that.
> Is this how it should be and if so, why?
> 

Indeed, it looks as if a bit has been lost. This should just be a
software fix away. This patch doubles the multiplier scalar before the
bits are clipped to 16. http://pastebin.com/VUCK6yzq

I need to look into ddc_chain.v more before merging this.

-josh






More information about the USRP-users mailing list