Lime Microsystems EVB7 Instruction manual

LMS7002M Quick Starter Manual for EVB7 kit
Version: 2.2 Last modified: 29/09/2014
Lime Microsystems
Surrey Tech Centre
Occam Road
The Surrey Research Park
Guildford
Surrey GU2 7YG
United Kingdom
Tel: +44 (0) 1483 685 063
Fax: +44 (0) 1428 656 662
e-mail: [email protected]
LMS7002M Quick Start Manual
The information contained in this document is subject to change without prior
notice. Lime Microsystems assumes no responsibility for its use, nor for
infringement of patents or other rights of third parties. Lime Microsystems' standard
terms and conditions apply at all times.

LMS7002M Quick Starter Manual for EVB7 kit
2 | P a g e
Version: 2.2 Last modified: 29/09/2014
REVISION HISTORY
The following table shows the revision history of this document:
Date
Version
Description of Revisions
05/06/2014
2.0
Initial version
2/07/2014
2.1
Updated GUI pictures and new control descriptions
8/08/2014
2.2
Updated GUI pictures and new control descriptions and 7.23 section added
25/08/2014
2.2
Released for distribution

LMS7002M Quick Starter Manual for EVB7 kit
3 | P a g e
Version: 2.2 Last modified: 29/09/2014
Contents
1. Introduction............................................................................................................................... 7
2. Development System Content.................................................................................................. 8
3. Overview of the Development Board ...................................................................................... 9
4. Installing the LMS7002M Control Software........................................................................ 11
Introduction to installing the software................................................................................ 114.1 Downloading the Software................................................................................................... 124.2 Windows USB Setup............................................................................................................. 124.3 Determining Serial Port ....................................................................................................... 154.4 Linux Setup............................................................................................................................ 164.5 Starting Control LMS7002M Software .............................................................................. 164.6 Connecting............................................................................................................................. 164.7
5. Getting started with the EVB................................................................................................. 18
Introduction to using the EVB7........................................................................................... 185.1 Transmitter Setup and Basic Testing.................................................................................. 195.2 5.2.1. SXT/SXR tab setup............................................................................................... 19
5.2.2. TRF tab setup........................................................................................................ 20
5.2.3. TBB tab setup ....................................................................................................... 20
Testing the TX Output ......................................................................................................... 215.3 5.3.1. TX Basic Operation Checks.................................................................................. 22
Receiver Setup and Basic Testing........................................................................................ 235.4 5.4.1. SXT/SXR tab setup............................................................................................... 23
5.4.2. RFE tab setup........................................................................................................ 24
5.4.3. RBB tab setup....................................................................................................... 25
Testing the RX Output ......................................................................................................... 275.5 5.5.1. RX Basic Operation Checks ................................................................................. 27
Testing With Minimal Equipment ...................................................................................... 28
5.6
6. EVB7 Connectors and Options.............................................................................................. 29
Introduction to the EVB7 Connectors and Options .......................................................... 296.1 Board Connections................................................................................................................ 296.2 6.2.1. FMC connector pin description ............................................................................ 32
6.2.2. Digital I/O connector pin description ................................................................... 33
Hardware options.................................................................................................................. 346.3 6.3.1. TCXO’s Configuration ......................................................................................... 35
6.3.2. EVB7 synchronization.......................................................................................... 35
6.3.3. SPI Control Configuration.................................................................................... 36
6.3.4. Baseband Digital Interface Voltage...................................................................... 36
6.3.5. EVB7 Matching networks..................................................................................... 37
7. Detailed Guide to LMS7002M Control Software ................................................................ 38

