LimeSDR-PCIe v1.3 hardware description

Draft

Draft

=	Introduction =

LimeSDR-PCIe is low-cost software defined radio board based on Lime LMS7002M Field Programmable Radio Frequency (FPRF) transceiver and Altera Cyclone IV GX PFGA, through which apps can be programmed to support any type of wireless standard, e.g. UMTS, LTE, LoRa, GPS, WiFi, Zigbee, RFID, Digital Broadcasting, Radar and many more.

= Complete Development Kit Package =

The LimeSDR-PCIe v1.3 board from full package showed in Figure 1.



Development kit content:
 * LimeSDR-PCIe v1.3 board
 * USB stick containing following files:
 * Doc/ 		- Documentation files for LimeSDR-PCIe
 * Drivers/	- Windows drivers for LimeSDR-PCIe
 * Gateware/	- FPGA gateware related files for LimeSDR-PCIe v1.3
 * Gui/		- LimeSuiteGUI software and related files

= LimeSDR-PCIe Board Key Features =

The LimeSDR-PCIe development board provides a hardware platform for developing and prototyping high-performance and logic-intensive digital and RF designs using Altera’s Cyclone IV GX FPGA and Lime Microsystems transceiver.

LimeSDR-PCIe board features:
 * RF transceiver:
 * Lime Microsystems LMS7002M
 * FPGA Features
 * Cyclone IV GX (EP4CGX30CF23C7N) device in 484-pin FBGA
 * 29’440 logic elements
 * 1080 Kbits embedded memory
 * 80 embedded 18x18 multipliers
 * 4 general and 2 multipurpose PLLs
 * 4 high-speed transceivers
 * PCIe (PIPE) hard IP block
 * FPGA Configuration
 * JTAG mode configuration
 * Active serial mode configuration
 * Possibility to update FPGA gateware by using PCIe interface
 * Memory Devices
 * 2x 1Gbit (64M x 16) dual channel DDR2 SDRAM
 * 4Mbit flash for FPGA data
 * 64Mbit flash for FPGA gateware
 * 128Kb (16K x 8) EEPROM for LMS MCU firmware and 512Kb (64K x 8) LMS MCU data
 * Connections
 * PCI Express x4 (4 lanes)
 * Coaxial RF (U.FL) connectors
 * FPGA GPIO 2x8 (3.3V) headers
 * FPGA and JTAG connector
 * DC (12V) power jack and pinheader
 * FAN (12V) connector
 * Clock System
 * 30.72MHz ±250 ppb onboard VCTCXO
 * Possibility to lock VCTCXO to external clock or tune VCTCXO by onboard DAC
 * Programmable clock generator for the FPGA reference clock input or LMS PLLs
 * 100 MHz and 2x 50MHz crystal oscillators for FPGA
 * Board Size 68,9mm x 136,85mm

For more information on the following topics, refer to the respective documents:
 * Cyclone IV device family, refer to Cyclone IV Device Handbook [link]
 * LMS7002M transceiver resources [link]

LimeSDR-PCIe board overview
LimeSDR-PCIe board version 1.3 picture with highlighted major connections and components presented in Figure 2 and Figure 3. There are three connector types – data and debugging (PCIe, FPGA GPIO and JTAG), power (DC jack - optional) and high frequency (RF and reference clock). LimeSDR-PCIe board version 1.3 picture with highlighted components on top presented in Figure 2.



LimeSDR-PCIe board version 1.3 picture with highlighted components on bottom presented in Figure 3



Board components description listed in the Table 1.

LMS7002M based connectivity
All LMS7002M RF transceiver signals are connected to FPGA Bank 8 (power rail: VDIO_LMS_FPGA; voltage: 2.5V-default or 3.3V). The interface and control signals are described below:


 * Digital Interface Signals: LMS7002 is using data bus LMS_DIQ1_D[11:0] and LMS_DIQ2_D[11:0], LMS_ENABLE_IQSEL1 and LMS_ENABLE_IQSEL2, LMS_FCLK1 and LMS_FCLK2, LMS_MCLK1 and LMS_MCLK2 signals to transfer data to/from FPGA. Indexes 1 and 2 indicate transceiver digital data PORT-1 or PORT-2. Any of these ports can be used to transmit or receive data. By default PORT-1 is selected as transmit port and PORT-2 is selected as receiver port. The FCLK# is input clock and MCLK# is output clock for LMS7002M transceiver. TXNRX signals sets ports directions. For LMS7002M interface timing details refer to LMS7002M transceiver datasheet page 12-13. [link].
 * SPI Interface: LMS7002M transceiver is configured via 4-wire SPI interface; FPGA_SPI0_SCLK, FPGA_SPI0_MOSI, FPGA_SPI0_MISO, FPGA_SPI0_LMS_SS.
 * I2C Interface: used access EEPROM memories for LMS7002M MCU firmware and data. I2C interface is using LMS_I2C_SCL, LMS_I2C_SDA signals.
 * Control Signals: these signals are used for optional functionality:
 * LMS_RXEN, LMS_TXEN – receiver and transmitter enable/disable signals.
 * LMS_RESET – LMS7002M reset.

