The pyLMS7002Soapy 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:
- LimeSDR
- LimeSDR Mini
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.
SoapySDR interface is required for establishing an USB connection, and can be used for high level functions, such as reading samples.
Since this isn't completely thought out, please install inside a virtualenv. Activate your environment and run the following
$ python setup.py install
$ cd examples
$ python mSNA.py test 1 400 500
Module installation can be verified from Python:
$ python setup.py test
If there is no error, the module is correctly installed.
$ cd examples
$ python measureVNA.py
$ cd examples
$ python mSNA.py
Scalar network analyzer is preferred for measurements and is much faster than VNA.
pyLMS7002Soapy is copyright 2018 Lime Microsystems and provided under the Apache 2.0 License.
Changes in files are documented to the best of my abilities . . .