[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Re: usrp1 harmonic issue
From: |
feldmaus |
Subject: |
[Discuss-gnuradio] Re: usrp1 harmonic issue |
Date: |
Mon, 30 Mar 2009 09:58:53 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
feldmaus <feldmann_markus <at> gmx.de> writes:
> Is there any example which corrects the dc offset ?
> So that we see, which commands are up to date.
I think we have first to calculate the dc offset?
And the to adjust ?
To calculate the dc offset we can use:
usrp_cal_dc_offset:
usage: usrp_cal_dc_offset [-v] [-w which_side] [-D decim] [-c ddc_freq] [-g
gain]
[-S fusb_block_size] [-N fusb_nblocks]
And get for example this:
1715545 : 172 2597454 : 260
Which is side A and which one is side B ?
The '-w' parameter doesn't change anything, so how to use this correctly ?
To adjust the dc offset we can use:
set_dc_offset_cl_enable(self, int bits, int mask)
OR
set_adc_offset(self, int which_adc, int offset)
Can somebody please explain the different between these both functions ?
Which one should we use to adjust the offset ?
Regards Markus