ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Phase gap in signal (N200)

Hi!

 

I have a problem in generating radio pulses with USRP N200 (LFTX Daughterboard 0-30 MHz). There is a phase gap at 11us. It doesn't depend on TX frequency, pulse length, and duty cycle.

 

Source code is in file attached. I compile and run it on Linux Mint 20 (x86_64). Additional info: GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5.

 

How can I solve this problem?

 

SDS00007.pngSDS00006.pngSDS00005.png

0 Kudos
Message 1 of 2
(1,503 Views)

Fixed.

 

I found the solution. The problem is low tx_rate. The first element (before the phase gap) should be at the end of the pulse! But I was not able to move it to the end. It is only possible to make the first element more narrow by increasing tx_rate. But it causes a lot of "S" errors. I updated UHD library to version 4. It didn't help. Then I downgraded the library to 003.007.003 (boost was also downgraded to 1_55_0). And programs work perfectly now.

0 Kudos
Message 2 of 2
(1,284 Views)