Project

General

Profile

LimeSDR Family » History » Version 17

laforge, 12/05/2017 02:15 PM
mention LimeSDR mini

1 1 laforge
{{>toc}}
2
3
h1. LimeSDR
4
5 4 laforge
The "LimeSDR":https://myriadrf.org/projects/limesdr/ is a low-cost SDR board featuring the Lime Microsystems LMS7002 RF chip.
6
7
Key characteristics include:
8
* RF Transceiver: Lime Microsystems LMS7002M MIMO FPRF
9
* FPGA: Altera Cyclone IV EP4CE40F23 – also compatible with EP4CE30F23
10 6 ahuemer
* Memory: 256 MBytes DDR2 SDRAM
11 4 laforge
* USB 3.0 controller: Cypress USB 3.0 CYUSB3014-BZXC
12
* Oscillator: Rakon RPT7050A @ 30.72MHz
13
* Continuous frequency range: 100 kHz – 3.8 GHz
14
* Bandwidth: 61.44 MHz
15
* RF connection: 10 U.FL connectors (6 RX, 4 TX)
16
* Power Output (CW): up to 10 dBm
17
* Multiplexing: 2×2 MIMO
18
* Power: micro USB connector or optional external power supply
19
* Status indicators: programmable LEDs
20
* Dimensions: 100 mm x 60 mm
21 1 laforge
22 3 laforge
h2. RF Output Power
23
24
TBD
25 1 laforge
26
h2. Clock
27
28
The on-board clock is a 250ppb VCTCXO.  GSM strictly requires 30ppb, but 250ppb _should_  be sufficient for laboratory use.
29
30
h3. Clock Calibration
31
32
TBD
33
34
h3. Using external clock reference
35
36
TBD
37
38
h2. OsmoTRX on LimeSDR
39
40 16 pespin
In terms of OsmoTRX support, you will find a relatively complex driver stack consisting of:
41 15 laforge
* "LimeSuite":https://github.com/myriadrf/LimeSuite.git containing the actual drivers and utilities for LimeSDR (*version 17.09 or later required*)
42 17 laforge
** for LimeSDR-mini, you will need 17.10 or later
43 1 laforge
* "SoapySDR":https://github.com/pothosware/SoapySDR.git as middleware that wraps LimeSuite
44
* "SoapyUHD":https://github.com/pothosware/SoapyUHD.git as plug-in exposing SoapySDR devices to UHD
45
* UHD as the driver interface below OsmoTRX
46
47 5 laforge
{{graphviz_link()
48
digraph G{
49
  rankdir = LR;
50
  LimeSDR -> LimeSuite [label = "USB/libusb"];
51
  LimeSuite -> SoapySDR;
52
  SoapySDR -> UHD [label = "SoapyUHD"];
53
  UHD -> OsmoTRX [label = "libuhd"];
54
}
55
}}
56
57
58 1 laforge
You will need to observe the following dependencies when building the above:
59
# SoapyUHD depends on SoapySDR
60
# LimeSuite depends on SoapySDR.
61
62
h3. Verifying the driver stack
63
64
You can ensure that LimeSuite recognizes your device using the *LimeUtil* part of LimeSuite:
65
66
<pre>
67 12 laforge
$ LimeUtil --find
68 1 laforge
  * [LimeSDR-USB, media=USB 3.0, module=STREAM, addr=1d50:6108, serial=0009060B00xxyyzz]
69
</pre>
70
71
You can ensure that SoapySDR and LimeSuite work together as expected using the *SoapySDRUtil* part of SoapySDR:
72
73
<pre>
74 12 laforge
$ ./SoapySDRUtil --find
75 1 laforge
######################################################
76
## Soapy SDR -- the SDR abstraction library
77
######################################################
78
79
linux; GNU C++ version 6.3.0 20170221; Boost_106200; UHD_003.009.005-0-unknown
80
81
Found device 0
82
  addr = 1d50:6108
83
  driver = lime
84
  label = LimeSDR-USB [USB 3.0] 9060B00462B1C
85
  media = USB 3.0
86
  module = STREAM
87
  name = LimeSDR-USB
88
  serial = 0009060B00xxyyzz
