Just to clarify,
I am not talking about setting the gain in software,
spectrum plot gain for example.
I'm talking about the hardware gain setting controlled via
I2C
Patrik
----- Original Message -----
Sent: Friday, June 24, 2011 19:14
Subject: Re: [Discuss-gnuradio] TVRX
Microtune 4702 (4937) Gain question
On Fri, Jun 24, 2011 at 5:45 PM, Patrik Tast <address@hidden>
wrote:
Hi All,
I can not see in source code where GR is setting the
TVRXx gain. I'm referring to
gnuradio-core/src/lib/io/microtune.cc
I'm don't think that code is related to TVRX. For old non-uhd driver
you need to look in the usrp/host/lib/ directory.
If so (not set), what does it default to, max? See
page 12 and forward. The tuner document can be found at
In db_tv_rx.cc constructor, line 101, the gain is initialized to
middle. The gain ranges are also available via the API and you can see many
of the examples also initialize the gain to middle
value.
Alex
|