-
Notifications
You must be signed in to change notification settings - Fork 21
Description
I am porting the Portsdown Digital TV transmit (DVB-S2 QPSK) code to work on the LimeNet Micro 2.0 DE.
This code was written by someone else to work with LimeSuite 5 years ago, and has worked well since. It relies on the transmit stream fifo size being well over 100 kB. Using the recent packaged release of LimeSuiteNG, it appears that the transmit stream fifo size is limited to 512 byte. I have checked other original LimeSuite applications and they work without error with a fifo size of over 1MB.
Here is a code snippet:
int buffer_size = 129600;
lms_stream_t tx_stream;
tx_stream.handle = 0;
tx_stream.isTx = LMS_CH_TX;
tx_stream.channel = channel;
tx_stream.fifoSize = buffer_size;
tx_stream.throughputVsLatency = 1.0;
tx_stream.dataFmt = lms_stream_t::LMS_FMT_I16;
printf("Buffer Size = %d, tx_stream.fifoSize = %d\n", buffer_size, tx_stream.fifoSize);
LMS_SetupStream(device, &tx_stream);
LMS_StartStream(&tx_stream);
lms_stream_status_t Status;
LMS_GetStreamStatus(&tx_stream, &Status);
printf("Status.fifoSize = %d\n",Status.fifoSize);
Using the LimeSuiteNG legacy API, this returns:
Buffer Size = 129600, tx_stream.fifoSize = 129600
Status.fifoSize = 512
Using the original LimeSuite API, it returns:
Buffer Size = 129600, tx_stream.fifoSize = 129600
Status.fifoSize = 129540
Please could the LimeSuiteNG legacy api be corrected to have the same TX stream fifo size capabilities as the old LimeSuite API?
Thanks
Dave