[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-13 Thread Marcus D. Leech
On 04/13/2021 10:17 AM, 王璀 WANG Cui wrote: I am testing with software generated GPS L1 C/A signal and the sampling rate is 1.023M sps, same as the C/A code rate 1.023M chips/s. The result baseband signal file can be tracked and positioned by gnss-sdr receiver. So I am wondering: I am not us

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-13 Thread 王璀 WANG Cui
I am testing with software generated GPS L1 C/A signal and the sampling rate is 1.023M sps, same as the C/A code rate 1.023M chips/s. The result baseband signal file can be tracked and positioned by gnss-sdr receiver. So I am wondering: I am not using 2B sampling rate (say 2.046 sps), but seems

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-13 Thread Marcus D. Leech
On 04/13/2021 12:21 AM, 王璀 WANG Cui wrote: I am not expert in this, do you mean if sample in real format, we must double the sample rate, to contain both I phase and Q phase information? In my application, I just sample at baseband digital code rate (Nyquist Freq), and seems it works well wh

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-12 Thread 王璀 WANG Cui
I am not expert in this, do you mean if sample in real format, we must double the sample rate, to contain both I phase and Q phase information? In my application, I just sample at baseband digital code rate (Nyquist Freq), and seems it works well when transmit. And when I convert it into I/Q, it

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-12 Thread Marcus D Leech
No. A real-sampled signal would Need to be sampled at twice the notional bandwidth. So the data rate is the same. Sent from my iPhone > On Apr 12, 2021, at 11:59 PM, 王璀 WANG Cui wrote: > >  > That make sense, I guess I would modify it to accept more format. > However, for the hardware side,

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-12 Thread 王璀 WANG Cui
That make sense, I guess I would modify it to accept more format. However, for the hardware side, it accept only Complex OTW format, which means it need double bandwidth from host (I am using B210, USB3). When transmit high sample rate signal, it is very easy to underflow. If we can upgrade firmw

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-12 Thread Marcus D Leech
The tx_samples_from_file application is just an example application. You are free to modify it to meet your needs, including converting real-samples data to complex baseband data The hardware, however, supports complex baseband data, In either sc16 or sc8 format “over the wire”. The host so

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-12 Thread 王璀 WANG Cui
Thanks for reply. However for RF signal, IQ Complex signal double the file size, which is quite inconvenient, it will be best that USRP can natively support such format. (Even sometimes RF signal is in 4-bit, 1 bit format, and convert to I/Q will be more than 10 times larger...) From: Marcus D

[USRP-users] Re: How to tx s16 file with tx_samples_from_file

2021-04-12 Thread Marcus D Leech
Complex baseband is the natural format for this stuff. If you have real-sampled data you’ll have to convert it into complex baseband first. Sent from my iPhone > On Apr 12, 2021, at 9:32 PM, ?? WANG Cui wrote: > >  > Hi, > When I try tx_samples_from_file example, looks like it only take Comp