On 06/01/2021 02:47 AM, Skyvalakis Konstantinos wrote:
I managed to fix that last fifo ctrl time out error by adding as many
Tx as Rx channels like you said.
My code now executes without any errors from the UHD at the
beginning, but as soon as it does I get something
like "LLLLLLUUULLLLULUL" on the terminal.
The "L" means 'late packet'. Which happens when your TX packet is
tagged to be transmitted at a particular time, and that time
has already passed.
The 'U' is under-run, which means that your code isn't "keeping up" with
the TX rate--which at 1Msps means something is
terribly wrong.
Are you running your RX and TX in separate threads? If not, you really
should.
My ADC rate is 2MHz and my DAC rate is 1MHz in case that matters.
Could I fix all of these problems if I had a MIMO cable to connect the
2 devices?
------------------------------------------------------------------------
*From:* Skyvalakis Konstantinos
*Sent:* Tuesday, June 1, 2021 9:09 AM
*To:* Marcus D. Leech; [email protected]
*Subject:* Re: USRP N200
Ok I will try this last advice. I will put as many Tx as Rx channels
and I will let you know.
Regarding the error you asked me for, the complete output is:
[INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501;
UHD_3.15.0.HEAD-0-gaea0e2de
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
[INFO] [MULTI_USRP] 2) set times next pps (synchronously)
[INFO] [MULTI_USRP] 1) catch time transition at pps edge
Traceback (most recent call last):
File "./reader_monostatic_with_MIMO_sniffer_v5.py", line 172, in
<module>
main_block = reader_top_block()
File "./reader_monostatic_with_MIMO_sniffer_v5.py", line 141, in
__init__
self.usrp_init()
File "./reader_monostatic_with_MIMO_sniffer_v5.py", line 56, in
usrp_init
self.sink.set_time_unknown_pps(uhd.time_spec())
File
"/usr/local/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py",
line 4814, in set_time_unknown_pps
return _uhd_swig.usrp_sink_sptr_set_time_unknown_pps(self, time_spec)
RuntimeError: RuntimeError: fifo ctrl timed out looking for acks
[ERROR] [UHD] Exception caught in safe-call.
in virtual usrp2_fifo_ctrl_impl::~usrp2_fifo_ctrl_impl()
at /home/telecomg5/repos/uhd/host/lib/usrp/usrp2/usrp2_fifo_ctrl.cpp:54
this->peek32(0); -> RuntimeError: fifo ctrl timed out looking for acks
------------------------------------------------------------------------
*From:* Marcus D. Leech <[email protected]>
*Sent:* Tuesday, June 1, 2021 12:35 AM
*To:* Skyvalakis Konstantinos; [email protected]
*Subject:* Re: USRP N200
On 05/31/2021 03:17 PM, Skyvalakis Konstantinos wrote:
Ok, I did the upgrade and all the necessary rebuilds.
The error persists this time however with more information.
RuntimeError: RuntimeError: fifo ctrl timed out looking for acks
[ERROR] [UHD] Exception caught in safe-call.
in virtual usrp2_fifo_ctrl_impl::~usrp2_fifo_ctrl_impl()
at /home/telecomg5/repos/uhd/host/lib/usrp/usrp2/usrp2_fifo_ctrl.cpp:54
this->peek32(0); -> RuntimeError: fifo ctrl timed out looking for acks
Also, when you have a TX/RX scenario like this, for some hardware, you
need to have as many TX channels as RX channels.
So, establish your "sink" such that it talks to both devices, and then
just stuff the buffer with 0s for the channel you're not using.
_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]