Nick,
Now all my sample rates match. But I cannot demodulate the signal.
However,
I tune my FM phone receiver and the transmitted signal is ok. I can
listen
to it perfectly.
This is the message code I get on GRC:
…SSSaUSSSSSSSaUSSSSSSSaUSSSSSSSSaUSSSSSSSaUSSSSSSSS
aUSSSSSSSaUSSSSSSSSaUSSSSSSSSaUSSSSSSSSaUSSSSSSSSSaUSSSSSSS
SaUSSSSSSSSSSaUSSSSSSSSSaUSSSSSSSaUSSSS…
Furthermore I found out that my Ethernet interface is discarding a lot
of
received packages (the ones that carry de demodulated signal to my
computer). See:
~$ ifconfig
eth0 Link encap:Ethernet HWaddr 5c:ff:35:06:ad:06
inet addr:10.0.0.87 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::5eff:35ff:fe06:ad06/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:29666606 errors:0 dropped:75746045 overruns:0
frame:0
TX packets:4750896 errors:0 dropped:0 overruns:0 carrier:0
collisions:26 txqueuelen:10
RX bytes:3107428110 (3.1 GB) TX bytes:2389205908 (2.3 GB)
Memory:f2600000-f2620000
But my interface is in 1000Mbps mode and full duplex.
Why do I have dis problem?
With my configuration I have 15,35Mbps to the USRP2 (Tx) and 3.2Mbps
from
the USRP2 (Rx). Is is by far less than the capacity of the Ethernet
interface which is in this state:
~$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: Not reported
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: pumbag
Wake-on: g
Current message level: 0x00000001 (1)
Link detected: yes
Modulator chain by itself works fine and do the demudulator chain does.
But
together I have this problem of Bandwidth?
Any ideas?
This is my new GRC code:
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
Thu Sep 23 09:18:32 2010
options
id
top_block
_enabled
True
title
author
description
window_size
1280, 1024
generate_options
wx_gui
category
Custom
run
True
realtime_scheduling
_coordinate
(2, 384)
_rotation
0
note
id
Chain1
_enabled
True
note
MODULATOR
_coordinate
(233, 9)
_rotation
0
variable_slider
id
fm_freq_mod
_enabled
True
label
FM frequency modulator
value
94000000
min
0
max
110000000
num_steps
300
style
wx.SL_HORIZONTAL
converver
float_converter
grid_pos
notebook
_coordinate
(0, 253)
_rotation
0
variable_slider
id
tune_filter
_enabled
True
label
LPF Cutoff Freq
value
75000
min
15000
max
150000
num_steps
1000
style
wx.SL_HORIZONTAL
converver
float_converter
grid_pos
notebook
_coordinate
(0, 127)
_rotation
0
variable_slider
id
tune_osc_dem
_enabled
True
label
Tunned frequency demodulator
value
94000000
min
88000000
max
108000000
num_steps
800
style
wx.SL_HORIZONTAL
converver
float_converter
grid_pos
notebook
_coordinate
(1, 1)
_rotation
0
note
id
Chain1_0
_enabled
True
note
DEMODULATOR
_coordinate
(361, 500)
_rotation
0
gr_frequency_modulator_fc
id
gr_frequency_modulator_fc_0
_enabled
True
sensitivity
0.980
_coordinate
(596, 297)
_rotation
0
gr_multiply_const_vxx
id
gr_multiply_const_vxx_1
_enabled
True
type
complex
const
32000
vlen
1
_coordinate
(797, 297)
_rotation
0
low_pass_filter
id
low_pass_filter_0_0
_enabled
True
type
interp_fir_filter_fff
decim
1
interp
1
gain
1
samp_rate
240000
cutoff_freq
18e3
width
2e3
window
WIN_HAMMING
beta
6.76
_coordinate
(507, 44)
_rotation
0
usrp2_source_xxxx
id
usrp2_source_xxxx_0
_enabled
True
type
complex
interface
mac_addr
decimation
500
frequency
tune_osc_dem
lo_offset
float(‘inf’)
gain
20
_coordinate
(180, 583)
_rotation
0
blks2_rational_resampler_xxx
id
blks2_rational_resampler_xxx_1_0_0
_enabled
True
type
ccc
decim
5
interp
6
taps
[]
fractional_bw
0
_coordinate
(391, 591)
_rotation
0
low_pass_filter
id
low_pass_filter_0
_enabled
True
type
fir_filter_ccf
decim
1
interp
1
gain
20
samp_rate
240000
cutoff_freq
tune_filter
width
5000
window
WIN_HAMMING
beta
6.76
_coordinate
(613, 568)
_rotation
0
blks2_fm_demod_cf
id
blks2_fm_demod_cf_0
_enabled
True
chan_rate
240000
audio_decim
5
deviation
75000
audio_pass
1000
audio_stop
16000
gain
20.0
tau
75e-6
_coordinate
(867, 417)
_rotation
0
audio_sink
id
audio_sink_0
_enabled
True
samp_rate
48000
device_name
plughw:0,0
ok_to_block
False
num_inputs
1
_coordinate
(945, 654)
_rotation
0
gr_wavfile_source
id
gr_wavfile_source_0
_enabled
True
file
/home/thales/Desktop/outfile2.wav
repeat
True
nchan
1
_coordinate
(195, 196)
_rotation
0
blks2_rational_resampler_xxx
id
blks2_rational_resampler_xxx_0_0
_enabled
True
type
fff
decim
1
interp
5
taps
[]
fractional_bw
0
_coordinate
(280, 68)
_rotation
0
usrp2_sink_xxxx
id
usrp2_sink_xxxx_0
_enabled
True
type
complex
interface
mac_addr
interpolation
104
frequency
fm_freq_mod
lo_offset
float(‘inf’)
gain
0
_coordinate
(1011, 265)
_rotation
0
blks2_rational_resampler_xxx
id
blks2_rational_resampler_xxx_1
_enabled
True
type
fff
decim
1
interp
4
taps
[]
fractional_bw
0
_coordinate
(756, 68)
_rotation
0
<source_block_id>blks2_rational_resampler_xxx_1</source_block_id>
<sink_block_id>gr_frequency_modulator_fc_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>gr_multiply_const_vxx_1</source_block_id>
<sink_block_id>usrp2_sink_xxxx_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>gr_frequency_modulator_fc_0</source_block_id>
<sink_block_id>gr_multiply_const_vxx_1</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>blks2_rational_resampler_xxx_0_0</source_block_id>
<sink_block_id>low_pass_filter_0_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>low_pass_filter_0_0</source_block_id>
<sink_block_id>blks2_rational_resampler_xxx_1</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>gr_wavfile_source_0</source_block_id>
<sink_block_id>blks2_rational_resampler_xxx_0_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>blks2_fm_demod_cf_0</source_block_id>
<sink_block_id>audio_sink_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>low_pass_filter_0</source_block_id>
<sink_block_id>blks2_fm_demod_cf_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>blks2_rational_resampler_xxx_1_0_0</source_block_id>
<sink_block_id>low_pass_filter_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
<source_block_id>usrp2_source_xxxx_0</source_block_id>
<sink_block_id>blks2_rational_resampler_xxx_1_0_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</flow_graph>