Fw: TVRX Microtune 4702 (4937) Gain question

I’m on the track now

Thanks Alexandur,
Patrik

----- Original Message -----
From: Patrik T.
To: [email protected]
Sent: Friday, June 24, 2011 19:38
Subject: Re: [Discuss-gnuradio] TVRX Microtune 4702 (4937) Gain question

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 -----
From: Alexandru C.
To: Patrik T.
Cc: [email protected]
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 T. [email protected]
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
Loading...

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