On 2021-10-11 8:24 a.m., Thangaraj Mukara Dhakshinamoorthy wrote:

Hello Everyone,

*_My system config:_*

Host OS: Windows 10

Guest OS: VirtualBox Ubuntu 20.04.3 LTS

UHD version: 3.15.0.0

GNU Radio version: 3.8.1.0

SDR Device : Ettus USRP N320

My Goal: Use Ettus N320 as Analysis tool (Ex: Spectrum Analyzer)

Console logs:

komro@komro-HP-ProBook-6560b:/usr/lib/uhd/examples$ ./rx_samples_to_file --freq 98e6 --rate 5e6 --gain 20 --duration 10 usrp_samples.dat

Creating the usrp device with: ...

[INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5

[INFO] [MPMD] Initializing 1 device(s) in parallel with args: mgmt_addr=192.168.10.2,type=n3xx,product=n320,serial=31F43B7,claimed=False,addr=192.168.10.2

[INFO] [MPM.PeriphManager] init() called with device args `mgmt_addr=192.168.10.2,time_source=internal,clock_source=internal,product=n320'.

[INFO] [MPM.Rhodium-0] init() called with args `mgmt_addr=192.168.10.2,time_source=internal,clock_source=internal,product=n320'

[INFO] [MPM.Rhodium-1] init() called with args `mgmt_addr=192.168.10.2,time_source=internal,clock_source=internal,product=n320'

.

.

.

.

[WARNING] [MULTI_USRP] The hardware does not support the requested RX sample rate:

Target sample rate: 5.000000 MSps

Actual sample rate: 5.015510 MSps

Actual RX Rate: 5.015510 Msps...

Setting RX Freq: 98.000000 MHz...

Setting RX LO Offset: 0.000000 MHz...

Actual RX Freq: 98.000000 MHz...

Setting RX Gain: 20.000000 dB...

Actual RX Gain: 20.000000 dB...

Waiting for "lo_locked": ++++++++++ locked.

Press Ctrl + C to stop streaming...

DGot an overflow indication. Please consider the following:

  Your write medium must sustain a rate of 20.062041MB/s.

  Dropped samples will not be written to the file.

  Please modify this example for your purposes.

  This message will not appear again.

DDDD

Done!

[ERROR] [UHD] Exception caught in safe-call.

  in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with uhd::endianness_t _endianness = uhd::ENDIANNESS_BIG]

  at /build/uhd-FRfZNJ/uhd-3.15.0.0/host/lib/rfnoc/ctrl_iface.cpp:50

this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_00_Port_33) no response packet - AssertionError: bool(buff)

  in uint64_t ctrl_iface_impl<_endianness>::wait_for_ack(bool, double) [with uhd::endianness_t _endianness = uhd::ENDIANNESS_BIG; uint64_t = long unsigned int]

  at /build/uhd-FRfZNJ/uhd-3.15.0.0/host/lib/rfnoc/ctrl_iface.cpp:151

[ERROR] [UHD] Exception caught in safe-call.

  in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with uhd::endianness_t _endianness = uhd::ENDIANNESS_BIG]

  at /build/uhd-FRfZNJ/uhd-3.15.0.0/host/lib/rfnoc/ctrl_iface.cpp:50

this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_00_Port_30) packet parse error - EnvironmentError: IOError: Expected packet index: 28 Received index: 29

[ERROR] [UHD] Exception caught in safe-call.

  in ctrl_iface_impl<_endianness>::~ctrl_iface_impl() [with uhd::endianness_t _endianness = uhd::ENDIANNESS_BIG]

  at /build/uhd-FRfZNJ/uhd-3.15.0.0/host/lib/rfnoc/ctrl_iface.cpp:50

this->send_cmd_pkt(0, 0, true); -> EnvironmentError: IOError: Block ctrl (CE_01_Port_40) packet parse error - EnvironmentError: IOError: Expected packet index: 566 Received index: 567

Performance within a VM is often very poor.  If you replace the output file with "/dev/null", ,does this change the behavior?


1. What should I do in order to fix this?

2. I tried the fm_receiver flowgraph in GNU Radio, it was running successfully but when I tune the frequency there is nothing I could hear except the first 5 seconds noise!

That would be a question for the discuss-gnuradio mailing list.

3. I also tried the example ‚Spectrum Analyzer‘ grc program, it was also running without error but there was not much changes/effects when I tune the frequency! Is there something wrong in receiver?

What gain setting did you use?  What kind of antenna on the antenna port?


Thank you in advance!

Regards,

Thangz


_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to