PCI Express connector
For data transfer LimeSDR–PCIe board has PCI express connector with four lanes. PCI express interface is implemented in FPGA. Pin connection and corresponding signal names are listed in Table 3.

SDRAM
LimeSDR-PCIe board has two 128MB (16bit bus) DDR2 SDRAM ICs (AS4C64M16D2-25BCN [link]) connected to double data rate pins on Cyclone IV GX 1.8V Bank 3, 4 and 5. RAM chips (IC11, IC12) are connected to separate memory controllers so RAM chips works in dual channel mode. The memory can be used for data manipulation at high data rates between transceiver and FPGA. Pin connection and corresponding signal names are listed in Table 5 and Table 6.

Low speed interfaces
LimeSDR-PCIe board low speed interfaces is presented in Figure 4. More detailed information is provided in the following sections.



Indication LEDs
LimeSDR-PCIe board comes with 6 indication LEDs which can be controlled from FPGA. By default, two of them (FPGA_LED1 and FPGA_LED2) are trough-hole dual colour LEDs and are mounted on the back edge of the board using right-angle plastic holder. The remaining four LEDs (FPGA_LED3 to FPGA_LED6) are SMD single green colour LEDs. There is one SMD single green colour LED named VDD3P3_PWR which is hardwired to VCC3P3 power rail and lit up whenever the board is powered on.



SPI interfaces
LimeSDR-PCIe board has four SPI interfaces with their own slave devices:
 * Flash for FPGA gateware: Flash memory (IC9 or IC10) is used to store FPGA gateware.


 * RFIC: RFIC is connected to FPGA_SPI0.


 * Phase detector and DAC: phase detector with VCTCXO DAC are connected to FPGA_SPI1.


 * Flash memory: flash memory is connected to FPGA_SPI2.

I2C interfaces
Board has two independent I2C interfaces: FPGA_I2C and LMS_I2C.


 * FPGA_I2C: this interface has several slave devices temperature sensor, EEPROM and clock generator. Information for slave devices are provided in Table 12, signal connectivity information is in Table 13.


 * LMS_I2C: this interface has two EEPROMs. In Table 14 are listed all LMS_I2C slave devices and their information.

LMS_I2C interface (LMS_I2C_SCL, LMS_I2C_SDA) is connected via 0R resistors to FPGA pins for debugging purposes, see Table 15.

FPGA Switch
4 poles slide switch SW1 is connected to FPGA. Each switch line has external pull up resistors. When switch is in position “On”, it pulls down the line.



RF loopback control
LimeSDR-PCIe v1.3 board contains RF loopback switches (IC4, IC5, IC6, IC7) for LMS7002M which are controlled from FPGA. By using loopback switches RF path TX1_2 can be connected to RX1_H and TX2_2 to RX2_H.

FPGA GPIO connectors
There are J12 and J13 connectors (pinheaders) there 8 + 8 FPGA GPIOs are connected (3.3V IO compatible) with GND and power pins (3.3V). In Table 18 are listed connector J12 pins and in Table 19 are listed connector J13 pins, corresponding FPGA pins and other information.

Board temperature control
LimeSDR-PCIe has integrated temperature sensor which can control FAN to keep board in operating temperature range. FAN must be connected to J14 (0.1” pitch) connector. FAN control voltage is 12V. Fan will be turned on if board will heat up to 55°C and FAN will be turned off if board will cool down to 45°C. FAN control temperature range is set by FPGA.



Temperature sensor output (LM75_OS) is connected to FPGA pin K14. FAN MOSFET can be controlled from FPGA pin K13 (FAN_CTRL). More detailed information about FAN control is presented in Figure 4. Measured temperature value can be read by using LMS7suite.

Clock Distribution
LimeSDR-PCIe board clock distribution block diagram is presented in Figure 8.



LimeSDR-PCIe board has onboard 30.72 MHz ±250 ppb VCTCXO that is reference clock for LMS_PLLs. See block diagram of the clock distribution system in Figure 8.

VCTCXO can be tuned by onboard phase detector (IC18, ADF4002 [link]) or by DAC (IC17). The onboard phase detector is used to synchronize onboard VCTCXO with external equipment (via J16 U.FL connector) to calibrate frequency error. At the same time only ADF or DAC can control VCTCXO. DAC and ADF is controlled by FPGA and selection between ADF and DAC is done automatically. When board is powered, by default VCTCXO is controlled by DAC.

J16 connector (REF_CLK_IN) can also be used to supply external reference clock (fitting R109, removing R107, C347).

J15 connector (REF_CLK_OUT) can be used to feed clock to another board for synchronization purposes. For this purpose R122 resistor has to be fitted.

The programmable clock generator (IC19, Si5351C [link]) can generate any reference clock frequency, starting from 8 kHz – 160 MHz, for FPGA and LMS PLLs.

How to configure clocks using LMS7Suite read in chapter 7.4 Clock configuration.

Power Distribution
LimeSDR-PCIe board power distribution block diagram is presented in Figure 9.



LimeSDR-PCIe board is powered from PCIe port (12V). Switching and linear regulators are used to make other required voltages.