I’ve been having a look at usrp2/host/lib/copiers.cc and the schematics
try and work out if the units mean anything.
As far as I can tell the LTC2284 ADC is set up to use the ±1V input
and output 14bits as a twos complement.
From the datasheet/the maths I think the ADC is thus giving possible
of -8192 to 8191 (i.e ~ ± 2^13) where -8192 represents -1V and 8191
Where I’m confused is with copy_u2_16sc_to_host_32fc the integers are
to produce floats where -32768 and 32768 (i.e using the full 16bits of
storage variable) are mapped to -1.0 and 1.0 respectively. Is there a
for this? I haven’t tried to look at what the FPGA is doing with this
Can I change this to -8192 and 8192 to map the real/imaginary magnitudes
voltages. I think by doing this I should be able to use usrp2_fft.py -S
xx and see the same sort of values as I see on a scope?