[Discuss-gnuradio] The Temic tuner (Microtune 4937) datasheet ?

2005-07-20 Thread HL_Wu
Hi, all
  I just got the USRP and TXRX board and successfully installed and run 
the WBFM 
program to listen to some local radio station. Now I am trying to figure out 
the USRP hardware 
beginning from the RF section. But I found that the link about Microtune 49xx 
series 
(http://www.microtune.com/products/49xx_Series.html) in the HowtoFM section 
(http://comsec.com/wiki?HowToFM) is no longer valid. Does anyone have the 
datasheet?

Owen Wu
ASMedia


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Questions about USRP TV RX agc setting

2005-08-16 Thread HL_Wu
Title: Questions about USRP TV RX agc setting 






Hi, all

 When I traced the tv_rx.py code, I found that in order to adjust the RF AGC/IF AGC

the AUX DAC inside the AD9862 must be used. But I had several questions about this.


1). the AUX DAC bit width: in the code segment below, there is a magic number 4096

(2e12), but the bit width of AUX DAC is only 8 bits width(2e8=256).What is the relationship 

between the 8-bit and 4096?

2). the gain/voltage formula:

  Are there two formula approximation from the tuner datasheet ?

3). TV RX daughterboard

  In the schematics, it is necessary to have two signals: AUX_DAC_A, and io_rx_00 

to control the IF AGC setting. What is the use of io_rx_00 signal? 


   # Gain setting

    def _set_rfagc(self,gain):

    assert gain <= 60 and gain >= 0

    if gain == 60:

    voltage = 4

    else:

    voltage = gain/60.0 * 2.25 + 1.25

    dacword = int(4096*voltage/1.22/3.3)    # 1.22 = opamp gain


    assert dacword>=0 and dacword<4096

    self.rfagc = dacword 

    self._u.write_aux_dac(self._which, 1, dacword)


    def _set_ifagc(self,gain):

    assert gain <= 35 and gain >= 0

    if gain == 35:

    voltage = 3.5

    else:

    voltage = gain/35.0 * 2.1 + 1.4

    dacword = int(4096*voltage/1.22/3.3)    # 1.22 = opamp gain


    assert dacword>=0 and dacword<4096

    self.rfagc = dacword 

    self._u.write_aux_dac(self._which, 0, dacword)


Owen Wu

ASMedia







___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] FW: Questions about USRP TV RX agc setting

2005-08-16 Thread HL_Wu
Hi, all
 When I traced the tv_rx.py code, I found that in order to adjust the RF 
AGC/IF AGC
the AUX DAC inside the AD9862 must be used. But I had several questions about 
this.

1). the AUX DAC bit width: in the code segment below, there is a magic number 
4096
(2e12), but the bit width of AUX DAC is only 8 bits width(2e8=256).What is the 
relationship 
between the 8-bit and 4096?
2). the gain/voltage formula:
  Are there two formula approximation from the tuner datasheet ?
3). TV RX daughterboard
  In the schematics, it is necessary to have two signals: AUX_DAC_A, and 
io_rx_00 
to control the IF AGC setting. What is the use of io_rx_00 signal? 

   # Gain setting
def _set_rfagc(self,gain):
assert gain <= 60 and gain >= 0
if gain == 60:
voltage = 4
else:
voltage = gain/60.0 * 2.25 + 1.25
dacword = int(4096*voltage/1.22/3.3)# 1.22 = opamp gain

assert dacword>=0 and dacword<4096
self.rfagc = dacword 
self._u.write_aux_dac(self._which, 1, dacword)

def _set_ifagc(self,gain):
assert gain <= 35 and gain >= 0
if gain == 35:
voltage = 3.5
else:
voltage = gain/35.0 * 2.1 + 1.4
dacword = int(4096*voltage/1.22/3.3)# 1.22 = opamp gain

assert dacword>=0 and dacword<4096
self.rfagc = dacword 
self._u.write_aux_dac(self._which, 0, dacword)

Owen Wu
ASMedia




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] TVRX data interface to USRP board (VINN_A, VINP_A; VINN_B, VINP_B)

2005-09-26 Thread HL_Wu
Hi, all
 This may be a simple question but I can not find any definite answer
from the archive.
 In the module interface, there are two RF data differential pairs from