89
</pre>
90
91 13 duo_kali
h2. STEP BY STEP GUIDE TO INSTALL OSMO_TRX WITH LimeSDR from source (using ubuntu 16.04)
92 7 duo_kali
93 9 duo_kali
<pre>
94 7 duo_kali
---Install LimeSuite, UHD and SoapyUHD 
95
96
sudo add-apt-repository -y ppa:myriadrf/drivers
97
sudo apt-get update
98
99
#install core library and build dependencies
100
sudo apt-get install git g++ cmake libsqlite3-dev
101
102
#install hardware support dependencies
103
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
104
105
#install graphics dependencies
106
sudo apt-get install libwxgtk3.0-dev freeglut3-dev
107
108
---Install LimeSuite
109
110
git clone https://github.com/myriadrf/LimeSuite.git
111
cd LimeSuite
112
mkdir builddir && cd builddir
113
cmake ../
114
make -j4
115
sudo make install
116
sudo ldconfig
117
118
cd LimeSuite/udev-rules
119
sudo ./install.sh
120
121
Type “LimeSuiteGUI” on terminal to check GUI is running
122
123 8 duo_kali
---Install UHD 
124 7 duo_kali
(with all dependency)
125
126
sudo apt-get -y install git swig cmake doxygen build-essential libboost-all-dev libtool libusb-1.0-0 libusb-1.0-0-dev libudev-dev libncurses5-dev libfftw3-bin libfftw3-dev libfftw3-doc libcppunit-1.13-0v5 libcppunit-dev libcppunit-doc ncurses-bin cpufrequtils python-numpy python-numpy-doc python-numpy-dbg python-scipy python-docutils qt4-bin-dbg qt4-default qt4-doc libqt4-dev libqt4-dev-bin python-qt4 python-qt4-dbg python-qt4-dev python-qt4-doc python-qt4-doc libqwt6abi1 libfftw3-bin libfftw3-dev libfftw3-doc ncurses-bin libncurses5 libncurses5-dev libncurses5-dbg libfontconfig1-dev libxrender-dev libpulse-dev swig g++ automake autoconf libtool python-dev libfftw3-dev libcppunit-dev libboost-all-dev libusb-dev libusb-1.0-0-dev fort77 libsdl1.2-dev python-wxgtk3.0 git-core libqt4-dev python-numpy ccache python-opengl libgsl-dev python-cheetah python-mako python-lxml doxygen qt4-default qt4-dev-tools libusb-1.0-0-dev libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4 cmake git-core wget libxi-dev gtk2-engines-pixbuf r-base-dev python-tk liborc-0.4-0 liborc-0.4-dev libasound2-dev python-gtk2 libzmq-dev libzmq1 python-requests python-sphinx libcomedi-dev python-zmq
127
128
git clone https://github.com/EttusResearch/uhd
129
cd uhd
130
131
git tag -l
132
...
133
release_003_009_004
134
release_003_009_005
135
release_003_010_000_000
136
# Example: For UHD 3.10.000.000: 
137
  git checkout release_003_010_000_000 (get the latest if fine)
138
139
cd host
140
mkdir build
141
cd build 
142
cmake ../
143
make
144
sudo make install
145
sudo ldconfig
146
147
export LD_LIBRARY_PATH=/usr/local/lib
148
149
try run command to find LimeSDR :
150
uhd_find_devices
151
152
153 1 laforge
154 7 duo_kali
---Install SoapySDR and SoapyUHD 
155
156
git clone https://github.com/pothosware/SoapySDR.git
157
cd SoapySDR
158 12 laforge
mkdir build
159 7 duo_kali
cd build
160
cmake ..
161 1 laforge
make
162 7 duo_kali
sudo make install
163
sudo ldconfig
164
165
git clone https://github.com/pothosware/SoapyUHD
166
cd SoapyUHD
167 12 laforge
mkdir build
168 7 duo_kali
cd build
169
cmake ..
170
make
171
sudo make install
172
sudo ldconfig
173
174 14 duo_kali
---NOW BUILD OSMO-TRX 
175 1 laforge
176 14 duo_kali
mkdir osmo
177 7 duo_kali
cd osmo
178
git clone https://github.com/osmocom/osmo-trx.git
179
cd osmo-trx
180
autoreconf -fi
181
./configure
182
make -j5
183
make check
184
sudo make install
185
sudo ldconfig
186
187
run on terminal: (test and see its connect with SoapyUHD and UHD)
188
189 1 laforge
osmo-trx
190 15 laforge
Add picture from clipboard (Maximum size: 48.8 MB)