[USRP-users] N210 + UBX Power Calibration

2021-09-07 Thread Ernest Fardin via USRP-users
Hi, I'm trying to calibrate the receive power on a USRP N210 with a UBX daughterboard. Using UHD 4.0, I can get uhd_power_cal.py to run by adding an N210Calibrator class to usrp_calibrator.py. N210Calibrator overloads the USRPCalibratorBase class. class N210Calibrator(USRPCalibratorBase): """

[USRP-users] Re: Rx Packet Drop in N321 USRP

2021-09-07 Thread zhou via USRP-users
Thanks Marcus. What is the reason for Rx packet drop in N321? I have configured the same MTU on both ends of the connection. Interestingly, there is no Tx packet loss but Rx. On Tuesday, 7 September 2021, 00:05:57 BST, Marcus D. Leech wrote: On 2021-09-06 6:59 p.m., zhou wrote:

[USRP-users] Set Network Buffer in N321 USRP Permanently

2021-09-07 Thread zhou via USRP-users
Hi Marcus, Thanks for your comments on my other USRP questions. I have another issue with N321 USRP.Following the tuning tips in  https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks , I have set wmem_max, wmem_default, rmem_max, rmem_default to 33554432 in host (Ubuntu): sud

[USRP-users] Re: Set Network Buffer in N321 USRP Permanently

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 8:12 a.m., zhou wrote: Hi Marcus, Thanks for your comments on my other USRP questions. I have another issue with N321 USRP. Following the tuning tips in https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks

[USRP-users] Re: Rx Packet Drop in N321 USRP

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 7:54 a.m., zhou wrote: Thanks Marcus. What is the reason for Rx packet drop in N321? I have configured the same MTU on both ends of the connection. Interestingly, there is no Tx packet loss but Rx. Well, the *usual* reason is cabling issues.  But a secondary reason would be overlo

[USRP-users] Re: Rx Packet Drop in N321 USRP

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 7:54 a.m., zhou wrote: Thanks Marcus. What is the reason for Rx packet drop in N321? I have configured the same MTU on both ends of the connection. Interestingly, there is no Tx packet loss but Rx. Hmmm, so, just found this: Beginning with kernel 2.6.37, it has been changed th

[USRP-users] Re: Rx Packet Drop in N321 USRP

2021-09-07 Thread zhou via USRP-users
Thanks a lot, Marcus.The kernel version I am using in host is 5.4.0-81, but there is no packet drop. It is still strange that packet drop happened in USRP.  In my test, sometimes there are U errors. I am wondering if there is something wrong with network buffer. On Tuesday, 7 September

[USRP-users] Re: Set Network Buffer in N321 USRP Permanently

2021-09-07 Thread zhou via USRP-users
Thanks for your suggestion, Marcus.  On Tuesday, 7 September 2021, 14:21:19 BST, Marcus D. Leech wrote: On 2021-09-07 8:12 a.m., zhou wrote: Hi Marcus, Thanks for your comments on my other USRP questions. I have another issue with N321 USRP. Following the tuning tip

[USRP-users] Struggling to build kernel and userspace for x400

2021-09-07 Thread tywonemi
Dear USRP maintainers, As my master's thesis I've set out to port the GNU Radio RFNoC to the RFSoC 2x2 development board for purposes of academic research of optical communications, and I have some issues. If it's more practical for you, feel free to forward me to written resources I may ha

[USRP-users] Re: Rx Packet Drop in N321 USRP

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 3:59 p.m., zhou wrote: Thanks a lot, Marcus. The kernel version I am using in host is 5.4.0-81, but there is no packet drop. It is still strange that packet drop happened in USRP. In my test, sometimes there are U errors. I am wondering if there is something wrong with network

[USRP-users] Re: Struggling to build kernel and userspace for x400

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 4:25 p.m., tywon...@fel.cvut.cz wrote: Dear USRP maintainers, As my master's thesis I've set out to port the GNU Radio RFNoC to the RFSoC 2x2 development board for purposes of academic research of optical communications, and I have some issues. If it's more practical for you, fe

[USRP-users] Re: setting lenght of fft RFNoC UHD 4

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 5:55 p.m., Ivan Zahartchuk wrote: I am setting 256 points FFT with the following parameters: fft_amplitude = uhd.libpyuhd.rfnoc.fft_magnitude.MAGNITUDE_SQUARED fft_direction = uhd.libpyuhd.rfnoc.fft_direction.FORWARD fft_shift = uhd.libpyuhd.rfnoc.fft_shift.NORMAL After that I do

[USRP-users] Re: setting lenght of fft RFNoC UHD 4

2021-09-07 Thread Marcus D. Leech
On 2021-09-07 5:55 p.m., Ivan Zahartchuk wrote: I am setting 256 points FFT with the following parameters: fft_amplitude = uhd.libpyuhd.rfnoc.fft_magnitude.MAGNITUDE_SQUARED fft_direction = uhd.libpyuhd.rfnoc.fft_direction.FORWARD fft_shift = uhd.libpyuhd.rfnoc.fft_shift.NORMAL After that I do