# How can I configure sample rate on LimeSDR?

**URL:** <https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069>\
**Category:** LimeSDR\
**Created:** [28 November 2017 14:22 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069 "2017-11-28T14:22:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Y2Kot](https://avatars.discourse-cdn.com/v4/letter/y/fbc32d/32.png) [@Y2Kot](https://discourse.myriadrf.org/u/Y2Kot)\
**Post date:** [28 November 2017 14:22 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/1 "2017-11-28T14:22:10Z")

</div>

Hi everyone! Is there any way to configure LimeSDR via LimeSuiteGUI in order to use 2M sample rate for RX?

---

<div class="post-metadata">

**Author:** ![IgnasJ](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@IgnasJ](https://discourse.myriadrf.org/u/IgnasJ)\
**Post date:** [28 November 2017 19:49 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/2 "2017-11-28T19:49:59Z")

</div>

Of course you can configure LimeSDR via LimeSuiteGUI. Rx sample rate is set by configuring CLKGEN (to set ADC clock) and decimation (RxTSP). I don’t know if you have some chip configuration, but just to see how the sample rate is set, you can load initial configuration by clicking ‘Default’ button. After that go to CLKGEN tab and set CLK\_H to 16 MHz and click ‘Calculate’ (ADC clock will be 4 times lower so 4MHz). Default decimation is 2^1, so final sample rate will be 2Msample/s. You can open FFTviewer and press ‘Start’. Data rate should be ~6MB/s as FFTviewer uses 12bit samples.  
You can increase decimation in RxTSP tab by changing ‘HBD ratio’ (you need to click ‘Calculate’ in CLKGEN tab after changing decimation).

---

<div class="post-metadata">

**Author:** ![Y2Kot](https://avatars.discourse-cdn.com/v4/letter/y/fbc32d/32.png) [@Y2Kot](https://discourse.myriadrf.org/u/Y2Kot)\
**Post date:** [29 November 2017 08:39 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/3 "2017-11-29T08:39:21Z")

</div>

![Screenshot from 2017-11-29 00-37-23](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/e/ebab5be09b9f7eebd59e97e80c52ddce0c892c03.png)

Why CLK\_L is alway 0? I’m scanning 934-960MHz. Should I change something?

---

<div class="post-metadata">

**Author:** ![Zack](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/zack/32/89_2.png) [@Zack](https://discourse.myriadrf.org/u/Zack)\
**Post date:** [29 November 2017 08:50 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/4 "2017-11-29T08:50:54Z")

</div>

Even after you click Calculate button?

---

<div class="post-metadata">

**Author:** ![Y2Kot](https://avatars.discourse-cdn.com/v4/letter/y/fbc32d/32.png) [@Y2Kot](https://discourse.myriadrf.org/u/Y2Kot)\
**Post date:** [29 November 2017 08:57 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/5 "2017-11-29T08:57:19Z")

</div>

yes. I pressed Default button and then press Calculatem after this I got →

 ![default](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/0/01de95a4a8c72d19c0f41444900245df4cb81d15.png)

And I ought to use LimeUtil --update after most uses of grgsm\_scanner, because I got error like:

> Connected to [LimeSDR-USB [USB 3.0] 90706024A332D]  
> Gateware version mismatch!  
> Expected gateware version 2, revision 11  
> But found version 0, revision 0  
> Follow the FW and FPGA upgrade instructions:  
> [Lime Suite - Myriad-RF Wiki](http://wiki.myriadrf.org/Lime_Suite#Flashing_images)  
> Or run update on the command line: LimeUtil --update

---

<div class="post-metadata">

**Author:** ![Zack](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/zack/32/89_2.png) [@Zack](https://discourse.myriadrf.org/u/Zack)\
**Post date:** [3 January 2018 07:07 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/6 "2018-01-03T07:07:19Z")

</div>

Hello @Y2Kot,

Sorry for delay!  
Could you use the latest LimeSuiteGUI and update the firmware as well as gateware to check if the problem is vanished.

---

<div class="post-metadata">

**Author:** ![Y2Kot](https://avatars.discourse-cdn.com/v4/letter/y/fbc32d/32.png) [@Y2Kot](https://discourse.myriadrf.org/u/Y2Kot)\
**Post date:** [9 January 2018 08:26 UTC](https://discourse.myriadrf.org/t/how-can-i-configure-sample-rate-on-limesdr/2069/7 "2018-01-09T08:26:18Z")

</div>

@Zack, I’ve updated LimeSuiteGUI and my board via “Programming”, but still no changes

 ![Снимок экрана от 2018-01-09 11-22-58](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/0/033fa78e38bba5217256136f09c027757efcd286.png) ![Снимок экрана от 2018-01-09 11-23-38](https://yyz2.discourse-cdn.com/flex034/uploads/myriadrf/original/2X/c/c6d0d897042cfa48e950e777789fe354d759fc71.png)
