Hi all, I am new in using the LimeSDR. I want to use the limeSDR to generate a single tone or multi-tone by IQ data. Currently I am using streaming to send the IQ data to limeSDR, but once I stop streaming, the RF tone would gone, so I need to keep streaming the IQ data to hold the RF tone.
What I am thingking is that, once I stream the IQ data to limeSDR, the IQ data would be stored in the SDRAM, so I don’t need to stream the same IQ data again, but I really don’t know how to do that? How to generate the RF tone from SDRAM and repeat this operation for ever until I stop the program?
Thanks for the reply, it’s working now base on your suggestions. Some more question:
according to “limesuite.h”, I found the data format as below, which is different from your setting. Actually, your setting is corrent, I just wonder how do you get this setting? From which file?
enum
{
LMS_FMT_F32=0, ///<32-bit floating point
LMS_FMT_I16, ///<16-bit integers
LMS_FMT_I12 ///<12-bit integers stored in 16-bit variables
}dataFmt;
2)The RF tone is working , but I got a very high noise floor, the signal quanlity is poor, is there any other settings I need to set ?
3)How to clean up the waveform memory? Should I do that before re-writing the waveform memory?
When uploading a tone make sure that you upload full period so there is no sudden jump when it is played in loop. Also, sometimes waveform uploads incorrectly when high sample/data rate is set, so you can try to set lower sample rate before uploading waveform and then set required sample rate after upload.
Just upload new waveform, it will overwrite the old one.
I am also trying to generate a single tone sine wave at 2.47 GHz. Can you please tell me how you generated the I and Q data?
Also what registers I have to configure. I would appreciate if you could share the settings as well Thanks.
If you just want to generate the single tone, it would be very easy. You can set LO = 2.47GHz, and then make I = 0.5, Q = 0, or I = 0, Q = 0.5. Why the value is 0.5, because if you set it to 1, it will cause the output out of amplitude range
@eleday Thanks. Can you share any sample configuration file? i am not sure what registers to configure. Also I do not want any modulation.
I always see lower sidebands and LO leakage. I am not sure what settings I have to do to supress all these.
If you have some spare time, can you please share the output plot of the code you shared with me? I am interested in individual I and Q, FFT and IQ constellation.
I am not sure what to expect at the output. Since we are not using NCO and provided the carrier will be completely removed by the analog side mixer on the Rx side, I should be expecting a single point in the constellation. Thanks.