PyLMS7002M: Difference between revisions

Democratising Wireless Innovation
Jump to navigation Jump to search
(Created page with "The pyLMS7002M Python package is platform-independent, and is intended for fast prototyping and algorithm development. It provides low level register access and high level con...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The pyLMS7002M Python package is platform-independent, and is intended for fast prototyping
The [https://myriadrf.org/projects/pylms7002m/ pyLMS7002M Python package] is platform-independent, and is intended for fast prototyping
and algorithm development. It provides low level register access and high level convenience functions
and algorithm development. It provides low level register access and high level convenience functions
for controlling the LMS7002M chip and evaluation boards. Supported evaluation boards are:
for controlling the LMS7002M chip and evaluation boards. Supported evaluation boards are:
Line 24: Line 24:


If there is no error, the module is correctly installed.
If there is no error, the module is correctly installed.
== Examples ==
The following examples are provided:
* basic
** Find LimeSDR
** Find LMS7002EVB
** LimeSDR Tx CW
** LimeSDR Tx CW power out sweep
** LimeSDR Tx NCO
** LimeSDR Tx NCO hopping
* Vector Network Analyser (VNA)

Latest revision as of 14:47, 28 November 2016

The pyLMS7002M Python package is platform-independent, and is intended for fast prototyping and algorithm development. It provides low level register access and high level convenience functions for controlling the LMS7002M chip and evaluation boards. Supported evaluation boards are:

  • LMS7002_EVB
  • LimeSDR

The package consists of Python classes which correspond to physical or logical entities. For example, each module of LMS7002M (AFE, SXT, TRF, ...) is a class. The LMS7002M chip is also a class containing instances of on-chip modules. The evaluation board class contains instances of on-board chips, such as LMS7002, ADF4002, etc. Classes follow the hierarchy and logical organization from evaluation board down to on-chip register level.

Installation

The pyLMS7002M package is installed in a usual way:

 python setup.py install

Module installation can be verified from Python:

 python
 >>> from pyLMS7002M import *

If there is no error, the module is correctly installed.

Examples

The following examples are provided:

  • basic
    • Find LimeSDR
    • Find LMS7002EVB
    • LimeSDR Tx CW
    • LimeSDR Tx CW power out sweep
    • LimeSDR Tx NCO
    • LimeSDR Tx NCO hopping
  • Vector Network Analyser (VNA)