LMS7002M Driver

Democratising Wireless Innovation
Jump to navigation Jump to search
LMS7002M chip
LMS7002M chip

This project contains a C driver for control of the LMS7002M transceiver. The driver provides user APIs for tuning frequencies, setting gains, setting filters, setting sample rates, setting stream modes, configuring switches, and calibration. Although this driver can select the streaming mode of the LMS7002M, it does not directly interact with receive or transmit baseband data.

Hardware independent

End applications may access the SPI bus for the LMS7002M in a variety of ways. To ensure that the driver can talk to the LMS7002M independent of the hardware, the caller provides the driver instance with SPI access callback functions. These functions implement the hardware-dependent SPI register access routines. Project layout

  • regs/ – LMS7002M register map and register header generator
  • include/ – LMS7002M C driver interface and implementation
  • interfaces/ – example SPI interfaces for use in LMS7002M
  • evb7/ – example SoapySDR wrapper using the LMS7002M C driver
  • test/ – simple register access test using the LMS7002M C driver

Development

Development is led by Josh Blum, and sponsored jointly by Fairwaves, Inc. and Rice University.

See also