RF board to the USRP board: VINN_A, VINP_A; VINN_B, VINP_B. 
If there are two individual RF tuners on the RX board, I think they each use 
one different pair, like the picture below for basic RX board.
http://www-personal.engin.umich.edu/~anastas/gnuradio/usrp_gen.eps
But how about the TVRX board? From what I see from the python code,
only one ADC is used. Is one of the differential pairs left open
or both of them connect from the same RF tuner output? If the answer is 2),
under what condition would this be used (I/Q sampling) for this tuner?


Owen Wu
ASMedia




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] TX_RX board installation problem (0x000c)?

2006-01-06 Thread HL_Wu
Hi, all
 I just got my 2 new TV_RX boards from Ettus, but when I installed it 
and
run the tvrx_wfm_rcv_gui.py script, the script tells me that it is an unknown
board with ID 0x000c. The release of gnuradio software version is close to 2.5
(I did CVS it from the ftp site), but still far away from the 2.6 version. Any 
clue?
I thought about updating the gnuradio from 2.5 to 2.6, but I want to know what
happened before I tried anything dramatic.

Owen Wu
ASMedia




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


RE: [Discuss-gnuradio] TX_RX board installation problem (0x000c)?

2006-01-08 Thread HL_Wu
Hi, Matt
   Since I intend to use the TV RX tuner both with USRP board and some 
of
the in-house boards (the Altera one is a little limited to my project hence
I change that to Xilinx Virtex-2 and make a in-house board), can I have the new 
TV RX 2 tuner datasheet (3x8769?) ?  

Owen

-Original Message-
From: Matt Ettus [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 07, 2006 2:00 AM
To: HL Wu(吳曉龍)
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] TX_RX board installation problem
(0x000c)?


[EMAIL PROTECTED] wrote:
> Hi, all
>  I just got my 2 new TV_RX boards from Ettus, but when I installed it 
> and
> run the tvrx_wfm_rcv_gui.py script, the script tells me that it is an unknown
> board with ID 0x000c. The release of gnuradio software version is close to 2.5
> (I did CVS it from the ftp site), but still far away from the 2.6 version. 
> Any clue?
> I thought about updating the gnuradio from 2.5 to 2.6, but I want to know what
> happened before I tried anything dramatic.

You need to update to the new release to get support for your board.
The tuners shipping on the TVRX board are slightly different now, so I
gave them a new daughterboard ID.  It will show up as a TVRX2 once you
update.

Matt


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


RE: [Discuss-gnuradio] TX_RX board installation problem (0x000c)?

2006-01-08 Thread HL_Wu
If the IF frequency is 43.75Mhz instead of 5.75Mhz, it is impossible that
AD9862 can be faster enough to do Nyquist sampling (64MSPs for 
AD9862). If that is so, how can AD9862 sample the intended signal ?
using bandpass sampling? Matt, can you explain it a little bit more ?

Owen

-Original Message-
From: Matt Ettus [mailto:[EMAIL PROTECTED]
Sent: Monday, January 09, 2006 12:25 PM
To: HL Wu(吳曉龍)
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] TX_RX board installation problem
(0x000c)?


[EMAIL PROTECTED] wrote:
> Hi, Matt
>Since I intend to use the TV RX tuner both with USRP board and 
> some of
> the in-house boards (the Altera one is a little limited to my project hence
> I change that to Xilinx Virtex-2 and make a in-house board), can I have the 
> new 
> TV RX 2 tuner datasheet (3x8769?) ?  


Unfortunately I don't think Microtune ever made one.  The only
difference of consequence is the 43.75 MHz IF frequency instead of 5.75 MHz.

Matt


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Capture and replay (usrp_rx_cfile.py)

2006-03-12 Thread HL_Wu
Hi, all
  Is there any script which is capable to replay the captured file
generated by the usrp_rx_cfile.py? It is better if I can choose either the 
basic TX board (baseband only) or the USRP TVRX board (RF 
upconversion). I dare not to try to cook my own script because it seems
that interpolator portion is done inside the ADI 9862 chip and I am unsure
how to programm it correctly. An rough example would be very helpful!

Owen Wu
ASMedia




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] wxPython in Cygwin issue

2006-08-11 Thread HL_Wu
Hi, all
   I am trying to build wxPython (2.6.3.3) on Cygwin. I just wonder
if it is necessary to use configuration option --with-opengl  for the
GNURadio. BTW, if someone successfully build wxPython on Cygwin
and could share his experience, that would be great (In the Gnuradio
Cygwin Wiki, wxPython is still listed as the not-tried item).

Owen Wu
ASMedia




___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


RE: [Discuss-gnuradio] wxPython in Cygwin issue