LMS7002M Quick Starter Manual for EVB7 kit
4 | P a g e
Version: 2.2 Last modified: 29/09/2014
Control LMS7002M –Software Description...................................................................... 387.1 Control LMS7002M –Window Panels............................................................................... 387.2 7.2.1. GUI Control panel................................................................................................. 38
7.2.2. Configuration panel .............................................................................................. 38
7.2.3. Log panel .............................................................................................................. 40
The Menu Bar ....................................................................................................................... 407.3 7.3.1. The File Menu....................................................................................................... 40
7.3.2. The Option Menu.................................................................................................. 41
7.3.3. The Tool Menu ..................................................................................................... 41
7.3.4. The Help Menu..................................................................................................... 41
7.3.5. The Button Menu.................................................................................................. 41
7.3.6. The Configuring Channel Controls....................................................................... 42
Board Setup (Si5351C and ADF4002)................................................................................. 437.4 RFE......................................................................................................................................... 447.5 RBB ........................................................................................................................................ 467.6 TRF......................................................................................................................................... 477.7 TBB......................................................................................................................................... 507.8 AFE......................................................................................................................................... 527.9 BIAS..................................................................................................................................... 537.10 LDO...................................................................................................................................... 547.11 XBUF.................................................................................................................................... 557.12 CLKGEN............................................................................................................................. 567.13 SXT/SXR.............................................................................................................................. 597.14 Application Note on Tuning PLLs on LMS7002M.......................................................... 617.15 LimeLight & PAD............................................................................................................... 627.16 TxTSP................................................................................................................................... 667.17 RxTSP .................................................................................................................................. 687.18 CDS....................................................................................................................................... 707.19 BIST ..................................................................................................................................... 717.20 SPI ........................................................................................................................................ 727.21 Buffers EVB7v2................................................................................................................... 747.22
8. Appendix A: Test Equipment Setup ..................................................................................... 75
Introduction........................................................................................................................... 758.1 Recommended Test Equipment........................................................................................... 758.2 Agilent MXG Setup............................................................................................................... 768.3 8.3.1. Setting Common Mode Voltage ........................................................................... 76
8.3.2. Enabling the Arbitrary Waveform Generator ....................................................... 77
8.3.3. Downloading *.wfm Files to the Signal Generator .............................................. 78
Table of Figures

LMS7002M Quick Starter Manual for EVB7 kit
5 | P a g e
Version: 2.2 Last modified: 29/09/2014
Figure 1 Development System Content........................................................................................... 8
Figure 2 Board block diagram ....................................................................................................... 9
Figure 3 Device Manager content................................................................................................ 12
Figure 4 Device properties........................................................................................................... 13
Figure 5 Update Driver Wizard.................................................................................................... 13
Figure 6 Hardware wizard. Install driver manually .................................................................... 14
Figure 7 Check for new communication port............................................................................... 15
Figure 8 GUI communication settings.......................................................................................... 16
Figure 9 GUI detected device and firmware version.................................................................... 17
Figure 10 Tx Test Setup................................................................................................................ 19
Figure 11 SXT register setup procedure...................................................................................... 20
Figure 12 TBB register setup procedure..................................................................................... 21
Figure 13 Basic TX testing using DC offset resulting in LO leakage.......................................... 21
Figure 14 Basic TX testing using WCDMA modulation.............................................................. 22
Figure 15 Rx Test Setup............................................................................................................... 23
Figure 16 SXR register setup procedure ..................................................................................... 24
Figure 17 SXR register setup procedure ..................................................................................... 25
Figure 18 SXR register setup procedure ..................................................................................... 26
Figure 19 RX analog output on Spectrum Analyser.................................................................... 27
Figure 20 Design kit connection descriptions, Top view............................................................. 29
Figure 21 Design connection descriptions, Bottom view. ............................................................ 30
Figure 22 GUI window diagram.................................................................................................. 39
Figure 23 GUI Control Panel window ........................................................................................ 39
Figure 24 GUI Configuration Board Setup window.................................................................... 39
Figure 25 GUI Log panel ............................................................................................................. 40
Figure 26 GUI Message Log tab.................................................................................................. 40
Figure 27 GUI Register Map window ......................................................................................... 41
Figure 28 GUI Board Setup tab.................................................................................................... 43
Figure 29 GUI RFE tab................................................................................................................ 44
Figure 30 GUI RXBB tab............................................................................................................. 46
Figure 31 GUI TRF page.............................................................................................................. 48
Figure 32 GUI TBB page.............................................................................................................. 50
Figure 33 GUI AFE tab................................................................................................................ 52
Figure 34 GUI BIAS tab............................................................................................................... 53
Figure 35 GUI LDO Power downs & Bias & Noise filter tab ..................................................... 54
Figure 36 GUI LDO Voltages tab ................................................................................................ 55
Figure 37 GUI XBUF tab............................................................................................................ 55
Figure 38 GUI CLKGEN tab........................................................................................................ 56
Figure 39 GUI SXT/SXR tab........................................................................................................ 59
Figure 40 GUI Limelight&PAD Modes tab................................................................................. 62
Figure 41 GUI Limelight&PAD Sample position tab................................................................... 64
Figure 42 GUI TxTSP tab............................................................................................................. 66
Figure 43 GUI RxTSP tab............................................................................................................. 68
Figure 44 GUI CDS tab............................................................................................................... 70
Figure 46 GUI BIST tab ............................................................................................................... 71

