Project

General

Profile

LimeSDR Family » History » Version 7

duo_kali, 10/11/2017 06:12 AM

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
In terms of OsmoTRX support, you will a relatively complex driver stack consisting of:
41 2 laforge
* "LimeSuite":https://github.com/myriadrf/LimeSuite.git containing the actual drivers and utilities for LimeSDR
42 1 laforge
* "SoapySDR":https://github.com/pothosware/SoapySDR.git as middleware that wraps LimeSuite
43
* "SoapyUHD":https://github.com/pothosware/SoapyUHD.git as plug-in exposing SoapySDR devices to UHD
44
* UHD as the driver interface below OsmoTRX
45
46 5 laforge
{{graphviz_link()
47
digraph G{
48
  rankdir = LR;
49
  LimeSDR -> LimeSuite [label = "USB/libusb"];
50
  LimeSuite -> SoapySDR;
51
  SoapySDR -> UHD [label = "SoapyUHD"];
52
  UHD -> OsmoTRX [label = "libuhd"];
53
}
54
}}
55
56
57 1 laforge
You will need to observe the following dependencies when building the above:
58
# SoapyUHD depends on SoapySDR
59
# LimeSuite depends on SoapySDR.
60
61
h3. Verifying the driver stack
62
63
You can ensure that LimeSuite recognizes your device using the *LimeUtil* part of LimeSuite:
64
65
<pre>
66
$ LimeUtil --find                109/0/0
67
  * [LimeSDR-USB, media=USB 3.0, module=STREAM, addr=1d50:6108, serial=0009060B00xxyyzz]
68
</pre>
69
70
You can ensure that SoapySDR and LimeSuite work together as expected using the *SoapySDRUtil* part of SoapySDR:
71
72
<pre>
73
$ ./SoapySDRUtil --find                  101/0/0
74
######################################################
75
## Soapy SDR -- the SDR abstraction library
76
######################################################
77
78
linux; GNU C++ version 6.3.0 20170221; Boost_106200; UHD_003.009.005-0-unknown
79
80
Found device 0
81
  addr = 1d50:6108
82
  driver = lime
83
  label = LimeSDR-USB [USB 3.0] 9060B00462B1C
84
  media = USB 3.0
85
  module = STREAM
86
  name = LimeSDR-USB
87
  serial = 0009060B00xxyyzz
88
</pre>
89 7 duo_kali
90
91
<pre>
92
**#STEP BY STEP GUIDE TO INSTALL OSMO_TRX WITH LimeSDR**
93
94
---Install UHD and SoapyUHD 
95
96
97
sudo add-apt-repository -y ppa:myriadrf/drivers
98
sudo apt-get update
99
100
#install core library and build dependencies
101
sudo apt-get install git g++ cmake libsqlite3-dev
102
103
#install hardware support dependencies
104
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
105
106
#install graphics dependencies
107
sudo apt-get install libwxgtk3.0-dev freeglut3-dev
108
109
---Install LimeSuite
110
111
git clone https://github.com/myriadrf/LimeSuite.git
112
cd LimeSuite
113
mkdir builddir && cd builddir
114
cmake ../
115
make -j4
116
sudo make install
117
sudo ldconfig
118
119
cd LimeSuite/udev-rules
120
sudo ./install.sh
121
122
Type “LimeSuiteGUI” on terminal to check GUI is running
123
124
UHD 
125
(with all dependency)
126
127
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
128
129
git clone https://github.com/EttusResearch/uhd
130
cd uhd
131
132
git tag -l
133
...
134
release_003_009_004
135
release_003_009_005
136
release_003_010_000_000
137
# Example: For UHD 3.10.000.000: 
138
  git checkout release_003_010_000_000 (get the latest if fine)
139
140
cd host
141
mkdir build
142
cd build 
143
cmake ../
144
make
145
sudo make install
146
sudo ldconfig
147
148
export LD_LIBRARY_PATH=/usr/local/lib
149
150
try run command to find LimeSDR :
151
uhd_find_devices
152
153
154
155
SoapySDR and SoapyUHD 
156
157
git clone https://github.com/pothosware/SoapySDR.git
158
cd SoapySDR
159
mkdiir build
160
cd build
161
cmake ..
162
make
163
sudo make install
164
sudo ldconfig
165
166
git clone https://github.com/pothosware/SoapyUHD
167
cd SoapyUHD
168
mkdiir build
169
cd build
170
cmake ..
171
make
172
sudo make install
173
sudo ldconfig
174
175
NOW BUILD OSMO-TRX
176
177
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
osmo-trx
190
<pre>
Add picture from clipboard (Maximum size: 48.8 MB)