2006-08-16 Thread HL_Wu
Johnathan:
 After choosing not to use opengl, I successfully build the wxWidgets
under Cygwin (I think in the wx world, this is called wxGTK+), but I can't 
build 
wxPython under Cygwin. I just begin to wonder if I take the wrong approach: 
because I also posted the below message to the wx-dev mailing list and it looked
nobody did this successfully before. Johnathan, would you mind trying to recall
how you achieved this one year ago?

Owen

Appendix: Messgae to the wx-dev mailing list

1). Related package version:
 WINDOWS: Window 2000 SVR4
 OS: CYGWIN_NT-5.0 Hl_Wu_pc 1.5.21(0.156/4/2) 2006-07-30 14:21 i686 Cygwin
 Compiler: gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
 GTK+: 2.6.10
 Python: 2.4.3
 wxPython: wxPython-src-2.6.3.3
 SWIG Version 1.3.29
2). Tweak about wxWidget compile
 Since the Python package didn't link the libraray 
/usr/lib/python2.4/config/libpython2.4.dll.a
to the library /usr/lib/libpython2.4.a, the compile process for wxWidget would 
encounter
link error. After fixing this, the wxWidget compilation is ok.

3). error message about wxPython compilation

python setup.py build
Found wx-config: /cygdrive/c/Home/HL_Wu/gr/bin/wx-config
Using flags:  --toolkit=gtk2 --unicode=no --version=2.6
Preparing CORE...
Preparing STC...
Preparing GIZMOS...
Preparing ANIMATE...
running build
running build_py
copying wx/__version__.py -> build-gtk2/lib.cygwin-1.5.21-i686-2.4/wx
copying wx/build/build_options.py -> 
build-gtk2/lib.cygwin-1.5.21-i686-2.4/wx/build
copying wx/build/config.py -> build-gtk2/lib.cygwin-1.5.21-i686-2.4/wx/build
running build_ext
building '_core_' extension
c++ -shared -Wl,--enable-auto-image-base 
build-gtk2/temp.cygwin-1.5.21-i686-2.4/src/helpers.o 
build-gtk2/temp.cygwin-1.5.21-i686-2.4/src/gtk/_core_wrap.o -L/usr/X11R6/lib 
-L/cygdrive/c/Home/HL_Wu/gr/lib -L. -lwx_gtk2d_xrc-2.6 -lwx_gtk2d_html-2.6 
-lwx_gtk2d_adv-2.6 -lwx_gtk2d_core-2.6 -lwx_based_xml-2.6 -lwx_based_net-2.6 
-lwx_based-2.6 -lpython2.4 -o 
build-gtk2/lib.cygwin-1.5.21-i686-2.4/wx/_core_.dll
build-gtk2/temp.cygwin-1.5.21-i686-2.4/src/helpers.o: In function 
`_Z16wxPyGetWinHandleP8wxWindow':
/cygdrive/d/Asmedia/FM/USRP/installation/kd7lmo/package/wxPython-src-2.6.3.3/wxPython/src/helpers.cpp:1931:
 undefined reference to `_g_type_check_instance_cast'
/cygdrive/d/Asmedia/FM/USRP/installation/kd7lmo/package/wxPython-src-2.6.3.3/wxPython/src/helpers.cpp:1931:
 undefined reference to `_gdk_x11_drawable_get_xid'
/cygdrive/d/Asmedia/FM/USRP/installation/kd7lmo/package/wxPython-src-2.6.3.3/wxPython/src/helpers.cpp:1931:
 undefined reference to `_gdk_x11_drawable_get_xid'
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1

-Original Message-
From: Johnathan Corgan [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 12, 2006 12:37 PM
To: HL Wu(吳曉龍)
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] wxPython in Cygwin issue


[EMAIL PROTECTED] wrote:

>I am trying to build wxPython (2.6.3.3) on Cygwin. I just wonder
> if it is necessary to use configuration option --with-opengl  for the
> GNURadio. BTW, if someone successfully build wxPython on Cygwin
> and could share his experience, that would be great (In the Gnuradio
> Cygwin Wiki, wxPython is still listed as the not-tried item).

Sorry for the delay in responding to your email.

I successfully built wxPython on Cygwin about a year ago.  I don't
recall *having* to use --with-opengl for it to work, though I think
there are some wxPython features that get disabled if you don't. (I
think it's the wxGlCanvas stuff or whatever it's called.)

-Johnathan



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio