LMS7002M Quick Starter Manual EVB7 2 2r0 PDF
LMS7002M Quick Starter Manual EVB7 2 2r0 PDF
LMS7002M Quick Starter Manual EVB7 2 2r0 PDF
Lime Microsystems
Surrey Tech Centre
Occam Road
The Surrey Research Park
Guildford
Surrey GU2 7YG
United Kingdom
REVISION HISTORY
The following table shows the revision history of this document:
2|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Contents
1. Introduction ............................................................................................................................... 7
2. Development System Content .................................................................................................. 8
3. Overview of the Development Board ...................................................................................... 9
4. Installing the LMS7002M Control Software ........................................................................ 11
4.1 Introduction to installing the software................................................................................ 11
4.2 Downloading the Software ................................................................................................... 12
4.3 Windows USB Setup ............................................................................................................. 12
4.4 Determining Serial Port ....................................................................................................... 15
4.5 Linux Setup............................................................................................................................ 16
4.6 Starting Control LMS7002M Software .............................................................................. 16
4.7 Connecting ............................................................................................................................. 16
5. Getting started with the EVB................................................................................................. 18
5.1 Introduction to using the EVB7 ........................................................................................... 18
5.2 Transmitter Setup and Basic Testing.................................................................................. 19
5.2.1. SXT/SXR tab setup ............................................................................................... 19
5.2.2. TRF tab setup ........................................................................................................ 20
5.2.3. TBB tab setup ....................................................................................................... 20
5.3 Testing the TX Output ......................................................................................................... 21
5.3.1. TX Basic Operation Checks.................................................................................. 22
5.4 Receiver Setup and Basic Testing........................................................................................ 23
5.4.1. SXT/SXR tab setup ............................................................................................... 23
5.4.2. RFE tab setup ........................................................................................................ 24
5.4.3. RBB tab setup ....................................................................................................... 25
5.5 Testing the RX Output ......................................................................................................... 27
5.5.1. RX Basic Operation Checks ................................................................................. 27
5.6 Testing With Minimal Equipment ...................................................................................... 28
6. EVB7 Connectors and Options .............................................................................................. 29
6.1 Introduction to the EVB7 Connectors and Options .......................................................... 29
6.2 Board Connections ................................................................................................................ 29
6.2.1. FMC connector pin description ............................................................................ 32
6.2.2. Digital I/O connector pin description ................................................................... 33
6.3 Hardware options.................................................................................................................. 34
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
3|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Table of Figures
4|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
5|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
6|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
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.
7|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
2
Development System Content
8|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
3
Overview of the Development Board
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.
9|Page
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
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.
10 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
4
Installing the LMS7002M Control Software
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.
11 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
3. Locate USB to LMS7002M under Other devices and press right click to select Properties
(Figure 3)
12 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
5. Select Browse my computer for driver software, locate the driver provided with EVB7
board and press Next (Figure 5)
6. If the Windows Security window appears, select Install this driver software anyway
(Figure 6)
13 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
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.
14 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
2. Locate USB Virtual Serial Port under Ports (COM & LPT)
Note that in this system example it has enumerated as COM2 (Figure 7).
15 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
To determine port number the easiest is via the command line and type command:
$ setserial -g /dev/ttyS[0123]
4.7 Connecting
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).
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.
16 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
17 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
5
Getting started with the EVB
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.
18 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
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:
19 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Step 1
Step 2
Step 3 Step 4
Step 5
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.
In the TBB tab the baseband gain and filter bandwidth are controlled. Follow the instructions
below set up TBB:
20 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Step 1
Step 2
Step 4
Step 3
21 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
When the baseband is enabled, the WCDMA modulation can be tested and the results of Figure
14 can be obtained with the MXG Spectrum Analyser.
To check the basic TX frequency and gain control, conduct some tests changing frequencies and
gain settings. The following four tests are recommended:
TRF – TXPAD gain change setting from 0 to 31 and observe results. LO should vary by approx.
1 dB steps, 31dB range.
Change frequency from 2.14 GHz to 2.11 GHz and press ‘Calculate’/’Tune’ (CAP value should
change), check the Spectrum Analyzer.
Change frequency from 2.11 GHz to 2.17 GHz and press ‘Calculate’/’Tune’ (CAP value should
change), check the Spectrum Analyzer.
22 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Select the SXT/SXR tab. To configure the Rx LO to 1950 MHz, do the following:
23 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Step 1
Step 2
Step 3 Step 4
Step 5
Select the RFE tab to configure the receiver RF front–end. Follow the configuration steps below:
24 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Step 2
Step 1
Step 5
Step 3
Step 4
Select the TBB tab to configure the PGA gain and baseband filter bandwidths. Follow the
configuration steps below:
25 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Step 2
Step 1
Step 3
26 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
To check the basic Rx frequency and gain control, conduct some tests changing frequencies and
gain settings. The following six tests are recommended:
a. RBB – change PGA gain setting from 19 to -12, observe results, gain should decrease.
b. RFE – change TIA gain settings from Gmax to Gmin, observe results, gain should
decrease.
c. RFE – LNA gain change from Gmax to Gmax -30, observe results, gain should decrease.
d. Change frequency from 1.95 GHz to 1.92 GHz and press ‘Calculate’/’Tune’. Change
Signal Generator to 1.925 GHz (1MHz offset from PLL). Observe results.
e. Change frequency from 1.92 GHz to 1.98 GHz and press ‘Calculate’/’Tune’. Change
Signal Generator to 1.985 GHz (1MHz offset from PLL). Observe results.
27 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Using the methods of Section 5.2 and Section 5.4 set the SXT to 2140 MHz and SXR to
2145 MHz and measure a 5 MHz signal with an oscilloscope to observe the RXI output at X19.
The magnitude of the output signal can be controlled with the various gain controls in the RFE
and TRF.
28 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
6
EVB7 Connectors and Options
29 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Table 1 describes the high level pin assignment for each connector on the design kit.
Table 1 Design kit connectors and switches
Connector Schematic name Description
+3.3V Voltage This jumper is used to supply +3.3 V from the EVB to
J1
Supply Jumper the HSMC connector connected boards
This jumper enables the supply to the EVB7 board from
JP2 BB supply an FPGA development kit. U16 is a voltage regulator
that converts +12 V to +5 V
J5 USB USB Connector to PC
The FMC (HPC) is a standard connector used to
J6 FMC interface the Lime board directly to an FPGA design kit.
The signal pin description is shown in 6.2.1 section.
This connector provides access to externally buffered,
Digital I/O
J7 LMS70002M digital interface and SPI interface. Signal
Connector
pin description showed in 6.2.2 section.
J8 +5V Power Supply +5 V supply connector
30 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
31 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
The digital baseband interface can be established via the FMC connector J6. The signal pin
description is shown in Table 2.
Note: FMC HPC connector has 400 pins, but not all pins are used. Some pins are not connected
and some are connected to GND. Please refer to EVB7 schematic for more details.
The DIO card can be connected to EVB 7 via Digitail I/O connector J7. Connectr has 44 pins.
The pin description showed in the Table 3.
The board is shipped with the default mode which means a basic operation using an external
digital I/O source via the FMC connector. Various configurations are available depending on the
34 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
system requirements for development work. The configurations are summarized and the
following sections describe the board modifications required to achieve these configurations.
The LMS7002M device provides a flexible clocking scheme which allows the PLL reference
clock and digital interface clock to be independently clocked. In addition, the digital interface
clock can be generated internally in LMS7002M.
The EVB7 board is shipped with a 30.72MHz TCXO. In order to meet the demanding
specifications of the various standards, Lime Microsystems has worked with Rakon to develop a
new part, called E6245LF* that enables the board to meet the required specifications.
The board can accept three different types of TCXO’s as described in Table 4.
Table 4 TCXO Configurations
Reference Part
Size Description
number Number
61.44 MHz Crystal oscillator, used in combination with
14.7x9.2 XO2 E5405LF
divider /2 (U10) for performance improvements
7x5 (4pin) XO1 E5280LF 30.72 MHz crystal shipped with the board as a default
7x5 (6pin) XO3 E6245LF 30.72 MHz high performance crystal oscillator.
The LMS7002M board provides options to synchronize the on-board TCXO with the base band
or test equipment systems. To do that, connect a 10 MHz reference clock generated by the test
equipment to EVB7 board X18 SMA connector. Program the on-board PLL via the GUI
ADF4002 page. When the board is synchronized the LED (LD2) will be lit.
A board that is synchronized with the test equipment or any other RF device will not have
frequency error.
35 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
The LMS7002M SPI interface is controlled from a USB connection by default. The SPI interface
can also be controlled from baseband interface connectors J6 and J7. Please note only one SPI
master can be connected to the bus at the time.
If the SPI is controlled via the baseband connector J6 do not connect either a USB cable to J5
and do not use J7 connector. This removes any possible bus contention. Please note that NF
denotes component is Not Fitted.
DEFAULT MODE
SPI controlled via J6 baseband
Configuration USB connector or baseband
connector
connector J7
Note. The USB interface must be left disconnected when the external SPI control is being used
to prevent bus contention. Additionally the components R91-R96 should be fitted as listed in
Table 5.
The default digital interface voltage is 3.3V. It can be adjusted by changing R183 to the values
listed in Table 6.
36 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
The matching networks that are fitted to EVB7 at manufacture are listed in Table 7.
37 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7
Detailed Guide to LMS7002M Control Software
GUI Control panel includes menu bar and various control buttons for controlling the software.
These will be described in detail in Section 7.3. The GUI control panel is shown in Figure 23.
Configuration panel controls the LMS7002M registers and some evaluation board setup and is
shown in Figure 24.
Each configuration panel has specific register control on internal LMS7002M blocks. There are
16 different configuration panels for controlling the LMS7002M chip and 2 for controlling other
devices on the EVB7. Every control of the panel is described in Sections 7.4 to 7.21.
38 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
LOG Panel
39 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Log panel section logs all activity executed with the GUI and is shown in Figure 25.
When Log button pressed, the Message Log configuration pop-up, as shown in
Figure 26.
In the lower left corner of the log tab, the evaluation board version and firmware version is
displayed.
In the File menu, you can select to start new projects, save current GUI project (saved in *.ini or
*.txt format), or open previously saved project. Saved project file contains complete register
setup for LMS7002M. These files can be transferred to any other computer or used as a register
initialization setup for LMS7002M in baseband.
In the Options menu, you can select the COM port to which evaluation board is attached.
Register Test and Register Map are accessible from Tools menu. Register Test is an
executable function. This function checks if all LMS7002M registers are working correctly.
When Register Map is selected, new window will pop-up showing current LMS7002M register
configuration per each channel, as shown in Figure 27.
The help menu contains one option giving the software version and build date. It also contains
the contact details for Lime Microsystems.
The button menu contains 6 buttons controls and 3 other minor controls. The “new”, “open”,
“save” buttons are identical to those in the “File menu” of Section 7.3.1.
The RESET button performs a manual reset on the chip and updates the “LMS7002M Control”
software.
To write register configuration from the “LMS7002M Control” software to the chip, press
GUIChip button.
To read register configuration from the chip to the “LMS7002M Control” software, press
ChipGUI button.
41 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Configuring Channels window select which channel or PLL is currently controlled. The
activated channel is always displayed in a front panel:
If selected Both, front panel will display: Active Ch: SXR&SXT or Active Ch: A&B.
If selected A/SXR, front panel will display: Active Ch: SXR or Active Ch: A.
If selected B/SXT, front panel will display: Active Ch: SXT or Active Ch: B.
The display shows information depending which configuration tab you are currently and which
channel is selected.
The SXR option is used for setting the receive synthesizer parameters in the SXT/SXR tab (see
Section 7.14). The SXT option is used for setting the transmitter synthesizer parameters in the
SXT/SXR tab. The A and B channel to the A and B channels for the TX and RX MIMO
channels of the RFE, RBB, TRF,TBB and AFE tabs.
42 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
The ADF4002 is a PLL to lock an external reference (usually 10MHz on X18 or X52) with the
on board TXCO (usually 30.72MHz or 52.00MHz). This 30.72MHz reference is supplied to the
LMS7002M synthesizers. This is normally used to synchronize the measurement equipment with
the EVB7 board remove very minor frequency differences typically a few kHz. To synchronize
board:
Press ‘Synchronize’ button to program the ADF4002, if all is correct the green PLL
locked LED (LD2) on the interface board should illuminate. LD2 is located in the upper
left hand corner of the interface board.
Make sure that the Fvco value corresponds to the frequency of TCXO.
The Si5351C is a dual PLL for frequency conversion in the 10-100MHz range. It can be used to
provide programmable clock signals to external hardware through the external digital interfaces
and also to the LMS7002M RX and TX PLL Clocks. This allows the clock rates to be
independent of the TXCO frequency. The tab is shown in Figure 28.
By default, the EVB7 is configured to supply LMS7002M RX and TX PLL reference clock pins
directly from TCXO. With a simple board modification TX and RX PLL clocks can be supplied
directly from the Si5351C clock generator.
43 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.5 RFE
RFE tab controls the RX Front End stages, including LNA selection, LNA gain, TIA gain and
RX LO cancellation. A picture of the tab is shown in Figure 29. A description of each function
available in this tab is shown below in Table 8.
44 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
45 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.6 RBB
RBB tab controls the receiver IF stage bandwidth, PGA gain and loopback.
A picture of the tab is shown in Figure 30. A description of each function available in this tab is
shown below in Table 9.
46 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
LPFH block Power down of the LPFH block. Default value block is powered down.
LPFL block Power down of the LPFL block. Default value block is powered on.
PGA block Power down of the PGA block. Default value block is powered on
Enable RBB module Powers down all RBB blocks when not selected. If selected enables power down of separate
RBB blocks. Default values set to enable.
Direct control Enable direct control of PDs and ENs. Enabled when selected.
RC time constant
Resistance Controls the absolute value of the resistance of the RC time constant in LPF. Control range
from 0 to 31. The higher value selected the wider LPF BW. Default values set to 16.
Capacitance of RC Controls the capacitance value of the RC time constant of high band LPF. Control range
time constant from 0 to 255. The lower value selected the wider LPF BW. Default values set to 0.
(rxMode from
37MHz to 108MHz)
Capacitance of RC Controls the capacitance value of the RC time constant of low band LPF. Control range
time constant from 0 to 255. The lower value selected the wider LPF BW. Default values set to 0.
(rxMode from Intended to be controlled together with the TIA to maintain Chebychev response.
1.4MHz to 20MHz)
Operational amplifier
Stability passive Controls the stability passive compensation of the LPFH operational amplifier. Control
compensation range from 0 to 7. Default values set to 0.
Stability passive Controls the stability passive compensation of the LPFL operational amplifier. Control
compensation range from 0 to 5. Default values set to 5.
Input stage reference Controls the reference bias current of the input stage of the operational amplifier used in
bias current LPF blocks (Low or High). Must increase up to 24 when a strong close blocker is detected
(RBB_LPF) to maintain the linearity performance. Control range from 0 to 31. Default values set to 12.
Output stage Controls the reference bias current of the output stage of the operational amplifier used in
reference bias current LPF blocks (Low or High). Must increase up to 24 when a strong close blocker is detected
(RBB_LPF) to maintain the linearity performance. Control range from 0 to 31. Default values set to 12.
Output stage Controls the output stage reference bias current of the operational amplifier used in the PGA
reference bias current circuit. Must increase up to 12 when a strong close blocker is detected or when operating at
(PGA) the high band frequencies to maintain the linearity performance. Control range from 0 to 31.
Default values set to 6.
Input stage reference Controls the input stage reference bias current of the operational amplifier used in the PGA
bias current (PGA) circuit. Must increase up to 12 when a strong close blocker is detected or when operating at
the high band frequencies to maintain the linearity performance. Control range from 0 to 31.
Default values set to 6.
Stability passive Controls the stability passive compensation of the PGA operational amplifier. Control range
compensation from 0 to 31. Default values set to 24.
7.7 TRF
The TRF page contains the Tx front end amplifier gain controls, Tx outputs paths selection
controls and all transmit block power down controls.
47 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
A picture of the tab is shown in Figure 31. A description of each function available in this tab is
shown below in Table 10.
48 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
TXFE, band 1
Enable signal for Enables TXFE, band 2 output. Disabled by default.
TXFE, band 2
Enable TXPAD Enables the TXPAD loopback path. Disabled by default.
loopback path
Power detector
Resistive load Controls power detector dynamic range by selecting resistive load. Default is set to
5K||1.25K.
Bias current
Linearization section Control the bias current of the linearization section of the TXPAD. Control range from 0 to
31. Default is set to 12.
Main gm section Control the bias current of the TXPAD. Control range from 0 to 31. Default is set to 12.
Power down controls
Power detector Enables power detector when deselected. By default power detector is powered down.
TX LO buffers Enables TX LO buffer. By default TX LO is enabled.
TXPAD Enables TXPAD block. By default TXPAD is enabled
Enable TRF modules Power down all TFE blocks when deselected. By default TRF blocks enabled.
Direct Control Enable direct control of PDs and ENs. Enabled if selected.
TXPAD cascade transistor gate bias
VDD TXPAD cascade transistor gate bias is referred to VDD – connect to VDD to operate.
GNDS TXPAD cascade transistor gate bias is referred to GND.
Trim duty cycle
I channel Trims the duty cycle in I channel. Default value set to 8.
Q channel Trims the duty cycle in Q channel. Default value set to 8.
49 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.8 TBB
The TBB page controls TX IF gain settings, low-LPF and high-LPF filter bandwidths and
various loopback options.
A picture of the tab is shown in Figure 32. A description of each function available in this tab is
shown below in Table 11.
50 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Input stage bias This controls the operational amplifier's input stage bias current. Control range from 0 to 31.
current low band real Default is set to 12
pole filter
Input stage bias This controls the operational amplifiers input stage bias reference current of the high band
reference current of filter. Control range from 0 to 31. Default is set to 12.
high band low pass
filter
Output stage bias This controls the operational amplifiers output stage bias reference current of the high band
reference current of filter. Control range from 0 to 31. Default is set to 12.
high band low pass
filter
Output stage bias This controls the operational amplifiers' output stages bias reference current of the low band
reference for low filter. Control range from 0 to 31. Default is set to 12.
band ladder filter
Input stage bias This controls the operational amplifiers' input stages bias reference current of the low band
reference for low filter. Control range from 0 to 31. Default is set to 12.
band ladder filter
Power down controls
LPFHTBB biquad Enables LPFH filter when deselected. By default filter is powered down.
LPFIAMP front-end Enables LPF current amplifier when deselected. By default current amplifier is enabled.
current amp
LPFLADTBB low Enables LPF ladder when deselected. By default current amplifier is enabled.
pass ladder filter
LPFS5TBB low pass Enables LPF real-pole filter when deselected. By default real-pole filter is enabled.
real-pole filter
Turn off all of Enables TBB blocks once selected. By default TBB blocks are enabled.
TBBTOP
Enable direct control Enables direct control of PDs and ENs for TBB. Enabled when selected.
of PDs and ENs
Resistor banks
Equivalent resistance Control LPFH bandwidth. Control range from 0 to 255. The higher number the higher
of biquad filter stage bandwidth. Default setting is 0.
Equivalent resistance Control LPFL bandwidth. Control range from 0 to 255. The higher number the higher
of low pass filter bandwidth. Default setting is 193.
ladder
Common control A common control signal for all the capacitor banks of TBB filters. Control range from 0 to
signal for all 31. Default register value set to 8.
Equivalent resistance This controls the value of the equivalent resistance of the resistor banks of the real pole
of real pole filter filter stage. Control range from 0 to 255. Default register value set to 76.
stage
51 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.9 AFE
The AFE page controls the TX and RX analog front-end interface to the digital section.
A picture of the tab is shown in Figure 33. A description of each function available in this tab is
shown below in Table 12.
Table 12 GUI AFE control description
Parameter Description
AFE
Peak current of DAC Controls the peak current of the DAC output current. By default DAC peak current set to
325uA.
MUX input of ADC Controls the MUX at the input of the ADC channel 1. By default MUX set to PGA output.
ch 1.
MUX input of ADC Controls the MUX at the input of the ADC channel 2. By default MUX set to PGA output.
ch 2.
Time interleave two Default register set to Two ADC’s
analogue signals
into one ADC
Power down controls
AFE current mirror Enabled AFE current mirror in BIAS_TOP when deselected. Default current mirror is
in BIASTOP enabled.
ADC ch. 1 Enable control of ADC of channel 1. Enabled when not selected. Enabled by default.
ADC ch. 2 Enable control of ADC of channel 2. Enabled when not selected. Enabled by default.
DAC ch. 1 Enable control of DAC of channel 1. Enabled when not selected. Enabled by default.
DAC ch. 2 Enable control of DAC of channel 2. Enabled when not selected. Enabled by default.
Enable AFE module Enabled AFE blocks when selected. By default AFE is enabled.
52 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.10 BIAS
The BIAS page controls the LMS7002M bias settings.
A picture of the tab is shown in Figure 34. A description of each function available in this tab is
shown below in Table 13.
53 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.11 LDO
This tab controls the internal LDO modules. These LDO’s are used when the LMS7002M chip
analog blocks supplied by single 1.8V supply. Pictures of the tab is shown in Figure 35 and
Figure 36.
Figure 35 GUI LDO Power downs & Bias & Noise filter tab
Each 1.25V and 1.4V supply pins have internal regulators controlled via SPI interface. The LDO
’Power downs & Bias & Noise filter’ tab (figure above) divided in separate sections:
Power control
Short noise filter resistor
Bias
In Power control section is the SPI controls are in groups related to their function. These
controls enable the LDO for the particular block.
Short noise filter resistor bypasses noise filtering resistor. By default enabled.
Bias section enables the load dependent bias to optimize the load regulation for each LDO. This
option reduces the LDO response, but increase total current consumption. Recommend to set to
constant bias (not selected).
In the ‘Voltage’ tab the voltage level of the each internal LDO can be adjusted (figure below).
54 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.12 XBUF
XBUF page controls the TX and RX PLL clock pin input configurations to provide a reference
frequency for SXT and SXR respectively. The CLKGEN PLL uses the SXR Clock.
55 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
A picture of the tab is shown in Figure 37. A description of each function available in this tab is
in Table 14.
Table 14 GUI XBUF control description
Parameter Description
UNGRPUPED
Rx Enable biasing the Receiver clock input self-biasing digital control. By default disabled. For use with AC
input’s DC voltage coupled input.
Tx Enable biasing the Transmitter clock input self-biasing digital control. By default disabled. For use with
input’s DC voltage AC coupled input.
Shorts the input 3.3V Shorts the Input of 3.3V buffer in XBUF. By default disabled
buffer in XBUF RX
Shorts the input 3.3V Shorts the Input of 3.3V buffer in XBUF. By default disabled
buffer in XBUF TX
EN_OUT2_XBUF_TX Enables the 2nd output of TX XBUF. By default buffer is disabled. This control is
intended to internally rout TX PLL CLK to SXT and SXR by an internal path.
EN_TBUFIN_XBUF_RX Disables the input from the external XO. By default buffer is disabled. This control is
intended to internally rout TX PLL CLK to SXT and SXR by an internal path.
Power down controls
Power down Rx Power down control of the Rx XBUF. Not powered down by default.
Power down Tx Power down control of the Tx XBUF. Not powered down by default.
Enable XBUF module Power down complete XBUF block. Enabled by default.
7.13 CLKGEN
The block diagram of the CGEN module (internal clock generator) is shown. The table in this
chapter describes the control registers of the CGEN module.
56 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
The internal LMS7002N CLKGEN generates clock for ADC’s, DAC’s and TSP modules. To
program the CLKGEN for wanted frequency follow the step below:
After this procedure the digital block core will be supplied by wanted frequency. All other
register are preset so no need to change.
A picture of the tab is shown in Figure 38. A description of each function available in this tab is
shown below in Table 15.
57 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
VCO Power down control for VCO of the CGEN block. Disabled (selected) by default.
Enables CLKGEN Power down control of the CGEN block. Enabled (selected) by default.
module
Feedback frequency Power down control for feedback divider of the CGEN block. Enabled (deselected)
divider by default.
SDM Power down control for SDM of the CGEN block. Enabled (deselected) by default.
VCO comparator Power down control for VCO comparators of the CGEN block. Enabled (deselected)
by default.
VCO
CSW_VCO_CGEN Coarse control of VCO frequency, 0 for lowest frequency and 255 for highest, by 1
step. By default set to 128.
Scales VCO bias current Scales the VCO bias current from 0 to 2.5xInom. Control range from 0 to 31. Default
value 12.
PLL filter
CP2 Controls the value of CP2 (cap from CP output to GND) in the PLL loop filter.
Control range from 0 to 5688fF. Default value 2275.2 fF.
CP3 Controls the value of CP3 (cap from CP output to GND) in the PLL loop filter.
Control range from 0 to 3720fF. Default value 1736.00 fF.
CZ Controls the value of CP3 in the PLL loop filter. Control range from 0 to 43800fF.
Default value 321200.00 fF.
Charge pump
Scales offset current Scales the offset current of the charge pump, from 0 to 63. This current is used in
Fran-N mode to create an offset in the CP response and avoid the non-linear section.
Default value is set to 20.
Scales pulse current Scales the pulse current of the charge pump, from 0 to 63. Default value is set to 20.
58 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.14 SXT/SXR
This tab controls the SXT and SXR modules. The table in this chapter describes the control registers of
SXT and SXR modules.
Most of the SXT/SXR registers are preset to for normal (FDD) operation. To configure Tx/Rx
LO to wanted frequency, do the following:
1. Select the A/SXR (receiver PLL) or B/SXT (transmitter PLL) in configuration channels
window accordingly which PLL frequency you want to control.
2. Enable VCO (deselect).
3. Set Scales VCO bias current to 255.
4. Type the wanted frequency in Frequency, GHz box. In this case 1950MHz.
5. Press Calculate followed by Tune.
A picture of the tab is shown in Figure 39. A description of each function available in this tab is
shown below in Table 16.
ration
Power down controls
Feedback divider block Enables PLL feedback divider. By default is enabled.
LO buffer from SXT to Power down control for LO buffer from SXT to SXR. Controlled for SXT only. To
SXR be activated only in the TDD mode. By default is disabled.
Charge pump Power down control for Charge Pump block. By default is enabled.
Froward frequency Power down control for feedback frequency divider and divider chain of the LO
divider and divider chain chain. By default is enabled.
of LO chain
SDM Power down control for SDM block. By default is enabled.
VCO comparator Power down control for VCO comparator block. By default is enabled.
VCO Power down control for VCO block. By default is disabled.
Enable SXR/SXT Power down control for SXT/SXR block. By default enabled.
module
Direct control Enabled control of PD and EN. Enabled if selected.
VCO
Active VCO Selects the active VCO. It is set by SX_SWC calibration. By default VCOH selected.
VCO LDO output Controls VCO LDO output voltage. Control range from 0 to 255. By default set to
voltage 185.
Scales VCO bias current Scales the VCO bias current from 0 to 2.5xInom. Control range from 0 to 255. By
default set to 185.
SXT/SXR controls
Reset SX Resets SX when enabled. A pulse should be used in the start-up to reset. By default
disabled.
Bypass SX LDO Controls the bypass signal for the SX LDO. By default LDO is bypassed.
Enable current limit Enables the output current limitation in the VCO regulator. By default enabled.
Enable INTEGR_N Enables INTEGER-N mode of the SX. By default SX is set to Frac-N mode.
mode
Enable Enables the SDM_TSTO outputs for SXR testing purposes. By default is disabled.
SDM_TSTO_SXR
outputs
Reverse SDM clock Inverts DSM clock. By default clock is not inverted.
Reverse pulses of PFD Inverts the pulses of PFD block. It can be used to reverse the polarity of the PLL
loop. By default the clock is not inverted.
Bypass noise filter Bypasses the noise filter resistor for fast settling time. By default the speed up is not
resistor enabled.
Enable coarse tuning Enable signal for coarse tuning block.
Enable additional DIV2 Enables additional DIV2 prescaler at the input of the programmable divider. The core
prescaler of programmable divider in the SX feedback divider works up to 5.5GHz. For
FVCO>5.5GHz, the prescaler is needed to lower the input frequency. BY default
prescaler is not enabled.
Enable SDM clock Enables SDM clock. In INT-N mode or for noise destining. Enabled by default.
Enable SDM_TSTO Enables the SDM_TSTO outputs for testing purposes. By default is disabled.
outputs
Enable dithering in SDM Enabled dithering in SDM. Disabled by default.
Test mode of SX Controls the test mode of the SX. Available test modes:
0: TST disabled. By default test mode disabled.
1: tstdo[0]=CLKH1 & tstdo[1]=CLKH2
2: tstdo[0]=CLK_SDM & tstdo[1]=DIV_CLK
2: tstao=vco_vtune through a 50Kohm resistor
3: tstdo[0]=REFCLK & tstdo[1]=DIV_CLK
3: tstao=vco_vtune through a 10Kohm resistor
5: tstdo[0]=PFD UP & tstdo[1]=PFD DN
60 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Feedback divider for Selects SDM clock input between the feedback divider output and Fref. By default
SDM feedback divider output is selected.
Reference voltage Sets the reference voltage for varactor. By default set to 0.675V.
Scales offset of charge Scales the offset current of the charge pump block. Control range from 0 to 63. This
pump current is used in Fran-N mode to create an offset in the CP response and avoid the
non-linear section. By default set to 20.
Scales pulse current of Scales the pulse current of the charge pump block. Control range from 0to 63. By
charge pump default set to 20.
CP2 Control for CP2 value (cap from CP output to GND) of the PLL loop filter. Control
range from 0fF to 34830fF. Default value 13932fF.
CP3 Control for CP3 value (cap from CP output to GND) of the PLL loop filter. Control
range from 0fF to 88200fF. Default value 41160fF.
CZ Control for CZ value of the PLL loop filter. Control range from 0fF to 705.6fF.
Default value 517.44fF.
CSW_VCO Coarse control of VCO frequency, 0 for lowest frequency and 255 for highest. This
control is set by SX_SWC calibration. Default value set to 128.
The LMS7002M also provides two comparators to detect if the VCO tuning voltage is within the
recommended limits. These comparators are read with the “Read” or “Read CMP” buttons, after
the “Tune” process has been carried out. When the PLL is successfully locked, the low
comparator should be “1” and the high comparator “0”. If the comparators are both “0”, or both
“1”, then the tuning voltage is outside the recommended range.
For best phase noise and best protection against drift the following procedure is recommended.
The “Tune” button gives a nominal value for CSW_VCO. The value of CSW_VCO is manually
increased until the tuning comparators report the tune voltage is out of range. The last good
CSW_VCO value, CSW_VCOmax , is noted. Then CSW_VCO is manually decreased until the
tuning comparators report that the tune voltage is out of range. The last good CSW_VCO,
CSW_VCOmin, is also noted. The average of the two extreme CSW_VCO values is the optimum
CSW_VCOopt which will give good phase noise and protection against drift.
61 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
A picture of the tab is shown in Figure 40. A description of each function available in the
‘Modes’ tab is shown below in Table 17.
Engage pull up of IQSELEN2 pad Controls Pull up resistor of IQSELEN2 pad. Pull-up enabled by default.
Engage pull up of FCLK2 pad Controls Pull up resistor of FCLK2 pad. Pull-up enabled by default.
Engage pull up of DIQ1 pad Controls Pull up resistor of DIQ1 pad. Pull-up enabled by default.
Engage pull up of TXNRX1 pad Controls Pull up resistor of TXNRX1 pad. Pull-up enabled by default.
Engage pull up of MCLK1 pad Controls Pull up resistor of MCLK1 pad. Pull-up enabled by default.
Reset Signals
Logic registers Tx MIMO ch. B Resets all registers to the default state for Tx MIMO channel B logic. By
default RESET inactive.
Logic registers Tx MIMO ch. A Resets all registers to the default state for Tx MIMO channel A logic. By
default RESET inactive.
Logic registers Rx MIMO ch. B Resets all registers to the default state for Rx MIMO channel B logic. By
default RESET inactive.
Logic registers Rx MIMO ch. A Resets all registers to the default state for Rx MIMO channel A logic. By
default RESET inactive.
Rx FIFO soft reset Soft reset of LimeLight RX FIFO registers. By default RESET inactive.
Configuration memory Tx MIMO Resets configuration memory to the default state for Tx MIMO channel B
ch. B logic. By default RESET inactive.
Configuration memory Tx MIMO Resets configuration memory to the default state for Tx MIMO channel A
ch. A logic. By default RESET inactive.
Configuration memory Rx MIMO Resets configuration memory to the default state for Rx MIMO channel B
ch. B logic. By default RESET inactive.
Configuration memory Rx MIMO Resets configuration memory to the default state for Rx MIMO channel A
ch. A logic. By default RESET inactive.
Tx FIFO soft reset Soft reset of LimeLight TX FIFO registers. By default RESET inactive.
Driver strength
SDA pad Set SDA pad driver strength to 4mA or 8 mA. By default set to 4 mA.
SCL pad Set SCL pad driver strength to 4mA or 8 mA. By default set to 4 mA.
SDIO pad Set SDIO pad driver strength to 4mA or 8 mA. By default set to 4 mA.
DIQ2 pad Set DIQ2 pad driver strength to 4mA or 8 mA. By default set to 4 mA.
DIQ1 pad Set DIQ1 pad driver strength to 4mA or 8 mA. By default set to 4 mA.
Power Control
Enable Rx MIMO ch. B Enables Rx MIMO B channel. Enabled by default.
Enable Tx MIMO ch. B Enables Tx MIMO B channel. Enabled by default.
Enable Rx MIMO ch. A Enables Rx MIMO A channel. Enabled by default.
Enable Tx MIMO ch. A Enables Tx MIMO A channel. Enabled by default.
LimeLight modes
Enable LimeLight interface Enables LimeLight interface. By default enabled.
Frame start for Port1 Selects frame start ID for Port 1, can be set to ‘0’ or ‘1’. By default set to ‘0’.
Frame start for Port2 Selects frame start ID for Port 2, can be set to ‘0’ or ‘1’. By default set to ‘0’.
LimeLight port1 mode Select mode for Port 1: T TRXIQ or JESD207. By default set to JESD207.
LimeLight port2 mode Select mode for Port 2: T TRXIQ or JESD207. By default set to JESD207.
Port 1 mode selection IQSEL selection for Port 1: RXIQ or TXIQ. By default set to RXIQ.
Port 2 mode selection IQSEL selection for Port 2: RXIQ or TXIQ. By default set to TXIQ.
UNGROUPED
RxFIFO data source RxFIFO data source selection: RxTSP, TxFIFO, LFSR. By default set to
RxTSP.
Data transmit port to TSP Port selection for data transmit to TSP.
Disable MIMO channel B MIMO channel B enable control.
SPI mode SPI mode control.
MIMO access control MIMO access control.
63 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
A picture of the tab is shown in Figure 41. Description of each function available from the
‘Sample position & Clock’ page is shown below in Table 18.
64 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
65 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.17 TxTSP
The Tx_TSP tab controls the digital blocks of TxTSPA and TxTSPB modules.
A picture of the tab is shown in Figure 42. A description of each function available in this tab is
shown below in Table 19.
Table 19 GUI TxTSP control description
Parameter Description
Enable TxTSP Enables TxTSP modules enable. Enabled by default.
CMIX gain control. Control range from -6 dB to +6d B. Step size 6 dB. Set to 0 dB by
CMIX_GAIN
default.
CMIX Spectrum control Spectrum control of CMIX. By default set to downconvert.
Start BIST Starts TxTSP built-in self-test. Keep it at 1 one at least three clock cycles.
Bypass
CMIX Bypass CMIX module when selected.
GFIR3 Bypass GFIR3 module when selected.
GFIR1 Bypass GFIR1 module when selected.
Gain correction Bypass Gain correction module when selected.
ISINC Bypass ISINC module when selected.
GFIR2 Bypass GFIR2 module when selected.
DC Correction Bypass DC correction module when selected.
Phase correction Bypass Phase correction module when selected.
GFIR1
Length Set GFIR parameter I. Control range from 0 to 7.
Clock Division Ration Sets GFIR filter clock division ration. Control range from 0 to 255.
Coefficients Sets/Load GFIR filters coefficients. By default all set to 0.
GFIR2
Length Set GFIR parameter I. Control range from 0 to 7.
66 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Clock Division Ration Sets GFIR filter clock division ration. Control range from 0 to 255.
Coefficients Sets/Load GFIR filters coefficients. By default all set to 0.
GFIR3
Length Set GFIR parameter I. Control range from 0 to 7.
Clock Division Ration Sets GFIR filter clock division ration. Control range from 0 to 255.
Coefficients Sets/Load GFIR filters coefficients. By default all set to 0.
DC Corrector
DC ch. I Sets DC corrector value to channel I. Control range from -128 to 128. By default 0.
DC ch. Q Sets DC corrector value to channel Q. Control range from -128 to 128. By default 0.
IQ Corrector
Gain ch. Q Sets Gain corrector value to channel Q. Control range from 0 to 2047. By default 2047.
Gain ch. I Sets Gain corrector value to channel I. Control range from 0 to 2047. By default 2047.
Phase corrector Sets Phase corrector value. Control range from 0 to 2047. By default 0.
Interpolation
HBI ratio Sets HBI interpolation ratio. Possible control values 2, 4, 8, 16, 32 and bypass. By
default bypassed.
TSG
Swap I and Q signal Swap IQ signals at test signal generator's output. By default not selected.
TSGFCW Select frequency generated by test NCO. By default TSG frequency set to the TSP clock
divided by 8.
TSGMODE Select test signal generator mode: NCO or DC. By default NCO is selected.
Input Source Select input source to TSP: LML output or TSG. By default LML output is selected.
TSGC TSG full scale control: 0 dB or -6 dB. By default set to -6 dB.
Load DC to I Load TSG DC I register with value from DC_REG (hex) box.
Load ED to Q Load TSG DC Q register with value from DC_REG (hex) box.
NCO
Mode Selects the CW or PHO (Phase offset) mode for NCO.
NCO bits to dither Selects number of bits for NCO dithering.
FCW(MHz) Type wanted NCO frequency.
Set reference frequency Set reference frequency for NCO. The frequency the same as TSP block.
Upload NCO Program NCO
67 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.18 RxTSP
The Rx_TSP tab controls the digital blocks of RxTSPA and RxTSPB modules. A picture of the
tab is shown in Figure 43. A description of each function available in this tab is shown below in
Table 20.
Clock Division Ration Sets GFIR filter clock division ration. Control range from 0 to 255.
Coefficients Sets/Load GFIR filters coefficients. By default all set to 0.
GFIR3
Length Set GFIR parameter I. Control range from 0 to 7.
Clock Division Ration Sets GFIR filter clock division ration. Control range from 0 to 255.
Coefficients Sets/Load GFIR filters coefficients. By default all set to 0.
DC Corrector
Numbers of samples Select the number of samples to average for Automatic DC corrector.
IQ Corrector
Gain ch. Q Sets Gain corrector value to channel Q. Control range from 0 to 2047. By default 2047.
Gain ch. I Sets Gain corrector value to channel I. Control range from 0 to 2047. By default 2047.
Phase corrector Sets Phase corrector value. Control range from 0 to 2047. By default 0.
Decimation
HBD ratio Sets HBD interpolation ratio. Possible control values 2, 4, 8, 16, 32 and bypass. By
default bypassed.
TSG
Swap I and Q signal Swap IQ signals at test signal generator's output. By default not selected.
TSGFCW Select frequency generated by test NCO. By default TSG frequency set to the TSP clock
divided by 8.
TSGMODE Select test signal generator mode: NCO or DC. By default NCO is selected.
Input Source Select input source to TSP: ADC input or TSG. By default LML output is selected.
TSGC TSG full scale control: 0 dB or -6 dB. By default set to -6 dB.
Load DC to I Load TSG DC I register with value from DC_REG (hex) box.
Load ED to Q Load TSG DC Q register with value from DC_REG (hex) box.
NCO
Mode Selects the CW or PHO (Phase offset) mode for NCO.
NCO bits to dither Selects number of bits for NCO dithering.
FCW(MHz) Type wanted NCO frequency.
PHO Type wanted PHO frequency.
Set reference frequency Set reference frequency for NCO. The frequency is the same as the TSP block.
Upload NCO Program NCO
AGC
AGC Mode Selects the AGC mode: Bypass, AGC, RSSI mode.
AGC loop gain Selects AGC loop gain.
AGC Average window AGC averaging window size is 2(AGC_AVG + 7).
size
Desired output level Selects desired output signal level
69 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
7.19 CDS
The Clock Distribution System (CDS) controls are described in this this chapter.
A picture of the tab is shown in Figure 44. A description of each function available in this tab is
shown below in Table 21.
70 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
RX TSP B clock delay. Clock can be delayed by 200 ps, 500 ps, 800 ps and 1100 ps. By
RX TSP B
default clock delayed 200 ps.
RX TSP A clock delay. Clock can be delayed by 200 ps, 500 ps, 800 ps and 1100 ps. By
RX TSP A
default clock delayed 200 ps.
TX LML B clock delay. Clock can be delayed by 400 ps, 500 ps, 600 ps and 700 ps. By
TX LML B
default clock delayed 400 ps.
TX LML A clock delay. Clock can be delayed by 400 ps, 500 ps, 600 ps and 700 ps. By
TX LML A
default clock delayed 400 ps.
RX LML B clock delay. Clock can be delayed by 200 ps, 500 ps, 800 ps and 1100 ps. By
RX LML B
default clock delayed 200 ps.
RX LML A clock delay. Clock can be delayed by 200 ps, 500 ps, 800 ps and 1100 ps. By
RX LML A
default clock delayed 200 ps.
7.20 BIST
The Build-In Self-Test (BIST) modules for SXT, SXR and CGEN controls are described in this
chapter.
The BIST modules are used for the test proposes only. There is one test vector generator which
supplies the test vectors for CGEN, SXT and SXR modules. After pressing the ‘Read BIST’
button the test results (test vector signature) will be displayed for the selected block.
A picture of the tab is shown in Figure 45. A description of each function available in this tab is
shown below in Table 22.
71 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
BIST
Enable CGEN BIST Enables CGEN BIST. Disabled by default.
Enable receiver BIST Enables SXR BIST. Disabled by default.
Enable transmitter Enables SXT BIST. Disabled by default.
BIST
Start delta sigma Enables delta sigma BIST. Disabled by default.
BIST
7.21 SPI
This is used for test proposes only. Using this tab, every SPI register can be programmed using
the register map description. Every SPI register of the LMS7002M can be read back. A picture of
the tab is shown in Figure 46. A description of each function available in this tab is shown below
in Table 24.
72 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
73 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
74 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
8
Appendix A: Test Equipment Setup
8.1 Introduction
This section lists the recommended test equipment to use with the EVB7. It also provides
detailed setup procedures for the Agilent MXG when used with EVB7. Note the set up procedure
is only required when using the analogue TX inputs of the LMS7002M. This procedure is not
required when the LMS7002M chip is driven digitally by a baseband processor.
N5182A MXG
o Differential Arbitrary Waveform Generator Option 1EL
N9020A MXA DC - 6 GHz
o NF personality
o Phase Noise personality
o WCDMA personality
o LTE personality
Agilent Power Supply 5V
Agilent 384C Noise Source
o 15 dB ENR
75 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
23. Modes
1
2
3
4
24. I/Q
5
There should now be a 0.3 V common mode voltage on the differential IQ connections on the
signal generator. This can be verified by measuring the DC level of each of the 4 differential I/Q
lines with a multimeter.
Note: Very small DC offset levels in the transmit IQ path can result in LO breakthrough levels
changing in the transmit chain. To eliminate or minimize this effect the following practices
should be followed:
76 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
Once I/Q gain and phase calibration is completed, connections should not be modified.
Cables and connections should not be moved once the I/Q gain and phase calibration is
completed.
The arbitrary waveform generator will run test vectors which are downloaded to it. These can be
generated either with Agilent’s “Signal Studio” program or can be generated independently via
“Matlab” or C.
Lime has a number of test vector files which are used for test and calibration of the LMS7002M
as follows:
To download files to the signal generator follow the process described in section 9.3.3.
17. Use the up/down arrows (5) or spin wheel to highlight the wanted waveform from the list.
18. Press the ‘scale waveform data’ softkey (3. softkey 2)
19. Type in the required scaling factor e.g.25%, type ’25’ on number pad and press ‘%’
softkey (3. softkey 1).
Note – even if the text next to ‘scaling’ softkey already states 25% (for example) this
does not mean it has been applied to the waveform, still follow the process.
20. Press the ‘Apply to waveform’ softkey (3. softkey 4)
21. The progress bar will show on screen, soft menu will return to level up (Arb utilities).
22. Now return to the main ‘Arb’ Menu
a. Press the ‘return’ button twice or
b. Press the ‘Mode’ button then ‘Dual Arb softkey (3. softkey 1)
23. Check that Arb in enabled
a.‘Arb on/off’ softkey (3. softkey 1) the text should have on highlighted ‘Off / On’
b. If not, press the ‘Arb on/off’ softkey (3. softkey 1) to toggle between on and off.
24. The modulation can be also be toggled on and off by the ‘Mod on/off’ button (just above
the RF o/p connector). This must also be on – the green LED must be illuminated.
a. Press the ‘Mod on/off’ button to toggle the modulation on and off.
Note – The Mod on/off button turns the modulation on to the RF output and IQ output
simultaneously. The RF does not need to be on for the IQ outputs to work
The following process should allow you to download files to the Agilent signal generator. The
same process works for MXG and ESG.
This can be done via a network, however these instructions assume a direct connection between a
PC running Windows 7 and the signal generator.
Connect a cable between the PC network port and the signal generator LAN port.
Check that the LEDs are illuminated on both ends to indicate that the HW is connected.
Find the IP address of the Signal generator
o Press the ‘Utility’ button
o Press the ‘I/O config’ softkey (3. softkey 1)
o Press the ‘LAN setup’ softkey (3. softkey 2)
o The IP address should now be displayed on the screen
o e.g.
IP Address : 192.168.2.92
Subnet Mask : 255.255.255.0
Open a Command Prompt window on your PC
o Start
o In ‘Search programs and files’ window, type ‘cmd’
o The Command prompt window will pop-up
o Alternatively, it is located at C:\Windows\System32\
o Linux users can use a terminal session with the same commands.
To check the connection to the signal generator attempt to ‘ping’ it
o Type ‘ping 192.168.2.92’ (or use your sig gen IP address)
78 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
To send wfm files to the signal generator the following procedure should be followed.
Ensure that the wfm files are in a known directory e.g.
‘C:\Lime\Waveform’.
In the ‘Command Prompt’ window set the directory to the one where the wfm files are
located using the “CD” command.
Use FTP to send files to the signal generator.
Type ‘ftp 192.168.2.92’ as shown in Figure 50.
80 | P a g e
Version: 2.2 Last modified: 29/09/2014
LMS7002M Quick Starter Manual for EVB7 kit
NOTICE OF DISCLAMER
The information disclosed to you hereunder (the “Materials”) is provided solely for the selection
and use of Lime Microsystems products. To the maximum extent permitted by applicable law:
(1) Materials are made available “AS IS” and with all faults, Lime Microsystems hereby
DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR
STATUTORY, INCLUDING BUT NOT LIMITED TO WARRRANTIES OF
MERCHANTABILITY, NON-INFRIGEMENT, OR FITNESS FOR ANY PARTICULAR
PURPOSE; and (2) Lime Microsystems shall not be liable (whether in contract or tort, including
negligence, or under any other theory of liability) for any loss or damage of any kind or nature
related to, arising under, or in connection with, the Materials (including your use of the
Materials), including for any direct, indirect, special, incidental, or consequential loss or damage
(including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any
action brought by a third party) even if such damage or loss was reasonably foreseeable or Lime
Microsystems had been advised of the possibility of the same. Lime Microsystems assumes no
obligation to correct any errors contained in the Materials, or to advise you of any corrections or
update. You may not reproduce, modify, distribute, or publicly display the Materials without
prior written consent. Certain products are subject to the terms and conditions of the Limited
Warranties. Lime Microsystems products are not designed or intended to be fail-safe or for use in
any application requiring fail-safe performance; you assume sole risk and liability for use of
Lime Microsystems products in Critical Applications.
81 | P a g e
Version: 2.2 Last modified: 29/09/2014