Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 24339

Re: Why this program can't receive the right data?

$
0
0

That is totally up to you.

Please – can you use your favorite calculus (Excel for example) and plot the content of the 1M_10M_nyq.txt file?

 

Plot row versus column 0 (I) and row versus column 1 (Q).

 

You will see a sine wave composed by exactly 10 samples repeated over and over again.

 

So what does that mean?

 

If you set your sample rate to fsamp the received waveform will have a frequency of fsamp/10.

What minimum bandwidth does such a waveform require?

Yes fsamp/10.

 

Does such a waveform care whether it is transmitted at LO = 1GHz, 5GHz or 100MHz?

No

If you favorite FM station transmits @ 96.3MHz and you tune your radio to 100.42Mhz can you listen?

No – so all that cares is that RX LO == TX LO.

 

 

> analyse_wavefile() and iio_channel_convert_inverse()?

Well the file is in ASCII – you need to convert it to samples.

I don’t think you need iio_channel_convert_inverse(), since I assume your target or host (if any) will be both little endian.

 

-Michael


Viewing all articles
Browse latest Browse all 24339

Trending Articles