LMS7002M Quick Starter Manual for EVB7 kit
6 | P a g e
Version: 2.2 Last modified: 29/09/2014
Figure 47 GUI SPI tab.................................................................................................................. 72
Figure 48 GUI Buffers EVBv2 tab................................................................................................ 74
Figure 49 Agilent N5181A/82A MXG Front Panel ..................................................................... 76
Figure 50 CMD window showing successful ping........................................................................ 79
Figure 51 CMD window with ftp connection................................................................................ 79
Figure 52 CMD window ftp file transfer ...................................................................................... 80

LMS7002M Quick Starter Manual for EVB7 kit
7 | P a g e
Version: 2.2 Last modified: 29/09/2014
1
Introduction
The Lime Development System is a comprehensive hardware and software combination that
allows users to evolve and refine a wireless sub-system. It can be combined with a baseband
processor such as an FPGA or DSP processor to develop a comprehensive wireless solution.
The EVB7 module is a high-speed wireless communication module, based on the LMS7002M
fully programmable RF transceiver. It is designed to support 2G, 3G, 4G/LTE radio systems
with both time-division duplex (TDD) and frequency-division duplex (FDD) applications, M2M
and software defined radios. The wireless communication module covers the frequency range of
100 kHz to 3.8 GHz, including licensed and unlicensed bands. The channel bandwidth is
programmable from less than 100 kHz to 108 MHz through a combination of analog and digital
filtering via the easy-to-use GUI software.
The EVB7 provides system designers with the ability to connect the board to any type of
baseband, FPGA or CPU and allow them to implement their ideas for various wireless
communication applications.
This document describes how to make a quick start with the LMS7002M using the EVB7
module. Section 2 begins by listing the contents of the Quick Start kit. Section 3 gives a general
description of the evaluation board features. Section 4 describes the procedure for obtaining and
installing the LMS7002M control software “Control LMS7002M” for both Windows and Linux
platforms. Section 5 describes how to connect and use the EVB and LMS7002M control
software “Control LMS7002M” for the Quick Start example configurations. Section 6 describes
in detail the EVB connectors and hardware options. Section 7 describes in detail how to use the
LMS7002M control software “Control LMS7002M”. Section Error! Reference source not
ound. describes the calibration procedure. Appendix 1 details the recommended test and
measurement equipment, and how to set up the test equipment to work with EVB7 and the
LMS7002M.

LMS7002M Quick Starter Manual for EVB7 kit
8 | P a g e
Version: 2.2 Last modified: 29/09/2014
2
Development System Content
Figure 1 Development System Content
Complete development kit content consists of:
Hardware
o1 - EVB7 board
o1 - Power supply cable that connects the EVB7 board to any lab power supply
unit
o1 - USB-A to Micro-USB-B cable
Software:
oLMS7002M GUI “Control_LMS7002M”
oWindows drivers
Documentation:
oQuick Starter Manual
oLMS7002M datasheet
oComplete PCB database
oGenerator waveforms

LMS7002M Quick Starter Manual for EVB7 kit
9 | P a g e
Version: 2.2 Last modified: 29/09/2014
3
Overview of the Development Board
Figure 2 Board block diagram
A photograph of the development board is shown in Figure 1. A block diagram of the board is
shown in Figure 2. The connections are shown in blue, the LMS7002M chip is shown in green,
and the other parts are shown in orange. The core of the board is the LMS7002M transceiver
chip, which has multiple RF, analogue and digital interfaces.
The evaluation board includes RF matching networks for the LMS7002M. These matching
networks include wideband transformers to allow operation over the entire frequency range.

