# FPGA Gateway question. Error in LMS\_SendStream

**URL:** <https://discourse.myriadrf.org/t/fpga-gateway-question-error-in-lms-sendstream/3332>\
**Category:** Lime Suite\
**Created:** [18 September 2018 15:59 UTC](https://discourse.myriadrf.org/t/fpga-gateway-question-error-in-lms-sendstream/3332 "2018-09-18T15:59:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [18 September 2018 15:59 UTC](https://discourse.myriadrf.org/t/fpga-gateway-question-error-in-lms-sendstream/3332/1 "2018-09-18T15:59:21Z")

</div>

I would like to call LMS\_SetupStream, LMS\_StartStream, LMS\_StopStream, LMS\_DestroyStream without always calling LMS\_Init after LMS\_DestroyStream.

Every other call to LMS\_StartStream causes every LMS\_SendStream to timeout because buffer might be full (push\_samples() in fifo.h). When the timeout happens, I only see the IF and no signal transmitted.

I am using a LimeSDR-Mini with the latest (LimeSuite 18.06) firmware and a USB 2.0 connection.

Bellow is the list of magic FPGA addresses in Streamer::UpdateThread. I would like help understanding what these writes do.  
0xFFFF  
0x0008  
0x0007  
0x0009  
0x000D

---

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [24 September 2018 19:24 UTC](https://discourse.myriadrf.org/t/fpga-gateway-question-error-in-lms-sendstream/3332/2 "2018-09-24T19:24:11Z")

</div>

I found the FPGA address map here:  
[https://github.com/myriadrf/LimeSDR-Mini\_GW/blob/master\_clean/LimeSDR-Mini\_lms7\_trx/doc/LimeSDR-Mini\_Gateware\_Description\_V01r00.pdf](https://github.com/myriadrf/LimeSDR-Mini_GW/blob/master_clean/LimeSDR-Mini_lms7_trx/doc/LimeSDR-Mini_Gateware_Description_V01r00.pdf)

I think this is the cause of the issue I’m seeing: [https://github.com/myriadrf/LimeSuite/issues/219](https://github.com/myriadrf/LimeSuite/issues/219)

---

<div class="post-metadata">

**Author:** ![yindra](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/yindra/32/1901_2.png) [@yindra](https://discourse.myriadrf.org/u/yindra)\
**Post date:** [9 October 2018 14:54 UTC](https://discourse.myriadrf.org/t/fpga-gateway-question-error-in-lms-sendstream/3332/3 "2018-10-09T14:54:58Z")

</div>

new issue, same problem: [https://github.com/myriadrf/LimeSuite/issues/228](https://github.com/myriadrf/LimeSuite/issues/228)