LMS7002M Quick Starter Manual for EVB7 kit
10 | P a g e
Version: 2.2 Last modified: 29/09/2014
However, the matching networks have been optimized for operation over selected frequency
bands and offer the best performance in these bands. Connectors are provided for 4 RF
transmitter outputs and 6 RF receiver inputs. Further details of the matching networks are
provided in Section 6.3.5.
The evaluation board includes connectors for the baseband analogue differential receiver outputs
and differential transmitter inputs. Additionally, on board high speed differential to single ended
converters allow the EVB7 receivers to indirectly drive 50R test equipment such as spectrum
analysers for baseband testing.
The evaluation board includes a clock generation block, which by default, is a standalone
30.72 MHz low phase noise TXCO. TXCOs at other frequencies can also be fitted and three
different footprints are supported. The EVB7 can be easily modified to operate with external
clock sources. It can also be synchronized to the standard 10 MHz reference of measurement
equipment via an on board PLL. Details of the required changes on EVB7 are given in section
6.3.1 and 6.3.2.
EVB7 includes two kinds of digital I/O, one for control only, and two for data and control.
The USB interface is used to control the LMS7002M SPI via the LMS7002M control software.
The USB port is converted to SPI by an on board microcontroller.
The HSMC connector or the 44 pin header can be used for the buffered digital interface and can
be connected to compatible platforms such as the Lime “Stream” board. The Lime “Stream”
board also provides connections to general purpose lab equipment such as pattern generators and
logic analysers. A pin list for the digital interface can be found in Section 6.2. The logic level
for the digital interface can be set by modifying EVB7 and is described in section 6.3.4.
Additionally these connectors can be used to control the SPI but require the board modifications
described in 6.3.3.
A 7th order LC filter can be selected between the analogue output of the LMS7002M and its
digital inputs by using the LMS7002M control software. This allows additional filtering at
100 kHz (IF BW) for 2G applications.
The board includes memory to work with the LMS7002M internal microcontroller. This is
intended to provide calibration support for the LMS7002M and is currently under development.
The memory is programmed via the LMS7002M control software and the USB/SPI interface.
Test points are provided for various test signals including the LMS7002M internal peak and
RSSI detectors as well as various PLL test signals.
More detailed information on the connectors for the evaluation board can be found in Section
6.1. Information about PCB options supported is in Section 6.3.

LMS7002M Quick Starter Manual for EVB7 kit
11 | P a g e
Version: 2.2 Last modified: 29/09/2014
4
Installing the LMS7002M Control Software
Introduction to installing the software4.1
To operate the EVB7 board, the LMS7002M Control Software, “LMS7002M Control” has to be
downloaded from http://www.limemicro.com and installed. The software consists of three parts.
The main LMS7002M control Software, which provides a GUI to control the chip.
The USB driver “USB to LMS7002M”, which provides an interface between the PC and
the EVB7 SPI microcontroller.
The EVB7 microcontroller firmware, which is preinstalled on the board prior to shipping.
Section 4.1 describes the how to download the software from the Lime Microsystems web page.
Sections 4.2, 4.3 and 4.4 describe the set up for the Windows Operating System. Section 4.2
describes the installing of the “USB to LMS7002M” driver. Section 4.3 describes the Windows
OS set up. Section 4.4 describes how to identify which USB port is being used.
Section 4.5 describes installing the USB driver in a typical Linux distribution. Section 4.6
describes how to start the “LMS7002M Control Software”.
Section 4.7 describes how to connect the EVB7 with the “LMS7002M Control Software” via the
USB interface.
A simple demonstration of the “LMS7002M Control Software” is given in Section 5. A detailed
description of the “LMS7002M Control Software” is given in Section 7.

LMS7002M Quick Starter Manual for EVB7 kit
12 | P a g e
Version: 2.2 Last modified: 29/09/2014
Downloading the Software4.2
To get started with the EVB7 board control software, download the latest version from
www.limemicro.com.
Windows USB Setup4.3
The steps to setup “Control LMS7002M” software are as follows (please note that these steps
may vary based on the specific version of Windows software being used and you may need to be
logged in as Administrator to accomplish them):
1. Connect EVB7 board to your PC via the USB cable.
2. Go to Control Panel > System > Device Manager
3. Locate USB to LMS7002M under Other devices and press right click to select Properties
(Figure 3)
Figure 3 Device Manager content
4. When a new window pops-up press Update driver (Figure 4)

LMS7002M Quick Starter Manual for EVB7 kit
13 | P a g e
Version: 2.2 Last modified: 29/09/2014
Figure 4 Device properties
5. Select Browse my computer for driver software, locate the driver provided with EVB7
board and press Next (Figure 5)
Figure 5 Update Driver Wizard.
6. If the Windows Security window appears, select Install this driver software anyway
(Figure 6)

LMS7002M Quick Starter Manual for EVB7 kit
14 | P a g e
Version: 2.2 Last modified: 29/09/2014
Figure 6 Hardware wizard. Install driver manually
Windows should proceed to install drivers at this stage. Generally, once the above steps have
been taken for the EVB7, these steps do not need to be repeated.
IMPORTANT:
Before running the control software, unplug then plug your device back into your computer.

LMS7002M Quick Starter Manual for EVB7 kit
15 | P a g e
Version: 2.2 Last modified: 29/09/2014
Determining Serial Port4.4
After driver installation, Windows will assign to your EVB7 board a serial port. To check your
board serial port number, please follow these steps:
1. Go to Control Panel > System > Device Manager
2. Locate USB Virtual Serial Port under Ports (COM & LPT)
Note that in this system example it has enumerated as COM2 (Figure 7).
Figure 7 Check for new communication port

LMS7002M Quick Starter Manual for EVB7 kit
16 | P a g e
Version: 2.2 Last modified: 29/09/2014
Linux Setup4.5
For Linux users, there is no need to install USB drivers as the system will assign drivers
automatically once the EVB7 board is connected to PC.
To determine port number the easiest is via the command line and type command:
$ setserial -g /dev/ttyS[0123]
Starting Control LMS7002M Software4.6
Apply +5V to the board and start “Control LMS7002M” software. The application must be run
under administrator privileges. To do that, right click on the “Control LMS7002M” icon and
select Run as an Administrator. This will provide administrator privileges, which are required
for EVB7 board communication via USB.
Connecting4.7
Once the Windows driver is installed and the control software has been lunched, click on
Options>Connection Settings. The Connection Setting windows will pop-up (Figure 8).
Figure 8 GUI communication settings.
Select the dedicated USB port number of the EVB board. In this case, it is COM2, but the port
may be different, and press OK.
The GUI the device name and firmware version will appear in the bottom (Figure 9), once
connection with the board is established.

LMS7002M Quick Starter Manual for EVB7 kit
17 | P a g e
Version: 2.2 Last modified: 29/09/2014
Figure 9 GUI detected device and firmware version

LMS7002M Quick Starter Manual for EVB7 kit
18 | P a g e
Version: 2.2 Last modified: 29/09/2014
5
Getting started with the EVB
Introduction to using the EVB75.1
The EVB7 allows powerful demonstrations of the LMS7002M transceiver. In this quick start
guide, we demonstrate the board operating with analogue inputs and outputs. A future version is
planned to demonstrate the board operating with digital inputs and outputs and the Lime “Speed”
board.
Section 5.2 describes the set up of the transmitter, with Section 5.2.1 describing how to set up the
SXT (TX PLL) and Section 5.2.2 describing how to set up the TX analogue baseband and RF
tabs of the LMS7002M Control software. Section 5.4 describes the set up of the transceiver for
basic tests, with section 5.4.1 describing how to set up the SXR (RX PLL) and Section 5.4.2 and
5.4.3 describing how to set up the RX analogue baseband and RF tabs of the LMS7002M
Control software.
The analogue quick start demonstration assumes the user has all the equipment listed in
Appendix 8.2. Users with less equipment can use the set up of Section 5.6.

LMS7002M Quick Starter Manual for EVB7 kit
19 | P a g e
Version: 2.2 Last modified: 29/09/2014
Transmitter Setup and Basic Testing5.2
To test the Tx path, the Agilent generator is used as an external baseband source. This is
connected to the Tx path via the analog inputs and generates a WCDMA modulation signal at
socket X1 (TX1_A) as shown in Figure 10. To generator settings are described in Section 8.3
(Appendix A).
Figure 10 Tx Test Setup
5.2.1. SXT/SXR tab setup
After power up, connect the GUI to the board and select the SXT/SXR tab. To configure the Tx
LO to 2140 MHz, do the following:
1. Select the B/SXT in the configuration channels window to control TxPLL
2. Enable Tx PLL VCO (Deselect).
3. Set Scales VCO bias current to 255.
4. Type the wanted frequency in Frequency, GHz box. In this case, 2140 MHz.
5. Press Calculate followed by Tune.
See Figure 11 below to check selections.

LMS7002M Quick Starter Manual for EVB7 kit
20 | P a g e
Version: 2.2 Last modified: 29/09/2014
Figure 11 SXT register setup procedure
5.2.2. TRF tab setup
The TRF tab controls the TX RF gain and output path. By default the Tx RF gain is set to
maximum and TX1 is selected as the output path. For this test, we are not going to change these
settings.
5.2.3. TBB tab setup
In the TBB tab the baseband gain and filter bandwidth are controlled. Follow the instructions
below set up TBB:
1. Select the A/SXR to control channel A.
2. Set Frontend gain and reference bias current of IAMP.
3. Configure the base band filter settings.
4. Select the analog input path to current amplifier.
See Figure 12 below to check selections.
Step 1
Step 2
Step 4
Step 3
Step 5
This manual suits for next models
1
Table of contents
Other Lime Microsystems Transceiver manuals